CN109524054A - A kind of more hard disk types automatic positioning test method and device - Google Patents
A kind of more hard disk types automatic positioning test method and device Download PDFInfo
- Publication number
- CN109524054A CN109524054A CN201811367905.7A CN201811367905A CN109524054A CN 109524054 A CN109524054 A CN 109524054A CN 201811367905 A CN201811367905 A CN 201811367905A CN 109524054 A CN109524054 A CN 109524054A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- tested
- test
- identifier
- test process
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/56—External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The present invention proposes that a kind of more hard disk types are automatically positioned test method and device, and wherein method includes: SS1, the hard disk identifier for obtaining multiple hard disks to be tested;SS2, multiple test processes are created according to hard disk identifier, wherein each test process is corresponding with hard disk to be tested belonging to hard disk identifier;SS3, execution simultaneously call the corresponding test process of the hard disk to be tested, and hard disk to be tested executes functional response, complete hard disk assignment test.The present invention solves current hard disk assignment test task amount greatly and positioning is low, has high technological value and universality.
Description
Technical field
The present invention relates to the field of test technology, and in particular to a kind of more hard disk types automatic positioning test methods and device.
Background technique
With increasing for storage server inside structure density, external hard disk number is also more and more in storage server,
And since external hard disk quantity is more, it is extremely inconvenient when needing to position hard disk.Hard disk assignment test at this stage needs elder generation
Hard disk areas is distinguished, then carries out assignment test from specific region specific to each hard disk, this kind of test method task amount is big and imitates
Rate is low.To solve the above problems, the present invention proposes a kind of more hard disk type automatic positioning test methods.
Summary of the invention
It is an object of the present invention to propose that a kind of more hard disk types are automatically positioned test method and device, it is above-mentioned to solve
Technical problem.
In a first aspect, the present invention proposes a kind of more hard disk type automatic positioning test methods, comprising:
SS1, the hard disk identifier for obtaining multiple hard disks to be tested;
SS2, multiple test processes are created according to hard disk identifier, wherein each test process is and belonging to hard disk identifier
Hard disk to be tested it is corresponding;
SS3, execution simultaneously call the corresponding test process of the hard disk to be tested, and hard disk to be tested executes functional response, complete
At hard disk assignment test.
Further, hard disk to be tested described in step SS3 executes functional response and specifically refers to:
Hard disk to be tested includes Flash cell;
When executing and calling the corresponding test process of hard disk to be tested, Flash cell shines.
Further, it in step SS3, after executing and calling the corresponding test process of above-mentioned hard disk to be tested, exports to be measured
Try the parameter information of hard disk.
Further, the parameter information of the hard disk to be tested includes:
It is hard disk transmission rate, hard disk health status, hard disk temperature, harddisk surface scanning storage time, CPU usage, hard
Disk firmware version, sequence number, capacity, caching and current Ultra DMA mode.
Further, to be tested after executing and calling the hard disk to be tested corresponding test process in step SS3
When hard disk fails to execute functional response, the corresponding hard disk identifier of the hard disk to be tested and error information are exported.
Second aspect, the present invention propose a kind of more hard disk type automatic positioning test devices, comprising:
Hard disk identifier obtains module, for obtaining the hard disk identifier of multiple hard disks to be tested;
Test process creation module, for creating multiple test processes according to hard disk identifier, wherein each test process
It is corresponding with hard disk to be tested belonging to hard disk identifier;
Hard disk assignment test module, it is to be tested hard for executing and calling the corresponding test process of the hard disk to be tested
Disk executes functional response, completes hard disk assignment test.
Further, the testing hard disk executes functional response and specifically refers to:
Hard disk to be tested includes Flash cell;
When executing and calling the corresponding test process of hard disk to be tested, Flash cell shines.
Further, the hard disk assignment test module further includes parameter information output unit;
The parameter information output unit, it is defeated after executing and calling the corresponding test process of the hard disk to be tested
The parameter information of hard disk to be tested out.
Further, the parameter information of the hard disk to be tested includes:
It is hard disk transmission rate, hard disk health status, hard disk temperature, harddisk surface scanning storage time, CPU usage, hard
Disk firmware version, sequence number, capacity, caching and current Ultra DMA mode.
Further, the hard disk assignment test module further includes error information output unit;
The error information output unit, for after executing and calling the hard disk to be tested corresponding test process,
When hard disk to be tested fails to execute functional response, the corresponding hard disk identifier of the hard disk to be tested and error information are exported.
A kind of more hard disk types that above-mentioned first aspect proposes are automatically positioned test method, multiple to be tested hard by obtaining
The hard disk identifier of disk;Create multiple test processes according to hard disk identifier, wherein each test process with hard disk identifier
Affiliated hard disk to be tested is corresponding;The corresponding test process of the hard disk to be tested is executed and calls, hard disk to be tested executes function
It can respond, and then complete the mode of hard disk assignment test, solve current hard disk assignment test task amount greatly and positioning is low
The problem of.Meanwhile more hard disk type automatic positioning test methods proposed by the present invention can also obtain the parameter of hard disk to be tested
Information, also, when hard disk to be tested fails to execute functional response, the corresponding hard disk identifier of the hard disk to be tested can be exported
And error information, it checks and solves the problems, such as in time convenient for staff.More hard disk type automatic positioning tests proposed by the present invention
Method has high technological value and universality.
The technical effect that above-mentioned second aspect technical effect obtained is obtained with technological means corresponding in first aspect
Approximation repeats no more herein.
Detailed description of the invention
Illustrate the embodiment of the present invention in order to clearer, attached drawing needed in the embodiment is done into simple Jie below
It continues, it is clear that, drawings in the following description are only some embodiments of the invention, for those of ordinary skill in the art
For, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is that a kind of more hard disk types provided in an embodiment of the present invention are automatically positioned test method flow chart.
Fig. 2 is that a kind of more hard disk types provided in an embodiment of the present invention are automatically positioned test device structure chart.
Specific embodiment
With reference to the attached drawing in the embodiment of the present invention, clear and complete retouch is carried out to the technical solution in inventive embodiments
It states, it is clear that described embodiment is only a part of the embodiments of the present invention, rather than whole embodiments.Based on the present invention
In embodiment, those of ordinary skill in the art without making creative work, every other implementation obtained
Example, belongs to the scope of the present invention.
In order to make those skilled in the art better understand the present invention program, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.
The present embodiment provides a kind of more hard disk types to be automatically positioned test method, as shown in Figure 1, comprising:
SS1, the hard disk identifier for obtaining multiple hard disks to be tested;
SS2, multiple test processes are created according to hard disk identifier, wherein each test process is and belonging to hard disk identifier
Hard disk to be tested it is corresponding;
SS3, execution simultaneously call the corresponding test process of the hard disk to be tested, and hard disk to be tested executes functional response, complete
At hard disk assignment test.
For technical solution shown in FIG. 1, it should be noted that the present invention is by proposing that above-mentioned technical proposal solves biography
Need first to distinguish hard disk areas in the hard disk assignment test of system, again from specific region specific to each hard disk progress assignment test
The problem of test mode bring task amount is big and inefficiency.Technical solution proposed by the present invention is established by hard disk identifier
Contacting between test process and hard disk to be tested, by calling and executing hard disk test process, so that hard disk to be tested is held
Row functional response, and then hard disk assignment test is completed, test method is convenient and applicability is high.
For technical solution shown in FIG. 1, the hard disk to be tested referred in step SS3 executes functional response and specifically refers to:
Hard disk to be tested includes Flash cell;
When executing and calling the corresponding test process of hard disk to be tested, Flash cell shines.
It should be understood that in such a way that the form that the Flash cell of hard disk to be tested shines positions hard disk to be tested extremely
It is directly easy.
For technical solution shown in FIG. 1, in step SS3, execute and call above-mentioned hard disk to be tested it is corresponding test into
Cheng Hou exports the parameter information of hard disk to be tested, wherein the parameter information of hard disk to be tested includes: hard disk transmission rate, hard disk
Health status, harddisk surface scanning storage time, CPU usage, hard disk firmware version, sequence number, capacity, is delayed hard disk temperature
It deposits and current Ultra DMA mode.
It should be understood that technical solution proposed by the present invention can also obtain the parameter information of hard disk to be tested, Jin Erbian
The hardware information and job information of hard disk to be tested are understood in staff.
For technical solution shown in FIG. 1, in step SS3, when executing and call the corresponding test of the hard disk to be tested
After process, when hard disk to be tested fails to execute functional response, the corresponding hard disk identifier of the hard disk to be tested and the letter that reports an error are exported
Breath.
It should be understood that staff can pass through hard disk identifier when hard disk to be tested fails to execute functional response
The hard disk is positioned, and the hard disk is replaced by error information in time, avoids server fail, influences server work.
Based on the identical inventive concept of previous embodiment, as shown in Figure 2, the embodiment of the present invention proposes a kind of more hard disk drives
Type is automatically positioned test device, comprising:
Hard disk identifier obtains module, for obtaining the hard disk identifier of multiple hard disks to be tested;
Test process creation module, for creating multiple test processes according to hard disk identifier, wherein each test process
It is corresponding with hard disk to be tested belonging to hard disk identifier;
Hard disk assignment test module, it is to be tested hard for executing and calling the corresponding test process of the hard disk to be tested
Disk executes functional response, completes hard disk assignment test.
In one possible implementation, above-mentioned testing hard disk executes functional response and specifically refers to:
Hard disk to be tested includes Flash cell;
When executing and calling the corresponding test process of hard disk to be tested, Flash cell shines.
In one possible implementation, above-mentioned hard disk assignment test module further includes parameter information output unit, is used
After executing and calling the corresponding test process of the hard disk to be tested, the parameter information of hard disk to be tested is exported.
In one possible implementation, the parameter information of hard disk to be tested includes:
It is hard disk transmission rate, hard disk health status, hard disk temperature, harddisk surface scanning storage time, CPU usage, hard
Disk firmware version, sequence number, capacity, caching and current Ultra DMA mode.
In one possible implementation, above-mentioned hard disk assignment test module further includes error information output unit, is used
It is defeated when hard disk to be tested fails to execute functional response in after executing and calling the hard disk to be tested corresponding test process
The corresponding hard disk identifier of the hard disk to be tested and error information out.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of more hard disk types are automatically positioned test method characterized by comprising
SS1, the hard disk identifier for obtaining multiple hard disks to be tested;
SS2, multiple test processes are created according to hard disk identifier, wherein each test process with belonging to hard disk identifier to
Testing hard disk is corresponding;
SS3, execution simultaneously call the corresponding test process of the hard disk to be tested, and hard disk to be tested executes functional response, complete hard
Disk assignment test.
2. more hard disk types according to claim 1 are automatically positioned test method, which is characterized in that described in step SS3
Hard disk to be tested execute functional response specifically refer to:
Hard disk to be tested includes Flash cell;
When executing and calling the corresponding test process of hard disk to be tested, Flash cell shines.
3. more hard disk types according to claim 1 are automatically positioned test method, which is characterized in that in step SS3, execute
And after calling the corresponding test process of above-mentioned hard disk to be tested, the parameter information of hard disk to be tested is exported.
4. more hard disk types according to claim 3 are automatically positioned test method, which is characterized in that the hard disk to be tested
Parameter information include:
Hard disk transmission rate, hard disk health status, hard disk temperature, harddisk surface scanning storage time, CPU usage, hard disk are solid
Part version, sequence number, capacity, caching and current Ultra DMA mode.
5. more hard disk types according to claim 1 are automatically positioned test method, which is characterized in that in step SS3, when holding
After going and calling the corresponding test process of the hard disk to be tested, when hard disk to be tested fails to execute functional response, output should be to
The corresponding hard disk identifier of testing hard disk and error information.
6. a kind of more hard disk types are automatically positioned test device characterized by comprising
Hard disk identifier obtains module, for obtaining the hard disk identifier of multiple hard disks to be tested;
Test process creation module, for creating multiple test processes according to hard disk identifier, wherein each test process with
Hard disk to be tested belonging to hard disk identifier is corresponding;
Hard disk assignment test module, for executing and calling the corresponding test process of the hard disk to be tested, hard disk to be tested is held
Row functional response completes hard disk assignment test.
7. more hard disk types according to claim 6 are automatically positioned test device, which is characterized in that the testing hard disk is held
Row functional response specifically refers to:
Hard disk to be tested includes Flash cell;
When executing and calling the corresponding test process of hard disk to be tested, Flash cell shines.
8. more hard disk types according to claim 6 are automatically positioned test device, which is characterized in that the hard disk positioning is surveyed
Die trial block further includes parameter information output unit;
The parameter information output unit, after executing and calling the corresponding test process of the hard disk to be tested, output to
The parameter information of testing hard disk.
9. more hard disk types according to claim 8 are automatically positioned test device, which is characterized in that the hard disk to be tested
Parameter information include:
Hard disk transmission rate, hard disk health status, hard disk temperature, harddisk surface scanning storage time, CPU usage, hard disk are solid
Part version, sequence number, capacity, caching and current Ultra DMA mode.
10. more hard disk types according to claim 6 are automatically positioned test method, which is characterized in that the hard disk positioning
Test module further includes error information output unit;
The error information output unit, it is to be measured for after executing and calling the hard disk to be tested corresponding test process
When examination hard disk fails to execute functional response, the corresponding hard disk identifier of the hard disk to be tested and error information are exported.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811367905.7A CN109524054A (en) | 2018-11-16 | 2018-11-16 | A kind of more hard disk types automatic positioning test method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811367905.7A CN109524054A (en) | 2018-11-16 | 2018-11-16 | A kind of more hard disk types automatic positioning test method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109524054A true CN109524054A (en) | 2019-03-26 |
Family
ID=65778077
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811367905.7A Pending CN109524054A (en) | 2018-11-16 | 2018-11-16 | A kind of more hard disk types automatic positioning test method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109524054A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110335637A (en) * | 2019-04-18 | 2019-10-15 | 深圳市德名利电子有限公司 | The method and apparatus and equipment that a kind of pair of storage equipment is tested |
CN110333975A (en) * | 2019-04-18 | 2019-10-15 | 深圳市德名利电子有限公司 | A kind of test method and device and equipment storing equipment |
CN113257334A (en) * | 2021-06-30 | 2021-08-13 | 四川微巨芯科技有限公司 | Test method, device and system for solid state disk |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101388254A (en) * | 2007-09-13 | 2009-03-18 | 英业达股份有限公司 | Storage device test method |
CN101963931A (en) * | 2009-07-22 | 2011-02-02 | 鸿富锦精密工业(深圳)有限公司 | Hard disk testing method under extensible firmware interface |
CN103902415A (en) * | 2012-12-26 | 2014-07-02 | 鸿富锦精密工业(深圳)有限公司 | System and method for testing hard discs |
CN105097042A (en) * | 2014-05-20 | 2015-11-25 | 中兴通讯股份有限公司 | Method and apparatus for processing health condition of hard disk |
CN106875980A (en) * | 2017-02-17 | 2017-06-20 | 紫光华山信息技术有限公司 | Method for testing hard disk and device |
CN107608841A (en) * | 2017-10-25 | 2018-01-19 | 郑州云海信息技术有限公司 | Hard disk test document generating method, device, equipment and readable storage medium storing program for executing |
-
2018
- 2018-11-16 CN CN201811367905.7A patent/CN109524054A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101388254A (en) * | 2007-09-13 | 2009-03-18 | 英业达股份有限公司 | Storage device test method |
CN101963931A (en) * | 2009-07-22 | 2011-02-02 | 鸿富锦精密工业(深圳)有限公司 | Hard disk testing method under extensible firmware interface |
CN103902415A (en) * | 2012-12-26 | 2014-07-02 | 鸿富锦精密工业(深圳)有限公司 | System and method for testing hard discs |
CN105097042A (en) * | 2014-05-20 | 2015-11-25 | 中兴通讯股份有限公司 | Method and apparatus for processing health condition of hard disk |
CN106875980A (en) * | 2017-02-17 | 2017-06-20 | 紫光华山信息技术有限公司 | Method for testing hard disk and device |
CN107608841A (en) * | 2017-10-25 | 2018-01-19 | 郑州云海信息技术有限公司 | Hard disk test document generating method, device, equipment and readable storage medium storing program for executing |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110335637A (en) * | 2019-04-18 | 2019-10-15 | 深圳市德名利电子有限公司 | The method and apparatus and equipment that a kind of pair of storage equipment is tested |
CN110333975A (en) * | 2019-04-18 | 2019-10-15 | 深圳市德名利电子有限公司 | A kind of test method and device and equipment storing equipment |
CN113257334A (en) * | 2021-06-30 | 2021-08-13 | 四川微巨芯科技有限公司 | Test method, device and system for solid state disk |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109524054A (en) | A kind of more hard disk types automatic positioning test method and device | |
CN109302522B (en) | Test method, test device, computer system, and computer medium | |
CN103578568B (en) | The performance test methods of solid state hard disc and device | |
US8381184B2 (en) | Dynamic test coverage | |
KR101414079B1 (en) | Networked test system | |
CN104268076A (en) | Testing method suitable for automatically testing memory bandwidth of each processor platform | |
CN105373479A (en) | Automatic test method and device of memory leakage and mobile terminal | |
CN105120483B (en) | Automatic testing method and system for compatibility of smart card and mobile terminal | |
CN106326171A (en) | Method and device for recognizing hard disk type of hard disk back plate | |
CN111949545A (en) | Automatic testing method, system, server and storage medium | |
KR20120081873A (en) | Method for verifying mobile application and terminal using the same | |
CN104020763A (en) | Automatic test method and system for input and output interfaces | |
CN110457743B (en) | Chip detection method based on FPGA | |
CN104123397A (en) | Automatic test device and method for Web page | |
CN101770416B (en) | Bus testing method for new generation of peripheral connecting interface | |
CN111209188A (en) | Testing method and device for distributed storage system | |
CN116185873A (en) | Storage component testing method and system, storage medium and electronic equipment | |
CN108595312A (en) | A kind of automatic performance method and device of modelling customer behavior | |
CN107239375A (en) | It is a kind of to realize the method for testing that USB2.0 High Speed controls are given out a contract for a project | |
CN108804298B (en) | Device for testing response time of SCADA system | |
CN111863653B (en) | Wafer defect detection method, detection system and computer readable storage medium | |
CN109558315A (en) | The determination method, device and equipment of test scope | |
CN109542476A (en) | A kind of automatic identification HDD type and the method, system and device for refreshing hard disk firmware | |
CN103838664A (en) | Pressure testing method and device | |
CN105893233A (en) | Method and system used for automatically testing firmware |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190326 |