Hard disk management system, silkscreen information acquisition method, electronic devices and storage media
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2026-08-14
AI Technical Summary
然而,随着支持I3C协议(Improved Inter-Integrated Circuit,改进型集成电路总线,I2C总线的改进版本)的硬盘的出现,由于I2C与I3C在电平标准上的不兼容,导致硬件线路设计已无法满足需求
[0033]本发明提供一种硬盘管理系统,包括:主板和硬盘背板,所述主板包括基板管理控制器和串行总线集线器,所述硬盘背板包括硬盘连接器;所述基板管理控制器与所述串行总线集线器连接,所述串行总线集线器具有多个第一通道;硬盘与所述硬盘连接器连接,所述硬盘连接器通过第一型串行总线与所述串行总线集线器中对应的第一通道连接,所述第一型串行总线支持第一串行总线协议和第二串行总线协议;所述串行总线集线器,用于根据所述硬盘使用的目标串行总线协议切换对应的第一通道的工作模式,以便所述基板管理控制器通过所述第一通道向所述硬盘获取第一丝印信息;所述目标串行总线协议为所述第一串行总线协议或所述第二串行总线协议。
Smart Images

Figure CN119271608B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computers, and in particular to a hard disk management system, a method for acquiring silkscreen information, an electronic device, and a storage medium. Background Technology
[0002] In related technologies, the baseboard management controller typically acquires and manages the silkscreen information of the hard drive via a serial bus, with the I2C bus (Inter-Integrated Circuit) being a common serial bus. However, with the emergence of hard drives supporting the I3C protocol (Improved Inter-Integrated Circuit, an improved version of the I2C bus), the incompatibility between I2C and I3C in terms of level standards has rendered the hardware circuit design unable to meet the requirements.
[0003] Therefore, how the baseboard management controller can acquire silkscreen information from hard drives using different serial bus protocol versions is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0004] The purpose of this invention is to provide a hard disk management system, a silkscreen information acquisition method, an electronic device, and a storage medium. The system can be connected to a hard disk using a serial bus hub, and the serial bus hub can be used to switch working modes according to the serial bus protocol used by the hard disk, so as to realize the acquisition of silkscreen information from hard disks with different serial bus protocol versions.
[0005] To solve the above-mentioned technical problems, the present invention provides a hard disk management system, comprising:
[0006] A motherboard and a hard drive backplane, the motherboard including a baseboard management controller and a serial bus hub, the hard drive backplane including a hard drive connector; the baseboard management controller is connected to the serial bus hub, the serial bus hub having multiple first channels; the hard drive is connected to the hard drive connector, the hard drive connector being connected to a corresponding first channel in the serial bus hub via a first type of serial bus, the first type of serial bus supporting a first serial bus protocol and a second serial bus protocol;
[0007] The serial bus hub is used to switch the operating mode of the corresponding first channel according to the target serial bus protocol used by the hard disk, so that the baseboard management controller can obtain the first silkscreen information from the hard disk through the first channel; the target serial bus protocol is the first serial bus protocol or the second serial bus protocol.
[0008] Optionally, the motherboard further includes a first serial bus connector, and the hard drive backplane further includes a second serial bus connector and a backplane device; the baseboard management controller is connected to the serial bus hub via the first type of serial bus and to the first serial bus connector via the second type of serial bus; the second serial bus connector is connected to the first type of serial bus connector and the backplane device via the second type of serial bus; the second type of serial bus only supports the second serial bus protocol;
[0009] The baseboard management controller is used to obtain first silkscreen information from the hard disk using a first serial bus protocol and the serial bus hub, and to obtain second silkscreen information from the backplane device using a second serial bus protocol.
[0010] Optionally, the motherboard further includes a serial bus switch having multiple second channels, with the same group of backplane devices connected to the corresponding second channels;
[0011] The substrate management controller is used to obtain second silkscreen information from the backplane device through the corresponding second channel in the serial bus switch.
[0012] Optionally, the backplane device includes a backplane extender, a field-replaceable unit, and a backplane sensor.
[0013] Optionally, the motherboard further includes a central processing unit and a first multi-channel input / output interface, and the hard drive backplane further includes a second multi-channel input / output interface; the central processing unit is connected to the hard drive connector via a high-speed serial bus, the first multi-channel input / output interface is connected to the second multi-channel input / output interface, and the high-speed serial bus and the first type of serial communication bus between the serial bus hub and the hard drive connector are both disposed in the first multi-channel input / output interface and the second multi-channel input / output interface.
[0014] The present invention also provides a method for obtaining silkscreen information, applied to the hard disk management system described above, the method comprising:
[0015] The serial bus hub switches the operating mode of the corresponding first channel according to the target serial bus protocol used by the hard drive; the target serial bus protocol is either the first serial bus protocol or the second serial bus protocol.
[0016] When the working mode switch is completed, the baseboard management controller obtains the first silkscreen information from the hard disk through the first channel.
[0017] Optionally, the serial bus hub switches the operating mode of the corresponding first channel according to the target serial bus protocol used by the hard disk, including:
[0018] The serial bus hub performs a protocol handshake with the hard disk through the first channel to determine the target serial bus protocol used by the hard disk.
[0019] If the target serial bus protocol is the first serial bus protocol, then the first channel is switched to the first working mode, and a bus address is dynamically allocated to the hard disk;
[0020] If the target serial bus protocol is the second serial bus protocol, then the first channel is switched to the second working mode;
[0021] The substrate management controller obtains the first silkscreen information from the hard disk through the first channel, including:
[0022] If the target serial bus protocol is the first serial bus protocol, the baseboard management controller uses the first channel and the dynamic bus address of the hard disk to obtain the first silkscreen information from the hard disk;
[0023] If the target serial bus protocol is the second serial bus protocol, the baseboard management controller uses the first channel and the fixed bus address of the hard disk to obtain the first silkscreen information from the hard disk.
[0024] Optionally, it also includes:
[0025] The substrate management controller communicates with the serial bus hub using the first serial bus protocol to obtain the first silkscreen information from the hard disk through the serial bus hub;
[0026] The substrate management controller uses a second serial bus protocol to obtain second silkscreen information from the backplane devices in the hard disk backplane.
[0027] Optionally, the substrate management controller obtains second silkscreen information from the backplane devices in the hard disk backplane using a second serial bus protocol, including:
[0028] The baseboard management controller uses the second serial bus protocol to send a preset command to the serial bus switch in the motherboard to start the second channel in the serial bus switch;
[0029] The third silkscreen information is obtained from the backplane device using the second serial bus protocol and the second channel.
[0030] Optionally, the second channel corresponds to the location of the backplane device on the hard disk backplane.
[0031] The present invention also provides an electronic device comprising the hard disk management system described above.
[0032] The present invention also provides a computer-readable storage medium storing computer-executable instructions, which, when loaded and executed by a processor, implement the silkscreen information acquisition method described above.
[0033] This invention provides a hard disk management system, comprising: a motherboard and a hard disk backplane; the motherboard includes a baseboard management controller and a serial bus hub; the hard disk backplane includes a hard disk connector; the baseboard management controller is connected to the serial bus hub, the serial bus hub having multiple first channels; the hard disk is connected to the hard disk connector, the hard disk connector being connected to a corresponding first channel in the serial bus hub via a first type of serial bus, the first type of serial bus supporting a first serial bus protocol and a second serial bus protocol; the serial bus hub is used to switch the operating mode of the corresponding first channel according to the target serial bus protocol used by the hard disk, so that the baseboard management controller can obtain first silkscreen information from the hard disk through the first channel; the target serial bus protocol is either the first serial bus protocol or the second serial bus protocol.
[0034] As can be seen, this invention specifically adds a serial bus hub to the motherboard. This serial bus hub has multiple first channels. The hard drive connector in the hard drive backplane is connected to the corresponding first channel in the serial bus hub via a first-type serial bus. That is, different hard drives are connected to their corresponding first channels in the serial bus hub via the first-type serial bus. The first-type serial bus supports a first serial bus protocol and a second serial bus protocol. Furthermore, in practical applications, the serial bus hub can switch the operating mode of the corresponding first channel according to whether the target serial bus protocol used by the hard drive is the first serial bus protocol or the second serial bus protocol. This allows the baseboard management controller to obtain the first silkscreen information from the hard drive through the first channel, thus enabling silkscreen information acquisition from hard drives using different serial bus protocol versions. This invention also provides a silkscreen information acquisition method, an electronic device, and a computer-readable storage medium, which have the aforementioned beneficial effects. Attached Figure Description
[0035] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0036] Figure 1 This is a structural block diagram of a first hard disk management system provided in an embodiment of the present invention;
[0037] Figure 2 This is a structural block diagram of the second hard disk management system provided in an embodiment of the present invention;
[0038] Figure 3 This is a structural block diagram of a third hard disk management system provided in an embodiment of the present invention;
[0039] Figure 4 This is a structural block diagram of the fourth hard disk management system provided in an embodiment of the present invention;
[0040] Figure 5 This is a flowchart of a method for obtaining screen printing information provided in an embodiment of the present invention;
[0041] Figure 6 A diagram of an NVME backplane system architecture adapted to I3C is provided for an embodiment of the present invention;
[0042] Figure 7 This is a flowchart of another method for obtaining screen printing information provided in an embodiment of the present invention. Detailed Implementation
[0043] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0044] In related technologies, board management controllers typically use serial buses to acquire and manage hard disk silkscreen information. The most common serial bus is the I2C bus (Inter-Integrated Circuit). However, the introduction of the I3C protocol (Improved Inter-Integrated Circuit, an improved version of the I2C bus) and the emergence of hard disks supporting the I3C protocol have made it difficult for board management controllers to be compatible with hard disks using different serial bus protocol versions due to the incompatibility of I2C and I3C in terms of voltage levels. This has created difficulties for them in acquiring the hard disk silkscreen information.
[0045] In view of this, regarding the technical problem of how the baseboard management controller can acquire silkscreen information from hard drives using different serial bus protocol versions, the present invention provides a hard drive management system and a silkscreen information acquisition method. A serial bus hub can be used to connect to the hard drive, and the serial bus collector can be used to switch the working mode according to the serial bus protocol used by the hard drive, so as to realize the acquisition of silkscreen information from hard drives using different serial bus protocol versions.
[0046] The hard disk management system provided in this embodiment of the invention will be described below. Please refer to... Figure 1 , Figure 1 The first hard disk management system provided in this embodiment of the invention is shown in the structural block diagram. The system may include:
[0047] The motherboard includes a baseboard management controller and a serial bus hub, and the hard drive backplane includes a hard drive connector. The baseboard management controller is connected to the serial bus hub, and the serial bus hub has multiple first channels. The hard drive is connected to the hard drive connector, and the hard drive connector is connected to a corresponding first channel in the serial bus hub via a first type of serial bus. The first type of serial bus supports a first serial bus protocol and a second serial bus protocol.
[0048] The serial bus hub is used to switch the operating mode of the corresponding first channel according to the target serial bus protocol used by the hard disk, so that the baseboard management controller can obtain the first silkscreen information from the hard disk through the first channel; the target serial bus protocol is the first serial bus protocol or the second serial bus protocol.
[0049] It should be noted that the first type of serial bus mentioned above can be an I3C bus, the first serial bus protocol can be an I3C bus protocol, and the second serial bus protocol can be an I2C bus protocol. Additionally, multiple hard drive connectors can be provided on the hard drive backplane. Furthermore, the first silkscreen information mentioned above can be hard drive information.
[0050] In this embodiment, a serial bus hub is specifically provided to ensure that the board management controller can obtain silkscreen information from hard drives using different serial bus protocols. This serial bus hub has multiple first channels for connecting to different hard drives via a first-type serial bus; that is, there is a one-to-one correspondence between hard drives and first channels. Furthermore, the serial bus hub can switch the operating mode of the corresponding first channel according to the target serial bus protocol used by the hard drive, thereby adapting to and being compatible with different serial bus protocols. In this way, the board management controller can obtain silkscreen information from hard drives using different serial bus protocols through this serial bus hub, thus overcoming the shortcomings of related technologies where board management controllers cannot be compatible with different serial bus protocols and cannot obtain silkscreen information from hard drives using different serial bus protocols.
[0051] Furthermore, it's worth noting that this embodiment connects the hard drives to different channels of the serial bus hub. The purpose is that, although the I3C bus protocol supports dynamic bus address setting, when backward compatible with the I2C bus protocol, hard drives using the I2C bus protocol have the same bus address, and this bus address cannot be modified. Connecting multiple hard drives using the I2C bus protocol to the same channel can easily lead to an inability to distinguish between them based on their bus addresses. The baseboard management controller needs to use different specifications to enable and access each first channel; that is, connecting the hard drives to different first channels can distinguish between them, thus ensuring effective compatibility with hard drives using different serial bus protocols.
[0052] Furthermore, in addition to the aforementioned hard drive connectors, the hard drive backplane may also include other hard drive-related backplane devices. For example, these backplane devices may include backplane extenders, field-replaceable units, and backplane sensors. Backplane extenders can provide functional expansion for the hard drive connectors, such as storing hardware link information between the CPU and the hard drive. Field-replaceable units can store backplane asset information, such as manufacturer, hard drive PCBA part number, and number of hard drives. Backplane sensors are used to collect backplane operating status information, such as backplane temperature information. The substrate management controller also needs to collect silkscreen information from the aforementioned backplane devices. In this case, the substrate management controller can connect to the aforementioned backplane devices through the aforementioned serial bus hub and collect data from them through the serial bus hub. However, the aforementioned backplane devices typically only support the I2C protocol and not the I3C protocol; moreover, the I2C & I3C protocol switching time at the serial bus hub can reach up to 20ms, and frequent switching will lead to reduced communication efficiency. Therefore, in this embodiment, the I2C link can also be retained in the motherboard so that the baseboard management controller can communicate with the backplane devices through the I2C link, thereby ensuring communication efficiency.
[0053] Based on this, please refer to Figure 2 , Figure 2 This is a structural block diagram of a second hard disk management system provided in an embodiment of the present invention. In this diagram, the motherboard further includes a first serial bus connector, and the hard disk backplane further includes a second serial bus connector and a backplane device; the baseboard management controller is connected to the serial bus hub via the first type of serial bus and to the first serial bus connector via the second type of serial bus; the second serial bus connector is connected to the first type of serial bus connector and the backplane device via the second type of serial bus; the second type of serial bus only supports the second serial bus protocol;
[0054] The baseboard management controller is used to obtain first silkscreen information from the hard disk using a first serial bus protocol and the serial bus hub, and to obtain second silkscreen information from the backplane device using a second serial bus protocol.
[0055] It should be noted that the second silkscreen information may include hardware link information between the central processing unit and the hard drive, backplane asset information, etc.; the second type of serial bus may be an I2C bus.
[0056] As can be seen, in this embodiment, the baseboard management controller obtains the first silkscreen information from the hard disk using the first serial bus protocol and the serial bus hub, and obtains the second silkscreen information from the backplane device using the second serial bus protocol. Thus, silkscreen information can be obtained from the hard disk and the backplane device through different serial bus links to ensure communication efficiency.
[0057] Furthermore, considering that a server system may have multiple hard drive backplanes, each equipped with the aforementioned backplane devices, and that backplane devices of the same type share the same bus address (e.g., backplane expanders and field-replaceable units have the same bus address), the baseboard management controller may be unable to distinguish the backplane devices of different hard drive backplanes based on their bus addresses. To address this, this embodiment can further add a serial bus switch to the motherboard. This serial bus switch can have multiple second channels, with each group of backplane devices connected to a corresponding second channel; that is, one group of backplane devices corresponds to one second channel. Similar to a serial bus hub, the baseboard management controller can then use different second channels to distinguish the backplane devices of different hard drive backplanes.
[0058] Based on this, please refer to Figure 3 , Figure 3 This is a structural block diagram of a third hard disk management system provided in an embodiment of the present invention. In this schematic diagram, the motherboard further includes a serial bus switch, which has multiple second channels, and the same group of backplane devices are connected to the corresponding second channels;
[0059] The substrate management controller is used to obtain second silkscreen information from the backplane device through the corresponding second channel in the serial bus switch.
[0060] Furthermore, to improve bus integration, this embodiment can also place the high-speed serial bus (such as the PCIe bus) between the central processing unit and the hard disk, and the first-type serial bus between the serial bus hub and the hard disk, in the same interface. Based on this, please refer to... Figure 4 , Figure 4This is a structural block diagram of a fourth hard disk management system provided in an embodiment of the present invention. The motherboard further includes a central processing unit (CPU) and a first multi-channel input / output interface (MCI). The hard disk backplane further includes a second MCI. The CPU is connected to the hard disk connector via a high-speed serial bus. The first MCI is connected to the second MCI. The high-speed serial bus and the first type of serial communication bus between the serial bus hub and the hard disk connector are both disposed in the first MCI and the second MCI.
[0061] It is worth noting that each first channel in the serial bus hub can be connected to a first multi-channel input / output interface (MCIO, Multi-channel Input / Output), and the second multi-channel input / output interface guides the first type of serial communication bus corresponding to each first channel to each hard disk connector. Thus, when a hard disk is connected to its connector, its first type of serial communication bus with the serial bus hub is also connected.
[0062] Furthermore, in Figure 4 In addition, the central processing unit can also write the VPP address (hard link information between the central processing unit and the hard disk) to the backplane extender.
[0063] Based on the above embodiments, this invention specifically adds a serial bus hub to the motherboard. This serial bus hub has multiple first channels. The hard drive connector in the hard drive backplane is connected to the corresponding first channel in the serial bus hub via a first-type serial bus. That is, different hard drives are connected to their corresponding first channels in the serial bus hub via the first-type serial bus. The first-type serial bus supports a first serial bus protocol and a second serial bus protocol. Furthermore, in practical applications, the serial bus hub can switch the operating mode of the corresponding first channel according to whether the target serial bus protocol used by the hard drive is the first serial bus protocol or the second serial bus protocol. This allows the baseboard management controller to obtain the first silkscreen information from the hard drive through the first channel, thus enabling the acquisition of silkscreen information from hard drives using different serial bus protocol versions.
[0064] Based on the above embodiments, a method for obtaining screen printing information provided by the present invention will be described below. Please refer to... Figure 5 , Figure 5 This is a flowchart illustrating a method for acquiring silkscreen information according to an embodiment of the present invention. The method is applied to the hard disk management system described above and may include:
[0065] S501, the serial bus hub switches the operating mode of the corresponding first channel according to the target serial bus protocol used by the hard drive; the target serial bus protocol is either the first serial bus protocol or the second serial bus protocol.
[0066] Specifically, the serial bus hub first performs a protocol handshake with the hard drive through the first channel to determine the target serial bus protocol used by the hard drive. If the target serial bus protocol is the first serial bus protocol, the first channel can be switched to the first operating mode (open-drain mode). Additionally, the I3C protocol requires the host to dynamically allocate bus addresses to the slave devices; therefore, the serial bus hub also needs to dynamically allocate bus addresses for the hard drive. If the target serial bus protocol is the second serial bus protocol, only the first channel needs to be switched to the second operating mode (push-pull mode).
[0067] Based on this, the serial bus hub can switch the operating mode of the corresponding first channel according to the target serial bus protocol used by the hard drive, which may include:
[0068] Step 11: The serial bus hub performs a protocol handshake with the hard disk through the first channel to determine the target serial bus protocol used by the hard disk;
[0069] Step 12: If the target serial bus protocol is the first serial bus protocol, then switch the first channel to the first working mode and dynamically allocate a bus address to the hard disk;
[0070] Step 13: If the target serial bus protocol is the second serial bus protocol, then switch the first channel to the second working mode.
[0071] S502. When the working mode switch is completed, the baseboard management controller obtains the first silkscreen information from the hard disk through the first channel.
[0072] Specifically, when switching operating modes, the baseboard management controller needs to obtain the first silkscreen information from the hard drive through the first channel using different methods depending on the target serial bus protocol used by the hard drive. If the target serial bus protocol is the first serial bus protocol, the baseboard management controller uses the first channel and the hard drive's dynamic bus address to obtain the first silkscreen information from the hard drive; if the target serial bus protocol is the second serial bus protocol, the baseboard management controller uses the first channel and the hard drive's fixed bus address to obtain the first silkscreen information from the hard drive. This ensures compatibility with hard drives using different serial bus protocols.
[0073] Based on this, the substrate management controller obtains the first silkscreen information from the hard disk through the first channel, which may include:
[0074] Step 21: If the target serial bus protocol is the first serial bus protocol, the baseboard management controller uses the first channel and the dynamic bus address of the hard disk to obtain the first silkscreen information from the hard disk;
[0075] Step 22: If the target serial bus protocol is the second serial bus protocol, the baseboard management controller uses the first channel and the fixed bus address of the hard disk to obtain the first silkscreen information from the hard disk.
[0076] Furthermore, as mentioned above, in addition to the hard drive connector, the hard drive backplane may also include other hard drive-related backplane devices, such as backplane extenders, field-replaceable units, and backplane sensors. The baseboard management controller also needs to acquire silkscreen information from these backplane devices. To improve communication efficiency and avoid delays caused by protocol switching, this embodiment may also retain an I2C link in the motherboard so that the baseboard management controller can communicate with the backplane devices via the I2C link. In this way, the baseboard management controller can use different serial bus protocols and different serial buses to obtain silkscreen information from the hard drive and the backplane devices respectively.
[0077] Based on this, the method for obtaining screen printing information may further include:
[0078] Step 31: The baseboard management controller communicates with the serial bus hub using the first serial bus protocol to obtain the first silkscreen information from the hard disk through the serial bus hub;
[0079] Step 32: The substrate management controller obtains the second silkscreen information from the backplane devices in the hard disk backplane using the second serial bus protocol.
[0080] Furthermore, considering that a server system may have multiple hard drive backplanes, in order to distinguish the backplane devices on different hardware backplanes, this embodiment can further add a serial bus switch in the motherboard. This serial bus switch can have multiple second channels, and the same group of backplane devices is connected to the corresponding second channel, that is, one group of backplane devices corresponds to one second channel. In this way, similar to a serial bus hub, the baseboard management controller can use different second channels to distinguish the backplane devices of different hard drive backplanes.
[0081] Based on this, the substrate management controller uses the second serial bus protocol to obtain the second silkscreen information from the backplane devices in the hard disk backplane, including:
[0082] Step 41: The baseboard management controller sends a preset command to the serial bus switch in the motherboard using the second serial bus protocol to start the second channel in the serial bus switch;
[0083] Step 42: Obtain the third silkscreen information from the backplane device using the second serial bus protocol and the second channel.
[0084] Furthermore, considering that the positions of the backplane devices and the second serial bus connector are relatively fixed, and that the aforementioned second channel can be used to distinguish backplane devices of different types, in order to facilitate the management of backplane devices at various locations on the server by the baseboard management controller, the second channel can also be correlated with the position of the backplane device on the hard disk backplane. In this way, when the baseboard management controller obtains the second silkscreen information through different second channels, it can determine the physical location of the corresponding device.
[0085] Furthermore, the baseboard management controller can also receive hard disk BDF information sent by the basic input / output system to further refine the silkscreen information.
[0086] Based on the above embodiments, this invention specifically adds a serial bus hub to the motherboard. This serial bus hub has multiple first channels. The hard drive connector in the hard drive backplane is connected to the corresponding first channel in the serial bus hub via a first-type serial bus. That is, different hard drives are connected to their corresponding first channels in the serial bus hub via the first-type serial bus. The first-type serial bus supports a first serial bus protocol and a second serial bus protocol. Thus, the serial bus hub can switch the operating mode of the corresponding first channel according to whether the target serial bus protocol used by the hard drive is the first serial bus protocol or the second serial bus protocol. This allows the baseboard management controller to obtain the first silkscreen information from the hard drive through the first channel, thereby enabling the acquisition of silkscreen information from hard drives using different serial bus protocol versions.
[0087] Based on the above embodiments, the following provides a complete description of the hard disk management system and silkscreen information acquisition method using specific schematic diagrams and flowcharts. Please refer to... Figure 6 , Figure 6 A schematic diagram of an NVME backplane system architecture adapted to I3C is provided for an embodiment of the present invention, wherein:
[0088] ① A new I3C HUB (Serial Bus Hub) is added to the motherboard. The I3C HUB connects upstream to the I3C High-voltage mode Bus port of the BMC (High-voltage Mode Bus Interface), which supports voltage levels of 1V8 / 3V3. It has 8 downstream channels, with every two channels connected to one MCIO X8 (First Multi-Channel Input / Output Interface) on the motherboard. On the backplane, each MCIO X8 (Second Multi-Channel Input / Output Interface) outputs two sets of I3C connectors, each connected to one of the two hard drives (NVMe hard drives typically have a high-speed signal bandwidth of x4; one MCIO X8 corresponds to two hard drives, and the two sets of I3C connectors come from different channels of the I3C HUB).
[0089] ② The I3C hub supports Open_Drain (first operating mode) and Push-Pull compatible mode. In both modes, the state of the I / O pins is determined by the I2C and I3C protocols. Dynamic switching between Open_Drain and Push-Pull modes is achieved by configuring parameters in the VIOM_LDO_Voltag register (mode switching register). In Open_Drain mode, the port pull-up voltage is the voltage of the I3C hub chip's VDDIN power supply pin (3V3). In Push-Pull mode, the port can be switched via LDO, with the pull-up voltage corresponding to the VIOS pin voltage (1V8). Furthermore, in the I3C protocol, the device address is assigned by the host, using dynamic address allocation; the same I3C device can be assigned different addresses. In other words, the address of an I3C hard drive can be assigned by the I3C hub. In the I2C protocol, the device address is determined by hardware pull-up and pull-down lines; hard drives of the same model have the same I2C address. To avoid I2C address conflicts, each hard drive is connected to a different channel on the I3C hub to communicate with the host. This ensures compatibility with I2C communication in scenarios where the line supports I3C communication. For devices compatible with both I3C and I2C, the bus operating mode can be flexibly switched via the I3C hub.
[0090] ③ Communication between the hard drive and the BMC is switched to the hardware line of the I3C HUB. Other devices, such as CPLD (backplane expander), FRU (field replaceable unit), and SENSOR (backplane sensor), are connected to the BMC's I2C port sequentially through the backplane, the motherboard's I2C HEADER (first serial bus connector, second serial bus connector), and the motherboard's I2C SWITCH (serial bus switch). This hardware line is retained because the I2C & I3C switching time can reach up to 20ms, and frequent switching will reduce communication efficiency. Therefore, this invention adds I3C for communication with the backplane.
[0091] ④ How to obtain the silkscreen markings on the BMC chassis (please refer to...) Figure 7a. During BIOS initialization, the PCI bus is scanned and enumerated to obtain the BDF codes (Bus, Device, Function) of each hard drive and their correspondence with the CPU PORT (Central Processing Unit Port). (The BIOS obtains the BDF codes of the hard drives through the PCIE bus, and the correspondence between the PCIE bus and the CPU PORT is determined by the hardware circuitry.) b. The BMC connects to the backplane via the I2C port and I2C HEADER, and communicates with the backplane CPLD to obtain the CPU / VPP ADDR (VPP address) information corresponding to the uplink MCIO of the backplane. The BMC determines the CPU PORT corresponding to the backplane based on the truth table (the hardware circuitry determines the correspondence between the PCIe bus and MCIO; each MCIO has a unique CPU / VPP ADDR, so the CPU PORT corresponding to the backplane uplink can be determined through the CPU / VPP ADDR); c. The BMC obtains hard drive information through the I3C port (compatible with I2C). Since each hard drive corresponds to an I3C HUB channel, and the I3C HUB address can be configured by the reg#126 register, and the channel needs to be opened / closed by specific instructions, there is a one-to-one correspondence between the I3C HUB address and the hard drive. Furthermore, the correspondence between each I3C HUB channel and MCIO is determined by the hardware circuitry, so the BMC can determine the MCIO corresponding to the hard drive based on the I3C HUB address and specific instructions; d. The BIOS reports the BDF code corresponding to each CPU PORT to the BMC via the eSPI bus. In summary, the BMC can obtain the BDF code, hard drive information, I3C HUB channel, and MCIO corresponding to each CPU PORT, and display the summarized data on the BMC web interface.
[0092] ⑤ Each backplane corresponds to one I2C SWITCH channel on the motherboard, similar to an I3C hub. Each I2C SWITCH has a fixed address, and opening the corresponding channel requires a specific command. Therefore, the BMC can communicate with the downstream backplane via the I2C SWITCH address and a specific command (in the current design, the CPLD addresses on the backplanes are the same, so two backplanes cannot be connected to the same I2C SWITCH channel). While obtaining the VPP / CPU APPR, it can communicate with the FRUs on the backplane to obtain information such as the backplane's part number and the number of supported hard drives. Simultaneously, it establishes the correspondence between the backplane and the hard drives. Secondly, to avoid excessively long / messy wiring in the server, the I2CHEADER is positioned in front, middle, and rear windows. Front window backplanes only connect to front window I2C HEADERs, and the I2CHEADER and I2C SWITCH channels are hardware-bound. Therefore, the BMC can identify whether the backplane and hard drive are front / middle / rear window backplanes. In summary, BMC obtains the backplane information of the hard drive and its location in the chassis and displays it in the BMC interface.
[0093] This invention also provides an electronic device comprising the hard disk management system described above, the specific hardware interface of which can be found in [reference needed]. Figures 1-4 , Figure 6 .
[0094] Since the embodiments of the electronic device part correspond to the embodiments of the hard disk management system part, please refer to the description of the embodiments of the hard disk management system part for the embodiments of the electronic device part, and will not be repeated here.
[0095] This invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the silkscreen information acquisition method described in the above embodiments.
[0096] Since the embodiments of the computer program product part correspond to the embodiments of the screen printing information acquisition method part, please refer to the description of the embodiments of the screen printing information acquisition method part for the embodiments of the computer program product part, and they will not be repeated here.
[0097] This invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the silkscreen information acquisition method described in the above embodiments.
[0098] Since the embodiments of the computer-readable storage medium portion correspond to the embodiments of the silkscreen information acquisition method portion, the embodiments of the storage medium portion are described in the description of the embodiments of the silkscreen information acquisition method portion, and will not be repeated here.
[0099] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.
[0100] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software 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 implementations should not be considered beyond the scope of this invention.
[0101] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0102] The hard disk management system, silkscreen information acquisition method, electronic device, and storage medium provided by this invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this invention. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this invention. It should be noted that those skilled in the art can make several improvements and modifications to this invention without departing from the principles of this invention, and these improvements and modifications also fall within the protection scope of this invention.
Claims
1. A hard disk management system, characterized in that, include: A motherboard and a hard drive backplane, wherein the motherboard includes a baseboard management controller and a serial bus hub, and the hard drive backplane includes a hard drive connector; The baseboard management controller is connected to the serial bus hub, which has multiple first channels; the hard disk is connected to the hard disk connector, which is connected to the corresponding first channel in the serial bus hub via a first type of serial bus, which supports a first serial bus protocol and a second serial bus protocol. The serial bus hub is used to switch the working mode of the corresponding first channel according to the target serial bus protocol used by the hard disk, so that the baseboard management controller can obtain the first silkscreen information from the hard disk through the first channel. The target serial bus protocol is either the first serial bus protocol or the second serial bus protocol; The serial bus hub performs a protocol handshake with the hard disk through the first channel to determine the target serial bus protocol used by the hard disk. If the target serial bus protocol is the first serial bus protocol, then the first channel is switched to the first working mode, and a bus address is dynamically allocated to the hard disk; If the target serial bus protocol is the second serial bus protocol, then the first channel is switched to the second working mode; The substrate management controller is configured to obtain first silkscreen information from the hard disk using the first channel and the dynamic bus address of the hard disk if the target serial bus protocol is the first serial bus protocol. If the target serial bus protocol is the second serial bus protocol, then the first silkscreen information is obtained from the hard disk using the first channel and the fixed bus address of the hard disk; The motherboard also includes a first serial bus connector, and the hard disk backplane also includes a second serial bus connector and backplane components. The baseboard management controller is connected to the serial bus hub via the first type of serial bus and to the first serial bus connector via the second type of serial bus. The second serial bus connector is connected to the first serial bus connector and the backplane device via the second type of serial bus; the second type of serial bus only supports the second serial bus protocol; the backplane device includes a backplane extender, a field-replaceable unit, and a backplane sensor; The baseboard management controller is used to obtain first silkscreen information from the hard disk using a first serial bus protocol and the serial bus hub, and to obtain second silkscreen information from the backplane device using a second serial bus protocol. The motherboard also includes a central processing unit and a first multi-channel input / output interface, and the hard drive backplane also includes a second multi-channel input / output interface; The central processing unit is connected to the hard disk connector via a high-speed serial bus. The first multi-channel input / output interface is connected to the second multi-channel input / output interface. The high-speed serial bus and the first type of serial bus between the serial bus hub and the hard disk connector are both located in the first multi-channel input / output interface and the second multi-channel input / output interface.
2. The hard disk management system according to claim 1, characterized in that, The motherboard also includes a serial bus switch, which has multiple second channels, and the same group of backplane devices are connected to the corresponding second channels. The substrate management controller is used to obtain second silkscreen information from the backplane device through the corresponding second channel in the serial bus switch.
3. A method for acquiring screen printing information, characterized in that, An application is provided in a hard disk management system, the hard disk management system including a motherboard and a hard disk backplane, the motherboard including a baseboard management controller and a serial bus hub, the hard disk backplane including a hard disk connector; the baseboard management controller is connected to the serial bus hub, the serial bus hub having multiple first channels; the hard disk is connected to the hard disk connector, the hard disk connector being connected to a corresponding first channel in the serial bus hub via a first type of serial bus, the first type of serial bus supporting a first serial bus protocol and a second serial bus protocol; The motherboard also includes a first serial bus connector, and the hard disk backplane also includes a second serial bus connector and backplane components. The baseboard management controller is connected to the serial bus hub via the first type of serial bus and to the first serial bus connector via the second type of serial bus. The second serial bus connector is connected to the first serial bus connector and the backplane device via the second type of serial bus; the second type of serial bus only supports the second serial bus protocol; the backplane device includes a backplane extender, a field-replaceable unit, and a backplane sensor; The motherboard also includes a central processing unit and a first multi-channel input / output interface, and the hard disk backplane also includes a second multi-channel input / output interface; the central processing unit is connected to the hard disk connector via a high-speed serial bus, the first multi-channel input / output interface is connected to the second multi-channel input / output interface, and the high-speed serial bus and the first type of serial bus between the serial bus hub and the hard disk connector are both disposed in the first multi-channel input / output interface and the second multi-channel input / output interface; The method includes: The serial bus hub switches the operating mode of the corresponding first channel according to the target serial bus protocol used by the hard drive; the target serial bus protocol is either the first serial bus protocol or the second serial bus protocol. When completing the working mode switch, the baseboard management controller obtains the first silkscreen information from the hard disk through the first channel; The baseboard management controller obtains first silkscreen information from the hard disk using a first serial bus protocol and the serial bus hub, and obtains second silkscreen information from the backplane device using a second serial bus protocol. The serial bus hub switches the operating mode of the corresponding first channel according to the target serial bus protocol used by the hard drive, including: The serial bus hub performs a protocol handshake with the hard disk through the first channel to determine the target serial bus protocol used by the hard disk. If the target serial bus protocol is the first serial bus protocol, then the first channel is switched to the first working mode, and a bus address is dynamically allocated to the hard disk; If the target serial bus protocol is the second serial bus protocol, then the first channel is switched to the second working mode; The substrate management controller obtains the first silkscreen information from the hard disk through the first channel, including: If the target serial bus protocol is the first serial bus protocol, the baseboard management controller uses the first channel and the dynamic bus address of the hard disk to obtain the first silkscreen information from the hard disk; If the target serial bus protocol is the second serial bus protocol, the baseboard management controller uses the first channel and the fixed bus address of the hard disk to obtain the first silkscreen information from the hard disk.
4. The method for acquiring screen printing information according to claim 3, characterized in that, Obtaining second silkscreen information from the backplane device using a second serial bus protocol includes: The baseboard management controller uses the second serial bus protocol to send a preset command to the serial bus switch in the motherboard to start the second channel in the serial bus switch; The second silkscreen information is obtained from the backplane device using the second serial bus protocol and the second channel.
5. An electronic device, characterized in that, It includes the hard disk management system as described in claim 1 or 2.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when loaded and executed by a processor, implement the silkscreen information acquisition method as described in claim 3 or 4.
Citation Information
Patent Citations
Hub, master-slave mode switching system and vehicle
CN116909960A
Method, device and equipment for transmitting position information of high-speed serial bus equipment
CN118689810A