CN112433898A - Method and device for testing power consumption value of solid state disk, computer equipment and storage medium - Google Patents

Method and device for testing power consumption value of solid state disk, computer equipment and storage medium Download PDF

Info

Publication number
CN112433898A
CN112433898A CN202011321530.8A CN202011321530A CN112433898A CN 112433898 A CN112433898 A CN 112433898A CN 202011321530 A CN202011321530 A CN 202011321530A CN 112433898 A CN112433898 A CN 112433898A
Authority
CN
China
Prior art keywords
test
solid state
state disk
power consumption
tested
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
CN202011321530.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.)
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 CN202011321530.8A priority Critical patent/CN112433898A/en
Publication of CN112433898A publication Critical patent/CN112433898A/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/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
    • G06F11/2221Detection 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 to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Power Sources (AREA)

Abstract

The application relates to a method and a device for testing a power consumption value of a solid state disk, computer equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps of building a test environment for testing the power consumption of the solid state disk, connecting an ammeter to an adapter plate, and connecting the solid state disk to be tested to computer equipment through the adapter plate; after the connection is confirmed to be successful, the computer equipment is powered on and runs a test program to carry out read-write test on the solid state disk to be tested; reading the value in real time through the ammeter and recording the value into a test log while performing read-write test on the computer equipment; and stopping the test when the read-write test reaches a preset time, and calculating and analyzing data recorded in the test log to obtain the average power consumption value of the solid state disk to be tested. According to the invention, the adapter plate can be connected with the precision resistor to measure the working voltage of the solid state disk, so that the full-automatic power consumption test can be realized without changing the structure of the disk body, and the power consumption test efficiency is effectively improved.

Description

Method and device for testing power consumption value of solid state disk, computer equipment and storage medium
Technical Field
The invention relates to the technical field of solid state disk testing, in particular to a method and a device for testing a power consumption value of a solid state disk, computer equipment and a storage medium.
Background
Computer equipment has become the most powerful practical tool for people to generate, solid state disks are more and more popular with the price drop of the solid state disks, NVMe SSD is called SSD for short, the development is more rapid due to the superior performance of the SSD, and various computer manufacturers make the hard disks in the computer equipment into the SSD. Before computer equipment leaves a factory, parameter indexes of a solid state disk in the computer equipment need to be tested, and power consumption of the solid state disk is an important index which is relatively concerned by customers.
At present, in the traditional technology, a power consumption test method for a solid state disk needs to weld a lead on a disk body, so that later use is affected, and hardware damage is easily caused. The method for measuring the power consumption of the solid state disk is only suitable for observation and analysis of single-chip equipment, and because the product types of the solid state disk are more than ten, and power consumption values with different capacities need to be measured, the method of welding leads one by one causes measurement environment difference, and further influences the efficiency and accuracy of power consumption measurement.
Disclosure of Invention
Therefore, it is necessary to provide a method and an apparatus for testing a power consumption value of a solid state disk, a computer device, and a storage medium, which can effectively improve power consumption testing efficiency.
A method for testing a power consumption value of a solid state disk comprises the following steps:
the method comprises the steps of building a test environment for testing the power consumption of the solid state disk, connecting an ammeter to an adapter plate, and connecting the solid state disk to be tested to computer equipment through the adapter plate;
after the connection is confirmed to be successful, the computer equipment is powered on and runs a test program to carry out read-write test on the solid state disk to be tested;
reading the value in real time through the ammeter and recording the value into a test log while performing read-write test on the computer equipment;
and stopping the test when the read-write test reaches a preset time, and calculating and analyzing data recorded in the test log to obtain the average power consumption value of the solid state disk to be tested.
In one embodiment, the step of building a test environment for performing the power consumption test of the solid state disk, connecting the ammeter to the adapter plate, and connecting the solid state disk to be tested to the computer device through the adapter plate specifically includes:
respectively connecting an ammeter to the positive end and the negative end of the adapter plate, and measuring the working voltage of the solid state disk through the precision resistor connected with the adapter plate;
and connecting the solid state disk to be tested to the computer equipment through the adapter plate to prepare for read-write test.
In one embodiment, before the step of stopping the test when the time for the read-write test reaches a preset time, and calculating and analyzing data recorded in a test log to obtain an average power consumption value of the solid state disk to be tested, the method further includes:
setting a test time in the computer device;
and the computer equipment records the current test time and judges whether the current test time of the solid state disk reaches the preset test time.
In one embodiment, after the step of recording the current test time by the computer device and determining whether the current test time of the solid state disk has reached the preset test time, the method further includes:
if the test time does not reach the preset test time, continuously performing read-write test on the solid state disk to be tested;
and if the preset test time is reached, automatically stopping the read-write test of the current solid state disk to be tested, and storing the recorded test log into a specific storage directory.
An apparatus for testing a power consumption value of a solid state disk, the apparatus comprising:
the device comprises a building module, a switching board and a computer device, wherein the building module is used for building a test environment for power consumption test of the solid state disk, connecting an ammeter to the switching board and connecting the solid state disk to be tested to the computer device through the switching board;
the read-write testing module is used for electrifying the computer equipment and running a testing program to perform read-write testing on the solid state disk to be tested after the successful connection is confirmed;
the data recording module is used for reading a numerical value in real time through the ammeter and recording the numerical value into a test log while performing read-write test on the computer equipment;
and the data analysis module is used for stopping the test when the read-write test reaches a preset time, and calculating and analyzing the data recorded in the test log to obtain the average power consumption value of the solid state disk to be tested.
In one embodiment, the building module is specifically configured to:
respectively connecting an ammeter to the positive end and the negative end of the adapter plate, and measuring the working voltage of the solid state disk through the precision resistor connected with the adapter plate;
and connecting the solid state disk to be tested to the computer equipment through the adapter plate to prepare for read-write test.
In one embodiment, the apparatus further comprises a test control module configured to:
setting a test time in the computer device;
and the computer equipment records the current test time and judges whether the current test time of the solid state disk reaches the preset test time.
In one embodiment, the test control module is further configured to:
if the test time does not reach the preset test time, continuously performing read-write test on the solid state disk to be tested;
and if the preset test time is reached, automatically stopping the read-write test of the current solid state disk to be tested, and storing the recorded test log into a specific storage directory.
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.
According to the method and the device for testing the power consumption value of the solid state disk, the computer equipment and the storage medium, the test environment for testing the power consumption of the solid state disk is built, the ammeter is connected to the adapter plate, and the solid state disk to be tested is connected to the computer equipment through the adapter plate; after the connection is confirmed to be successful, the computer equipment is powered on and runs a test program to carry out read-write test on the solid state disk to be tested; reading the value in real time through the ammeter and recording the value into a test log while performing read-write test on the computer equipment; and stopping the test when the read-write test reaches a preset time, and calculating and analyzing data recorded in the test log to obtain the average power consumption value of the solid state disk to be tested. According to the invention, the adapter plate can be connected with the precision resistor to measure the working voltage of the solid state disk so as to obtain the power consumption value of the hard disk within a certain time, and the full-automatic power consumption test can be realized without changing the structure of the disk body, so that the power consumption test efficiency is effectively improved.
Drawings
FIG. 1 is a conceptual diagram illustrating a method for testing a power consumption value of a solid state disk in the prior art;
FIG. 2 is a conceptual diagram of a method for testing a power consumption value of a solid state disk according to the present invention;
FIG. 3 is a flowchart illustrating a method for testing a power consumption value of a solid state drive according to an embodiment;
FIG. 4 is a flowchart illustrating a method for testing a power consumption value of a solid state drive according to another embodiment;
FIG. 5 is a block diagram illustrating an exemplary apparatus for testing a power consumption of a solid state drive;
FIG. 6 is a block diagram of a device for testing a power consumption value of a solid state disk according to another embodiment;
FIG. 7 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.
At present, in the conventional technology, a process of performing power consumption testing on a solid state disk is shown in fig. 1, where the solid state disk is first installed in a notebook computer to be tested, then leads are connected to the positive and negative electrodes of the solid state disk, then a working voltage value is measured by an ammeter, and finally the power consumption of the solid state disk is calculated by a formula. The traditional method for testing the power consumption of the solid state disk at least comprises the following disadvantages: firstly, each hard disk needs to be connected with a lead wire, so that the use is influenced. Secondly, the accuracy of data acquisition is not sufficient, which affects the accuracy of the power consumption result. Again, the soldering process may damage the circuitry of the hard disk.
Based on the above, the invention provides a test method for power consumption values of a solid state disk, the overall concept of the test method is shown in fig. 2, and the key point is that the adapter plate is connected with a precision resistor to measure the working voltage of the solid state disk so as to obtain the power consumption value of the hard disk within a fixed time, the full-automatic power consumption test can be realized without changing the structure of the disk body, the power consumption test efficiency is effectively improved, and the problem that the measurement environment difference is caused by the method of welding leads one by one in the traditional test method, and the power consumption measurement efficiency and accuracy are influenced is solved.
In one embodiment, as shown in fig. 3, a method for testing a power consumption value of a solid state disk is provided, where the method includes:
step 302, building a test environment for performing power consumption test on the solid state disk, connecting the ammeter to the adapter plate, and connecting the solid state disk to be tested to the computer equipment through the adapter plate;
step 304, after the connection is confirmed to be successful, the computer equipment is powered on and runs a test program to perform read-write test on the solid state disk to be tested;
step 306, reading the value in real time through an ammeter and recording the value into a test log while performing read-write test on the computer equipment;
and 308, stopping the test when the read-write test reaches a preset time, and calculating and analyzing the data recorded in the test log to obtain the average power consumption value of the solid state disk to be tested.
In this embodiment, a method for testing a power consumption value of a solid state disk is provided, which is applicable to various different test scenarios of the solid state disk, and in a process of using a product by a customer, field engineers may take out various failures due to software and hardware problems of the hard disk itself or improper operation of the customer, and check and analyze the failures, and the application steps of this embodiment are as follows:
firstly, a test environment for testing the power consumption of the solid state disk is established. In a specific embodiment, the steps of building a test environment for performing a power consumption test on the solid state disk, connecting the ammeter to the adapter plate, and connecting the solid state disk to be tested to the computer device through the adapter plate specifically include:
respectively connecting an ammeter to the positive end and the negative end of the adapter plate, and measuring the working voltage of the solid state disk through the precision resistor connected with the adapter plate; and connecting the solid state disk to be tested to the computer equipment through the adapter plate to prepare for read-write test.
And then, after the successful connection of the electric connection among the components is confirmed, the computer equipment is powered on and runs a test program to carry out read-write test on the solid state disk to be tested, and the computer is powered on and carries out read-write test. It can be understood that the read-write test can be carried out in a full-automatic unattended environment, and the labor cost is effectively controlled.
And then, reading the numerical value in real time through an ammeter and recording the numerical value into a test log while performing read-write test on the computer equipment. Finally, after a preset time of duration of the test, for example: and when the test lasts for half an hour, stopping recording, and calculating and analyzing according to the data recorded in the test log to obtain the average power consumption value of the solid state disk to be tested.
In the embodiment, the ammeter is connected to the adapter plate by building a test environment for testing the power consumption of the solid state disk, and the solid state disk to be tested is connected to the computer equipment through the adapter plate; after the connection is confirmed to be successful, the computer equipment is powered on and runs a test program to carry out read-write test on the solid state disk to be tested; reading the value in real time through the ammeter and recording the value into a test log while performing read-write test on the computer equipment; and stopping the test when the read-write test reaches a preset time, and calculating and analyzing data recorded in the test log to obtain the average power consumption value of the solid state disk to be tested. According to the scheme, the adapter plate can be connected with the precision resistor to measure the working voltage of the solid state disk, so that the power consumption value of the hard disk in a certain time can be obtained, the full-automatic power consumption test can be realized without changing the structure of the disk body, and the power consumption test efficiency is effectively improved.
In an embodiment, as shown in fig. 4, a method for testing a power consumption value of a solid state disk is provided, where the method stops testing when a time for a read-write test reaches a preset time, and before the step of calculating and analyzing data recorded in a test log to obtain an average power consumption value of the solid state disk to be tested, the method further includes:
step 402, setting test time in computer equipment;
step 404, recording the current test time by the computer equipment, and judging whether the test time of the current solid state disk reaches the preset test time or not;
step 406, if the preset test time is not reached, continuously performing the read-write test on the solid state disk to be tested;
and step 408, if the preset test time is reached, automatically stopping the read-write test on the current solid state disk to be tested, and storing the recorded test log into a specific storage directory.
In this embodiment, a method for testing a power consumption value of a solid state disk is provided, where the method may implement automatic control on a test process through a test device to further improve test efficiency, and a specific implementation manner is as follows:
firstly, setting test time in computer equipment; specifically, for example, the test time for one solid state disk is set to half an hour. Then, the computer device continuously records the current test time of the single solid state disk in the process of performing the power-on test, and judges whether the current test time of the solid state disk reaches the preset test time. If the preset test time is not reached, continuously performing read-write test on the solid state disk to be tested; and if the preset test time is reached, automatically stopping the read-write test of the current solid state disk to be tested, and storing the recorded test log into a specific storage directory.
It should be understood that although the various steps in the flow charts of fig. 1-4 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-4 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. 5, there is provided an apparatus 500 for testing a power consumption value of a solid state disk, the apparatus including:
the building module 501 is used for building a test environment for power consumption test of the solid state disk, connecting the ammeter to the adapter plate, and connecting the solid state disk to be tested to the computer equipment through the adapter plate;
a read-write test module 502, configured to, after the connection is confirmed to be successful, power up the computer device and run a test program to perform read-write test on the solid state disk to be tested;
the data recording module 503 is configured to read a value in real time through the ammeter and record the value in a test log while performing a read-write test on the computer device;
and the data analysis module 504 is configured to stop the test when the read-write test reaches a preset time, and calculate and analyze data recorded in the test log to obtain an average power consumption value of the solid state disk to be tested.
In one embodiment, the building module 501 is specifically configured to:
respectively connecting an ammeter to the positive end and the negative end of the adapter plate, and measuring the working voltage of the solid state disk through the precision resistor connected with the adapter plate;
and connecting the solid state disk to be tested to the computer equipment through the adapter plate to prepare for read-write test.
In one embodiment, as shown in fig. 6, there is provided an apparatus 500 for testing a power consumption value of a solid state disk, the apparatus further includes a test control module 505 for:
setting a test time in the computer device;
and the computer equipment records the current test time and judges whether the current test time of the solid state disk reaches the preset test time.
In one embodiment, the test control module 505 is further configured to:
if the test time does not reach the preset test time, continuously performing read-write test on the solid state disk to be tested;
and if the preset test time is reached, automatically stopping the read-write test of the current solid state disk to be tested, and storing the recorded test log into a specific storage directory.
For specific limitation of the test apparatus for the power consumption value of the solid state disk, reference may be made to the above limitation on the test method for the power consumption value of the solid state disk, and details are not described here again.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 7. 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 a processor to realize a method for testing the power consumption value of the solid state disk.
Those skilled in the art will appreciate that the architecture shown in fig. 7 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. A method for testing a power consumption value of a solid state disk is characterized by comprising the following steps:
the method comprises the steps of building a test environment for testing the power consumption of the solid state disk, connecting an ammeter to an adapter plate, and connecting the solid state disk to be tested to computer equipment through the adapter plate;
after the connection is confirmed to be successful, the computer equipment is powered on and runs a test program to carry out read-write test on the solid state disk to be tested;
reading the value in real time through the ammeter and recording the value into a test log while performing read-write test on the computer equipment;
and stopping the test when the read-write test reaches a preset time, and calculating and analyzing data recorded in the test log to obtain the average power consumption value of the solid state disk to be tested.
2. The method for testing the power consumption value of the solid state disk according to claim 1, wherein the step of building a test environment for performing the power consumption test of the solid state disk, connecting an ammeter to an adapter plate, and connecting the solid state disk to be tested to a computer device through the adapter plate specifically comprises:
respectively connecting an ammeter to the positive end and the negative end of the adapter plate, and measuring the working voltage of the solid state disk through the precision resistor connected with the adapter plate;
and connecting the solid state disk to be tested to the computer equipment through the adapter plate to prepare for read-write test.
3. The method for testing the power consumption value of the solid state disk according to claim 2, wherein before the step of stopping the test when the read-write test reaches a preset time, and calculating and analyzing data recorded in a test log to obtain the average power consumption value of the solid state disk to be tested, the method further comprises:
setting a test time in the computer device;
and the computer equipment records the current test time and judges whether the current test time of the solid state disk reaches the preset test time.
4. The method for testing the power consumption value of the solid state disk according to claim 3, wherein after the step of recording the current testing time by the computer device and determining whether the current testing time of the solid state disk reaches the preset testing time, the method further comprises:
if the test time does not reach the preset test time, continuously performing read-write test on the solid state disk to be tested;
and if the preset test time is reached, automatically stopping the read-write test of the current solid state disk to be tested, and storing the recorded test log into a specific storage directory.
5. The utility model provides a testing arrangement of solid state hard drives power consumption value which characterized in that, the device includes:
the device comprises a building module, a switching board and a computer device, wherein the building module is used for building a test environment for power consumption test of the solid state disk, connecting an ammeter to the switching board and connecting the solid state disk to be tested to the computer device through the switching board;
the read-write testing module is used for electrifying the computer equipment and running a testing program to perform read-write testing on the solid state disk to be tested after the successful connection is confirmed;
the data recording module is used for reading a numerical value in real time through the ammeter and recording the numerical value into a test log while performing read-write test on the computer equipment;
and the data analysis module is used for stopping the test when the read-write test reaches a preset time, and calculating and analyzing the data recorded in the test log to obtain the average power consumption value of the solid state disk to be tested.
6. The device for testing the power consumption value of the solid state disk according to claim 5, wherein the building module is specifically configured to:
respectively connecting an ammeter to the positive end and the negative end of the adapter plate, and measuring the working voltage of the solid state disk through the precision resistor connected with the adapter plate;
and connecting the solid state disk to be tested to the computer equipment through the adapter plate to prepare for read-write test.
7. The apparatus for testing the power consumption value of a solid state disk according to claim 6, further comprising a test control module, wherein the test control module is configured to:
setting a test time in the computer device;
and the computer equipment records the current test time and judges whether the current test time of the solid state disk reaches the preset test time.
8. The apparatus for testing the power consumption value of a solid state disk according to claim 7, wherein the test control module is further configured to:
if the test time does not reach the preset test time, continuously performing read-write test on the solid state disk to be tested;
and if the preset test time is reached, automatically stopping the read-write test of the current solid state disk to be tested, and storing the recorded test log into a specific storage directory.
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.
CN202011321530.8A 2020-11-23 2020-11-23 Method and device for testing power consumption value of solid state disk, computer equipment and storage medium Pending CN112433898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011321530.8A CN112433898A (en) 2020-11-23 2020-11-23 Method and device for testing power consumption value of solid state disk, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011321530.8A CN112433898A (en) 2020-11-23 2020-11-23 Method and device for testing power consumption value of solid state disk, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112433898A true CN112433898A (en) 2021-03-02

Family

ID=74693643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011321530.8A Pending CN112433898A (en) 2020-11-23 2020-11-23 Method and device for testing power consumption value of solid state disk, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112433898A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377599A (en) * 2021-06-10 2021-09-10 深圳忆联信息系统有限公司 Low-power-consumption hard disk test method and device for Windows system and computer equipment
CN113468006A (en) * 2021-06-30 2021-10-01 深圳忆联信息系统有限公司 Method and device for testing low power consumption time of solid state disk in and out, computer equipment and storage medium
CN113608956A (en) * 2021-06-30 2021-11-05 苏州浪潮智能科技有限公司 Method, system and related device for testing power consumption of hard disk
CN113687990A (en) * 2021-08-24 2021-11-23 深圳忆联信息系统有限公司 Method and device for acquiring hard disk drive command queue and computer equipment
CN113868052A (en) * 2021-09-18 2021-12-31 苏州浪潮智能科技有限公司 IOPS test method, device and storage medium based on PID algorithm
CN116453579A (en) * 2023-06-09 2023-07-18 深圳市金胜电子科技有限公司 Portable solid state disk power consumption testing device with display
CN116577551A (en) * 2023-04-03 2023-08-11 深圳市晶存科技有限公司 SSD power consumption testing method and system and electronic equipment
CN117056138A (en) * 2023-06-30 2023-11-14 珠海妙存科技有限公司 Solid state disk power consumption testing method and system, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102539880A (en) * 2010-12-29 2012-07-04 鸿富锦精密工业(深圳)有限公司 Hard disk current testing system and adapter plate thereof
CN108153623A (en) * 2016-12-05 2018-06-12 工业和信息化部电信研究院 A kind of method and apparatus of testing SA TA interface hard disk Energy Efficiency Ratio
CN110111836A (en) * 2019-05-15 2019-08-09 东莞记忆存储科技有限公司 Standardized test method and system based on solid state hard disk temperature rise model

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102539880A (en) * 2010-12-29 2012-07-04 鸿富锦精密工业(深圳)有限公司 Hard disk current testing system and adapter plate thereof
CN108153623A (en) * 2016-12-05 2018-06-12 工业和信息化部电信研究院 A kind of method and apparatus of testing SA TA interface hard disk Energy Efficiency Ratio
CN110111836A (en) * 2019-05-15 2019-08-09 东莞记忆存储科技有限公司 Standardized test method and system based on solid state hard disk temperature rise model

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377599A (en) * 2021-06-10 2021-09-10 深圳忆联信息系统有限公司 Low-power-consumption hard disk test method and device for Windows system and computer equipment
CN113468006A (en) * 2021-06-30 2021-10-01 深圳忆联信息系统有限公司 Method and device for testing low power consumption time of solid state disk in and out, computer equipment and storage medium
CN113608956A (en) * 2021-06-30 2021-11-05 苏州浪潮智能科技有限公司 Method, system and related device for testing power consumption of hard disk
CN113608956B (en) * 2021-06-30 2023-08-08 苏州浪潮智能科技有限公司 Method, system and related device for testing hard disk power consumption
CN113687990A (en) * 2021-08-24 2021-11-23 深圳忆联信息系统有限公司 Method and device for acquiring hard disk drive command queue and computer equipment
CN113687990B (en) * 2021-08-24 2024-08-09 深圳忆联信息系统有限公司 Method and device for acquiring hard disk drive command queue and computer equipment
CN113868052B (en) * 2021-09-18 2023-07-18 苏州浪潮智能科技有限公司 IOPS (input/output) testing method and device based on PID (proportion integration differentiation) algorithm and storage medium
CN113868052A (en) * 2021-09-18 2021-12-31 苏州浪潮智能科技有限公司 IOPS test method, device and storage medium based on PID algorithm
CN116577551A (en) * 2023-04-03 2023-08-11 深圳市晶存科技有限公司 SSD power consumption testing method and system and electronic equipment
CN116577551B (en) * 2023-04-03 2024-04-02 深圳市晶存科技有限公司 SSD power consumption testing method and system and electronic equipment
CN116453579A (en) * 2023-06-09 2023-07-18 深圳市金胜电子科技有限公司 Portable solid state disk power consumption testing device with display
CN116453579B (en) * 2023-06-09 2023-09-12 深圳市金胜电子科技有限公司 Portable solid state disk power consumption testing device with display
CN117056138A (en) * 2023-06-30 2023-11-14 珠海妙存科技有限公司 Solid state disk power consumption testing method and system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112433898A (en) Method and device for testing power consumption value of solid state disk, computer equipment and storage medium
CN111965545B (en) Lithium battery self-discharge detection method, device and system
CN113111508B (en) Evaluation method, device and server for consistency of battery cells
CN114935721B (en) Lithium ion battery state-of-charge estimation method based on fiber bragg grating sensor
CN113094222B (en) Abnormal power failure test method and device for wear balance of solid state disk
CN109979520A (en) Chip functions automated testing method, device and computer equipment
CN114487846A (en) Method and device for estimating electrochemical impedance spectrum of battery on line
CN115219905A (en) On-line detection method and device for short circuit in battery and storage medium
CN110111836B (en) Standardized test method and system based on solid state disk temperature rise performance
CN115825797A (en) Power supply performance test method and related assembly
CN114966449A (en) Method and system for monitoring health degree of battery
CN111856307B (en) Method and device for estimating battery SoH, storage medium and intelligent device
CN111179670B (en) Method and device for quantifying physical and electrical experiment result, terminal and storage medium
CN116701140A (en) Device, method and system for detecting performance of memory chip and memory medium
JP2021001864A (en) Development support device, development support method and state detection method
CN113835944B (en) Test method and device for rapidly judging link rate of solid state disk and computer equipment
CN113421605A (en) Method and device for testing service life of electric energy meter storage
KR102535952B1 (en) Method and apparatus for diagnosing battery failure based on electrochemical impedance spectroscopy
CN114578229B (en) Power battery state of health determination method, apparatus and readable storage medium
KR102593097B1 (en) Method, apparatus, and system for measuring impedance of a battery under load
CN116882335B (en) Operation time simulation acquisition method and device, electronic equipment and storage medium
CN101964213B (en) Test method on failure analysis of storage cell
CN117192273B (en) Electromagnetic compatibility detection method, system, equipment and storage medium
CN117453468A (en) Hard disk testing method, system, computer equipment and storage medium
KR20230168917A (en) Battery Parameter Estimation Method and Battery Parameter Acquisition Device

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