Summary of the invention
The technical problem to be solved in the present invention is at defective that can not the batch detection hard disk in the prior art, but a kind of hard disk detection method of batch detection hard disk is provided.
Another technical matters that the present invention will solve is at defective that can not the batch detection hard disk in the prior art, but a kind of hard disc detecting device of batch detection hard disk is provided.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of hard disk detection method is provided, may further comprise the steps:
Read the ID that is connected a plurality of hard-disk interfaces on the same pick-up unit;
Obtain the power supply information of hard disk;
Write data to a plurality of hard disks;
The currency of the index parameter when reading different disk read-write according to the write data process of hard disk;
The described power supply information that reads and the currency and the respective standard value of described index parameter are compared; When comparative result is identical, comparative result is designated as 1, the expression test is passed through; Otherwise be designated as 0, the expression test is not passed through;
In the hard disk detection method of the present invention, described a plurality of hard disks are connected with described pick-up unit by the hard disk multi-interface card.
In the hard disk detection method of the present invention, described index parameter comprises the minimum and maximum read or write speed of hard disk under the read-write state.
In the hard disk detection method of the present invention, this method also comprises step: whether card, magnetic track and the sector of detecting hard disk exist fault, and record trouble information.
In the hard disk detection method of the present invention, this method also comprises step: read the basic parameter and the record of hard disk, described basic parameter comprises the state parameter of read-write head, transmission arm and transmission shaft.
In the hard disk detection method of the present invention, described hard disk detection method is repeatedly tested under different environment.
The present invention solves another technical scheme that its technical matters adopts:
A kind of hard disc detecting device is provided, and this device is connected with a plurality of hard disks by the hard disk multi-interface card; This device specifically comprises:
Hard-disk interface ID reading unit is used to read the ID of a plurality of hard-disk interfaces, with the location hard disk;
The power supply information acquisition unit is used to obtain the power supply information of hard disk;
Write data unit is used for writing data to a plurality of hard disks;
Read the parameter unit, be used for reading the currency of the index parameter of hard disk according to the write data process of hard disk;
The standard value storage unit, the every standard value that is used to store hard disk;
Comparing unit, the hard disk that is used for described power supply information acquisition unit is obtained power supply information and describedly read the currency of the described index parameter that reads the parameter unit and the respective standard value of described standard value storage unit compares; When comparative result is identical, comparative result is designated as 1, the expression test is passed through; Otherwise be designated as 0, the expression test is not passed through;
Record cell is used for writing down respectively according to the comparative result of described comparing unit the test result of different hard disks.
In the hard disc detecting device of the present invention, described index parameter comprises the minimum and maximum read or write speed of hard disk under the read-write state.
In the hard disc detecting device of the present invention, this device also comprises:
Fault detection unit, whether the card, magnetic track and the sector that are used to detect hard disk exist fault;
Described record cell also is used to write down the detected failure message of described fault detection unit.
In the hard disc detecting device of the present invention, this device also comprises:
The basic parameter reading unit is used to read the state parameter of read-write head, transmission arm and the transmission shaft of hard disk;
Described record cell also is used for writing down described state parameter according to described basic parameter reading unit.
The beneficial effect that the present invention produces is: the present invention can realize the robotization that hard disk detects by the hard disk that is connected on the same pick-up unit is carried out batch detection, has improved the efficient that hard disk detects greatly.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
As shown in Figure 1, in the preferred embodiment of the present invention, hard disc detecting device 100 is connected with a plurality of hard disks by hard disk multi-interface card 200, as hard disk 300a, 300b ... 300n.Hard disc detecting device 100 can detect a plurality of hard disks simultaneously, has improved the detection efficiency of hard disk greatly.
As shown in Figure 2, in the preferred embodiment of the present invention, hard disc detecting device 100 can adopt computer realization, hard disc detecting device 100 mainly comprises hard-disk interface ID reading unit 101, power supply information acquisition unit 109, write data unit 102, reads parameter unit 103, standard value storage unit 106, comparing unit 104, arithmetic logic unit 110 and record cell 105, wherein
Hard-disk interface ID reading unit 101, be used to read the ID of a plurality of hard-disk interfaces, each hard-disk interface all has unique ID, can accurately locate hard disk according to ID, and can test or a plurality of hard disk is tested simultaneously single hard disk, test record is corresponding to each ID number;
Power supply information acquisition unit 109 is used to obtain the power supply information of hard disk; The Switching Power Supply of main frame is taken from the power supply of hard disk, and the voltage of four binding posts is respectively: red is positive 5V, and black is ground wire, and yellow is positive 12V, by the linear power supply translation circuit, is transformed to the various voltages of hard disk operate as normal.The feed circuit of hard disk are if problem can directly cause hard disk not work.Phenomenon of the failure often show as no power, hard disk detect less than, disc do not change, magnetic head tracking etc. not, so before detecting disk, the necessary power supply of carrying out hard disk earlier detects, otherwise can do a lot of idle works, waste detection time.So the power supply information that the power supply information acquisition unit is obtained is very important to test, if determine to obtain less than power supply information, can suspend other detections, the binding post of the socket in elder generation's inspection feed circuit, filter capacitor, diode, triode, field effect transistor, inductance, insurance resistance etc. are because these positions go wrong easily.
Write data unit 102 is used for writing data to a plurality of hard disks, can carry out write operation to a plurality of hard disks simultaneously; Read parameter unit 103, be used for reading according to the write data process of hard disk the currency of the index parameter of hard disk, index parameter can comprise the minimum and maximum read or write speed of hard disk under the read-write state;
Standard value storage unit 106, be used to store every standard value of hard disk, every standard value generally is the value that sets when the design hard disk, it is stored in the CMOS RAM in the hard-disc storage district, wherein write down the parameter such as rotation axis, magnetic head, cylinder, sector, amount of capacity, RPM value of disk, be hard disk praameter (geometry), operating system can obtain hard disk praameter therefrom when guiding startup or driver initialization.
Comparing unit 104, the hard disk power supply information that is used for power supply information acquisition unit 109 is obtained compares with the currency of the index parameter of reading to read parameter unit 103 and the respective standard value of standard value storage unit 106; When comparative result is identical, comparative result is designated as 1, the expression test is passed through; Otherwise be designated as 0, the expression test is not passed through;
Record cell 105, be used for writing down respectively the test result of different hard disks according to the operation result of comparing unit 104, if being 1 expression test, passes through operation result, otherwise for not passing through, the corresponding respectively hard disk that is connected on the distinct interface of this record result, ID by interface locatees corresponding hard disk, and the result can pass through by very fast which hard disk test of judgement according to record, and which test is not passed through.
Further, preferred embodiment hard disc detecting device of the present invention, as shown in Figure 3, hard disc detecting device 100 also comprises fault detection unit 107, whether the card, magnetic track and the sector that are used to detect hard disk exist fault, and by record cell 105 record trouble information.
Further, this hard disc detecting device 100 also comprises basic parameter reading unit 108, is used to read the state parameter of read-write head, transmission arm and the transmission shaft of hard disk; Record cell 105 also is used for according to basic parameter reading unit recording status parameter.Basic parameter according to record can compare with above-mentioned hard disk praameter (geometry) again, judges whether conformance with standard of hard disk to be tested with further.
Further, can under different environment, repeatedly test at hard disk test device 100, as under the temperature that allows, carrying out low-temperature test and high temperature test respectively, and carry out long pressure test, hard disk is carried out read-write operation, whether can operate as normal with the check hard disk, whether every performance is up to standard, and notes disk read-write information and corresponding failure message.
As shown in Figure 4, preferred embodiment hard disk detection method of the present invention may further comprise the steps:
S1, hard disc detecting device read the ID that is connected a plurality of hard-disk interfaces on this same pick-up unit;
S2, obtain the power supply information of hard disk; If obtain the power supply information less than hard disk this moment, then need not to carry out other operation, can directly detect the feed circuit of hard disk;
S3, write data, judge according to the hard disk power supply information of obtaining whether the hard disk power supply is normal, in the power supply of hard disk just often, carry out hard disk write operation again to a plurality of hard disks;
The currency of S4, the index parameter when reading different disk read-write according to the write data process of hard disk;
The currency and the respective standard value of S5, the power supply information that will read and index parameter compare; When comparative result is identical, comparative result is designated as 1, otherwise is designated as 0; The standard value does not here repeat them here in above existing corresponding description;
S6, the corresponding parameter value in comparative result and the hard disk is done logic and operation, pass through if operation result is 1 expression test, otherwise for not passing through.
In the preferred embodiment hard disk detection method of the present invention, a plurality of hard disks are connected with pick-up unit by the hard disk multi-interface card.Disconnect at the hard disk multi-interface card under the situation of power supply, can carry out hard-disk interface earlier and detect, manually plug 10 times (comprising power supply interface, data-interface), check whether interface has unusually.The hard disk multi-interface card is plugged hard disk, and energized is carried out the electrical specification detection to hard-disk interface and hard disk circuit board then.
Further, preferred embodiment hard disk detection method of the present invention comprises also whether card, magnetic track and the sector of detecting hard disk exist fault, and the step of record trouble information.
Further, preferred embodiment hard disk detection method of the present invention also comprises basic parameter that reads hard disk and the step that writes down, basic parameter comprises the state parameter of read-write head, transmission arm and transmission shaft, can determine the size of hard-disk capacity by read-write head, transmission arm, transmission shaft, hard-disk capacity=cylinder number * sector number * magnetic head number * 512B, can judge thus whether amount of capacity is correct, whether the read-write speed of hard disk reaches requirement, and whether read-write head, transmission arm, transmission shaft be normal; Whether this step can also read each parameter of servo-drive system, meet the requirements to judge.
Further, preferred embodiment hard disk detection method hard disk detection method of the present invention can repeatedly be tested under varying environment, as carrying out low-temperature test and high temperature test respectively under the temperature that allows, and carries out long pressure test respectively.
In preferred embodiment hard disk detection method of the present invention, before carrying out above-mentioned steps, can carry out outward appearance to hard disk and detect: detecting hard-disk interface, to have or not whether distortion, surface have cut, whether circuit board components has loosening, and whether the hard disk integral outward appearance reaches requirement.Detect the detection step of carrying out other under the qualified situation again in outward appearance.
Further, testing result is reliable more saves time again simultaneously in order to make, can sample to the hard disk that detected, with the hard disk after sampling according to above-mentioned hard disk detection method duplicate detection.Whether whether the hard disk that detects after qualified slightly will stick qualified label, before the adhesive label, at first want inspection tag to have a stain, have cut, label substance correct; When labelling, to slowly fit, make label can be attached to the tram and to prevent to produce bubble along the mechanical edge of hard disk.Encapsulate at last, be about to carry out external packing, warehouse-in through the hard disk that above step is up to the standards.
The present invention can realize the robotization that hard disk detects by the hard disk that is connected on the same pick-up unit is carried out batch detection, has improved the efficient that hard disk detects greatly.
Should be understood that, for those of ordinary skills, can be improved according to the above description or conversion, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.