Information processing device and method for identifying hard disk configuration
The hard drive configuration is identified through the connection between the motherboard and the hard drive interface, which solves the problem of the default speed adjustment curve of the server fan without a hard drive backplane, achieving precise speed adjustment and power consumption saving.
Patent Information
- Application Number
- CN201711098770.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-11-09
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2037-11-09
AI Technical Summary
Existing technology cannot accurately identify the hard disk configuration of servers without hard disk backplanes, causing the fan to be set to the highest speed curve by default, resulting in wasted power consumption and high noise.
Through the connection between the motherboard and the hard disk interface, it receives and parses the returned information to identify the hard disk configuration, and controls the fan to work with a matching speed curve based on the identification results.
It achieves precise speed regulation, saves fan power consumption and reduces noise.
Smart Images

Figure CN107807896B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic equipment, and in particular to an information processing device and a method for identifying hard disk configuration. Background Art
[0002] The system flow resistance of servers with different hard disk configurations is different. For example, the system flow resistance of servers with hard disks such as 1U 8x2.5, 1U 4x3.5, and 1U 10x2.5 ranges from small to large. Figure 1 As shown, in order to adjust different system flow resistances, the fans can be set to work with different fan speed curves. For example, for a server with a smaller system flow resistance, the fans can be set to work with a lower fan speed curve, and for a server with a larger system flow resistance, the fans can be set to work with a higher fan speed curve. At present, the baseboard management control (IMM / BMC) of the integrated management module distinguishes server systems with different hard disk configurations by identifying the field replaceable unit number (FRU ID) information of the hard disk backplane (HDD BP), such as the field replaceable unit number of the hard disk 1U 8x2.5 is 0x6A, the field replaceable unit number of the hard disk 1U 4x3.5 is 0x69, and the field replaceable unit number of the hard disk 1U 10x2.5 is 0x6B.
[0003] For servers configured without a hard disk backplane, the field replaceable unit number of the hard disk is 0x00, and the server system cannot currently identify which hard disk configuration it is. Taking the above case as an example, the server system cannot identify whether the hard disk is 1U8x2.5, 1U 4x3.5 or 1U 10x2.5, so the server system sets the fan to work at the highest fan speed curve (the fan speed curve corresponding to 1U 10x2.5) by default.
[0004] However, if the server system is not configured with a hard disk (HDD) corresponding to the maximum flow resistance, taking the above case as an example, if the server system includes a 1U 8x2.5 or 1U 4x3.5 hard disk, the fan is set to the highest fan speed curve by default, which will cause fan power consumption waste and high noise. Summary of the invention
[0005] The purpose of an embodiment of the present invention is to provide an information processing device and a method for identifying a hard disk configuration, wherein the information processing device and the method can identify the hard disk configuration of the information processing device and enable the fan to operate with a fan speed control curve corresponding to the system flow resistance of different hard disk configurations.
[0006] In order to solve the above technical problems, an embodiment of the present invention adopts the following technical solution: an information processing device, which includes a main board and a hard disk, the main board includes at least one pin; the hard disk includes an interface connected to the at least one pin; wherein, when the main board is connected to the hard disk, the main board identifies the configured hard disk by receiving information returned by the interface.
[0007] Preferably, the interface of the hard disk includes a first terminal that returns first information when connected to the pin and a second terminal that returns second information when connected to the pin, wherein the mainboard identifies the configured hard disk by receiving the first information and the second information.
[0008] Preferably, the arrangement positions of the first terminal and the second terminal in the interface correspond to different hard disks, and the mainboard identifies the configured hard disk by an arrangement and combination of the received first information and the second information.
[0009] Preferably, the mainboard is electrically connected to a fan of the information processing device.
[0010] The mainboard controls the fan according to the configured hard disk to operate with a fan speed adjustment curve matching the configured hard disk.
[0011] An embodiment of the present invention also discloses a method for identifying a hard disk configuration, which is applied to an information processing device, wherein the information processing device includes a mainboard and a hard disk, and an interface of the hard disk is set; when at least one pin of the mainboard is connected to the interface of the hard disk, information returned by the interface obtained by the mainboard is detected; and the configured hard disk is identified based on the returned information.
[0012] Preferably, setting the interface of the hard disk specifically includes: setting the interface of the hard disk to an interface including a first terminal that returns first information when connected to the pin and a second terminal that returns second information when connected to the pin, and identifying the configured hard disk based on the first information and the second information.
[0013] Preferably, setting the interface of the hard disk specifically includes: setting the arrangement positions of the first terminal and the second terminal of the interface to correspond to different hard disks, and identifying the configured hard disk according to the arrangement and combination of the first information and the second information.
[0014] Preferably, the method further comprises: controlling the fan electrically connected to the mainboard according to the configured hard disk to operate with a fan speed control curve matching the configured hard disk.
[0015] Preferably, the method further comprises: starting up the information processing device system and detecting whether the information processing device has a hard disk backplane; if the information processing device has a hard disk backplane, reading the field replaceable unit number of the hard disk backplane and identifying the configured hard disk.
[0016] Preferably, the method also includes: if the information processing device has a hard disk backplane, reading the field replaceable unit number of the hard disk backplane and controlling the fan electrically connected to the mainboard according to the field replaceable unit number to operate with a fan speed curve matching the configured hard disk.
[0017] The beneficial effects of the embodiments of the present invention are as follows: the motherboard is connected to the hard disk through at least one pin of the motherboard and the interface of the hard disk, the motherboard receives information returned by the interface of the hard disk through at least one pin to identify the configured hard disk, and according to the identified configured hard disk, controls the fan to operate with a fan speed control curve that matches the hard disk, thereby achieving precise speed control, saving fan power consumption and reducing noise. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A schematic diagram showing the prior art of identifying a hard disk by a field replaceable unit number of a hard disk backplane and corresponding the hard disk to different fan speed adjustment curves;
[0019] Figure 2 A schematic diagram showing the structure of pins of a mainboard of an information processing device according to an embodiment of the present invention is shown;
[0020] Figure 3 A schematic diagram showing a flow chart of a method for identifying hard disk configuration according to an embodiment of the present invention;
[0021] Figure 4 A schematic diagram showing a flow chart of a method for identifying hard disk configuration according to another embodiment of the present invention;
[0022] Figure 5 A schematic flow chart showing a method for identifying hard disk configuration according to another embodiment of the present invention;
[0023] Figure 6 A schematic flow chart of a method for identifying hard disk configuration according to another embodiment of the present invention is shown. DETAILED DESCRIPTION
[0024] Various aspects and features of the present invention are described herein with reference to the accompanying drawings.
[0025] It should be understood that various modifications may be made to the embodiments of the invention herein. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the invention will occur to those skilled in the art.
[0026] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the general description of the invention given above and the detailed description of the embodiments given below, serve to explain the principles of the invention.
[0027] These and other characteristics of the invention will become apparent from the following description of a preferred form of embodiment given as a non-limiting example, with reference to the accompanying drawings.
[0028] It should also be understood that, although the invention has been described with reference to some specific examples, those skilled in the art will be able to realize many other equivalent forms of the invention that have the characteristics recited in the claims and are therefore within the scope of protection defined thereby.
[0029] The above and other aspects, features and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
[0030] Specific embodiments of the present invention are described hereinafter with reference to the accompanying drawings; however, it should be understood that the disclosed embodiments are merely examples of the present invention, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present invention. Therefore, the specific structural and functional details disclosed herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present invention in a variety of ways with substantially any suitable detailed structure.
[0031] This specification may use the phrases "in one embodiment," "in another embodiment," "in a further embodiment," or "in other embodiments," which may all refer to one or more of the same or different embodiments according to the present invention.
[0032] An embodiment of the present invention discloses an information processing device, which includes a main board and a hard disk, wherein the main board includes at least one pin; the hard disk includes an interface connected to the at least one pin; wherein when the main board is connected to the hard disk, the main board identifies the configured hard disk by receiving information returned by the interface.
[0033] The motherboard is connected to the hard disk interface through at least one pin of the motherboard, and the motherboard receives information returned by the hard disk interface through at least one pin to identify the configured hard disk. Different configured hard disks will return different information, and the motherboard can identify the configured hard disk by receiving the returned information.
[0034] In the above embodiment, the hard disk is directly provided with an interface connected to at least one pin of the mainboard. Of course, a cable may also be provided, one end of which is connected to the hard disk, and the other end of which is provided with an interface connected to the mainboard including at least one pin. In this way, there is no need to improve the hard disk, and the purpose of identifying the configured hard disk can be achieved by only improving the structure of the cable. In addition, the hard disk may also be replaced with a chassis corresponding to the hard disk one by one, so that the interface of the hard disk may be replaced with an interface of the chassis or an interface of a cable connected to the chassis.
[0035] Furthermore, the interface of the hard disk includes a first terminal that returns first information when connected to the pin and a second terminal that returns second information when connected to the pin, wherein the mainboard identifies the configured hard disk by receiving the first information and the second information.
[0036] For example, the first terminal of the hard disk interface is an empty terminal, that is, when the first terminal is connected to the pin, the first information can be returned as 1, and the second terminal of the hard disk interface is a non-empty terminal, that is, when the second terminal is connected to the pin, the second information can be returned as 0. The motherboard identifies the configured hard disk by receiving 1 or 0. The hard disk interface is set to the first terminal and the second terminal, and the configured hard disk can be identified based on the returned first information and second information. If the configured hard disk is different, the returned first information and second information are different. The motherboard can identify the configured hard disk by receiving the returned first information and second information.
[0037] Furthermore, the arrangement positions of the first terminal and the second terminal in the interface correspond to different hard disks, and the mainboard identifies the configured hard disk through the arrangement and combination of the received first information and the second information.
[0038] Continuing with the above example, the first information returned by the first terminal is 1, and the second information returned by the second terminal is 1. By arranging the positions of the first terminal and the second terminal in the interface to correspond to different hard disks, the arrangement and combination of the first information and the second information received by the mainboard is also different. The mainboard corresponds to different hard disks according to different preset arrangements and combinations, and can identify the configured hard disk by the arrangement and combination of the received first information and the second information.
[0039] For example, Figure 1 The motherboard shown has 4 pins, and the hard disk interface also includes 4 terminals corresponding to the 4 pins, that is, the hard disk interface can return 2 4 There are 2 combinations, so the motherboard can recognize 2 4 Table 1 shows different hard disks corresponding to different permutations and combinations. Of course, the user can set other information to identify the configured hard disk as needed.
[0040] 1U 8x2.5 1 1 1 1 1U 4x3.5 0 1 1 1 1U 10x2.5 1 0 1 1 2U 16x2.5 1 1 0 0 2U 8x3.5 1 1 1 0 2U 12x3.5 0 0 1 1
[0041] Table 1 Table of different combinations of information returned by different hard disks
[0042] Figure 2 What is shown in FIG. 1 are pins additionally provided in the motherboard. Of course, the configured hard disk can also be identified by utilizing the general purpose input / output interface pins (GPIO pins) of the motherboard and the interface of the hard disk.
[0043] Furthermore, the mainboard is electrically connected to the fan of the information processing device, and the mainboard controls the fan to work with a fan speed curve matching the configured hard disk according to the configured hard disk. After the mainboard identifies the configured hard disk, the fan can be controlled to work with a fan speed curve matching the hard disk according to the identified hard disk, thereby solving the problem of wasted power consumption and high noise of the fan.
[0044] like Figure 3 As shown, the embodiment of the present invention also discloses a method for identifying hard disk configuration, which is applied to an information processing device, the information processing device includes a mainboard and a hard disk.
[0045] S1, set the hard disk interface;
[0046] S2, when at least one pin of the mainboard is connected to the interface of the hard disk, detecting information returned by the interface obtained by the mainboard;
[0047] S3, identifying the configured hard disk according to the returned information.
[0048] The motherboard is connected to the hard disk through at least one pin of the motherboard, and receives information returned by the hard disk interface through at least one pin to identify the configured hard disk. By setting the hard disk interface, the configured hard disk is matched with its interface. Different configured hard disks will return different information, and the motherboard can identify the configured hard disk through the received returned information.
[0049] Further, S1, setting the interface of the hard disk specifically includes: setting the interface of the hard disk to an interface including a first terminal that returns first information when connected to a pin and a second terminal that returns second information when connected to the pin,
[0050] S3, identifying the configured hard disk according to the returned information, specifically: identifying the configured hard disk according to the first information and the second information.
[0051] For example, the first terminal of the hard disk interface is an empty terminal, that is, when the first terminal is connected to the pin, the first information can be returned as 1, and the second terminal of the hard disk interface is a non-empty terminal, that is, when the second terminal is connected to the pin, the second information can be returned as 0. The motherboard identifies the configured hard disk by receiving 1 or 0. The hard disk interface is set to the first terminal and the second terminal, and the configured hard disk can be identified based on the returned first information and second information. If the configured hard disk is different, the returned first information and second information are different. The motherboard can identify the configured hard disk by receiving the returned first information and second information.
[0052] Further, S1, setting the interface of the hard disk specifically includes: setting the arrangement positions of the first terminal and the second terminal of the interface to correspond to different hard disks,
[0053] S3, identifying the configured hard disk according to the returned information, specifically: identifying the configured hard disk according to the arrangement and combination of the first information and the second information.
[0054] Continuing with the above example, the first information returned by the first terminal is 1, and the second information returned by the second terminal is 1. By arranging the positions of the first terminal and the second terminal in the interface to correspond to different hard disks, the arrangement and combination of the first information and the second information received by the mainboard is also different. The mainboard corresponds to different hard disks according to different preset arrangements and combinations, and can identify the configured hard disk by the arrangement and combination of the received first information and the second information.
[0055] like Figure 4 As shown, a method for identifying a hard disk configuration in one embodiment includes:
[0056] S1, set the hard disk interface;
[0057] S2, when at least one pin of the mainboard is connected to the interface of the hard disk, detecting information returned by the interface obtained by the mainboard;
[0058] S3, identifying the configured hard disk according to the returned information;
[0059] S4, according to the configured hard disk, controlling the fan electrically connected to the mainboard to operate with a fan speed adjustment curve matching the configured hard disk.
[0060] The method for identifying the hard disk configuration in the above embodiment adds S4, and controls the fan electrically connected to the mainboard to operate with a fan speed curve matching the configured hard disk according to the configured hard disk. After the mainboard identifies the configured hard disk, the fan can be controlled to operate with a fan speed curve matching the hard disk according to the identified hard disk, thereby solving the problem of wasted power consumption and high noise of the fan.
[0061] like Figure 5 As shown, a method for identifying a hard disk configuration in one embodiment includes:
[0062] S00, the information processing device system is turned on to detect whether the information processing device has a hard disk backplane;
[0063] S01, if the information processing device has a hard disk backplane, read the field replaceable unit number of the hard disk backplane and identify the configured hard disk;
[0064] S1, set the hard disk interface;
[0065] S2, when at least one pin of the mainboard is connected to the interface of the hard disk, detecting information returned by the interface obtained by the mainboard;
[0066] S3, identifying the configured hard disk according to the returned information;
[0067] S4, according to the configured hard disk, controlling the fan electrically connected to the mainboard to operate with a fan speed adjustment curve matching the configured hard disk.
[0068] The method for identifying hard disk configuration in the above embodiment further includes, before step S1:
[0069] S00, the information processing device system is turned on to detect whether the information processing device has a hard disk backplane;
[0070] S01, if the information processing device has a hard disk backplane, read the field replaceable unit number of the hard disk backplane and identify the configured hard disk.
[0071] The configured hard disk is identified by directly reading the field replaceable unit number of the hard disk backplane. When there is no hard disk backplane, the field replaceable unit number of the hard disk backplane read is 0x00. The hard disk can be identified by the aforementioned method. Thus, the hard disk can be identified regardless of whether the information processing device has a hard disk backplane or not.
[0072] like Figure 6 As shown, a method for identifying a hard disk configuration in one embodiment includes:
[0073] S00, the information processing device system is turned on to detect whether the information processing device has a hard disk backplane;
[0074] S02, the information processing device system is turned on, and whether the information processing device has a hard disk backplane is detected. If the information processing device has a hard disk backplane, the field replaceable unit number of the hard disk backplane is read and the fan electrically connected to the mainboard is controlled according to the field replaceable unit number to operate with a fan speed curve matching the configured hard disk;
[0075] S1, set the hard disk interface;
[0076] S2, when at least one pin of the mainboard is connected to the interface of the hard disk, detecting information returned by the interface obtained by the mainboard;
[0077] S3, identifying the configured hard disk according to the returned information;
[0078] S4, according to the configured hard disk, controlling the fan electrically connected to the mainboard to operate with a fan speed adjustment curve matching the configured hard disk.
[0079] The method for identifying hard disk configuration in the above embodiment further includes, before step S1:
[0080] S00, the information processing device system is turned on to detect whether the information processing device has a hard disk backplane;
[0081] S02, the information processing device system is turned on to detect whether the information processing device has a hard disk backplane. If the information processing device has a hard disk backplane, the field replaceable unit number of the hard disk backplane is read and the fan electrically connected to the mainboard is controlled according to the field replaceable unit number to operate with a fan speed curve matching the configured hard disk.
[0082] By directly reading the field replaceable unit number of the hard disk backplane to identify the configured hard disk, or by identifying the hard disk through the aforementioned method, the hard disk can be identified regardless of whether the information processing device has a hard disk backplane or not, thereby controlling the fan to operate with a fan speed control curve that matches the hard disk, thereby achieving precise speed control, saving fan power consumption and reducing noise.
[0083] The above embodiments are only exemplary embodiments of the present invention and are not intended to limit the present invention. The protection scope of the present invention is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present invention within the essence and protection scope of the present invention, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present invention.
Claims
1. An information processing device comprising a mainboard, a hard disk and a fan, It is characterized in that The mainboard includes at least one pin; The hard disk includes an interface connected to the at least one pin; Wherein, when the mainboard is connected to the hard disk, the general input / output interface pin of the mainboard identifies the configured hard disk by receiving the arrangement and combination of the first information and the second information returned by the interface, so as to control the fan to work with a fan speed curve matching the hard disk; The interface of the hard disk includes a first terminal that returns first information when connected to the pin and a second terminal that returns second information when connected to the pin. The arrangement positions of the first terminal and the second terminal in the interface correspond to different hard disks, and the mainboard identifies the configured hard disk by receiving an arrangement and combination of the first information and the second information.
2. The information processing device according to claim 1, It is characterized in that The mainboard is electrically connected to the fan of the information processing device, The mainboard controls the fan according to the configured hard disk to operate with a fan speed adjustment curve matching the configured hard disk.
3. A method for identifying a hard disk configuration, which is applied to an information processing device, wherein the information processing device includes a motherboard, a hard disk and a fan. It is characterized in that Setting an interface of the hard disk; When the general input / output interface pin of the mainboard is connected to the interface of the hard disk, detecting information returned by the interface obtained by the mainboard; The hard disk configured is identified according to the arrangement and combination of the returned first information and the second information, so as to control the fan to operate with a fan speed adjustment curve matching the hard disk; wherein, Setting the interface of the hard disk specifically includes: setting the interface of the hard disk to an interface including a first terminal that returns first information when connected to the pin and a second terminal that returns second information when connected to the pin, setting the arrangement positions of the first terminal and the second terminal of the interface to correspond to different hard disks, and identifying the configured hard disk according to the arrangement and combination of the first information and the second information.
4. The method for identifying hard disk configuration according to claim 3, It is characterized in that The method further comprises: According to the configured hard disk, a fan electrically connected to the mainboard is controlled to operate with a fan speed adjustment curve matching the configured hard disk.
5. The method for identifying hard disk configuration according to claim 4, It is characterized in that The method further comprises: The information processing device system is turned on to detect whether the information processing device has a hard disk backplane; If the information processing device has a hard disk backplane, the field replaceable unit number of the hard disk backplane is read and the configured hard disk is identified.
6. The method for identifying hard disk configuration according to claim 5, It is characterized in that The method further comprises: If the information processing device has a hard disk backplane, the field replaceable unit number of the hard disk backplane is read and the fan electrically connected to the mainboard is controlled according to the field replaceable unit number to operate with a fan speed curve matching the configured hard disk.
