CN112951316A - Solid state disk drive-and-retract D3hotState testing method and device and computer equipment - Google Patents

Solid state disk drive-and-retract D3hotState testing method and device and computer equipment Download PDF

Info

Publication number
CN112951316A
CN112951316A CN202110348670.2A CN202110348670A CN112951316A CN 112951316 A CN112951316 A CN 112951316A CN 202110348670 A CN202110348670 A CN 202110348670A CN 112951316 A CN112951316 A CN 112951316A
Authority
CN
China
Prior art keywords
solid state
state disk
hot
disk
test
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.)
Granted
Application number
CN202110348670.2A
Other languages
Chinese (zh)
Other versions
CN112951316B (en
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.)
Dongguan Memory Storage Technology Co ltd
Original Assignee
Dongguan Memory Storage 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 Dongguan Memory Storage Technology Co ltd filed Critical Dongguan Memory Storage Technology Co ltd
Priority to CN202110348670.2A priority Critical patent/CN112951316B/en
Publication of CN112951316A publication Critical patent/CN112951316A/en
Application granted granted Critical
Publication of CN112951316B publication Critical patent/CN112951316B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The application relates to a solid state disk drives and retreats D3hotThe method comprises the following steps of: manufacturing a Windows 10 system boot disk on the USB flash disk by using a Windows To Go tool, and accessing the USB flash disk and the solid state disk To be tested into a test host; starting up the test host and starting up the test host from the USB flash disk to enter a Windows 10 system; a devcon tool is used for issuing a disabling command to the storage controller of the solid state disk, and a certain time is delayed after the disabling command is issued; reading the current value of the solid state disk by using an ammeter and judging whether the current is reduced; if the current of the solid state disk is detected to be reduced, the solid state disk enters D3hotState otherwise, it means that the solid state disk does not enter D3hotAnd state, the test is finished. The invention realizes that the D3 of the solid state disk can be simply and efficiently realized without purchasing additional software and hardwarehotAnd the state is subjected to forward and backward tests, so that unnecessary cost is saved.

Description

Solid state disk drive-and-retract D3hotState testing method and device and computer equipment
Technical Field
The invention relates to the technical field of solid state disk testing, in particular to a solid state disk driving and reversing D3hotA state testing method, a state testing device, computer equipment and a storage medium are provided.
Background
Currently, consumer-grade PCIe NVMe SSD (hereinafter SSD) generally supports access to D3hotState (Device Power Management States, Device Power Management States for short, D-States, D3hotThe state is one of the D-States), after the SSD enters the state, the SSD can enter a power saving mode, so that the power consumption of the SSD is reduced, the battery endurance of equipment such as a notebook computer or a tablet computer is enhanced, and the user experience is improved; on the other hand, when the SSD normally exits D3hotAfter the state, the SSD enters a normal working state, and the performance of the SSD is recovered. Therefore, it is tested whether the SSD can normally enter or exit D3hotThe state is very important, if the SSD cannot normally enter the D3hot state, the SSD is likely not to enter the low power consumption state, and thus may become one of the key factors of the battery life reduction of the whole system of the device such as the notebook computer or the tablet computer; on the other hand, in addition to affecting the battery endurance of the whole system, the battery may not normally advance or retreat D3hotThe state causes some system stability problems, such as abnormality of blue screen, crash, system card crash, etc., which greatly affects the user experience.
In the prior art, D3 is tested to determine whether SSD can move forward and backward normallyhotThe state method is usually implemented by writing a script to configure a "PCI Power Management Control and Status Register (hereinafter, PMCSR)" of the SSD by using DriveMaster software and supporting hardware of unlink corporation. However, the above method requires the tester to equip the complete software and hardware testing system, thereby resulting in unnecessary cost waste.
Disclosure of Invention
In view of the above, it is necessary to provide a solid state disk drive-advancing device D3 for solving the above technical problemshotA state testing method, a state testing device, computer equipment and a storage medium are provided.
Solid state disk drives and retreats D3hotA method of testing a condition, the method comprising:
manufacturing a Windows 10 system boot disk on a U disk by using a Windows To Go tool, and accessing the U disk and a solid state disk To be tested To a test host;
the test host is started and is started from the USB flash disk to enter a Windows 10 system;
a devcon tool is used for issuing a disabling command to the storage controller drive of the solid state disk, and a certain time is delayed after the disabling command is issued;
reading the current value of the solid state disk by using an ammeter and judging whether the current is reduced;
if the current of the solid state disk is detected to be reduced, the solid state disk is indicated to enter D3hotState otherwise, it means that the solid state disk does not enter D3hotAnd state, the test is finished.
In one embodiment, if the current of the solid state disk is detected to be reduced, the solid state disk enters D3hotThe step of status further comprises:
a devcon tool is used for issuing a starting command to a storage controller drive of a solid state disk to be tested, and a certain time is delayed after the starting command is issued;
reading the current value of the solid state disk by using an ammeter and judging whether the current rises;
if the current of the solid state disk is detected to be increased, the solid state disk is indicated to be exited D3hotState otherwise, indicating that the solid state disk is not exited D3hotAnd state, the test is finished.
In one embodiment, the method further comprises:
running a batch processing test script, and carrying out automatic cycle D3hot state forward and backward test on the solid state disk to be tested through the batch processing test script;
d3 implementation on solid state disk to be testedhotAnd detecting whether the system has an abnormal condition when the state advances and retreats.
In one embodiment, the solid state disk under test is subjected to D3hotThe step of detecting whether the system has abnormal condition when the state advances and retreats comprises the following steps:
a devcon tool is used for issuing a disabling command to a storage controller drive of a solid state disk to be tested, and a certain time is delayed after the disabling command is issued;
detecting whether the system is abnormal or not, and if the system is abnormal, ending the test;
a devcon tool is used for issuing a starting command to a storage controller drive of a solid state disk to be tested, and a certain time is delayed after the starting command is issued;
and detecting whether the system is abnormal or not, and if the system is abnormal, ending the test.
Solid state disk drives and retreats D3hotApparatus for testing a condition, the apparatus comprising:
the access module is used for manufacturing a Windows 10 system starting disk on a U disk by utilizing a Windows To Go tool and accessing the U disk and the solid state disk To be tested To the test host;
the starting module is used for starting the test host and starting the test host from the USB flash disk to enter a Windows 10 system;
the first state detection module is used for issuing a disabling command to the storage controller drive of the solid state disk by using a devcon tool and delaying for a certain time after the disabling command is issued; reading the current value of the solid state disk by using an ammeter and judging whether the current is reduced; if the current of the solid state disk is detected to be reduced, the solid state disk is indicated to enter D3hotState otherwise, it means that the solid state disk does not enter D3hotAnd state, the test is finished.
In one embodiment, the apparatus further comprises a second status detection module configured to:
a devcon tool is used for issuing a starting command to a storage controller drive of a solid state disk to be tested, and a certain time is delayed after the starting command is issued;
reading the current value of the solid state disk by using an ammeter and judging whether the current rises;
if the current of the solid state disk is detected to be increased, the solid state disk is indicated to be exited D3hotState otherwise, indicating that the solid state disk is not exited D3hotAnd state, the test is finished.
In one embodiment, the apparatus further comprises:
the script running module is used for running batch test scripts and automatically circulating the solid state disk to be tested through the batch test scripts D3hotTesting the state advance and retreat;
an anomaly detection module for performing D3 on the solid state disk to be detectedhotAnd detecting whether the system has an abnormal condition when the state advances and retreats.
In one embodiment, the anomaly detection module is further configured to:
a devcon tool is used for issuing a disabling command to a storage controller drive of a solid state disk to be tested, and a certain time is delayed after the disabling command is issued;
detecting whether the system is abnormal or not, and if the system is abnormal, ending the test;
a devcon tool is used for issuing a starting command to a storage controller drive of a solid state disk to be tested, and a certain time is delayed after the starting command is issued;
and detecting whether the system is abnormal or not, and if the system is abnormal, ending the test.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the above methods when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of any of the methods described above.
The testing method, the testing device, the testing computer equipment and the testing medium for the D3hot state of the solid state disk advance and retreat are characterized in that a Windows 10 system starting disk is manufactured on a U disk by utilizing a Windows To Go tool, and the U disk and the solid state disk To be tested are connected To a testing host; the test host is started and is started from the USB flash disk to enter a Windows 10 system; a devcon tool is used for issuing a disabling command to the storage controller drive of the solid state disk, and a certain time is delayed after the disabling command is issued; by means of an ammeterReading the current value of the solid state disk and judging whether the current is reduced; if the current of the solid state disk is detected to be reduced, the solid state disk is indicated to enter D3hotState otherwise, it means that the solid state disk does not enter D3hotAnd state, the test is finished. The invention realizes that the D3 of the solid state disk can be simply and efficiently sent to the solid state disk to be tested by using the devcon tool to issue the disable or enable command to the solid state disk without purchasing additional software and hardwarehotAnd the state is subjected to forward and backward tests, so that unnecessary cost is saved.
Drawings
FIG. 1 shows an embodiment of a solid state disk drive D3hotA flow diagram of a method for testing a state;
FIG. 2 shows another embodiment of a solid state drive D3hotA flow diagram of a method for testing a state;
FIG. 3 shows a solid state disk cartridge D3 according to still another embodimenthotA flow diagram of a method for testing a state;
FIG. 4 shows a solid state disk drive D3 according to another embodimenthotA flow diagram of a method for testing a state;
FIG. 5 is a block diagram illustrating an embodiment of a solid state drive interface D3hotA flow diagram of a method for testing a state;
FIG. 6 shows an embodiment of a solid state drive interface D3hotA block diagram of a state testing device;
FIG. 7 shows another embodiment of a solid state drive interface D3hotA block diagram of a state testing device;
FIG. 8 shows a solid state disk drive bay D3 in yet another embodimenthotA block diagram of a state testing device;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Currently, D3 is tested to determine whether the solid state disk can normally move forward or backwardhotThe state method is usually implemented by writing scripts to configure the PCI power management control and status registers of the SSD by using DriveMaster software and supporting hardware of Ulink corporation. However, this method has the disadvantage of requiring the purchase of DriveMaster software and its associated hardware, which is costly.
Based on the structure, the invention provides a solid state disk driving and reversing D3hotThe method for testing the state comprises the steps of manufacturing a Windows 10 system starting U disk by utilizing a Windows To Go tool carried by a Windows 10 system, compiling a batch processing command by combining a tool which can be downloaded freely and is named devcon by Microsoft, issuing a 'disable' or 'enable' command To an SSD To be tested, and enabling the SSD To enter or exit D3hotStatus.
In one embodiment, as shown in FIG. 1, a solid state disk drive bay D3 is providedhotA method of testing a condition, the method comprising:
102, manufacturing a Windows 10 system boot disk on the USB flash disk by using a Windows To Go tool, and accessing the USB flash disk and the solid state disk To be tested into a test host;
104, starting the test host and starting the test host from the USB flash disk to enter a Windows 10 system;
106, utilizing a devcon tool to issue a disabling command to a storage controller drive of the solid state disk, and delaying for a certain time after the disabling command is issued;
step 108, reading the current value of the solid state disk by using an ammeter and judging whether the current is reduced;
in step 110, if it is detected that the current of the solid state disk has dropped, it indicates that the solid state disk has entered D3hotState otherwise, it means that the solid state disk does not enter D3hotAnd state, the test is finished.
In the embodiment, a solid state disk driving and reversing D3 is providedhotThe state testing method comprises the following specific testing environments:
hardware environment: computer to be tested, Hua MateBookD142021 notebook computer. For the computer to be tested, the method described in this embodiment does not impose any requirement on this, and in this embodiment, a notebook computer, named MateBook D142021, is preferably used as the computer to be tested. The SSD to be tested needs to support PCIe and NVMe protocols and support forward and backward movement D3hotStatus. The USB flash disk starting disk needs a USB flash disk with an interface of 3.0 or more than USB, and the capacity is more than 20 GB.
Software environment: operating system, Windows 10 educational version mirror; windows To Go tool and Microsoft devcon tool that Windows 10 system is self-carrying; the test script is a self-written batch test script.
Firstly, a Windows 10 system boot disk is manufactured on a USB 3.0 interface U disk by utilizing a Windows To Go tool carried by a Windows 10 system, and the U disk and the SSD To be tested are accessed To a test host. Windows To Go is a function in Windows 10 enterprise and Windows 10 educational versions, supporting the creation of a Windows To Go workspace that can be launched from a USB connected external drive on a computer. The Windows To Go driver may use the same image that the enterprise uses for its desktop and notebook computers and may be managed in the same way. The Windows To Go workspace offers new mobile options and is not intended To replace desktop or laptop computers or other mobile products.
And starting the test host, and starting the test host from the USB flash disk to enter the Windows 10 system. After entering a Windows 10 system, a devcon tool is used for issuing a 'disable' command to a Standard NVMe Storage Controller driver of the SSD to be tested, so that the SSD can enter D3 all the timehotStatus. Exe is a command line utility that can replace the device manager. The use of devcon may enable, disable, reboot, update, delete, and query a single device or a group of devices.
The principle here is that after a power-down Notification (Shutdown Notification) command is issued by a Windows 10 system manufactured by Windows To Go under the drive of a Standard NVMe Storage Controller of the SSD in the background, the SSD enters into a state where the SSD can be powered down and moved forward and backward at any time D3hotIn a state, then bit of a PMCSR register of the SSD is automatically configured in a background01:00 is 11h, thereby realizing that the SSD enters a D3hot state, and because the Standard NVMe Storage Controller drive of the SSD is disabled, the Windows 10 system manufactured by Windows To Go can not automatically perform any operation on the SSD any more, so that the SSD can be always in D3 statehotStatus.
Then, delaying for N seconds, where the value of N can be determined according to actual conditions. Then, the current value of the SSD at this time is read by the ammeter, and whether or not the current thereof has dropped is observed. If yes, indicating that the SSD has successfully entered D3hotA state; otherwise, the SSD does not successfully proceed to D3hotAnd state, the test is finished.
In one embodiment, as shown in FIG. 2, a solid state disk drive bay D3 is providedhotThe method for testing the state is characterized in that if the method detects that the current of the solid state disk is reduced, the method indicates that the solid state disk enters D3hotThe step of status further comprises:
step 202, a devcon tool is used for issuing a starting command to a storage controller drive of the solid state disk to be tested, and a certain time is delayed after the starting command is issued;
step 204, reading the current value of the solid state disk by using an ammeter and judging whether the current rises;
in step 206, if it is detected that the current of the solid state disk has risen, it indicates that the solid state disk has exited D3hotState, otherwise, indicates that the solid state disk does not exit D3hotAnd state, the test is finished.
In this embodiment, the devcon tool is used to issue an "enable" command to the Standard NVMe Storage Controller driver of the SSD to be tested, so that the SSD can exit D3hotThe principle is that the command can automatically configure bit 01:00 of PMCSR register of SSD as 00h in background, thereby causing SSD to exit D3hotStatus.
Then, delaying for M seconds, where the value of M can be determined according to actual conditions. Then, the current value of the SSD at this time is read by the ammeter, and whether or not the current thereof has risen is observed. If so, D3 is indicated to have been successfully exited by the SSDhotA state; otherwise, the SSD did not successfully exit D3hotAnd state, the test is finished.
In the embodiment, a Windows To Go tool is used for manufacturing a Windows 10 system boot disk on a U disk, and the U disk and a solid state disk To be tested are accessed To a test host; the test host is started and is started from the USB flash disk to enter a Windows 10 system; a devcon tool is used for issuing a disabling command to the storage controller drive of the solid state disk, and a certain time is delayed after the disabling command is issued; reading the current value of the solid state disk by using an ammeter and judging whether the current is reduced; if the current of the solid state disk is detected to be reduced, the solid state disk is indicated to enter D3hotState otherwise, it means that the solid state disk does not enter D3hotAnd state, the test is finished. According to the scheme, the solid state disk to be tested is issued with the disable or enable command by using the devcon tool without purchasing additional software and hardware, the D3hot state of the solid state disk can be simply and efficiently subjected to forward and backward test, and unnecessary cost is saved.
In one embodiment, as shown in FIG. 3, a solid state disk drive bay D3 is providedhotA method of testing a condition, the method further comprising:
step 302, running a batch test script, and performing automatic cycle D3 on the solid state disk to be tested through the batch test scripthotTesting the state advance and retreat;
step 304, performing D3 on the solid state disk to be testedhotAnd detecting whether the system has an abnormal condition when the state advances and retreats.
In one embodiment, as shown in FIG. 4, a solid state disk drive bay D3 is providedhotThe method for testing the state comprises the step of carrying out D3 on the solid state disk to be testedhotThe step of detecting whether the system has abnormal condition when the state advances and retreats comprises the following steps:
step 402, a devcon tool is used for issuing a disabling command to a storage controller drive of the solid state disk to be tested, and a certain time is delayed after the disabling command is issued;
step 404, detecting whether the system is abnormal, if so, ending the test;
step 406, a devcon tool is used for issuing a starting command to the storage controller drive of the solid state disk to be tested, and a certain time is delayed after the starting command is issued;
and step 408, detecting whether the system is abnormal or not, and if the system is abnormal, ending the test.
In the present embodiment, referring to FIG. 5, there is provided a solid state disk drive-in/out device D3hotThe method for testing the state comprises the following implementation processes:
1. a Windows 10 system boot disk is manufactured on a USB 3.0 interface U disk by utilizing a Windows To Go tool carried by a Windows 10 system.
2. And accessing the USB flash disk and the SSD to be tested into a test host.
3. And (3) starting the test host, and starting the test host from the USB flash disk starting disk in the step 1 to enter the Windows 10 system.
4. After entering a Windows 10 system, a devcon tool is used for issuing a 'disable' command to a Standard NVMe Storage Controller driver of the SSD to be tested, so that the SSD can enter D3 all the timehotStatus. The principle is that after a power-down notification command is issued by a Windows 10 system manufactured by Windows To Go through a Standard NVMe Storage Controller drive of an SSD in a background, the SSD can enter a state capable of being powered down and back off at any time D3hotIn the state, then bit 01:00 of a PMCSR register of the SSD is automatically configured to be 11h in the background, so that the SSD enters D3hotState, since the Standard NVMe Storage Controller drive of the SSD has been disabled, the Windows 10 system manufactured by Windows To Go does not automatically perform any operation on the SSD any more, and thus the SSD can always be at D3hotStatus.
5. The delay time is N seconds, and the value of N can be determined according to actual conditions.
6. The current value of the SSD at this time is read by the ammeter, and whether or not the current thereof has dropped is observed. If yes, indicating that the SSD has successfully entered D3hotState, otherwise, SSD has not successfully entered D3hotAnd state, the test is finished.
7. The tool of devcon is utilized to issue an 'enabling' command to the drive of the Standard NVMe Storage Controller of the SSD to be tested, so that the SSD can exit from the D3hot state. The principle is that the command can automatically configure bit 01:00 of PMCSR register of SSD as 00h in background, so that SSD exits D3hotStatus.
8. The delay time is M seconds, and the value of M can be determined according to actual conditions.
9. Reading the current value of the SSD at the moment by using the ammeter, and observing whether the current of the SSD rises; if so, D3 is indicated to have been successfully exited by the SSDhotState, otherwise, SSD did not successfully exit D3hotAnd state, the test is finished.
10. The process of executing the steps 4-5 and the steps 7-8 is written into an automatic batch processing test script, and the automatic cycle of any number of rounds of D3 can be realized on the SSD by running the scripthotState-based back-and-forth testing to verify SSD at D3hotWhen the state advances and retreats, the system is judged whether to have abnormality such as blue screen, crash and the like.
It should be understood that although the various steps in the flow charts of fig. 1-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in FIG. 6, a solid state disk drive bay D3 is providedhotA device 600 for testing a condition, the device comprising:
the access module 601 is used for manufacturing a Windows 10 system boot disk on a USB flash disk by using a Windows To Go tool, and accessing the USB flash disk and the solid state disk To be tested To the test host;
a starting module 602, configured to start up the test host and start the test host from the usb disk to enter a Windows 10 system;
the first state detection module 603 is configured to issue a disable command to the storage controller driver of the solid state disk by using a devcon tool, and delay for a certain time after the disable command is issued; reading the current value of the solid state disk by using an ammeter and judging whether the current is reduced; if the current of the solid state disk is detected to be reduced, the solid state disk is indicated to enter D3hotState otherwise, it means that the solid state disk does not enter D3hotAnd state, the test is finished.
In one embodiment, as shown in FIG. 7, a solid state disk drive bay D3 is providedhotThe apparatus 600 for testing status further comprises a second status detection module 604 for:
a devcon tool is used for issuing a starting command to a storage controller drive of a solid state disk to be tested, and a certain time is delayed after the starting command is issued;
reading the current value of the solid state disk by using an ammeter and judging whether the current rises;
if the current of the solid state disk is detected to be increased, the solid state disk is indicated to be exited D3hotState otherwise, indicating that the solid state disk is not exited D3hotAnd state, the test is finished.
In one embodiment, as shown in FIG. 8, a solid state disk drive bay D3 is providedhotThe apparatus 600 for testing conditions, the apparatus further comprising:
a script running module 605, configured to run a batch test script, and perform automatic cycle D3 on the to-be-tested solid state disk through the batch test scripthotTesting the state advance and retreat;
an anomaly detection module 606 for performing D3 on the solid state disk to be testedhotAnd detecting whether the system has an abnormal condition when the state advances and retreats.
In one embodiment, the anomaly detection module 606 is further configured to:
a devcon tool is used for issuing a disabling command to a storage controller drive of the solid state disk to be tested, and a certain time is delayed after the disabling command is issued;
detecting whether the system is abnormal or not, and if the system is abnormal, ending the test;
a devcon tool is used for issuing a starting command to a storage controller drive of the solid state disk to be tested, and a certain time is delayed after the starting command is issued;
and detecting whether the system is abnormal or not, and if the system is abnormal, ending the test.
Solid state disk drive-and-play D3hotThe specific definition of the test device of the state can be seen in the above for the solid state disk advance and retreat D3hotThe definition of the test method of the state is not described herein.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 9. The computer apparatus includes a processor, a memory, and a network interface connected by a device bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The nonvolatile storage medium stores an operating device, a computer program, and a database. The internal memory provides an environment for the operation device in the nonvolatile storage medium and the execution of the computer program. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by the processor to realize a solid state disk drive-driving D3hotAnd (4) testing the state.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method embodiments when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the above respective method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. Solid state disk drives and retreats D3hotA method for testing a condition, the method comprising:
manufacturing a Windows 10 system boot disk on a U disk by using a Windows To Go tool, and accessing the U disk and a solid state disk To be tested To a test host;
the test host is started and is started from the USB flash disk to enter a Windows 10 system;
a devcon tool is used for issuing a disabling command to the storage controller drive of the solid state disk, and a certain time is delayed after the disabling command is issued;
reading the current value of the solid state disk by using an ammeter and judging whether the current is reduced;
if the current of the solid state disk is detected to be reduced, the solid state disk is indicated to enter D3hotState otherwise, it means that the solid state disk does not enter D3hotAnd state, the test is finished.
2. The solid state disk drive-advance D3 of claim 1hotThe method for testing the state is characterized in that if the current of the solid state disk is detected to be reduced, the solid state disk enters D3hotThe step of status further comprises:
a devcon tool is used for issuing a starting command to a storage controller drive of a solid state disk to be tested, and a certain time is delayed after the starting command is issued;
reading the current value of the solid state disk by using an ammeter and judging whether the current rises;
if the current of the solid state disk is detected to be increased, the solid state disk is indicated to be exited D3hotState otherwise, indicating that the solid state disk is not exited D3hotAnd state, the test is finished.
3. The solid state disk drive-advance D3 of claim 2hotMethod for testing a condition, characterized in that said method further comprises:
Running batch processing test scripts, and performing automatic cycle D3 on the solid state disk to be tested through the batch processing test scriptshotTesting the state advance and retreat;
d3 implementation on solid state disk to be testedhotAnd detecting whether the system has an abnormal condition when the state advances and retreats.
4. The solid state disk drive-reversing D3 of claim 3hotThe state testing method is characterized in that D3 is carried out on the solid state disk to be testedhotThe step of detecting whether the system has abnormal condition when the state advances and retreats comprises the following steps:
a devcon tool is used for issuing a disabling command to a storage controller drive of a solid state disk to be tested, and a certain time is delayed after the disabling command is issued;
detecting whether the system is abnormal or not, and if the system is abnormal, ending the test;
a devcon tool is used for issuing a starting command to a storage controller drive of a solid state disk to be tested, and a certain time is delayed after the starting command is issued;
and detecting whether the system is abnormal or not, and if the system is abnormal, ending the test.
5. Solid state disk drives and retreats D3hotApparatus for testing conditions, said apparatus comprising:
the access module is used for manufacturing a Windows 10 system starting disk on a U disk by utilizing a Windows To Go tool and accessing the U disk and the solid state disk To be tested To the test host;
the starting module is used for starting the test host and starting the test host from the USB flash disk to enter a Windows 10 system;
the first state detection module is used for issuing a disabling command to the storage controller drive of the solid state disk by using a devcon tool and delaying for a certain time after the disabling command is issued; reading the current value of the solid state disk by using an ammeter and judging whether the current is reduced; if the solid is detectedThe current of the solid state disk is reduced, which indicates that the solid state disk enters D3hotthe t state, otherwise, the solid state disk does not enter D3hotAnd state, the test is finished.
6. The solid state disk drive-reversing D3 of claim 5hotThe device for testing the state is characterized by further comprising a second state detection module, wherein the second state detection module is used for:
a devcon tool is used for issuing a starting command to a storage controller drive of a solid state disk to be tested, and a certain time is delayed after the starting command is issued;
reading the current value of the solid state disk by using an ammeter and judging whether the current rises;
if the current of the solid state disk is detected to be increased, the solid state disk is indicated to be exited D3hotState otherwise, indicating that the solid state disk is not exited D3hotAnd state, the test is finished.
7. The solid state disk drive-reversing D3 of claim 6hotA device for testing a condition, the device further comprising:
the script running module is used for running batch test scripts and automatically circulating the solid state disk to be tested through the batch test scripts D3hotTesting the state advance and retreat;
an anomaly detection module for performing D3 on the solid state disk to be detectedhotAnd detecting whether the system has an abnormal condition when the state advances and retreats.
8. The solid state disk drive-reversing D3 of claim 7hotThe state testing device is characterized in that the abnormality detection module is further used for:
a devcon tool is used for issuing a disabling command to a storage controller drive of a solid state disk to be tested, and a certain time is delayed after the disabling command is issued;
detecting whether the system is abnormal or not, and if the system is abnormal, ending the test;
a devcon tool is used for issuing a starting command to a storage controller drive of a solid state disk to be tested, and a certain time is delayed after the starting command is issued;
and detecting whether the system is abnormal or not, and if the system is abnormal, ending the test.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 4 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
CN202110348670.2A 2021-03-31 2021-03-31 Solid state disk advancing and retreating D3hotState testing method and device and computer equipment Active CN112951316B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110348670.2A CN112951316B (en) 2021-03-31 2021-03-31 Solid state disk advancing and retreating D3hotState testing method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110348670.2A CN112951316B (en) 2021-03-31 2021-03-31 Solid state disk advancing and retreating D3hotState testing method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN112951316A true CN112951316A (en) 2021-06-11
CN112951316B CN112951316B (en) 2024-08-06

Family

ID=76231518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110348670.2A Active CN112951316B (en) 2021-03-31 2021-03-31 Solid state disk advancing and retreating D3hotState testing method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN112951316B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060190635A1 (en) * 2005-02-14 2006-08-24 Akihiro Kojou Information processing apparatus and state control method of the same apparatus
WO2018006702A1 (en) * 2016-07-05 2018-01-11 中兴通讯股份有限公司 Abnormality processing method, apparatus and system in automation test
CN111128290A (en) * 2019-12-24 2020-05-08 深圳忆联信息系统有限公司 Method and device for testing APST (advanced persistent storage) characteristics of solid state disk and computer equipment
CN111341380A (en) * 2020-02-25 2020-06-26 深圳忆联信息系统有限公司 Test method and device for resetting SSD (solid State disk) controller and computer equipment
CN111949460A (en) * 2020-08-12 2020-11-17 深圳忆联信息系统有限公司 Method and device for testing D3-supported characteristic of solid state disk, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060190635A1 (en) * 2005-02-14 2006-08-24 Akihiro Kojou Information processing apparatus and state control method of the same apparatus
WO2018006702A1 (en) * 2016-07-05 2018-01-11 中兴通讯股份有限公司 Abnormality processing method, apparatus and system in automation test
CN111128290A (en) * 2019-12-24 2020-05-08 深圳忆联信息系统有限公司 Method and device for testing APST (advanced persistent storage) characteristics of solid state disk and computer equipment
CN111341380A (en) * 2020-02-25 2020-06-26 深圳忆联信息系统有限公司 Test method and device for resetting SSD (solid State disk) controller and computer equipment
CN111949460A (en) * 2020-08-12 2020-11-17 深圳忆联信息系统有限公司 Method and device for testing D3-supported characteristic of solid state disk, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王蓉: "Connected Standby 在超极本 BIOS 里的 设计与实现", 中国知网, 15 January 2020 (2020-01-15), pages 2 - 5 *

Also Published As

Publication number Publication date
CN112951316B (en) 2024-08-06

Similar Documents

Publication Publication Date Title
EP2175372B1 (en) Computer apparatus and processor diagnostic method
US10216550B2 (en) Technologies for fast boot with adaptive memory pre-training
US11221933B2 (en) Holdup self-tests for power loss operations on memory systems
US11688483B2 (en) Managing block retirement for temporary operational conditions
US8281119B1 (en) Separate normal firmware and developer firmware
US7127603B2 (en) System and method for manufacture of information handling systems with selective option ROM executions
CN111341380B (en) Test method and device for resetting SSD (solid State disk) controller and computer equipment
US11841398B2 (en) Method and apparatus and non-transitory computer-readable storage medium for debugging solid-state disk (SSD) device
CN102479121A (en) Method for realizing and testing redundant array of independent disks (RAID)
CN111625284B (en) Low-power-consumption mode awakening recovery method and device of solid state disk and computer equipment
CN110096882B (en) Safety measurement method in equipment operation process
CN110825421B (en) Firmware upgrading method, system and readable storage medium
US11487638B2 (en) Computer program product and method and apparatus for controlling access to flash memory card
US11467849B2 (en) Systems and methods for collecting deep operating system (OS) telemetry
CN112951316A (en) Solid state disk drive-and-retract D3hotState testing method and device and computer equipment
US20130185299A1 (en) Method and system for performing system maintenance in a computing device
CN107515730B (en) Data storage device and operation method
US20240176887A1 (en) Method for Running Startup Program of Electronic Device, and Electronic Device
CN106293531B (en) A method of prevent flash in SD use process from surprisingly being distorted based on flash write-protect
CN115576788A (en) Performance automatic test method and device, computer equipment and storage medium
CN113835944A (en) Test method and device for rapidly judging link rate of solid state disk and computer equipment
KR101022468B1 (en) Embedded computer system for reducing the time for rebooting the unusually logged off system
CN113986721B (en) SSD FNV function recovery writing performance testing method and device, computer equipment and storage medium
CN111552594B (en) Method, device and system for detecting power failure of solid state disk and electronic equipment
CN114780311A (en) D3hot state forward and backward test method and device based on Linux system

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
GR01 Patent grant
GR01 Patent grant