Hard disk information control reporting method and device, storage medium and computer device

By using the pin number markings of the central processing unit and the timing of voltage change signals to drive the SATA chip to obtain hard drive information, the problem of the CPU chip being unable to recognize multiple hard drives is solved, and accurate identification and control of hard drives is achieved.

CN115357530BActive Publication Date: 2025-12-16SHENZHEN AIKANG ZHILIAN TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In existing technologies, CPU chips cannot accurately identify hard drives connected to SATA interfaces extended by hub chips, resulting in the inability to accurately identify and control hard drives and provide feedback to users.

Method used

The storage hard drive inserted into the hard drive connection device is marked by the pin number of the central processing unit, the time sequence of voltage change signals is obtained, and the hard drive information is obtained by driving the SATA chip one by one through the first pin, and then marked by the pin number of the second pin.

Benefits of technology

It enables accurate identification and control of storage hard drives inserted into hard drive connection devices, making it easier for users to distinguish hard drives and solving the technical defects in hard drive identification and control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115357530B_ABST
    Figure CN115357530B_ABST
Patent Text Reader

Abstract

The application provides a hard disk information control reporting method and device, a storage medium and computer equipment, which are applied to a hard disk connecting device and include a central processing unit provided with a plurality of first pins and a plurality of second pins, a plurality of SATA chips and a plurality of hard disk connectors corresponding to the SATA chips; the first pins are connected with the SATA chips, and the second pins are connected with the hard disk connectors. The method includes the following steps: when a storage hard disk is inserted into each hard disk connector, the central processing unit acquires a voltage change signal of each hard disk connector through the corresponding second pin; according to the time sequence of the voltage change signal, the central processing unit drives the corresponding SATA chip through the first pin to acquire hard disk information of the storage hard disk through the corresponding hard disk connector; and the hard disk information is marked according to the pin number of the corresponding second pin to obtain the marked hard disk information. The user can distinguish the storage hard disk inserted into the hard disk connecting device according to the mark.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of hard disk information acquisition, and in particular to a hard disk information control reporting method and device, a storage medium and computer equipment. BACKGROUND

[0002] In a storage device system, due to the lack of a native SATA interface of a CPU chip, a hub chip is often needed to expand the SATA interface, and since a hard disk connecting device can access multiple storage hard disks at the same time, expanding the SATA interface through the hub chip of the hard disk connecting device has the technical defect of causing the CPU chip to be unable to determine which specific hard disk is reported by the hard disk connecting device each time. This results in the inability to accurately identify and control the hard disk and feed back to the user in many specific application scenarios, which is a problem that needs to be solved in the industry. SUMMARY

[0003] The present application aims to overcome the shortcomings and deficiencies in the prior art, and provides a hard disk information control reporting method and device, a storage medium and computer equipment, which can mark the hard disk information of a storage hard disk inserted into a hard disk connecting device through the pin number of a first pin of a central processor of the hard disk connecting device, obtain the marked hard disk information, and facilitate the user to distinguish the storage hard disk inserted into the hard disk connecting device according to the mark.

[0004] One embodiment of the present application provides a hard disk information control reporting method applied to a hard disk connecting device, wherein the hard disk connecting device comprises a central processor provided with a plurality of first pins and a plurality of second pins, a plurality of SATA chips and a plurality of hard disk connectors corresponding to each SATA chip; wherein the first pins of the central processor are connected one by one with the SATA chips, and the second pins of the central processor are connected one by one with the hard disk connectors.

[0005] The hard disk information control reporting method comprises:

[0006] When a plurality of storage hard disks are inserted into each hard disk connector, the central processor obtains the voltage change signal of each hard disk connector through the corresponding second pin;

[0007] According to the time sequence of obtaining the voltage change signal and the corresponding relationship between the hard disk connector and the SATA chip, the central processor drives the corresponding SATA chip one by one through the first pin, so that the corresponding SATA chip obtains the hard disk information of the storage hard disk through the corresponding hard disk connector;

[0008] The central processor drives the second pin to mark the hard disk information according to the pin number of the corresponding second pin, to obtain the marked hard disk information.

[0009] Compared with the prior art, the hard disk information control reporting method can obtain the hard disk insertion signals sent by the hard disk jacks when multiple storage hard disks are inserted into the hard disk jacks, and then according to the time sequence of the obtained voltage change signals and the correspondence between the hard disk jacks and the SATA chips, the central processor drives the first pin to drive the corresponding SATA chip one by one, so that the corresponding SATA chip obtains the hard disk information of the storage hard disk through the corresponding hard disk jack, and then according to the pin number of the corresponding second pin, the hard disk information is marked, so that the hard disk information of the storage hard disk inserted into the hard disk connection device is marked through the pin number of the second pin of the central processor of the hard disk connection device, and the marked hard disk information is obtained, which facilitates the user to distinguish the storage hard disk inserted into the hard disk connection device according to the mark.

[0010] In one embodiment, according to the time sequence of the obtained voltage change signals and the correspondence between the hard disk jacks and the SATA chips, the central processor drives the first pin to drive the corresponding SATA chip one by one, so that the corresponding SATA chip obtains the hard disk information of the storage hard disk through the corresponding hard disk jack, and the step includes:

[0011] According to the time sequence of the obtained voltage change signals, a first level signal sending sequence is generated;

[0012] According to the first level signal sending sequence, the central processor sends a first level signal to the SATA chip through the corresponding first pin one by one;

[0013] The SATA chip receiving the first level signal obtains the hard disk information of the storage hard disk in the corresponding hard disk jack;

[0014] The central processor obtains the hard disk information of the storage hard disk in the corresponding hard disk jack through the SATA chip obtaining working power.

[0015] According to the time sequence of the obtained voltage change signals, the central processor can send a first level signal to the SATA chip through the corresponding first pin one by one, so as to directly control the SATA chip to obtain the hard disk information of the storage hard disk in the corresponding hard disk jack.

[0016] In one embodiment, the central processor is further provided with a plurality of third pins, and the hard disk connecting device further comprises a plurality of SATA power control modules, each of which is connected with the third pins of the central processor, and each of the SATA power control modules is electrically connected with a different SATA chip.

[0017] According to the time sequence of obtaining the voltage change signal and the correspondence between the hard disk connector and the SATA chip, the central processor drives the corresponding SATA chip one by one through the first pin, so that the corresponding SATA chip obtains the hard disk information of the storage hard disk through the corresponding hard disk connector.

[0018] According to the time sequence of obtaining the voltage change signal, a second level signal sending sequence is generated.

[0019] According to the second level signal sending sequence, the central processor sends a second level signal to the SATA power control module through the corresponding third pin.

[0020] Through receiving the second level signal, the SATA power control module provides working power for the corresponding SATA chip, and the central processor drives the corresponding SATA chip to obtain the hard disk information of the storage hard disk in the corresponding hard disk connector.

[0021] The central processor obtains the hard disk information of the storage hard disk in the corresponding hard disk connector through the SATA chip with working power.

[0022] According to the time sequence of obtaining the voltage change signal, a second level signal sending sequence is generated.

[0023] In one embodiment, the hard disk connecting device further comprises a Hub chip, the central processor is connected with the Hub chip, the Hub chip is connected with each of the SATA chips respectively, and the Hub chip is used to obtain the storage data of the storage hard disk on the corresponding hard disk connector through the SATA chip. It is convenient for users to obtain the storage data of the storage hard disk through the Hub chip.

[0024] One embodiment of the present application also provides a hard disk information control reporting device, which is applied to a hard disk connecting device, and the hard disk connecting device comprises a central processing unit provided with a plurality of first pins and a plurality of second pins, a plurality of SATA chips and a plurality of hard disk connectors corresponding to the SATA chips; wherein the first pins of the central processing unit are connected to the SATA chips one by one, and the second pins of the central processing unit are connected to the hard disk connectors one by one.

[0025] The hard disk information control reporting device comprises:

[0026] An insertion signal acquisition module, when a plurality of storage hard disks are inserted into the hard disk connectors respectively, the central processing unit acquires voltage change signals of the hard disk connectors through the corresponding second pins;

[0027] A hard disk information acquisition module, which is configured to acquire hard disk information of the storage hard disks according to a time sequence of the acquired voltage change signals and a corresponding relationship between the hard disk connectors and the SATA chips, and drive the SATA chips one by one through the first pins of the central processing unit, so that the SATA chips acquire the hard disk information through the corresponding hard disk connectors;

[0028] A hard disk marking module, which is configured to drive the central processing unit to mark the hard disk information according to pin numbers of the corresponding second pins, so as to obtain the marked hard disk information.

[0029] Compared with the prior art, the hard disk information control reporting device can acquire hard disk insertion signals sent by the hard disk connectors when a plurality of storage hard disks are inserted into the hard disk connectors respectively, and then acquire hard disk information of the storage hard disks according to a time sequence of the acquired voltage change signals and a corresponding relationship between the hard disk connectors and the SATA chips, and drive the SATA chips one by one through the first pins of the central processing unit, so that the SATA chips acquire the hard disk information through the corresponding hard disk connectors, and then mark the hard disk information according to pin numbers of the corresponding second pins, so as to obtain the marked hard disk information, thereby achieving the technical effect that the hard disk information of the storage hard disks inserted into the hard disk connecting device can be marked according to the pin numbers of the second pins of the central processing unit of the hard disk connecting device, and the user can distinguish the storage hard disks inserted into the hard disk connecting device according to the marks.

[0030] In one embodiment, the hard disk information acquisition module comprises:

[0031] A first level signal sending sequence acquisition module, which is configured to generate a first level signal sending sequence according to the time sequence of the acquired voltage change signals.

[0032] The first level signal sending module sends first level signals to the SATA chips through the corresponding first pins one by one according to the first level signal sending sequence.

[0033] The first hard disk information obtaining submodule obtains the hard disk information of the storage hard disk in the corresponding hard disk connector through the SATA chip receiving the first level signal.

[0034] According to the time sequence of obtaining the voltage change signal, the central processor can send first level signals to the SATA chips through the corresponding first pins one by one, thereby directly controlling the SATA chips to obtain the hard disk information of the storage hard disk in the corresponding hard disk connector.

[0035] In one embodiment, the central processor is further provided with a plurality of third pins, and the hard disk connection device further comprises a plurality of SATA power supply control modules, each of the SATA power supply control modules is connected with the third pin of the central processor, and each of the SATA power supply control modules is respectively connected with a different SATA chip.

[0036] The hard disk information obtaining module comprises:

[0037] The second level signal sending sequence obtaining module is configured to generate a second level signal sending sequence according to the time sequence of obtaining the voltage change signal.

[0038] The second level signal sending module sends second level signals to the SATA power supply control modules through the corresponding third pins one by one according to the second level signal sending sequence.

[0039] The second hard disk information obtaining submodule provides working power supply for the corresponding SATA chip through the SATA power supply control module receiving the second level signal, and the central processor drives the corresponding SATA chip to obtain the hard disk information of the storage hard disk in the corresponding hard disk connector.

[0040] According to the time sequence of obtaining the voltage change signal, second level signals can be sent to the SATA power supply control modules through the corresponding third pins one by one, thereby controlling the SATA power supply control modules to supply power to the corresponding SATA chips, so that the central processor can obtain the hard disk information of the storage hard disk in the corresponding hard disk connector through the SATA chips receiving the power supply.

[0041] In one embodiment, the hard disk connecting device further comprises a Hub chip, the central processor is connected with the Hub chip, the Hub chip is connected with each of the SATA chips respectively, and the Hub chip is used to acquire the storage data of the storage hard disk on the corresponding hard disk connector through the SATA chip. The user can acquire the storage data of the storage hard disk through the Hub chip conveniently.

[0042] One embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize the steps of the hard disk information control reporting method.

[0043] One embodiment of the present application further provides a computer device, which comprises a storage, a processor and a computer program stored in the storage and executable by the processor, and the processor realizes the steps of the hard disk information control reporting method when executing the computer program.

[0044] In order to more clearly understand the present application, the specific implementation manner of the present application will be described below with reference to the drawings. BRIEF DESCRIPTION OF DRAWINGS

[0045] Figure 1 The flow chart of the hard disk information control reporting method of one embodiment of the present application.

[0046] Figure 2 The schematic diagram of the hard disk connecting device of the hard disk information control reporting method of one embodiment of the present application.

[0047] Figure 3 The schematic diagram of the hard disk information control reporting device of one embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical scheme and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the drawings.

[0049] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the present application.

[0050] The following description refers to the accompanying drawings. Unless otherwise noted, like elements in different drawings have the same or similar notation, and the same or similar elements in different drawings are represented with the same or similar references. In the description of the present application, it is to be understood that the terminology used is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. It is also possible in this particular case that the above-mentioned terms are interpreted according to the specific circumstances. The singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The word "if' can be interpreted to mean "when" or "upon" or "in response to determining" in this document.

[0051] In addition, in the description of the present application, "a plurality of" means two or more, unless otherwise specified. The "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the three cases of A existing alone, A and B existing together, and B existing alone. The character " / " generally represents that the front and rear associated objects are in an "or" relationship.

[0052] Please refer to Figure 1 and Figure 2 which is a flowchart of a hard disk information control reporting method according to an embodiment of the present application. The hard disk information control reporting method is applied to a hard disk connection device, which comprises a central processing unit provided with a plurality of first pins and a plurality of second pins, a plurality of SATA chips, and a plurality of hard disk connectors corresponding to each of the SATA chips. The first pins of the central processing unit are connected one by one with the SATA chips, and the second pins of the central processing unit are connected one by one with the hard disk connectors.

[0053] The hard disk information control reporting method comprises:

[0054] S1: When a plurality of storage hard disks are inserted into each of the hard disk connectors, the central processing unit obtains the voltage change signal of each of the hard disk connectors through the corresponding second pin.

[0055] S2: According to the time sequence of obtaining the voltage change signal and the corresponding relationship between the hard disk connector and the SATA chip, the central processing unit drives the corresponding SATA chip one by one through the first pin, so that the corresponding SATA chip obtains the hard disk information of the storage hard disk through the corresponding hard disk connector.

[0056] S3: The central processing unit drives the corresponding second pin to mark the hard disk information according to the pin number, and obtains the marked hard disk information.

[0057] Wherein, the hard disk information is marked according to the pin number of the corresponding first pin, which can be directly marked using the corresponding pin number, or marked using a preset character corresponding to the pin number, which can be an English character, a numerical character, a Chinese character, etc.

[0058] Compared with the prior art, the hard disk information control reporting method of the application can obtain the hard disk insertion signals sent by each hard disk connector when multiple storage hard disks are respectively inserted into each hard disk connector, then according to the time sequence of the obtained voltage change signals and the correspondence between the hard disk connectors and the SATA chips, the central processor drives the corresponding SATA chips one by one through the first pins, so that the corresponding SATA chips obtain the hard disk information of the storage hard disks through the corresponding hard disk connectors, and then according to the pin number of the corresponding second pin, the hard disk information is marked, so that the hard disk information of the storage hard disks inserted into the hard disk connection device is marked through the pin number of the second pin of the central processor of the hard disk connection device, and the marked hard disk information is obtained, which facilitates the user to distinguish the storage hard disks inserted into the hard disk connection device according to the mark.

[0059] In a feasible embodiment, each SATA chip is connected to a first pin of the central processor, as shown in scheme 1 in the description; Figure 2

[0060] According to the time sequence of the obtained voltage change signals and the correspondence between the hard disk connectors and the SATA chips, the central processor drives the corresponding SATA chips one by one through the first pins, so that the corresponding SATA chips obtain the hard disk information of the storage hard disks through the corresponding hard disk connectors, and then according to the pin number of the corresponding second pin, the hard disk information is marked, so that the hard disk information of the storage hard disks inserted into the hard disk connection device is marked through the pin number of the second pin of the central processor of the hard disk connection device, and the marked hard disk information is obtained, which facilitates the user to distinguish the storage hard disks inserted into the hard disk connection device according to the mark.

[0061] S201: generating a first level signal sending sequence according to the time sequence of the obtained voltage change signals.

[0062] Wherein, according to the connection relationship between the SATA chips and the hard disk connectors, the corresponding first pins and the corresponding second pins can be associated, and the first level signal sending sequence related to the corresponding first pins can be generated according to the time sequence of the voltage change signals obtained by the second pins, for example, first pins A1, A2 and A3 are associated with second pins B1, B2 and B3 respectively, and the second pins B1, B2 and B3 obtain the voltage change signals in turn, then the corresponding first level signal sending sequence is first pins A1, A2 and A3.

[0063] ​S202: According to the first level signal sending sequence, the central processor sends first level signals to the SATA chip through the corresponding first pins one by one.

[0064] The first level signal can be a high level signal or a low level signal, which is set by the user.

[0065] S203: The SATA chip receiving the first level signal acquires the hard disk information of the storage hard disk in the corresponding hard disk connector.

[0066] When the first level signal is received, the SATA chip generates a hard disk information acquisition instruction and executes it, thereby acquiring the hard disk information of the storage hard disk in the corresponding hard disk connector.

[0067] In this embodiment, according to the time sequence of acquiring the voltage change signal, the central processor can send first level signals to the SATA chip through the corresponding first pins one by one, thereby directly controlling the SATA chip to acquire the hard disk information of the storage hard disk in the corresponding hard disk connector.

[0068] In one possible embodiment, the central processor is also provided with a plurality of third pins, and the hard disk connection device further comprises a plurality of SATA power control modules, each of which is connected with the third pin of the central processor, and each of the SATA chips is respectively connected with different SATA chips, as shown in scheme 2 in Figure 2

[0069] According to the time sequence of acquiring the voltage change signal and the corresponding relationship between the hard disk connector and the SATA chip, the central processor drives the corresponding SATA chip through the first pin one by one, so that the corresponding SATA chip acquires the hard disk information of the storage hard disk through the corresponding hard disk connector. The step comprises:

[0070] S211: According to the time sequence of acquiring the voltage change signal, a second level signal sending sequence is generated.

[0071] ​According to the connection relationship between the SATA power control module and the hard disk connector and the SATA chip, the third pin, the second pin and the first pin can be associated, and the time sequence of the voltage change signal obtained by the second pin is used to generate the second level signal sending sequence related to the third pin, for example, the second pin B1, B2 and B3 and the third pin C1, C2 and C3 are associated with the first pin A1, A2 and A3 respectively, and the second pin B1, B2 and B3 obtain the voltage change signal in sequence, then the second level signal sending sequence of the corresponding third pin C1, C2 and C3 is C1, C2 and C3.

[0072] S212: According to the second level signal sending sequence, the central processor sends a second level signal to the SATA power control module through the corresponding third pin one by one.

[0073] S213: The SATA power control module provides working power for the corresponding SATA chip by receiving the second level signal, and the central processor drives the corresponding SATA chip to obtain the hard disk information of the storage hard disk in the corresponding hard disk connector.

[0074] In this embodiment, the second level signal can be sent to the SATA power control module through the corresponding third pin one by one according to the time sequence of the voltage change signal, so as to control the SATA power control module to supply power to the corresponding SATA chip, and the central processor can obtain the hard disk information of the storage hard disk in the corresponding hard disk connector through the SATA chip.

[0075] Please continue to read Figure 2 In one embodiment, the hard disk connection device further comprises a Hub chip, the central processor is connected with the Hub chip, the Hub chip is connected with each SATA chip respectively, and the Hub chip is used to obtain the storage data of the storage hard disk on the corresponding hard disk connector through the SATA chip. It is convenient for users to obtain the storage data of the storage hard disk through the Hub chip.

[0076] In a feasible embodiment, the terminal device comprises a server and a computer device. It is convenient for users to view the marked hard disk information through the server or computer device.

[0077] One embodiment of the present application also provides a hard disk information control reporting device, which is applied to a hard disk connecting device, and the hard disk connecting device comprises a central processing unit provided with a plurality of first pins and a plurality of second pins, a plurality of SATA chips and a plurality of hard disk connectors corresponding to the SATA chips; wherein the first pins of the central processing unit are connected to the SATA chips one by one, and the second pins of the central processing unit are connected to the hard disk connectors one by one.

[0078] Please refer to Figure 3 , the hard disk information control reporting device comprises:

[0079] An insertion signal acquisition module 1, when a plurality of storage hard disks are inserted into the hard disk connectors respectively, the central processing unit acquires voltage change signals of the hard disk connectors through the corresponding second pins;

[0080] A hard disk information acquisition module 2, which is configured to acquire hard disk information of the storage hard disks according to a time sequence of acquiring the voltage change signals and a corresponding relationship between the hard disk connectors and the SATA chips, and drive the SATA chips one by one through the first pins of the central processing unit, so that the SATA chips acquire the hard disk information through the hard disk connectors;

[0081] A hard disk marking module 3, which is configured to drive the central processing unit to mark the hard disk information according to pin numbers of the second pins, so as to obtain the marked hard disk information.

[0082] Compared with the prior art, the hard disk information control reporting device can acquire hard disk insertion signals emitted by the hard disk connectors when a plurality of storage hard disks are inserted into the hard disk connectors respectively, and then acquire hard disk information of the storage hard disks according to a time sequence of acquiring the voltage change signals and a corresponding relationship between the hard disk connectors and the SATA chips, and drive the SATA chips one by one through the first pins of the central processing unit, so that the SATA chips acquire the hard disk information through the hard disk connectors, and then mark the hard disk information according to pin numbers of the second pins, so as to obtain the marked hard disk information, thereby achieving the technical effect that the hard disk information of the storage hard disks inserted into the hard disk connecting device can be marked according to the pin numbers of the second pins of the central processing unit of the hard disk connecting device, and users can distinguish the storage hard disks inserted into the hard disk connecting device according to the marks.

[0083] In one feasible embodiment, the hard disk information acquisition module 2 comprises:

[0084] The first level signal sending sequence acquisition module generates a first level signal sending sequence according to the time sequence of the voltage change signal.

[0085] The first level signal sending module sends a first level signal to the SATA chip through the corresponding first pin one by one according to the first level signal sending sequence.

[0086] The first hard disk information acquisition submodule acquires the hard disk information of the storage hard disk in the corresponding hard disk connector through the SATA chip receiving the first level signal.

[0087] According to the time sequence of the voltage change signal, the central processing unit can send a first level signal to the SATA chip through the corresponding first pin one by one, thereby directly controlling the SATA chip to acquire the hard disk information of the storage hard disk in the corresponding hard disk connector.

[0088] In a feasible embodiment, the central processing unit is further provided with a plurality of third pins, and the hard disk connection device further comprises a plurality of SATA power supply control modules, each of the SATA power supply control modules is connected with the third pin of the central processing unit, and each of the SATA power supply control modules is respectively connected with a different SATA chip.

[0089] The hard disk information acquisition module 2 comprises:

[0090] The second level signal sending sequence acquisition module generates a second level signal sending sequence according to the time sequence of the voltage change signal.

[0091] The second level signal sending module sends a second level signal to the SATA power supply control module through the corresponding third pin one by one according to the second level signal sending sequence.

[0092] The second hard disk information acquisition submodule provides working power for the corresponding SATA chip through the SATA power supply control module receiving the second level signal, and the central processing unit drives the corresponding SATA chip to acquire the hard disk information of the storage hard disk in the corresponding hard disk connector.

[0093] According to the time sequence of the voltage change signal, a second level signal can be sent to the SATA power supply control module through the corresponding third pin one by one, thereby controlling the SATA power supply control module to supply power to the corresponding SATA chip, so that the central processing unit can acquire the hard disk information of the storage hard disk in the corresponding hard disk connector through the powered SATA chip.

[0094] In one possible embodiment, the terminal device comprises a server and a computer device. The user can view the marked hard disk information through the server or the computer device.

[0095] The device embodiments described above are only schematic, wherein the components illustrated as separate components can or can not be physically separate, and the components illustrated as a unit can or can not be physically a unit, i.e., can be located in one place or can be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present application. Those skilled in the art can understand and implement without creative effort.

[0096] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage devices, etc.) containing computer-usable program code.

[0097] The present application is described with reference to flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing apparatus to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing apparatus produce a device implemented in accordance with the flowcharts and / or block diagrams. Figure 1 The flow or multiple flows and / or blocks Figure 1 The device for selected functions in one block or multiple blocks. These computer program instructions can also be stored in a computer-readable memory that can cause the computer or other programmable data processing apparatus to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including instruction devices that implement the flow Figure 1 The flow or multiple flows and / or blocks Figure 1 The device for selected functions in one block or multiple blocks.

[0098] These computer program instructions can also be loaded into a computer or other programmable data processing apparatus to cause a series of operation steps to be performed on the computer or other programmable data processing apparatus to produce a computer-implemented process, so that the instructions executed on the computer or other programmable data processing apparatus provide a process for implementing the flowFigure 1 one or more processes and / or functions described in one or more blocks Figure 1 one or more processes and / or functions described in one or more blocks

[0099] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0100] Memory can include non-persistent memory and / or volatile memory, random access memory (RAM), and / or non-volatile memory, e.g., read-only memory (ROM) or flash memory. Memory is an example of computer-readable media.

[0101] Computer-readable media includes permanent and non-permanent, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD), or other optical storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.

[0102] It should also be noted that the terms "comprising," "including," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements recited, but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element preceded by "comprises a" does not, without more constraints, foreclose the existence of additional identical elements in the process, method, article, or apparatus that includes the element.

[0103] The above merely provides an embodiment of the present application and is not intended to limit the present application. The present application can have various modifications and changes for those skilled in the art. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application shall be included in the scope of claims of the present application.

Claims

1. A method for controlling and reporting hard disk information, characterized in that, The invention relates to a hard drive connection device, which includes: a central processing unit (CPU) having multiple first pins and multiple second pins, multiple SATA chips, and multiple hard drive connectors corresponding to each of the SATA chips; wherein, the first pins of the CPU are connected to the SATA chips one by one, and the second pins of the CPU are connected to the hard drive connectors one by one. The hard disk information control and reporting method includes: When multiple storage hard drives are inserted into each of the hard drive connectors, the central processing unit obtains the voltage change signal of each hard drive connector through the corresponding second pin; Based on the time sequence of the voltage change signals obtained and the correspondence between the hard disk connector and the SATA chip, the central processing unit drives the corresponding SATA chip one by one through the first pin, so that the corresponding SATA chip obtains the hard disk information of the storage hard disk through the corresponding hard disk connector; The central processing unit is driven to mark the hard disk information according to the pin number of the corresponding second pin, so as to obtain the marked hard disk information; The step of the central processing unit driving the corresponding SATA chip one by one through the first pin, based on the time sequence of the acquired voltage change signals and the correspondence between the hard drive connector and the SATA chip, so that the corresponding SATA chip obtains the hard drive information of the storage hard drive through the corresponding hard drive connector, includes: Based on the time sequence of the acquired voltage change signals, a first level signal transmission sequence is generated; According to the order in which the first level signals are sent, the central processing unit sends the first level signals to the SATA chip one by one through the corresponding first pin; The central processing unit obtains the hard drive information of the storage hard drive in the corresponding hard drive connector by receiving the first level signal from the SATA chip.

2. The hard disk information control and reporting method according to claim 1, characterized in that, The central processing unit is also provided with multiple third pins, and the hard disk connection device also includes multiple SATA power control modules. Each of the SATA power control modules is connected to the third pins of the central processing unit, and each of the SATA power control modules is electrically connected to a different SATA chip. The step of the central processing unit driving the corresponding SATA chip one by one through the first pin, based on the time sequence of the acquired voltage change signals and the correspondence between the hard drive connector and the SATA chip, so that the corresponding SATA chip obtains the hard drive information of the storage hard drive through the corresponding hard drive connector, includes: Based on the time sequence of the acquired voltage change signals, a second-level signal transmission sequence is generated; According to the order of the second level signals, the central processing unit sends the second level signals to the SATA power control module one by one through the corresponding third pin; Upon receiving the second level signal, the SATA power control module provides operating power to the corresponding SATA chip, and the central processing unit drives the corresponding SATA chip to obtain the hard drive information of the storage hard drive in the corresponding hard drive connector.

3. The hard disk information control and reporting method according to claim 1, characterized in that: The hard drive connection device also includes a hub chip, the central processing unit is connected to the hub chip, the hub chip is connected to each of the SATA chips, and the hub chip is used to obtain the storage data of the storage hard drive on the corresponding hard drive connector through the SATA chip.

4. A hard disk information control and reporting device, characterized in that, The invention relates to a hard drive connection device, which includes: a central processing unit (CPU) having multiple first pins and multiple second pins, multiple SATA chips, and multiple hard drive connectors corresponding to each of the SATA chips; wherein, the first pins of the CPU are connected to the SATA chips one by one, and the second pins of the CPU are connected to the hard drive connectors one by one. The hard disk information control and reporting device includes: The insertion signal acquisition module allows the central processing unit to acquire voltage change signals of each hard disk connector through the corresponding second pin when multiple storage hard disks are inserted into each hard disk connector. The hard disk information acquisition module is used to, based on the time sequence of the acquired voltage change signals and the correspondence between the hard disk connector and the SATA chip, drive the corresponding SATA chip one by one through the first pin of the central processing unit, so that the corresponding SATA chip can acquire the hard disk information of the storage hard disk through the corresponding hard disk connector; The hard disk marking module is used to drive the central processing unit to mark the hard disk information according to the pin number of the corresponding second pin, so as to obtain the marked hard disk information; The hard disk information acquisition module includes: The first level signal transmission sequence acquisition module generates the first level signal transmission sequence based on the time sequence of the acquired voltage change signals; According to the first level signal transmission module, the central processing unit sends the first level signal to the SATA chip one by one through the corresponding first pin; The first hard disk information acquisition submodule acquires the hard disk information of the storage hard disk in the corresponding hard disk connector by receiving the first level signal from the SATA chip.

5. The hard disk information control and reporting device according to claim 4, characterized in that, The central processing unit is also provided with multiple third pins, and the hard disk connection device also includes multiple SATA power control modules. Each of the SATA power control modules is connected to the third pins of the central processing unit, and each of the SATA power control modules is electrically connected to a different SATA chip. The hard disk information acquisition module includes: The second-level signal transmission sequence acquisition module is used to generate the second-level signal transmission sequence according to the time sequence of the acquired voltage change signals; The second-level signal transmitting module, according to the second-level signal transmitting order, the central processing unit sends the second-level signal to the SATA power control module one by one through the corresponding third pin; The second hard disk information acquisition submodule, upon receiving the second level signal, enables the SATA power control module to provide operating power to the corresponding SATA chip, and the central processing unit drives the corresponding SATA chip to acquire the hard disk information of the storage hard disk in the corresponding hard disk connector.

6. The hard disk information control and reporting device according to claim 4, characterized in that: The hard drive connection device also includes a hub chip, the central processing unit is connected to the hub chip, the hub chip is connected to each of the SATA chips, and the hub chip is used to obtain the storage data of the storage hard drive on the corresponding hard drive connector through the SATA chip.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processor, it implements the steps of the hard disk information control and reporting method as described in any one of claims 1 to 3.

8. A computer device, characterized in that: It includes a storage device, a processor, and a computer program stored in the storage device and executable by the processor, wherein the processor executes the computer program to implement the steps of the hard disk information control and reporting method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • FT-2000-4-based universal platform and computer

    CN113485960A