CN107832176A - Hard disk pressure automatic test approach and system under a kind of Windows - Google Patents

Hard disk pressure automatic test approach and system under a kind of Windows Download PDF

Info

Publication number
CN107832176A
CN107832176A CN201711139269.8A CN201711139269A CN107832176A CN 107832176 A CN107832176 A CN 107832176A CN 201711139269 A CN201711139269 A CN 201711139269A CN 107832176 A CN107832176 A CN 107832176A
Authority
CN
China
Prior art keywords
hard disk
test
disk pressure
worker
data block
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
Application number
CN201711139269.8A
Other languages
Chinese (zh)
Inventor
潘霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201711139269.8A priority Critical patent/CN107832176A/en
Publication of CN107832176A publication Critical patent/CN107832176A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
    • G06F11/2635Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers using a storage for the test inputs, e.g. test ROM, script files

Abstract

The application is included on hard disk pressure automatic test approach and system, this method under a kind of Windows:Into hard disk pressure test software;Sent and ordered to operating system using autoit instruments, test parameter is set automatically to hard disk pressure test software;According to set test parameter, hard disk pressure test is carried out.The system includes:The automatic setup module of import modul, test parameter and hard disk pressure test module.Method of testing and system in the application can realize the automatic test parameter set in hard disk pressure test software, and automaticity is high, for the more hard disk pressure test of CPU line journey, substantial amounts of time and manpower can be saved, so as to greatly improve testing efficiency.Moreover, set by Automatic parameter, it is not easy to produce error, be advantageous to improve the accuracy of hard disk pressure testing results.

Description

Hard disk pressure automatic test approach and system under a kind of Windows
Technical field
The application is related to hard disk pressure automatic test approach under hard disk test technical field, more particularly to a kind of Windows And system.
Background technology
Hard disk pressure test is mainly that order reading, sequential write, random write and the random write of different pieces of information block are carried out to hard disk Test, assesses whether the hard disk when carrying out readwrite tests at full capacity to hard disk data outage occurs or fall disk, and, pressure test After the completion of hard disk whether fall disk, system journal either with or without reporting an error.It is so-called fall disk i.e. hard disk operation is slow, Caton phenomenon occurs or again Hard disk is can't detect after opening.
At present, the instrument of hard disk pressure test is usually hard disk pressure software I Ometer under Windows systems.Use this When software carries out hard disk pressure test, first, parameter configuration is carried out manually, including be manually entered and carry out the every of hard disk pressure test One worker, each data block is manually entered, is then manually added to data block in worker one by one, then manually need to The drive for carrying out the hard disk of pressure test is added in worker one by one.Hard disk pressure is proceeded by after parameter configuration Can test.
However, in current hard disk method for testing pressure, a usual hard disk pressure test includes multiple worker, each Worker needs to match multiple data blocks and multiple drives again, cumbersome and complicated by manually configuration testing parameter, Need to take plenty of time and manpower, automaticity is low, and testing efficiency is low.Moreover, manual configuration parameter easily produces mistake Difference, so as to cause hard disk pressure testing results inaccurate.
The content of the invention
To overcome present in correlation technique, test operation is cumbersome, testing efficiency is low and test result accuracy is not high enough The problem of, the application provides hard disk pressure automatic test approach and system under a kind of Windows.
Hard disk pressure automatic test approach under a kind of Windows, it is characterized in that, methods described includes:
S1:Into hard disk pressure test software;
S2:Sent and ordered to operating system using autoit instruments, set test to join automatically hard disk pressure test software Number;
S3:According to set test parameter, hard disk pressure test is carried out.
Alternatively, step S2 includes following process:
S21:The position of key is added according to worker in CPU line journey and the hard disk pressure test software, is utilized MouseMove orders addition performs a worker of hard disk pressure test, and the worker corresponds with CPU line journey;
S22:According to the position of data block addition key in the hard disk pressure test software, MouseMove orders pair are utilized One worker adds M data block successively;
S23:According to the position of drive addition key in the hard disk pressure test software, using MouseMove orders to institute State a worker and add N number of drive successively;
S24:Judge it is all execution hard disk pressure tests worker and each worker corresponding to M data block with Whether N number of drive, which adds, finishes, if it is, step S25 is performed, if not, return to step S21-S23, until addition finishes institute There are M data block corresponding to the worker and each worker for performing hard disk pressure test and N number of drive;
S25:According to the position of testing time set key in the hard disk pressure test software, MouseMove orders are utilized Testing time is set to the worker of all execution hard disk pressure tests.
Alternatively, all worker for performing hard disk pressure test testing time is identical, and each worker is matched Data block it is identical with drive.
Alternatively, the data block includes:Progress order read test data block, carry out sequential write test data block, Carry out the data block of random write test and carry out the one or more in the data block that suitable random write is tested.
Alternatively, before step S2, methods described also includes:
Hard disk pressure window is activated using winactive orders.
Hard disk pressure Auto-Test System under a kind of Windows, it is characterized in that, the system includes:
Import modul, for leading into hard disk pressure test software;
The automatic setup module of test parameter, ordered for being sent using autoit instruments to operating system, to hard disk pressure Test software sets test parameter automatically;
Hard disk pressure test module, for the test parameter according to set by the automatic setup module of test parameter, enter automatically Row hard disk pressure test.
Alternatively, the automatic setup module of the test parameter includes:
Worker adding devices, for adding the position of key according to worker in CPU line journey and hard disk pressure test software, The worker for performing hard disk pressure test is added using MouseMove orders, the worker corresponds with CPU line journey;
Data block adding device, for adding the position of key according to data block in hard disk pressure test software, utilize MouseMove orders add M data block successively to each worker;
Drive adding device, for adding the position of key according to drive in hard disk pressure test software, utilize MouseMove Order adds N number of drive successively to each worker;
Judging unit, for judging the M corresponding to the worker and each worker of all execution hard disk pressure tests Whether individual data block and N number of drive, which add, finishes;
Testing time setting unit, for the position according to testing time set key in hard disk pressure test software, utilize MouseMove orders set the testing time to all worker.
Alternatively, all worker for performing hard disk pressure test testing time is identical, and each worker is matched Data block it is identical with drive.
Alternatively, the data block includes:Progress order reads the data block of test, carries out the data of sequential write test One or more in block, the data block for carrying out random write test and the data block for carrying out suitable random write test.
Alternatively, the system also includes:Hard disk pressure window active module, for utilizing winactive orders, activation Hard disk pressure window in hard disk pressure test software.
The technical scheme that embodiments herein provides can include the following benefits:
The application provides hard disk pressure automatic test approach under a kind of Windows, including:It is soft into hard disk pressure test Part;Sent and ordered to operating system using autoit instruments, test parameter is set automatically to hard disk pressure test software;According to institute The test parameter of setting, carry out hard disk pressure test.The embodiment of the present application is sent by using autoit instruments to operating system Order, the operation of analog subscriber keyboard and mouse, the automatic test parameter set in hard disk pressure test software can be realized, automatically Change degree is high, simple to operate, for the more hard disk pressure test of CPU line journey, can save substantial amounts of time and manpower, so as to Greatly improve testing efficiency.Moreover, set by Automatic parameter, it is not easy to produce error, be advantageous to improve hard disk pressure test As a result accuracy.
The application also provides hard disk pressure Auto-Test System under a kind of Windows, including import modul, test parameter are certainly Dynamic setup module and hard disk pressure test module.Hard disk pressure test software is entered by import modul, then passes through test The automatic setup module of parameter, sent and ordered to operating system using autoit instruments, hard disk pressure test software is set automatically Test parameter, last hard disk pressure test module carry out hard disk pressure test automatically according to set test parameter.The application The setting of the automatic setup module of test parameter, is mainly automatically performed by machine perform script in embodiment, simple to operate, can When running hard disk pressure test software, test parameter sets and saves substantial amounts of time and manpower in link, is surveyed so as to greatly improve Try efficiency.And the automatic setup module of test parameter is used in the system, be advantageous to improve the automaticity of test system, energy Error is enough avoided or reduced, is advantageous to improve the accuracy of hard disk pressure testing results.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The application can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the application Example, and be used to together with specification to explain the principle of the application.
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without having to pay creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of hard disk pressure automatic test approach under a kind of Windows that the embodiment of the present application provides;
Fig. 2 is the schematic flow sheet of step S2 in application embodiment itself;
Fig. 3 is the structural representation of hard disk pressure Auto-Test System under a kind of Windows that the embodiment of the present application provides.
Symbol represents:
1- import moduls, the automatic setup module of 2- test parameters, 3- hard disk pressure test modules.
Embodiment
For the technical characterstic for illustrating this programme can be understood, below by embodiment, and its accompanying drawing is combined, to this Shen It please be described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the application Structure.In order to simplify disclosure herein, hereinafter the part and setting of specific examples are described.In addition, the application can be with Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated Relation between various embodiments are discussed and/or set.It should be noted that part illustrated in the accompanying drawings is not necessarily to scale Draw.The application eliminates the description to known assemblies and treatment technology and process to avoid being unnecessarily limiting the application.
Hard disk pressure test is mainly that order reading, sequential write, random write and the random write of different pieces of information block are carried out to hard disk Test, assesses whether the hard disk when carrying out readwrite tests at full capacity to hard disk data outage occurs or fall disk, and, pressure test After the completion of hard disk whether fall disk, system journal either with or without reporting an error.It is so-called fall disk i.e. hard disk operation is slow, Caton phenomenon occurs or again Hard disk is can't detect after opening.
The hard disk pressure test software of main flow is IOmeter softwares under Windows systems at present, and IOmeter softwares are main A variety of IO tests are generated by Dynamo, can be used for imitating database server, file server and Website server Test etc., each Dynamo is called a Manager.There are multiple worker, the worker to be again under each Manager Dynamo thread, this thread is equal with CPU line number of passes amount, corresponds, and CPU line Cheng Yue is more, and corresponding worker is got over More, hard disk pressure is bigger.Different worker is used to perform different IO tests, such as:Worker1 is used to test disk I/O, Worker2 is used for test network IO.
In order to more fully understand the application, presently filed embodiment is explained in detail below in conjunction with the accompanying drawings.
Referring to Fig. 1, Fig. 1 is the stream of hard disk pressure automatic test approach under a kind of Windows that the embodiment of the present application provides Journey schematic diagram.As shown in Figure 1, the method for testing in the embodiment of the present application mainly comprises the following steps:
S1:Into hard disk pressure test software.
S2:Sent and ordered to operating system using autoit instruments, set test to join automatically hard disk pressure test software Number.
The automatic setting of test parameter is realized in the embodiment of the present application by the way of script, specifically, using class basic The related command of language realizes the automatic setting of test parameter in hard disk pressure test.Class basic language is just analogous to basic The language of structure and grammer, it is to be subject to certain modification on the basis of basic language.The present embodiment utility classes basic languages The related command of speech, the order of the keyboard and mouse operation of analog subscriber is sent to operating system.
Specifically, understand that step S2 comprises the following steps again with reference to Fig. 2:
S21:The position of key is added according to worker in CPU line journey and hard disk pressure test software, is ordered using MouseMove Order addition performs a worker of hard disk pressure test, and worker corresponds with CPU line journey.
The position of each operated key is represented using plane coordinates in the present embodiment, such as:In hard disk pressure test software really After fixed operable button, (1032,750) position in mouse is moved to (942,762) position, and carry out worker additions can be with Realized using following script and order:
MouseMove(1032,750)
MouseDown("left")
MouseUp("left")
MouseMove(949,762)
Worker corresponds with CPU line journey in the present embodiment, adds worker according to CPU line journey so that current institute The hard disk pressure of configuration is added to maximum, reaches at full capacity.
After adding worker, step S22 is performed:According to the position of data block addition key in hard disk pressure test software, profit M data block is added successively to the worker added in step S21 with MouseMove orders, M is natural number.
Data block in the present embodiment includes:Progress order read test data block, carry out sequential write test data block, Carry out the data block of random write test and carry out the one or more in the data block that suitable random write is tested.Hard disk pressure test In, different readwrite tests is realized by different data blocks.Under normal circumstances, the M data block added in worker Including carry out order read test data block, carry out sequential write test data block, carry out random write test data block and Four kinds of the data block along random write test is carried out, so as to ensure to verify hard disk from order read-write, each angle of random read-write Pressure condition.In some cases, individually a certain kind, two kinds or three kinds of data blocks can also be surveyed according to testing requirement Examination.
After finishing data block for same worker additions, into step S23:According to hard disk pressure test software mid-game The position of symbol addition key, adds N number of drive, N is successively using MouseMove orders to the worker added in step S21 Natural number.
Namely by adding corresponding drive, worker bindings are allowed to be performed the hard disk of hard disk pressure test, such as need Hard disk pressure test is carried out to tri- hard disks of C/D/E, then need successively to be added to C, D, E disk under worker one by one.
The process and principle of specific interpolation data block and drive in above step S22 and step S23, with addition worker's Principle is the same, and moved and click on by orders such as MouseMove, MouseDown, MouseUp to realize analog mouse Action, no longer illustrates herein.
Certainly, in the embodiment of the present application, in addition to the method for first adding drive interpolation data block again, that is, interpolation data The order of block and drive can also turn around, have no effect on the result and accuracy of hard disk pressure test.
S24:Judge it is all execution hard disk pressure tests worker and each worker corresponding to M data block with Whether N number of drive, which adds, finishes, if it is, step S25 is performed, if not, return to step S21-S23, until addition finishes institute There are M data block corresponding to the worker and each worker for performing hard disk pressure test and N number of drive.
In the embodiment of the present application, the data block that each worker is matched is identical with drive, that is, all worker institutes The data block type of addition is identical with quantity, and the drive type that all worker are added is identical with quantity.
S25:According to the position of testing time set key in hard disk pressure test software, using MouseMove orders to institute There is the worker for performing hard disk pressure test that the testing time is set.
In the embodiment of the present application, all worker for performing hard disk pressure test testing time is identical.Hard disk pressure is surveyed The summation of switching time between the testing time of each data block and adjacent data blocks time of examination.
It can be seen from above step S21-S25 when carrying out the automatic setting of test parameter, worker, data block, disk Symbol is required for adding one by one.A worker is added first, then adds all data blocks matched with the worker one by one And drive, then add next worker, all data blocks matched for next worker addition with it and Drive, until all worker for performing hard disk pressure tests and its all data blocks and drive that are matched are added and finished Afterwards, are uniformly set to all worker the testing time.This set order, it can be ensured that test parameter setting is complete, does not omit, Be advantageous to improve the accuracy of hard disk pressure test.
And in the embodiment of the present application by the orders such as MouseMove, MouseDown, MouseUp come analog mouse it is mobile and The action of click, substantial amounts of testing time and manpower can be saved, be advantageous to improve the efficiency and accuracy of hard disk pressure test, Especially for the more hard disk pressure test of CPU line journey, substantial amounts of time and manpower can be more saved.
After setting up test parameter, into step S3:According to set test parameter, hard disk pressure test is carried out.
The method of hard disk pressure test is with identical in the prior art in the present embodiment, and when test parameter is automatic, setting completed Afterwards, it is automatic to carry out hard disk pressure test according to hard disk pressure test software.Test log can be automatically generated during hard disk pressure test. The result judgement of hard disk pressure test is also same as the prior art, in hard disk pressure test sequence, checks whether hard disk number occurs Fall disk according to interruption or hard disk.After being completed, whether disk and test log are fallen either with or without reporting an error according to hard disk, to judge firmly Disk pressure test situation.
Further, in the embodiment of the present application, before step S2, can also be activated using winactive orders Hard disk pressure window.To ensure to carry out hard disk pressure test under hard disk pressure window state of activation.
Below a disk is added to add a worker in hard disk pressure test software, for the worker added Exemplified by symbol and data block, hard disk pressure under Windows is described how to realize in the application using the script of class basic language Power automatic test approach.
#region---ScriptWriter generated code Start---
Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt (" MouseCoordMode ", 0) # defined variables
Run('C:\Users\panlin\Desktop\iometer1.10\IOMeter_1.10_RC1__Win_i386_ X86_64 iometer-1.1.0-rc1-win64.x86_64-bin IOMETER.exe') # operation hard disk pressure software
WinWait("C:\Users\panlin\Desktop\1.au3*SciTE(ACN)","")
If Not WinActive("C:\Users\panlin\Desktop\1.au3*SciTE(ACN)","")Then WinActivate("C:\Users\panlin\Desktop\1.au3*SciTE(ACN)","")
WinWaitActive("C:\Users\panlin\Desktop\1.au3*SciTE(ACN)","")
MouseMove(1262,20)
MouseDown("left")
MouseMove(1260,20)
MouseUp("left")
WinWait (" iometer-1.1.0-rc1-win64.x86_64-bin ", " ") # activates hard disk pressure window
If Not WinActive("iometer-1.1.0-rc1-win64.x86_64-bin","")Then WinActivate (" iometer-1.1.0-rc1-win64.x86_64-bin ", " ") # judges whether to activate software window
WinWaitActive("iometer-1.1.0-rc1-win64.x86_64-bin","")
MouseMove(272,172)
MouseDown("left")
MouseUp("left")
MouseDown("left")
Mouse is moved to assigned operation position after MouseUp (" left ") # theactivewindows
WinWait("Program Manager","")
If Not WinActive("Program Manager","")Then WinActivate("Program Manager","")
WinWaitActive (" Program Manager ", " ") # judges whether to choose the operable button of software
MouseMove(1032,750)
MouseDown("left")
MouseUp("left")
MouseMove(949,762)
MouseDown("left")
MouseUp("left")
MouseMove(702,754)
MouseDown("left")
MouseUp("left")
MouseMove(664,752)
MouseDown("left")
MouseUp("left")
MouseMove(712,764)
MouseDown("left")
MouseUp("left")
MouseMove(672,759)
MouseDown("left")
MouseUp("left")
MouseMove(664,754)
MouseDown("left")
MouseUp("left")
MouseMove(630,751)
MouseDown("left")
MouseMove(629,751)
MouseUp (" left ") # adds a worker, adds a drive and a data to the worker added Block
#endregion。
Referring to Fig. 3, Fig. 3 is hard disk pressure Auto-Test System under a kind of Windows that application embodiment itself provides Structural representation.From the figure 3, it may be seen that the hard disk pressure Auto-Test System in the embodiment of the present application mainly includes:Import modul 1, Three parts of the automatic setup module 2 of test parameter and hard disk pressure test module, wherein, import modul 1 is used to lead into Hard disk pressure test software, the automatic setup module 2 of test parameter, which is used to send to operating system using autoit instruments, orders, right Hard disk pressure test software sets test parameter automatically, and hard disk pressure test module 3 is used to set mould automatically according to test parameter Test parameter set by block, it is automatic to carry out hard disk pressure test.
Wherein, the automatic setup module 2 of test parameter can include again:Worker adding devices, data block adding device, disk Accord with five adding device, judging unit and testing time setting unit parts.Worker adding devices are used for according to CPU line journey The position of key is added with worker in hard disk pressure test software, is added using MouseMove orders and performs hard disk pressure test Worker, the worker and CPU line journey correspond;Data block adding device is used for according in hard disk pressure test software Data block adds the position of key, and M data block is added successively to each worker using MouseMove orders;Drive addition is single Member be used for according in hard disk pressure test software drive add key position, using MouseMove orders to each worker according to The secondary N number of drive of addition;Judging unit is used to judge that worker and each worker institute of all execution hard disk pressure tests to be right Whether the M data block and N number of drive answered, which add, finishes;Testing time setting unit is used for according in hard disk pressure test software The position of testing time set key, using MouseMove orders are set to all worker the testing time.
Further, the test system in the embodiment of the present application can also include hard disk pressure window active module, be used for Using winactive orders, the hard disk pressure window in hard disk pressure test software is activated.
The operation principle of hard disk pressure Auto-Test System and process are hard shown in Fig. 1 and Fig. 2 in the embodiment of the present application Disk pressure is tested in system, method automatically have been elaborated, and will not be repeated here.
The optional embodiment of simply the application described above, for those skilled in the art, On the premise of not departing from the application principle, some improvements and modifications can also be made, these improvements and modifications are also regarded as this Shen Protection domain please.

Claims (10)

1. hard disk pressure automatic test approach under a kind of Windows, it is characterized in that, methods described includes:
S1:Into hard disk pressure test software;
S2:Sent and ordered to operating system using autoit instruments, test parameter is set automatically to hard disk pressure test software;
S3:According to set test parameter, hard disk pressure test is carried out.
2. hard disk pressure automatic test approach under a kind of Windows as claimed in claim 1, it is characterized in that, step S2 includes Following process:
S21:The position of key is added according to worker in CPU line journey and the hard disk pressure test software, is ordered using MouseMove Order addition performs a worker of hard disk pressure test, and the worker corresponds with CPU line journey;
S22:According to the position of data block addition key in the hard disk pressure test software, using MouseMove orders to described One worker adds M data block successively;
S23:According to the position of drive addition key in the hard disk pressure test software, using MouseMove orders to described one Individual worker adds N number of drive successively;
S24:Judge the M data block and N number of corresponding to the worker and each worker of all execution hard disk pressure tests Whether drive, which adds, finishes, if it is, step S25 is performed, if not, return to step S21-S23, until addition finishes all hold M data block and N number of drive corresponding to the worker and each worker of row hard disk pressure test;
S25:According to the position of testing time set key in the hard disk pressure test software, using MouseMove orders to institute There is the worker for performing hard disk pressure test that the testing time is set.
3. hard disk pressure automatic test approach under a kind of Windows as claimed in claim 2, it is characterized in that, it is all to perform firmly The worker of disk pressure test testing time is identical, and the data block that each worker is matched is identical with drive.
4. hard disk pressure automatic test approach under a kind of Windows as described in Claims 2 or 3, it is characterized in that, the number Include according to block:Progress order reads the data block of test, carries out the data block of sequential write test, carries out the data block of random write test And progress is along the one or more in the data block of random write test.
5. hard disk pressure automatic test approach under a kind of Windows as claimed in claim 1, it is characterized in that, before step S2, Methods described also includes:
Hard disk pressure window is activated using winactive orders.
6. hard disk pressure Auto-Test System under a kind of Windows, it is characterized in that, the system includes:
Import modul (1), for leading into hard disk pressure test software;
The automatic setup module of test parameter (2), ordered for being sent using autoit instruments to operating system, hard disk pressure is surveyed Examination software sets test parameter automatically;
Hard disk pressure test module (3), it is automatic to carry out for the test parameter according to set by the automatic setup module of test parameter Hard disk pressure test.
7. hard disk pressure Auto-Test System under a kind of Windows as claimed in claim 6, it is characterized in that, the test ginseng The automatic setup module (2) of number includes:
Worker adding devices, for adding the position of key according to worker in CPU line journey and hard disk pressure test software, utilize MouseMove orders addition performs the worker of hard disk pressure test, and the worker corresponds with CPU line journey;
Data block adding device, for adding the position of key according to data block in hard disk pressure test software, utilize MouseMove Order adds M data block successively to each worker;
Drive adding device, for adding the position of key according to drive in hard disk pressure test software, utilize MouseMove orders N number of drive is added successively to each worker;
Judging unit, for judging M number corresponding to the worker and each worker of all execution hard disk pressure tests Finished according to whether block and N number of drive add;
Testing time setting unit, for the position according to testing time set key in hard disk pressure test software, utilize MouseMove orders set the testing time to all worker.
8. hard disk pressure Auto-Test System under a kind of Windows as claimed in claim 7, it is characterized in that, it is all to perform firmly The worker of disk pressure test testing time is identical, and the data block that each worker is matched is identical with drive.
9. hard disk pressure Auto-Test System under a kind of Windows as claimed in claim 7 or 8, it is characterized in that, it is described Data block includes:Progress order reads the data block of test, carries out the data block of sequential write test, carries out the data of random write test Block and progress are along the one or more in the data block of random write test.
10. hard disk pressure Auto-Test System under a kind of Windows as claimed in claim 7, it is characterized in that, the system is also Including:Hard disk pressure window active module, for utilizing winactive orders, activate the hard disk in hard disk pressure test software Pressure window.
CN201711139269.8A 2017-11-16 2017-11-16 Hard disk pressure automatic test approach and system under a kind of Windows Pending CN107832176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711139269.8A CN107832176A (en) 2017-11-16 2017-11-16 Hard disk pressure automatic test approach and system under a kind of Windows

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711139269.8A CN107832176A (en) 2017-11-16 2017-11-16 Hard disk pressure automatic test approach and system under a kind of Windows

Publications (1)

Publication Number Publication Date
CN107832176A true CN107832176A (en) 2018-03-23

Family

ID=61651815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711139269.8A Pending CN107832176A (en) 2017-11-16 2017-11-16 Hard disk pressure automatic test approach and system under a kind of Windows

Country Status (1)

Country Link
CN (1) CN107832176A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111462811A (en) * 2020-04-22 2020-07-28 深圳佰维存储科技股份有限公司 Automatic testing method and device, storage medium and electronic equipment
CN112256541A (en) * 2020-10-12 2021-01-22 麒麟软件有限公司 Method for testing display performance and pressure of graphical window of operating system
CN113539351A (en) * 2021-07-12 2021-10-22 深圳忆联信息系统有限公司 Solid state hard disk controller identity testing method and device and computer equipment
CN116705129A (en) * 2023-05-08 2023-09-05 深圳市晶存科技有限公司 Testing method of solid state disk

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003288229A (en) * 2002-03-28 2003-10-10 Mitsumi Electric Co Ltd Performance test apparatus, electronic equipment, and performance test system using them
CN102222517A (en) * 2010-04-16 2011-10-19 昆达电脑科技(昆山)有限公司 Cluster harddisk automation test method and system
CN104536861A (en) * 2015-01-26 2015-04-22 浪潮电子信息产业股份有限公司 Multi-operation system based FC SAN (Fiber Channel Storage Area Network) memory testing method
CN105607975A (en) * 2015-12-16 2016-05-25 深圳市迪菲特科技股份有限公司 Method, device and system for testing disk arrays
CN106502849A (en) * 2016-11-01 2017-03-15 广东浪潮大数据研究有限公司 A kind of system and method for the pressure test of hard disk

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003288229A (en) * 2002-03-28 2003-10-10 Mitsumi Electric Co Ltd Performance test apparatus, electronic equipment, and performance test system using them
CN102222517A (en) * 2010-04-16 2011-10-19 昆达电脑科技(昆山)有限公司 Cluster harddisk automation test method and system
CN104536861A (en) * 2015-01-26 2015-04-22 浪潮电子信息产业股份有限公司 Multi-operation system based FC SAN (Fiber Channel Storage Area Network) memory testing method
CN105607975A (en) * 2015-12-16 2016-05-25 深圳市迪菲特科技股份有限公司 Method, device and system for testing disk arrays
CN106502849A (en) * 2016-11-01 2017-03-15 广东浪潮大数据研究有限公司 A kind of system and method for the pressure test of hard disk

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
佚名: "IOmeter中文使用说明(一)", 《HTTPS://WENKU.BAIDU.COM/VIEW/11FB929B77232F60DCCCA159.HTML?FR=SEARCH》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111462811A (en) * 2020-04-22 2020-07-28 深圳佰维存储科技股份有限公司 Automatic testing method and device, storage medium and electronic equipment
CN112256541A (en) * 2020-10-12 2021-01-22 麒麟软件有限公司 Method for testing display performance and pressure of graphical window of operating system
CN113539351A (en) * 2021-07-12 2021-10-22 深圳忆联信息系统有限公司 Solid state hard disk controller identity testing method and device and computer equipment
CN116705129A (en) * 2023-05-08 2023-09-05 深圳市晶存科技有限公司 Testing method of solid state disk

Similar Documents

Publication Publication Date Title
CN110309071B (en) Test code generation method and module, and test method and system
US9465718B2 (en) Filter generation for load testing managed environments
CN108959068B (en) Software interface testing method, device and storage medium
US7895565B1 (en) Integrated system and method for validating the functionality and performance of software applications
CN107832176A (en) Hard disk pressure automatic test approach and system under a kind of Windows
CN104484274B (en) A kind of internal memory taking turn audit function method of testing based on ITP instruments
CN105335278A (en) Testing method and device
US10162742B2 (en) System and method for end to end performance response time measurement based on graphic recognition
CN107025168B (en) Vulnerability detection method and device
CN109933521A (en) Automated testing method, device, computer equipment and storage medium based on BDD
CN111814354B (en) Simulation test method, system, medium and electronic device for instrument performance
CN112650676A (en) Software testing method, device, equipment and storage medium
CN107357721B (en) Method and device for testing system
CN110941520B (en) Hardware function test system and method based on two-out-of-two safety control unit
US20050203717A1 (en) Automated testing system, method and program product using testing map
CN111459814A (en) Automatic test case generation method and device and electronic equipment
CN113127331B (en) Test method and device based on fault injection and computer equipment
CN112612697A (en) Software defect testing and positioning method and system based on byte code technology
CN107562593A (en) A kind of automated testing method and system for verifying internal memory ECC functions
US10481969B2 (en) Configurable system wide tests
CN115934559A (en) Testing method of intelligent form testing system
CN111782557B (en) Method and system for testing web application permission
CN115495363A (en) Software testing method, electronic equipment and readable storage medium
CN114594973A (en) Chip firmware burning method, device and system and storage medium
CN111444108A (en) Behavior audit automatic testing method based on S7 industrial protocol

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: 20180323