CN110716836A - SSD (solid State disk) testing method and device based on DOS (data over serial interface), computer equipment and storage medium - Google Patents

SSD (solid State disk) testing method and device based on DOS (data over serial interface), computer equipment and storage medium Download PDF

Info

Publication number
CN110716836A
CN110716836A CN201910977101.7A CN201910977101A CN110716836A CN 110716836 A CN110716836 A CN 110716836A CN 201910977101 A CN201910977101 A CN 201910977101A CN 110716836 A CN110716836 A CN 110716836A
Authority
CN
China
Prior art keywords
test
dos
ssd
program
starting
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
CN201910977101.7A
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.)
Shenzhen Union Memory Information System Co Ltd
Original Assignee
Shenzhen Union Memory Information System 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 Shenzhen Union Memory Information System Co Ltd filed Critical Shenzhen Union Memory Information System Co Ltd
Priority to CN201910977101.7A priority Critical patent/CN110716836A/en
Publication of CN110716836A publication Critical patent/CN110716836A/en
Pending legal-status Critical Current

Links

Images

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/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits
    • G06F11/2736Tester hardware, i.e. output processing circuits using a dedicated service processor for test
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to a DOS-based SSD testing method, a device, computer equipment and a storage medium; the method comprises the following steps: s1, customizing a mirror image document containing the DOS and the SSD test software in advance, and putting the mirror image document into a pre-starting execution environment server; s2, the pre-boot execution environment server is started, and a test program of the SSD test software is opened; s3, the test program obtains the parameter setting needed by the test and tests; and S4, outputting the test result by the test program. According to the invention, a mirror image document containing the DOS and the SSD test software is customized in advance, and then the mirror image document is put into the pre-starting execution environment server, so that the DOS can be started directly from the pre-starting execution environment server and the corresponding SSD test software can be loaded automatically, the complicated step of manufacturing a DOS starting disk is omitted, higher system stability and maintainability are provided, and the starting test is more convenient.

Description

SSD (solid State disk) testing method and device based on DOS (data over serial interface), computer equipment and storage medium
Technical Field
The invention relates to the technical field of solid state storage testing, in particular to a DOS-based SSD testing method and device, computer equipment and a storage medium.
Background
When the existing SSD (Solid State Disk) test needs to test the SSD in a DOS (Disk operating system) environment, firstly a starting Disk based on the DOS needs to be manufactured, and then a test machine loads test software after the starting Disk is started, the existing scheme is complicated, a USB (universal serial bus) Disk starting Disk needs to be inserted in each test, and the mode is not beneficial to system maintenance and consumes long time; therefore, the demand cannot be satisfied.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a DOS-based SSD testing method, a DOS-based SSD testing device, computer equipment and a storage medium.
In order to achieve the purpose, the invention adopts the following technical scheme:
the SSD testing method based on the DOS comprises the following steps:
s1, customizing a mirror image document containing the DOS and the SSD test software in advance, and putting the mirror image document into a pre-starting execution environment server;
s2, the pre-boot execution environment server is started, and a test program of the SSD test software is opened;
s3, the test program obtains the parameter setting needed by the test and tests;
and S4, outputting the test result by the test program.
The further technical scheme is as follows: in S2, the test program includes a queued read-write program or a basic function test program.
The further technical scheme is as follows: in S3, the "required parameter setting" includes setting a queue depth or setting a read-write command timeout duration.
The further technical scheme is as follows: in S4, the test result includes a performance or command error record of the read/write area.
SSD testing arrangement based on DOS includes: the system comprises a customization input unit, a starting unit, an acquisition unit and an output unit;
the customization input unit is used for customizing a mirror image document containing the DOS and the SSD test software in advance and inputting the mirror image document into the pre-starting execution environment server;
the starting unit is used for pre-starting the execution environment server to start and opening a test program of the SSD test software;
the acquisition unit is used for the test program to acquire parameter setting required by the test and carry out the test;
and the output unit is used for outputting the test result by the test program.
The further technical scheme is as follows: in the starting unit, the test program comprises a queued read-write program or a basic function test program.
The further technical scheme is as follows: in the acquiring unit, the required parameter setting includes setting queue depth or setting read-write command timeout duration
The further technical scheme is as follows: in the output unit, the test result includes performance of the read-write area or command error record.
A computer device comprising a memory having stored thereon a computer program and a processor which, when executed, implements a DOS-based SSD testing method as described above.
A storage medium storing a computer program comprising program instructions which, when executed by a processor, implement a DOS-based SSD testing method as described above.
Compared with the prior art, the invention has the beneficial effects that: by customizing a mirror image document containing the DOS and the SSD test software in advance and then putting the mirror image document into the pre-starting execution environment server, the DOS can be directly started from the pre-starting execution environment server and corresponding SSD test software is automatically loaded, the tedious step of manufacturing a DOS starting disk is omitted, the higher system stability and maintainability are provided, the starting test is more convenient and faster, and the requirement can be better met.
The invention is further described below with reference to the accompanying drawings and specific embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a DOS-based SSD testing method according to an embodiment of the present invention;
FIG. 2 is a schematic block diagram of a DOS based SSD test device provided by an embodiment of the present invention;
FIG. 3 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to the embodiments shown in fig. 1 to 3, wherein, referring to fig. 1, the invention discloses a DOS-based SSD test method, comprising the following steps:
s1, customizing a mirror image document containing the DOS and the SSD test software in advance, and putting the mirror image document into a pre-starting execution environment server;
s2, the pre-boot execution environment server is started, and a test program of the SSD test software is opened;
s3, the test program obtains the parameter setting needed by the test and tests;
and S4, outputting the test result by the test program.
In S2, the test program includes a queued read/write program or a basic function test program, and may be another program according to actual needs.
In S3, the "required parameter setting" includes setting a queue depth or setting a timeout duration of the read/write command, and may be other parameter settings according to actual needs.
In S4, the test result includes performance of the read/write area or an error record of the command, and may be other output results according to actual needs.
In this embodiment, the setting of the parameter setting is often fixed and unchangeable for a candidate test product, so that the common test setting use program script is already solidified by the DOS system, the program script is automatically started when the DOS system is started, and the test can be automatically started only by selecting the corresponding automatic test program script during the test.
The invention can directly start the DOS from the pre-starting execution environment server and automatically load the corresponding SSD test software when the SSD test is carried out in the DOS environment by pre-customizing a mirror image document containing the DOS system and the SSD test software and then putting the mirror image document into the pre-starting execution environment server, thereby avoiding the complicated step of manufacturing the DOS starting disk, automatically starting the test after the starting, providing higher system stability and maintainability, being more convenient and faster to start the test and better meeting the requirements.
Referring to fig. 2, the present invention also discloses a DOS-based SSD testing device, comprising: a custom putting unit 10, a starting unit 20, an obtaining unit 30, and an output unit 40;
the customization putting unit 10 is used for customizing a mirror image document containing a DOS (disk operating system) and SSD (solid State disk) test software in advance and putting the mirror image document into a pre-starting execution environment server;
the starting unit 20 is configured to pre-start the execution environment server, and open a test program of the SSD test software;
the acquiring unit 30 is used for the test program to acquire parameter settings required by the test and perform the test;
the output unit 40 is used for outputting the test result by the test program.
In the starting unit 20, the test program includes a queued read-write program or a basic function test program.
In the obtaining unit 30, the "required parameter setting" includes setting a queue depth or setting a read-write command timeout duration
In the output unit 40, the test result includes performance of the read/write area or a command error record.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation process of the DOS-based SSD test device and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The DOS-based SSD testing arrangement described above may be implemented in the form of a computer program which may be run on a computer device as shown in fig. 3.
Referring to fig. 3, fig. 3 is a schematic block diagram of a computer device according to an embodiment of the present application; the computer device 500 may be a terminal or a server, where the terminal may be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 3, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032 include program instructions that, when executed, cause the processor 502 to perform a DOS-based SSD testing method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for running the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can be enabled to execute a DOS-based SSD testing method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 3 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the computer device 500 to which the present application may be applied, and that a particular computer device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that, in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program comprises program instructions that, when executed by a processor, implement the DOS-based SSD testing method described above.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
The technical contents of the present invention are further illustrated by the examples only for the convenience of the reader, but the embodiments of the present invention are not limited thereto, and any technical extension or re-creation based on the present invention is protected by the present invention. The protection scope of the invention is subject to the claims.

Claims (10)

1. The SSD testing method based on the DOS is characterized by comprising the following steps of:
s1, customizing a mirror image document containing the DOS and the SSD test software in advance, and putting the mirror image document into a pre-starting execution environment server;
s2, the pre-boot execution environment server is started, and a test program of the SSD test software is opened;
s3, the test program obtains the parameter setting needed by the test and tests;
and S4, outputting the test result by the test program.
2. A DOS based SSD test method according to claim 1, wherein in S2, the test program comprises a queued read-write program or a basic function test program.
3. A DOS-based SSD test method according to claim 1, wherein in S3, the "required parameter setting" comprises setting queue depth or read-write command timeout duration setting.
4. A DOS based SSD test method according to claim 1, wherein in S4, the test result comprises performance of read and write areas or a command error record.
5. SSD testing arrangement based on DOS, characterized by, include: the system comprises a customization input unit, a starting unit, an acquisition unit and an output unit;
the customization input unit is used for customizing a mirror image document containing the DOS and the SSD test software in advance and inputting the mirror image document into the pre-starting execution environment server;
the starting unit is used for pre-starting the execution environment server to start and opening a test program of the SSD test software;
the acquisition unit is used for the test program to acquire parameter setting required by the test and carry out the test;
and the output unit is used for outputting the test result by the test program.
6. A DOS-based SSD testing device according to claim 5, wherein in said startup unit said test program comprises a queued read-write program or a basic function test program.
7. A DOS-based SSD testing device according to claim 5, wherein said "required parameter settings" in said obtaining unit comprise setting queue depth or read-write command timeout duration settings.
8. A DOS-based SSD testing device according to claim 5, characterized in that in said output unit, said test result comprises a performance or command error record of the read-write area.
9. A computer device comprising a memory having stored thereon a computer program and a processor that, when executed, implements a DOS based SSD testing method as recited in any of claims 1-4.
10. A storage medium storing a computer program comprising program instructions which, when executed by a processor, implement a DOS-based SSD testing method according to any of claims 1-4.
CN201910977101.7A 2019-10-15 2019-10-15 SSD (solid State disk) testing method and device based on DOS (data over serial interface), computer equipment and storage medium Pending CN110716836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910977101.7A CN110716836A (en) 2019-10-15 2019-10-15 SSD (solid State disk) testing method and device based on DOS (data over serial interface), computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910977101.7A CN110716836A (en) 2019-10-15 2019-10-15 SSD (solid State disk) testing method and device based on DOS (data over serial interface), computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110716836A true CN110716836A (en) 2020-01-21

Family

ID=69211685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910977101.7A Pending CN110716836A (en) 2019-10-15 2019-10-15 SSD (solid State disk) testing method and device based on DOS (data over serial interface), computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110716836A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309560A (en) * 2020-02-24 2020-06-19 深圳忆联信息***有限公司 Method and device for rapidly collecting SSD information during system downtime

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324849A (en) * 2007-06-14 2008-12-17 深圳市研祥智能科技股份有限公司 Method for integrating DOS operating system by BIOS chip
CN107220085A (en) * 2017-05-27 2017-09-29 郑州云海信息技术有限公司 A kind of method of automatic upgrading RAID card firmware
CN108628709A (en) * 2017-12-29 2018-10-09 研祥智能科技股份有限公司 The hard disk detection method and device of equipment
CN108717388A (en) * 2018-05-29 2018-10-30 郑州云海信息技术有限公司 A kind of memory diagnosis test method that can be positioned in real time under DOS environment
CN109243518A (en) * 2018-09-26 2019-01-18 郑州云海信息技术有限公司 A kind of test method for solid state hard disk, device and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324849A (en) * 2007-06-14 2008-12-17 深圳市研祥智能科技股份有限公司 Method for integrating DOS operating system by BIOS chip
CN107220085A (en) * 2017-05-27 2017-09-29 郑州云海信息技术有限公司 A kind of method of automatic upgrading RAID card firmware
CN108628709A (en) * 2017-12-29 2018-10-09 研祥智能科技股份有限公司 The hard disk detection method and device of equipment
CN108717388A (en) * 2018-05-29 2018-10-30 郑州云海信息技术有限公司 A kind of memory diagnosis test method that can be positioned in real time under DOS environment
CN109243518A (en) * 2018-09-26 2019-01-18 郑州云海信息技术有限公司 A kind of test method for solid state hard disk, device and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309560A (en) * 2020-02-24 2020-06-19 深圳忆联信息***有限公司 Method and device for rapidly collecting SSD information during system downtime

Similar Documents

Publication Publication Date Title
US9558016B2 (en) Platform system, method for changing support hardware configuration of universal extensible firmware interface basic input output system and computer program product
CN110851165A (en) Method and device for automatically acquiring BIOS drive and upgrading, computer equipment and storage medium
CN110515634B (en) Method, computer system and medium for updating firmware by remote tool program
US20110161868A1 (en) Management of windowing operating system utilizing monitored user behavior and preferences
US7127596B2 (en) Method and system for improving computer system boot reliability by executing an application specific test during a boot prior loading an operating system
US8560501B2 (en) Method for a cloning process to enable cloning a larger system drive to a smaller system
CN106484779B (en) File operation method and device
CN111949460A (en) Method and device for testing D3-supported characteristic of solid state disk, computer equipment and storage medium
CN110716836A (en) SSD (solid State disk) testing method and device based on DOS (data over serial interface), computer equipment and storage medium
CN111400091B (en) Factory setting restoration method, factory setting restoration device and mobile terminal
CN111782474A (en) Log processing method and device, electronic equipment and medium
CN110993014A (en) Behavior test method and device of SSD in idle state, computer equipment and storage medium
CN109634826B (en) Controller limit performance analysis method and device, computer equipment and storage medium
CN109117406B (en) PCIE hot plug test method, device, terminal and storage medium
CN110910945B (en) Method and device for testing robustness of SSD (solid State disk) signal, computer equipment and storage medium
CN110825326A (en) Method and device for improving SSD random reading performance, computer equipment and storage medium
CN111310160A (en) WINDOWS automatic login deployment method, device, computer equipment and storage medium
CN115794690A (en) Processing method and device based on external equipment in server
CN114185720B (en) Method, device, equipment and storage medium for dynamic hot backup of server
CN113849195A (en) Application program loading method and device, storage medium and terminal
CN111552601A (en) SSD abnormal power failure test method and device, computer equipment and storage medium
CN108920216B (en) Method, device, terminal and storage medium for closing software compatible mode
CN110333901A (en) The title update method of storage device
CN111338949A (en) Method and device for batch access to winpe through wireless start, computer equipment and storage medium
CN117472458B (en) System function optimal configuration method and device, electronic equipment and storage medium

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

Application publication date: 20200121

RJ01 Rejection of invention patent application after publication