CN116577551B - SSD power consumption testing method and system and electronic equipment - Google Patents

SSD power consumption testing method and system and electronic equipment Download PDF

Info

Publication number
CN116577551B
CN116577551B CN202310383959.7A CN202310383959A CN116577551B CN 116577551 B CN116577551 B CN 116577551B CN 202310383959 A CN202310383959 A CN 202310383959A CN 116577551 B CN116577551 B CN 116577551B
Authority
CN
China
Prior art keywords
power consumption
ssd
test
value
interface
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.)
Active
Application number
CN202310383959.7A
Other languages
Chinese (zh)
Other versions
CN116577551A (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.)
Shenzhen Jingcun Technology Co ltd
Original Assignee
Shenzhen Jingcun 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 Shenzhen Jingcun Technology Co ltd filed Critical Shenzhen Jingcun Technology Co ltd
Priority to CN202310383959.7A priority Critical patent/CN116577551B/en
Publication of CN116577551A publication Critical patent/CN116577551A/en
Application granted granted Critical
Publication of CN116577551B publication Critical patent/CN116577551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R21/00Arrangements for measuring electric power or power factor
    • G01R21/06Arrangements for measuring electric power or power factor by measuring current and voltage
    • 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)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The embodiment of the application provides an SSD power consumption testing method, an SSD power consumption testing system and electronic equipment, and belongs to the SSD testing field. The method comprises the following steps: responding to SSD static power consumption test operation, and displaying a static power consumption interface on a first display screen, wherein the static power consumption interface is used for displaying a static power consumption test value, and the static power consumption test value is used for representing power consumption of the SSD in an unoperated state; responding to SSD dynamic power consumption test operation, and displaying a dynamic power consumption interface on a first display screen, wherein the dynamic power consumption interface is used for displaying a dynamic power consumption test value, and the dynamic power consumption test value is used for representing power consumption of the SSD in a working state; and responding to the SSD power consumption test completion operation, and displaying a power consumption test result on the second display screen. According to the SSD power consumption testing method and device, the SSD is subjected to power consumption testing through combination of software and hardware, SSD power consumption testing efficiency can be improved, SSD power consumption testing results are visualized, and therefore testers can intuitively know SSD power consumption testing conditions.

Description

SSD power consumption testing method and system and electronic equipment
Technical Field
The application relates to the field of SSD (solid State disk) testing, in particular to an SSD power consumption testing method, an SSD power consumption testing system and electronic equipment.
Background
SSD (Solid State Drive) it is commonly called as solid state disk, and is a hard disk made of solid state electronic memory chip array, and is composed of control unit and memory unit (FLASH chip, DRAM chip). The solid state disk is identical to the common hard disk in the aspects of interface specification, interface definition, interface function and interface using method, and is identical to the common hard disk in the aspects of product appearance and product size. The method is widely applied to the fields of military, vehicle-mounted, industrial control, video monitoring, network terminals, electric power, medical treatment, aviation, navigation equipment and the like.
At present, prior to the use of SSDs in production, power consumption tests are often performed, wherein the power consumption tests are classified into static power consumption tests and dynamic power consumption tests. In the related art, a common universal meter is used for static power consumption test, the power consumption value needs to be calculated manually after the voltage and current values are measured, and after the static power consumption test is completed, SSD and a performance test tool are required to be connected for dynamic power consumption test, so that the power consumption test mode is low in efficiency, complex in operation and not intuitive in power consumption test result.
Disclosure of Invention
The main purpose of the embodiment of the application is to provide an SSD power consumption testing method, an SSD power consumption testing system and an electronic device, which can improve SSD power consumption testing efficiency and enable SSD power consumption testing results to be visualized through combination of software and hardware, so that testers can more intuitively know SSD power consumption testing conditions.
To achieve the above object, a first aspect of an embodiment of the present application provides a method for testing SSD power consumption, the method including: responding to SSD static power consumption test operation, and displaying a static power consumption interface on the first display screen, wherein the static power consumption interface is used for displaying a static power consumption test value, and the static power consumption test value is used for representing power consumption of the SSD in an unoperated state; responding to SSD dynamic power consumption test operation, and displaying a dynamic power consumption interface on the first display screen, wherein the dynamic power consumption interface is used for displaying a dynamic power consumption test value, and the dynamic power consumption test value is used for representing the power consumption of the SSD in a working state; responding to the SSD power consumption test completion operation, and displaying a power consumption test result on the second display screen; the power consumption test result is obtained by the terminal after calculation according to the static power consumption test value and the dynamic power consumption test value, wherein the static power consumption test value and the dynamic power consumption test value are obtained by the terminal after being received from the test board.
In some embodiments, the displaying a static power consumption interface on the first display screen in response to the SSD static power consumption test operation includes: responding to SSD static power consumption test operation, obtaining a current value and a voltage value when the SSD is in an unoperated state, obtaining static power consumption according to the product of the current value and the voltage value, and taking the current value, the voltage value and the static power consumption as static power consumption test values; displaying a static power consumption interface on the first display screen, wherein the static power consumption interface is used for displaying the static power consumption test value; the responding to SSD dynamic power consumption test operation, displaying a dynamic power consumption interface on the first display screen, comprises: responding to SSD dynamic power consumption test operation, obtaining a maximum current value and a maximum voltage value when the SSD is in a working state, obtaining dynamic power consumption according to the product of the maximum current value and the maximum voltage value, and taking the maximum current value, the maximum voltage value and the dynamic power consumption as dynamic power consumption test values; displaying a dynamic power consumption interface on the first display screen, wherein the dynamic power consumption interface is used for displaying the dynamic power consumption test value.
In some embodiments, after the responding to the SSD dynamic power consumption test operation, the method further comprises: displaying a protocol type option interface and a test parameter setting interface on the second display screen; responding to SSD protocol type selection operation, and displaying a target protocol type of the SSD on the protocol type option interface; responding to SSD parameter setting operation, and displaying target test execution parameters of the SSD on the test parameter setting interface; and responding to SSD read-write execution operation, and displaying the read-write execution speed of the SSD on the second display screen, wherein the read-write execution speed is obtained by measuring after continuous read-write or random read-write of the SSD on the test board, and the SSD is continuously read-write or randomly read-write based on the target protocol type and the target test execution parameters.
In some embodiments, the power consumption test result is obtained according to the following steps, including: obtaining a target power consumption standard range value corresponding to the SSD; judging whether the static power consumption test value is in the numerical range represented by the target power consumption standard range value to obtain a first comparison result, and judging whether the dynamic power consumption test value is in the numerical range represented by the target power consumption standard range value to obtain a second comparison result; performing weighted calculation according to the static power consumption test value and the dynamic power consumption test value to obtain a total power consumption test value, and judging whether the total power consumption test value is in a numerical range represented by the target power consumption standard range value or not to obtain a third comparison result; and obtaining the power consumption test result according to the first comparison result and the second comparison result, or obtaining the power consumption test result according to the third comparison result.
In some embodiments, the method further comprises: displaying a power consumption standard range template selection interface on the second screen, and responding to the power consumption standard range template selection operation, displaying the target power consumption standard range value in the power consumption standard range template selection interface; or displaying a power consumption standard range input interface on the second screen, and displaying the target power consumption standard range value in the power consumption standard range input interface in response to a power consumption standard range input operation.
In some embodiments, after the displaying the power consumption test result on the second display screen, the method further comprises: if the display power consumption test result represents poor power consumption test of the SSD, displaying a power consumption test alarm interface on the second screen, wherein the power consumption test alarm interface is used for displaying at least one of alarm information and fault detail information; and if the power consumption test result is displayed to indicate that the power consumption test of the SSD is normal, displaying a test prompt interface on the second screen, wherein the test prompt interface is used for displaying prompt information, and the prompt information is used for prompting the next test.
In some embodiments, the SSD power consumption test system is provided with a test board and a terminal, wherein the test board is provided with a first display screen; the method comprises the following steps: connecting an SSD to be tested with a corresponding interface on the test board, and performing power-on operation on the test board so as to power on the SSD on the test board; detecting a first electric signal of the SSD after being electrified, and sending the first electric signal to the first display screen to display a static power consumption value interface on the first display screen, wherein the static power consumption value interface is used for displaying a static power consumption test value, and the static power consumption test value is used for representing the power consumption of the SSD in an unoperated state; the test board is in communication connection with the terminal, and a test instruction is sent to the test board through the terminal, so that the SSD works under the test instruction; detecting a second electric signal of the SSD after working, and sending the second electric signal to the first display screen to display a dynamic power consumption value interface on the first display screen, wherein the dynamic power consumption value interface is used for displaying a dynamic power consumption test value, and the dynamic power consumption test value is used for representing the power consumption of the SSD in a working state; and calculating to obtain a power consumption test result of the SSD according to the static power consumption test value and the dynamic power consumption test value.
In some embodiments, the test board includes a plurality of slots, each slot is used for placing the SSD of a corresponding interface and correspondingly performing power consumption tests of different modes; and connecting the SSD to be tested with a corresponding interface on the test board, and performing power-on operation on the test board so as to power on the SSD on the test board, wherein the power-on operation comprises the following steps: if the interface of the SSD is a PCIe interface, placing the SSD into a PCIe slot so that the SSD is connected with the interface in the PCIe slot, and enabling the test board to execute a PCIe test mode by powering on the test board; if the interface of the SSD is a SATA interface, the SSD is placed in a SATA slot, so that the SSD is connected with the interface in the SATA slot, and the test board executes a SATA test mode by powering on the test board.
To achieve the above object, a second aspect of the embodiments of the present application proposes an SSD power consumption test system, the system including: the static power consumption testing operation module is used for responding to SSD static power consumption testing operation, and displaying a static power consumption interface on the first display screen, wherein the static power consumption interface is used for displaying a static power consumption testing value, and the static power consumption testing value is used for representing the power consumption of the SSD in an unoperated state; the dynamic power consumption testing operation module is used for responding to SSD dynamic power consumption testing operation, and displaying a dynamic power consumption interface on the first display screen, wherein the dynamic power consumption interface is used for displaying a dynamic power consumption testing value, and the dynamic power consumption testing value is used for representing the power consumption of the SSD in a working state; the power consumption result module is used for responding to the SSD power consumption test completion operation and displaying a power consumption test result on the second display screen; the power consumption test result is obtained by the terminal after calculation according to the static power consumption test value and the dynamic power consumption test value, wherein the static power consumption test value and the dynamic power consumption test value are obtained by the terminal after being received from the test board.
To achieve the above object, a third aspect of the embodiments of the present application provides an electronic device, where the electronic device includes a memory and a processor, where the memory stores a computer program, and the processor implements the SSD power consumption test method described in the first aspect of the embodiments or the SSD power consumption test method described in the second aspect of the embodiments when executing the computer program.
To achieve the above object, a fourth aspect of the embodiments of the present application proposes a storage medium, which is a computer-readable storage medium, storing a computer program, where the computer program, when executed by a processor, implements the SSD power consumption test method described in the first aspect embodiment or the SSD power consumption test method described in the second aspect embodiment.
According to the SSD power consumption testing method, the SSD power consumption testing system and the electronic equipment, a first display screen is arranged on a testing board, a second display screen is arranged on a terminal, the terminal is in communication connection with the testing board, the SSD is connected with the testing board, static power consumption testing is conducted on the SSD, a static power consumption testing value is displayed on the first display screen, and the static power consumption testing value represents power consumption of the SSD in an unoperated state; after the static power consumption test of the SSD is completed, the SSD is not required to be connected with the test board, the SSD is continuously subjected to dynamic power consumption test, a dynamic power consumption test value is displayed on the second display screen, and the dynamic power consumption test value characterizes the power consumption of the SSD in a working state; and after the static power consumption test and the dynamic power consumption test of the SSD are completed, displaying a power consumption test result on a second display screen, wherein the power consumption test result is obtained by the terminal after calculation according to the static power consumption test value and the dynamic power consumption test value, and the static power consumption test value and the dynamic power consumption test value are obtained by the terminal after being received from the test board. According to the SSD power consumption testing method and device, the SSD is subjected to power consumption testing through combination of software and hardware, SSD power consumption testing efficiency can be improved, SSD power consumption testing results are visualized, and therefore testers can intuitively know SSD power consumption testing conditions.
Drawings
Fig. 1 is a frame diagram of an SSD power consumption based test system provided in an embodiment of the application;
FIG. 2 is an alternative flow chart of an SSD power consumption testing method provided by embodiments of the present application;
FIG. 3 is a schematic front view of a test plate provided in an embodiment of the present application;
FIG. 4 is a flow chart of one implementation of step S101 in FIG. 2;
FIG. 5 is a flow chart of one implementation of step S102 in FIG. 2;
FIG. 6 is a flowchart of a dynamic power consumption test operation of the SSD power consumption test method provided by the embodiments of the present application;
FIG. 7 is a schematic diagram of a CDM operation interface provided by an embodiment of the present application;
FIG. 8 is a flow chart of one implementation of step S103 in FIG. 2;
FIG. 9 is a power consumption standard range template selection flowchart of the SSD power consumption test method provided by the embodiment of the present application;
FIG. 10 is a flowchart of a power consumption test result of the SSD power consumption test method according to the embodiment of the present application;
FIG. 11 is another alternative flow chart of an SSD power consumption testing method provided by embodiments of the present application;
FIG. 12 is a schematic diagram of a test board module provided in an embodiment of the present application;
FIG. 13 is a flow chart of one implementation of step S701 in FIG. 11;
fig. 14 is a schematic diagram of a functional module of SSD power consumption test provided in an embodiment of the application;
Fig. 15 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It should be noted that although functional block division is performed in a device diagram and a logic sequence is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the block division in the device, or in the flowchart. The terms first, second and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the present application.
Solid State Disk (Solid State Disk or Solid State Drive, SSD for short), also called Solid State drive, is a hard Disk made of Solid State electronic memory chip array.
An excellent SSD can improve software smoothness, program loading speed, file copying speed, and the like, so that related tests need to be performed on the SSD before the SSD is used or mass-produced, and power consumption test is one of the indispensable tests.
The power consumption refers to the amount of energy consumed in a unit time, in W. It should be noted that the device is in a standby state when not in operation, and also consumes a certain amount of energy (unless the power is turned off, no energy is consumed). Thus, there are typically two power consumption of the device, one is standby power consumption and the other is working power consumption.
In the related art, a universal meter is commonly used for performing a static power consumption test, when the universal meter is used for testing a static power consumption value, for example, when a current value of an SSD is measured, the universal meter is adjusted to a current gear and the current value is measured, when a voltage value of the SSD is measured, the universal meter is adjusted to the voltage gear and the voltage value is measured, and after the voltage value and the current value are measured, the static power consumption value is manually calculated, after the static power consumption test is completed, the SSD is required to be connected with a performance test tool for performing a dynamic power consumption test, and the power consumption test mode is low in efficiency and complex in operation.
Based on the above, the embodiments of the present application provide a method, a system, and an electronic device for testing SSD power consumption, which can improve the efficiency of SSD power consumption testing, and simultaneously visualize the result of SSD power consumption testing, so that a tester can more intuitively understand the status of SSD power consumption testing.
The method, the system and the electronic device for testing SSD power consumption provided by the embodiment of the application are specifically described through the following embodiment, and a system frame of the SSD power consumption testing system in the embodiment of the application is described first.
As shown in fig. 1, fig. 1 is a frame diagram of an SSD power consumption test system according to an embodiment of the application, where the SSD power consumption test system includes a terminal 12 and a test end 11. The terminal 12 may receive various input information from a tester, and display a power consumption test result of the test terminal 11 on the terminal 12.
The SSD power consumption test method in the embodiment of the application may be illustrated by the following embodiment.
It should be noted that, in each specific embodiment of the present application, when related processing needs to be performed according to data related to the identity or the characteristics of the tester, such as the tester information, the tester behavior data, the tester history data, the tester location information, and the like, the permission or the consent of the tester is obtained first, for example, when related data stored by the tester is obtained, the permission or the consent of the tester is obtained first. Moreover, the collection, use, processing, etc. of such data would comply with relevant laws and regulations. In addition, when the embodiment of the application needs to acquire the sensitive personal information of the tester, the independent permission or independent consent of the tester is acquired through a popup window or a jump to a confirmation page or the like, and after the independent permission or independent consent of the tester is explicitly acquired, the necessary related data of the tester for enabling the embodiment of the application to normally operate is acquired.
As shown in fig. 2, fig. 2 is an optional flowchart of an SSD power consumption test method provided in an embodiment of the application, and the method in fig. 2 may include, but is not limited to, steps S101 to S103.
Step S101, a static power consumption interface is displayed on a first display screen in response to SSD static power consumption test operation, wherein the static power consumption interface is used for displaying a static power consumption test value, and the static power consumption test value is used for representing power consumption of the SSD in an unoperated state;
step S102, responding to SSD dynamic power consumption test operation, and displaying a dynamic power consumption interface on a first display screen, wherein the dynamic power consumption interface is used for displaying a dynamic power consumption test value, and the dynamic power consumption test value is used for representing power consumption when the SSD is in a working state;
step S103, responding to the SSD power consumption test completion operation, and displaying a power consumption test result on a second display screen; the power consumption test result is obtained by the terminal after calculation according to the static power consumption test value and the dynamic power consumption test value, wherein the static power consumption test value and the dynamic power consumption test value are obtained by the terminal after being received from the test board.
In some embodiments, an SSD power consumption test system is provided with a test board on which a first display screen is provided and a terminal provided with a second display screen, the terminal being in communication with the test board. The test board is a circuit board capable of testing SSD, the test board comprises a plurality of slots, an interface formed by matching a plurality of pins is arranged in each slot, and test software capable of testing SSD is arranged on a terminal in communication connection with the test board. In the embodiment of the application, the static power consumption test and the dynamic power consumption test of the SSD can be realized only by connecting the SSD with the test board, the power consumption test efficiency of the SSD is improved through the combination of software and hardware, and meanwhile, the SSD power consumption test result can be displayed in the first display screen and/or the second display screen, so that the SSD power consumption test result is visualized, and a tester can intuitively know the SSD power consumption test condition.
In some embodiments, as shown in fig. 3, fig. 3 is a schematic front view of a test board provided in the embodiment of the present application, where a first display screen 111 is connected to the left side of the test board 110, and slots for SSD power consumption testing are provided on the test board 110, including a PCIe slot 112 and a SATA slot 113. The first display screen 111 may be a LCD (Liquid Crystal Display) display screen, and the external first display screen 111 is not limited to the size of the test board 110, but has more display space.
In some embodiments, the first display screen 111 may be a LCD (Liquid Crystal Display) display screen embedded in the test board 110, and the embedded LCD display screen integrates the test board 110 and the display screen, so as to improve the space utilization efficiency.
In some embodiments, the first display screen may also be a LED (Light Emitting Diode) display screen with better display effect or other types of display screens, and meanwhile, the display screen may have various installation modes.
In some embodiments, the LCD display screen may display a static power consumption interface, and when performing a static power consumption test, the test board 110 is powered on, and the powered on test board 110 may perform a power consumption test on the SSD to obtain a static power consumption test value and display the static power consumption test value on the static power consumption interface, where the static power consumption test value includes a current value, a voltage value, and a static power consumption. Through directly showing static power consumption test value on LCD display screen, avoided the error that leads to the fact because frequent gear shifting and manual reading in traditional universal meter tests, simultaneously, because can once only show required static power consumption test value at LCD display screen, also improved the test efficiency of SSD.
In some embodiments, an energizing switch may be installed between the test board 110 and the first display screen 111, and the presence or absence of the energizing current may be controlled by a physical switch; alternatively, a virtual switch is provided on the first display screen 111, and the presence or absence of the energizing current is controlled by clicking the virtual switch on the first display screen 111.
In some embodiments, the LCD display screen is capable of displaying a dynamic power consumption interface, when performing a dynamic power consumption test, performing an energizing operation on the test board 110, and opening a terminal connected to the test board 110, where the terminal is an input/output device connected to the test board 110, and the terminal includes test software related to the dynamic power consumption test, and illustratively, the test software is Crystal Display Mark (CDM), and sends a test instruction for the SSD through the CDM, so that the SSD performs a read/write operation according to the test instruction, simulates an operating state of the SSD, measures a dynamic power consumption test value at this time, where the dynamic power consumption test value includes a maximum current value, a maximum voltage value, and a maximum dynamic power consumption, and displays the dynamic power consumption test value on the dynamic power consumption interface. By directly displaying the dynamic power consumption test value on the LCD display screen, the complex scene that dynamic power consumption needs to be measured by connecting a wire with a terminal after static power consumption measurement is completed by using a universal meter in the traditional test method is avoided, and the test efficiency of SSD is improved.
It should be noted that, the test software on the terminal may be other test software capable of testing the dynamic power consumption of the SSD, and the embodiment of the application is only described with a preferred embodiment, and is not limited in particular.
In some embodiments, the first display screen 111 is in a real-time display state, and after the static power consumption test is completed, the static power consumption test value is displayed in the first display area; and after the dynamic power consumption test value is completed, displaying the dynamic power consumption test value in a second display area.
In some embodiments, the first display screen 111 may be divided into two display areas, and after the static power consumption test is completed, the static power consumption test value is displayed in the first display area, and then the dynamic power consumption test is performed, where the static power consumption test value is still displayed in the first display area; when the dynamic power consumption test value is completed, the dynamic power consumption test value is displayed in the second display area, that is, after one static and dynamic power consumption test is completed, the obtained static power consumption test value and the dynamic power consumption test value can be displayed on a display screen at the same time. Thus, the tester can intuitively observe and compare the measured static power consumption test value with the measured dynamic power consumption test value.
In some embodiments, after the static power consumption test and the dynamic power consumption test are completed, the power consumption test result can be displayed on the second display screen, where the power consumption test result is calculated by the static power consumption test value and the dynamic power consumption test value, and in general, the calculation mode is weighted calculation, and in addition, the second display screen may be a terminal, that is, the power consumption test result is displayed on the terminal, or the second display screen is another display screen connected with the terminal, and is suitable for a scenario where test execution and test observation are separated.
As shown in fig. 4, fig. 4 is a flowchart of one implementation of step S101 in fig. 2, and in some embodiments, step S101 may further include steps S201 to S202:
step S201, responding to SSD static power consumption test operation, obtaining a current value and a voltage value when SSD is in an unoperated state, obtaining static power consumption according to the product of the current value and the voltage value, and taking the current value, the voltage value and the static power consumption as static power consumption test values;
step S202, displaying a static power consumption interface on a first display screen, wherein the static power consumption interface is used for displaying a static power consumption test value;
in some embodiments, the SSD is placed in the test board 110 and powered up, the current value and the voltage value of the SSD in the non-operating state at this time are obtained, and the current value at this time is, for example, 0.362A and the voltage value is 3.262V, and the static power consumption is the product of the current value and the voltage value, that is, 1.18W, and the current value, the voltage value and the static power consumption are taken as the static power consumption test values. Compared with the traditional test mode of measuring current by firstly adjusting the current gear and then adjusting the current to the voltage gear by using the universal meter, the SSD test method and device can simultaneously measure the current value and the voltage value of the SSD and calculate the static power consumption, namely, the static power consumption test value required by the test is obtained simultaneously, the test operation steps are simplified, and the test efficiency of the SSD is improved.
In some embodiments, the LCD display screen is capable of displaying a static power consumption interface, where the static power consumption interface displays a static power consumption test value obtained by testing, including a current value, a voltage value, and a static power consumption. The traditional mode of utilizing the universal meter to carry out the reading is visual degree poor, and needs to carry out artifical reading under each adjustment gear, causes the accumulation of measuring error and reading error easily, and this application can be with the current value, voltage value and the static consumption synchronous display who obtains of test in LCD display screen, has reduced test error, makes SSD test result visual simultaneously, has further improved SSD's efficiency of software testing.
As shown in fig. 5, fig. 5 is a flowchart of one implementation of step S102 in fig. 2, and in some embodiments, step S102 may further include steps S203 to S204:
step S203, responding to SSD dynamic power consumption test operation, obtaining a maximum current value and a maximum voltage value when the SSD is in a working state, obtaining dynamic power consumption according to the product of the maximum current value and the maximum voltage value, and taking the maximum current value, the maximum voltage value and the dynamic power consumption as dynamic power consumption test values;
step S204, displaying a dynamic power consumption interface on the first display screen, wherein the dynamic power consumption interface is used for displaying a dynamic power consumption test value.
In some embodiments, after the static power consumption test of the SSD is completed, the connection of the SSD is kept unchanged, and CDM software is used to send a test instruction to the SSD in the test board 110, where the test instruction can enable the SSD to perform a read-write operation, so that the SSD is in a working state, and a maximum current value and a maximum voltage value of the SSD in the working state at this time are obtained. Illustratively, when the maximum current value is 0.028A and the maximum voltage value is 3.353V, the dynamic power consumption is the product of the maximum current value and the maximum voltage value, that is, 0.097W, and the maximum current value, the maximum voltage value and the dynamic power consumption are used as the dynamic power consumption test values. Compared with the traditional mode that after the SSD is subjected to static power consumption test by using the universal meter, the SSD is connected with the terminal and is subjected to dynamic power consumption test, the SSD can be subjected to dynamic power consumption test by the terminal connected with the test board 110 after the SSD is subjected to static power consumption test by combining software and hardware, and the SSD testing efficiency is greatly improved.
In some embodiments, the LCD display screen is capable of displaying a dynamic power consumption interface, wherein the dynamic power consumption interface displays a tested dynamic power consumption test value, including a maximum current value, a maximum voltage value, and a dynamic power consumption. The method and the device can synchronously display the maximum current value, the maximum voltage value and the dynamic power consumption obtained by testing in the LCD display screen, reduce testing errors, visualize SSD testing results and further improve SSD testing efficiency.
Fig. 6 is a flowchart of a dynamic power consumption test operation of the SSD power consumption test method provided in the embodiment of the application, and the method in fig. 6 may include, but is not limited to, steps S301 to S304.
Step S301, displaying a protocol type option interface and a test parameter setting interface on a second display screen;
step S302, responding to SSD protocol type selection operation, and displaying a target protocol type of the SSD on a protocol type option interface;
step S303, responding to SSD parameter setting operation, and displaying target test execution parameters of the SSD on a test parameter setting interface;
step S304, responding to the SSD read-write execution operation, and displaying the read-write execution speed of the SSD on a second display screen, wherein the read-write execution speed is obtained by measuring the SSD on the test board after continuous read-write or random read-write, and the SSD is continuously read-write or random read-write based on the target protocol type and the target test execution parameters.
In some embodiments, test board 110 is connected to a terminal, which may be a computer, cell phone, tablet, or the like, that contains test CDM software for dynamic power consumption testing. For example, after the test board 110 is powered on, parameter setting is performed by CDM software on a computer, and after the parameter setting is completed, the test item is operated, the CDM software performs read-write operation on the SSD to simulate the state of the SSD in operation, performs dynamic power consumption test on the SSD at the moment, and records the maximum current value, the maximum voltage value and the dynamic power consumption of the SSD in the operation state, so as to obtain the dynamic power consumption test value of the SSD.
In some embodiments, the second display screen may be capable of displaying a protocol type option interface and a test parameter setting interface related to dynamic power consumption test parameter setting, where the protocol type option interface may be capable of displaying an SSD related protocol type option for confirming a destination protocol type of the SSD, and the test parameter setting interface may be capable of displaying an SSD related test parameter setting item for confirming a destination test execution parameter of the SSD.
As shown in fig. 7, fig. 7 is a schematic diagram of a CDM operation interface provided in an embodiment of the present application, in which a test parameter setting interface is displayed, and target test execution parameters displayed in the test parameter setting interface include a test execution number, an operation space size, and an operation position, where the test execution number specifically indicates a number of times of execution when the SSD is tested for reading and writing; the size of the running space represents the size of test data adopted in a single read-write test; the operation position represents the position of the disk to be tested selected in single test, wherein the selection of the target test execution parameters can be performed by clicking a drop-down box, or the target test execution parameters can be manually input; in addition, by clicking the set key, a protocol type option interface can be opened, the target protocol type displayed in the protocol type option interface includes an NVMe (nonvolatile flash memory) option, which indicates a standard interface protocol formulated by PCIe, that is, if the tested SSD is an NVMe SSD, the NVMe option is selected in the protocol type option interface, and if not, the protocol type is defaulted to be a non-NVMe SSD.
In some embodiments, after the tester completes the selection of the target protocol type and the target test execution parameters, the tester selects the read-write type to be executed, as shown in fig. 7, all represents executing All test tasks, SEQ1m|q8t1 represents sequential read-write, bit depth 1024k, test speed of 1 thread 8 queue; SEQ128K|Q32T1 represents sequential read-write, bit depth 128K,1 thread 32 queue test speed; RND4k|q32t16 represents random read-write, bit depth 1024 x 4K, test speed of 16 threads 32 queues; RND4k|q1t1 represents random read-write, bit depth 1024×4k, test speed of 1 thread 1 queue. When the read-write type is selected, the read-write operation can be performed according to the selected read-write type, as shown in fig. 7, in which the sequential read-write of SEQ1m|q8t1 is performed, the display read speed is 2542.15MB/s, the write speed is 1820.43MB/s, the dynamic power consumption test value in the sequential read-write state is measured, and the dynamic power consumption test value is displayed in the first display screen 111.
As shown in fig. 8, fig. 8 is a flowchart of one implementation of step S103 in fig. 2, and in some embodiments, step S103 may further include steps S401 to S404:
step S401, obtaining a target power consumption standard range value corresponding to SSD;
Step S402, judging whether the static power consumption test value is in the numerical range represented by the target power consumption standard range value to obtain a first comparison result, and judging whether the dynamic power consumption test value is in the numerical range represented by the target power consumption standard range value to obtain a second comparison result;
step S403, carrying out weighted calculation according to the static power consumption test value and the dynamic power consumption test value to obtain a total power consumption test value, and judging whether the total power consumption test value is in a numerical range represented by a target power consumption standard range value to obtain a third comparison result;
and step S404, obtaining a power consumption test result according to the first comparison result and the second comparison result, or obtaining a power consumption test result according to the third comparison result.
In some embodiments, a target power consumption standard range value is set at the terminal, the static power consumption test value and the dynamic power consumption test value obtained by the test are uploaded to the terminal, and the static power consumption test value and the dynamic power consumption test value are compared with the set target power consumption standard range value to obtain a power consumption test result. The power consumption test value obtained through the terminal automatic comparison test and the set target power consumption standard range value are the power consumption test result, and the power consumption test efficiency of the SSD is improved.
In some embodiments, corresponding target power consumption standard range values are set for the SSD according to SSD power consumption specification requirements, the target power consumption standard range values including a static power consumption standard range value and a dynamic power consumption standard range value. The PCLE static power consumption standard range value of the SSD with the PCLE interface is set to be 2-6W, and the PCLE dynamic power consumption standard range value is set to be 5-15W; the standard range value of SATA static power consumption of SSD with the interface being SATA interface is set to be 0.25-2W, and the standard range value of SATA dynamic power consumption is set to be 4-8W.
In some embodiments, comparing a static power consumption test value obtained by SSD test with a PCLE interface with a PCLE static power consumption standard range value to obtain a first comparison result, and if the obtained static power consumption test value is 3W, which indicates that the value falls within the PCLE static power consumption standard range, the first comparison result is qualified, and if the obtained dynamic power consumption test value is 8W, which indicates that the value does not fall within the PCLE static power consumption standard range, the first comparison result is unqualified.
In some embodiments, comparing the dynamic power consumption test value obtained by the SSD test with the interface being the PCLe interface with the PCLe dynamic power consumption standard range value to obtain a second comparison result, and if the obtained dynamic power consumption test value is 6W, which indicates that the value falls within the PCLe dynamic power consumption standard range, the second comparison result is qualified, and if the obtained dynamic power consumption test value is 16W, which indicates that the value does not fall within the PCLe dynamic power consumption standard range, the second comparison result is unqualified.
In some embodiments, the target power consumption standard range value may further include a total power consumption standard range value, where the total power consumption standard range is used to characterize whether the total power consumption value is within the target range, where the total power consumption value may be obtained by weighting calculation according to the static power consumption test value and the dynamic power consumption test value. For example, the total power consumption standard range value is 5-12W, the power consumption weighting calculation is performed according to the static power consumption test value accounting for 40% and the dynamic power consumption test value accounting for 60%, and when the SSD static power consumption test value of the PCLE interface is 3W and the dynamic power consumption test value is 8W, the total power consumption value is 6W.
In some embodiments, the total power consumption value obtained by SSD testing with the PCLe interface is compared with the total power consumption standard range value to obtain a third comparison result, and if the obtained total power consumption value is 6W, which indicates that the value falls within the total power consumption standard range value, the third comparison result is qualified, and if the obtained total power consumption value is 15W, which indicates that the value does not fall within the total power consumption standard range value, the third comparison result is unqualified.
In some embodiments, a power consumption test result may be obtained according to the first comparison result and the second comparison result, and when both the first comparison result and the second comparison result are qualified, the power consumption test result is qualified; when one of the first comparison result or the second comparison result is unqualified, the power consumption test result is unqualified; or, the power consumption test result can be obtained according to the third comparison result, and when the third comparison result is qualified, the power consumption test result is qualified. And a tester can judge the power consumption condition of the SSD according to the power consumption test result.
In some embodiments, the method for obtaining the first comparison result, the second comparison result, and the third comparison result by the SSD with the SATA interface is substantially the same as the specific embodiment of the SSD with the PCLe interface, which is not described herein.
Fig. 9 is a flowchart of selecting a power consumption standard range template of the SSD power consumption test method according to the embodiment of the invention, and the method in fig. 9 may include, but is not limited to, steps S501 to S502.
Step S501, displaying a power consumption standard range template selection interface on a second screen, and responding to the power consumption standard range template selection operation, displaying a target power consumption standard range value in the power consumption standard range template selection interface;
in step S502, or, displaying a power consumption standard range input interface on the second screen, in response to the power consumption standard range input operation, displaying a target power consumption standard range value in the power consumption standard range input interface.
In some embodiments, a power consumption standard range template selection interface is displayed on the terminal, the interface is used for displaying a power consumption standard range template for selection, the power consumption standard range template is used for representing a range of a power consumption test result, the power consumption standard range template can save a commonly used target power consumption standard range value as a commonly used value, when the same type of SSD power consumption test is performed, a static power consumption standard range value, a dynamic power consumption standard range value and a total power consumption standard range value can be quickly set by selecting the power consumption standard range template, frequent input of the standard range value is avoided, and the SSD test efficiency is improved.
In some embodiments, a target power consumption standard range value may be input in the power consumption standard range input interface, and when the SSD type to be tested is numerous and there is no unified target power consumption standard range, the target power consumption standard range may be determined by inputting the target power consumption standard range value.
Fig. 10 is a flowchart of a power consumption test result of the SSD power consumption test method provided in the embodiment of the application, and the method in fig. 10 may include, but is not limited to, steps S601 to S602.
Step S601, if the power consumption test result is displayed to represent poor power consumption test of the SSD, displaying a power consumption test alarm interface on a second screen, wherein the power consumption test alarm interface is used for displaying at least one of alarm information and fault detail information;
step S602, if the power consumption test result is displayed to indicate that the power consumption test of the SSD is normal, displaying a test prompt interface on the second screen, wherein the test prompt interface is used for displaying prompt information, and the prompt information is used for prompting the next test.
In some embodiments, after the SSD power consumption test is completed, if the power consumption test result of the SSD is bad, an alarm interface may be displayed on the second screen, for example, an alarm interface is popped up, where the alarm interface includes alarm information that the SSD power consumption test is bad, and is used to alert a tester that the SSD is a defective product, and repair processing is required.
In some embodiments, after the SSD power consumption test is completed, if the power consumption test result of the SSD is normal, a prompt interface may be displayed on the second screen, and illustratively, a prompt interface pops up, where the prompt interface is used to prompt a tester to confirm whether to save the current SSD power consumption test result, and the saved power consumption test result can enter a historical power consumption test database, so that the tester is convenient to compare historical power consumption test data.
Fig. 11 is another optional flowchart of an SSD power consumption test method provided in an embodiment of the application, and the method in fig. 11 may include, but is not limited to including, steps S701 to S705.
Step S701, connecting the SSD to be tested with a corresponding interface on the test board, and performing power-on operation on the test board so as to power on the SSD on the test board;
step S702, detecting a first electric signal of the SSD after power-on, and sending the first electric signal to a first display screen to display a static power consumption value interface on the first display screen, wherein the static power consumption value interface is used for displaying a static power consumption test value, and the static power consumption test value is used for representing power consumption of the SSD in an unoperated state;
step S703, the test board is connected with the terminal in a communication way, and a test instruction is sent to the test board through the terminal so that the SSD works under the test instruction;
Step S704, detecting a second electric signal of the SSD after working, and sending the second electric signal to the first display screen to display a dynamic power consumption value interface on the first display screen, wherein the dynamic power consumption value interface is used for displaying a dynamic power consumption test value, and the dynamic power consumption test value is used for representing the power consumption of the SSD in a working state;
step S705, calculating to obtain the power consumption test result of the SSD according to the static power consumption test value and the dynamic power consumption test value.
In some embodiments, as shown in fig. 12, fig. 12 is a schematic diagram of a test board module provided in the embodiments of the present application, where an SSD power consumption test system is provided with a test board 110 and a terminal, and the test board 110 is provided with a first display screen 111; the test board 110 may be a PCB board, where the test board 110 includes a display interface, a control module, a test interface, and a terminal interface, and the test interface includes a PCIe interface and a SATA interface. The terminal interface is used for connecting with a terminal, the test board 110 is connected with the first display screen 111 through a display interface arranged on the terminal interface, a plurality of test interfaces corresponding to test modes are arranged on the test board 110, the test interfaces are used for connecting with an SSD, current contacts for measuring current values and voltage contacts for measuring voltage values are arranged in the test interfaces, when the SSD is connected with the test interfaces, the current contacts and the voltage contacts on the test board 110 can acquire the current values and the voltage values of the SSD, the control module can calculate the power consumption values of the SSD according to the current values and the voltage values, then the current values, the voltage values and the power consumption values are transmitted to the display interface through the control module, and the power consumption test values are transmitted to the first display screen 111 through the display interface.
In some embodiments, an SSD to be tested is connected to a corresponding test interface on the test board 110, and the test board 110 is powered on, and the powered on test board 110 performs a first electrical signal detection operation on the SSD, where the first electrical signal refers to a static power consumption current value signal and a static power consumption voltage value signal of the detected SSD, the first electrical signal is transmitted to the control module, the control module can obtain a static power consumption value signal according to the first electrical signal, the static power consumption value signal is added to the first electrical signal and is transmitted to the display interface, and the first display screen 111 connected to the display interface can display the static power consumption test value in the first display screen 111 through the received first electrical signal.
In some embodiments, a terminal connected to the test board 110 through a terminal interface can send a test instruction to the test board 110, where the test instruction refers to a protocol type instruction, a test parameter instruction, a read-write type instruction, and the like that control the SSD to perform the dynamic power consumption test.
In some embodiments, after the detection of the first electrical signal of the SSD is completed, the connection between the SSD to be detected and the test board 110 is kept unchanged, the SSD receives the test instruction sent by the terminal and enters a working state, the test board 110 after powering up performs a second electrical signal detection operation on the SSD, where the second electrical signal refers to a dynamic power consumption current value signal and a dynamic power consumption voltage value signal of the detected SSD, the second electrical signal is transmitted to the control module, the control module can obtain the dynamic power consumption value signal according to the second electrical signal, the dynamic power consumption value signal is added to the second electrical signal and is transmitted to the display interface, and the first display screen 111 connected to the display interface can display the dynamic power consumption test value in the first display screen 111 through the received second electrical signal.
In some embodiments, since the terminal is provided with the power consumption standard range of the SSD, the terminal can calculate the power consumption test result of the SSD according to the obtained static power consumption test value and the dynamic power consumption test value, and display the power consumption test result on the second display screen.
It can be understood that the SSD power consumption test system executes the SSD power consumption test method in a software and hardware combined mode, so that the SSD to be detected can obtain a static power consumption value and a dynamic power consumption value only by being connected with the test board for the first time, the static power consumption test value and the dynamic power consumption test value can be displayed on the first display screen, the power consumption test result can be displayed on the second display screen, complicated manual connection test is avoided, SSD power consumption test efficiency is improved, and meanwhile the static power consumption test value, the dynamic power consumption test value and the power consumption test result obtained through the test can be visually displayed, so that a tester can know the SSD power consumption test result more clearly.
As shown in fig. 13, fig. 13 is a flowchart of one implementation of step S701 in fig. 11, and in some embodiments, step S701 may further include steps S801 to S802:
step S801, if the interface of the SSD is a PCIe interface, the SSD is placed in a PCIe slot, so that the SSD is connected with the interface in the PCIe slot, and the test board executes a PCIe test mode by powering on the test board;
Step S802, if the interface of the SSD is a SATA interface, the SSD is placed in the SATA slot, so that the SSD is connected with the interface in the SATA slot, and the test board is powered on to execute the SATA test mode.
In some embodiments, the test board 110 includes a plurality of slots, each slot is configured to put into an SSD of a corresponding interface, and correspondingly perform different modes of power consumption tests.
In some embodiments, as shown in fig. 12, the test interface on the test board 110 includes a PCIe interface, the SSD to be detected is placed in the PCIe slot 112, the SSD is connected to the PCIe interface in the PCIe slot 112, and when the test board 110 is powered on, the test board 110 can execute a PCIe test mode.
In some embodiments, as shown in fig. 12, the test interface on the test board 110 includes a SATA interface, an SSD to be tested is placed in the SATA slot 113, the SSD is connected to the SATA interface in the SATA slot 113, and when the test board 110 is powered on, the test board 110 can execute SATA test mode.
It should be noted that other slots, such as an mSATA slot, an m.2 slot, or other slots, may be further disposed on the test board 110, and the slots enable the test board 110 after power-up to execute corresponding test modes such as mSATA and m.2.
Referring to fig. 14, fig. 14 is a schematic diagram of a functional module for SSD power consumption test provided in an embodiment of the present application, and the embodiment of the present application further provides an SSD power consumption test system, which may implement the above SSD power consumption test method, where the SSD power consumption test system includes:
the static power consumption test operation module 901 is configured to respond to an SSD static power consumption test operation, and display a static power consumption interface on the first display screen, where the static power consumption interface is configured to display a static power consumption test value, and the static power consumption test value is configured to characterize power consumption of the SSD in an inactive state;
the dynamic power consumption test operation module 902 is configured to respond to an SSD dynamic power consumption test operation, and display a dynamic power consumption interface on the first display screen, where the dynamic power consumption interface is configured to display a dynamic power consumption test value, and the dynamic power consumption test value is configured to characterize power consumption of the SSD in a working state;
the power consumption result module 903 is configured to display a power consumption test result on the second display screen in response to the SSD power consumption test completion operation; the power consumption test result is obtained by the terminal after calculation according to the static power consumption test value and the dynamic power consumption test value, wherein the static power consumption test value and the dynamic power consumption test value are obtained by the terminal after being received from the test board.
In some embodiments, an SSD power consumption test system is provided with a test board on which a first display screen is provided and a terminal provided with a second display screen, the terminal being in communication with the test board. The test board is a circuit board capable of testing SSD, the test board comprises a plurality of slots, an interface formed by matching a plurality of pins is arranged in each slot, and test software capable of testing SSD is arranged on a terminal in communication connection with the test board. In the embodiment of the application, the static power consumption test and the dynamic power consumption test of the SSD can be realized only by connecting the SSD with the test board, the power consumption test efficiency of the SSD is improved through the combination of software and hardware, and meanwhile, the SSD power consumption test result can be displayed in the first display screen and/or the second display screen, so that the SSD power consumption test result is visualized, and a tester can intuitively know the SSD power consumption test condition.
In some embodiments, the LCD display screen may display a static power consumption interface, and when performing a static power consumption test, the test board is powered on, and the powered on test board may perform a power consumption test on the SSD, to obtain a static power consumption test value and display the static power consumption test value on the static power consumption interface, where the static power consumption test value includes a current value, a voltage value, and a static power consumption. Through directly showing static power consumption test value on LCD display screen, avoided the error that leads to the fact because frequent gear shifting and manual reading in traditional universal meter tests, simultaneously, because can once only show required static power consumption test value at LCD display screen, also improved the test efficiency of SSD.
In some embodiments, an energizing switch may be installed between the test board and the first display screen, and the presence or absence of the energizing current may be controlled by a physical switch; or, a virtual switch is arranged on the first display screen, and the existence of the energizing current is controlled by clicking the virtual switch on the first display screen.
In some embodiments, the LCD display screen is capable of displaying a dynamic power consumption interface, when performing a dynamic power consumption test, performing an energizing operation on the test board, and opening a terminal connected to the test board, where the terminal is an input/output device connected to the test board, and the terminal includes test software related to the dynamic power consumption test, and illustratively, the test software is Crystal Display Mark (CDM), and sends a test instruction to the SSD through the CDM, so that the SSD performs a read/write operation according to the test instruction, simulates an operating state of the SSD, measures a dynamic power consumption test value at the moment, where the dynamic power consumption test value includes a maximum current value, a maximum voltage value, and a maximum dynamic power consumption, and displays the dynamic power consumption test value on the dynamic power consumption interface. By directly displaying the dynamic power consumption test value on the LCD display screen, the complex scene that dynamic power consumption needs to be measured by connecting a wire with a terminal after static power consumption measurement is completed by using a universal meter in the traditional test method is avoided, and the test efficiency of SSD is improved.
It should be noted that, the test software on the terminal may be other test software capable of testing the dynamic power consumption of the SSD, and the embodiment of the application is only described with a preferred embodiment, and is not limited in particular.
In some embodiments, the first display screen is in a real-time display state, and after the static power consumption test is completed, the static power consumption test value is displayed in the first display area; and after the dynamic power consumption test value is completed, displaying the dynamic power consumption test value in a second display area.
In some embodiments, the first display screen may be divided into two display areas, and after the static power consumption test is completed, the static power consumption test value is displayed in the first display area, and then the dynamic power consumption test is performed, where the static power consumption test value is still displayed in the first display area; when the dynamic power consumption test value is completed, the dynamic power consumption test value is displayed in the second display area, that is, after one static and dynamic power consumption test is completed, the obtained static power consumption test value and the dynamic power consumption test value can be displayed on a display screen at the same time. Thus, the tester can intuitively observe and compare the measured static power consumption test value with the measured dynamic power consumption test value.
In some embodiments, after the static power consumption test and the dynamic power consumption test are completed, the power consumption test result can be displayed on the second display screen, where the power consumption test result is calculated by the static power consumption test value and the dynamic power consumption test value, and in general, the calculation mode is weighted calculation, and in addition, the second display screen may be a terminal, that is, the power consumption test result is displayed on the terminal, or the second display screen is another display screen connected with the terminal, and is suitable for a scenario where test execution and test observation are separated.
It can be understood that the SSD power consumption test system executes the SSD power consumption test method in a software and hardware combined mode, so that the SSD to be detected can obtain a static power consumption value and a dynamic power consumption value only by being connected with the test board for the first time, the static power consumption test value and the dynamic power consumption test value can be displayed on the first display screen, the power consumption test result can be displayed on the second display screen, complicated manual connection test is avoided, SSD power consumption test efficiency is improved, and meanwhile the static power consumption test value, the dynamic power consumption test value and the power consumption test result obtained through the test can be visually displayed, so that a tester can know the SSD power consumption test result more clearly.
The specific implementation of the SSD power consumption test system is substantially the same as the specific embodiment of the SSD power consumption test method described above, and will not be described herein again. On the premise of meeting the requirements of the embodiment of the application, the SSD power consumption testing system can be further provided with other functional modules so as to realize the SSD power consumption testing method in the embodiment.
The embodiment of the application also provides electronic equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the SSD power consumption testing method when executing the computer program. The electronic equipment can be any intelligent terminal including a tablet personal computer, a vehicle-mounted computer and the like.
As shown in fig. 15, fig. 15 is a schematic hardware structure of an electronic device provided in an embodiment of the present application, where the electronic device includes:
the processor 1001 may be implemented by using a general-purpose CPU (central processing unit), a microprocessor, an application-specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC), or one or more integrated circuits, etc. to execute related programs to implement the technical solutions provided by the embodiments of the present application;
the memory 1002 may be implemented in the form of read-only memory (ReadOnlyMemory, ROM), static storage, dynamic storage, or random access memory (RandomAccessMemory, RAM). The memory 1002 may store an operating system and other application programs, and when the technical solutions provided in the embodiments of the present application are implemented by software or firmware, relevant program codes are stored in the memory 1002, and the processor 1001 invokes an SSD power consumption test method for executing the embodiments of the present application;
An input/output interface 1003 for implementing information input and output;
the communication interface 1004 is configured to implement communication interaction between the present device and other devices, and may implement communication in a wired manner (e.g. USB, network cable, etc.), or may implement communication in a wireless manner (e.g. mobile network, WIFI, bluetooth, etc.);
a bus 1005 for transferring information between the various components of the device (e.g., the processor 1001, memory 1002, input/output interface 1003, and communication interface 1004);
wherein the processor 1001, the memory 1002, the input/output interface 1003, and the communication interface 1004 realize communication connection between each other inside the device through the bus 1005.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the SSD power consumption testing method when being executed by a processor.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The embodiments described in the embodiments of the present application are for more clearly describing the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application, and as those skilled in the art can know that, with the evolution of technology and the appearance of new application scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
It will be appreciated by those skilled in the art that the technical solutions shown in the figures do not constitute limitations of the embodiments of the present application, and may include more or fewer steps than shown, or may combine certain steps, or different steps.
The above described apparatus embodiments are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Those of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
The terms "first," "second," "third," "fourth," and the like in the description of the present application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in this application, "at least one (item)" and "a number" mean one or more, and "a plurality" means two or more. "and/or" for describing the association relationship of the association object, the representation may have three relationships, for example, "a and/or B" may represent: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided in this application, it should be understood that the disclosed systems and methods may be implemented in other ways. For example, the system embodiments described above are merely illustrative, e.g., the division of the above elements is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including multiple instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the various embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing a program.
Preferred embodiments of the present application are described above with reference to the accompanying drawings, and thus do not limit the scope of the claims of the embodiments of the present application. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and spirit of the embodiments of the present application shall fall within the scope of the claims of the embodiments of the present application.

Claims (9)

1. The SSD power consumption testing method is applied to an SSD power consumption testing system and is characterized in that the SSD power consumption testing system is provided with a testing board and a terminal, a first display screen is arranged on the testing board, a second display screen is arranged on the terminal, and the terminal is in communication connection with the testing board;
the method comprises the following steps:
responding to SSD static power consumption test operation, and displaying a static power consumption interface on the first display screen, wherein the static power consumption interface is used for displaying a static power consumption test value, and the static power consumption test value is used for representing power consumption of the SSD in an unoperated state;
responding to SSD dynamic power consumption test operation, and displaying a dynamic power consumption interface on the first display screen, wherein the dynamic power consumption interface is used for displaying a dynamic power consumption test value, and the dynamic power consumption test value is used for representing the power consumption of the SSD in a working state;
responding to the SSD power consumption test completion operation, and displaying a power consumption test result on the second display screen;
the power consumption test result is obtained by the terminal after calculation according to the static power consumption test value and the dynamic power consumption test value, wherein the static power consumption test value and the dynamic power consumption test value are obtained by the terminal after being received from the test board;
The responding to the SSD static power consumption test operation, displaying a static power consumption interface on the first display screen, comprises:
responding to SSD static power consumption test operation, obtaining a current value and a voltage value when the SSD is in an unoperated state, obtaining static power consumption according to the product of the current value and the voltage value, and taking the current value, the voltage value and the static power consumption as static power consumption test values;
displaying a static power consumption interface on the first display screen, wherein the static power consumption interface is used for displaying the static power consumption test value;
the responding to SSD dynamic power consumption test operation, displaying a dynamic power consumption interface on the first display screen, comprises:
responding to SSD dynamic power consumption test operation, obtaining a maximum current value and a maximum voltage value when the SSD is in a working state, obtaining dynamic power consumption according to the product of the maximum current value and the maximum voltage value, and taking the maximum current value, the maximum voltage value and the dynamic power consumption as dynamic power consumption test values;
displaying a dynamic power consumption interface on the first display screen, wherein the dynamic power consumption interface is used for displaying the dynamic power consumption test value.
2. The SSD power consumption test method of claim 1, wherein the method further comprises, after the responding to the SSD dynamic power consumption test operation:
displaying a protocol type option interface and a test parameter setting interface on the second display screen;
responding to SSD protocol type selection operation, and displaying a target protocol type of the SSD on the protocol type option interface;
responding to SSD parameter setting operation, and displaying target test execution parameters of the SSD on the test parameter setting interface;
and responding to SSD read-write execution operation, and displaying the read-write execution speed of the SSD on the second display screen, wherein the read-write execution speed is obtained by measuring after continuous read-write or random read-write of the SSD on the test board, and the SSD is continuously read-write or randomly read-write based on the target protocol type and the target test execution parameters.
3. The SSD power consumption test method of claim 2, characterized in that the power consumption test result is obtained according to the steps of:
obtaining a target power consumption standard range value corresponding to the SSD;
judging whether the static power consumption test value is in the numerical range represented by the target power consumption standard range value to obtain a first comparison result, and judging whether the dynamic power consumption test value is in the numerical range represented by the target power consumption standard range value to obtain a second comparison result;
Performing weighted calculation according to the static power consumption test value and the dynamic power consumption test value to obtain a total power consumption test value, and judging whether the total power consumption test value is in a numerical range represented by the target power consumption standard range value or not to obtain a third comparison result;
and obtaining the power consumption test result according to the first comparison result and the second comparison result, or obtaining the power consumption test result according to the third comparison result.
4. The SSD power consumption test method of claim 3, characterized in that the method further comprises:
displaying a power consumption standard range template selection interface on the second display screen, and responding to the power consumption standard range template selection operation, displaying the target power consumption standard range value in the power consumption standard range template selection interface;
or displaying a power consumption standard range input interface on the second display screen, and displaying the target power consumption standard range value in the power consumption standard range input interface in response to a power consumption standard range input operation.
5. The SSD power consumption test method of claim 4, wherein after displaying the power consumption test result on the second display screen, the method further comprises:
If the display power consumption test result represents poor power consumption test of the SSD, displaying a power consumption test alarm interface on the second display screen, wherein the power consumption test alarm interface is used for displaying at least one of alarm information and fault detail information;
and if the power consumption test result is displayed to indicate that the power consumption test of the SSD is normal, displaying a test prompt interface on the second display screen, wherein the test prompt interface is used for displaying prompt information, and the prompt information is used for prompting the next test.
6. The SSD power consumption testing method is applied to an SSD power consumption testing system and is characterized in that the SSD power consumption testing system is provided with a testing board and a terminal, and a first display screen is arranged on the testing board;
the method comprises the following steps:
connecting an SSD to be tested with a corresponding interface on the test board, and performing power-on operation on the test board so as to power on the SSD on the test board;
detecting a first electric signal of the SSD after being electrified, and sending the first electric signal to the first display screen to display a static power consumption value interface on the first display screen, wherein the static power consumption value interface is used for displaying a static power consumption test value, and the static power consumption test value is used for representing the power consumption of the SSD in an unoperated state;
The test board is in communication connection with the terminal, and a test instruction is sent to the test board through the terminal, so that the SSD works under the test instruction;
detecting a second electric signal of the SSD after working, and sending the second electric signal to the first display screen to display a dynamic power consumption value interface on the first display screen, wherein the dynamic power consumption value interface is used for displaying a dynamic power consumption test value, and the dynamic power consumption test value is used for representing the power consumption of the SSD in a working state;
and calculating to obtain a power consumption test result of the SSD according to the static power consumption test value and the dynamic power consumption test value.
7. The SSD power consumption test method of claim 6, wherein the test board includes a plurality of slots, each slot being configured to receive the SSD of a corresponding interface and correspondingly perform different modes of power consumption tests;
and connecting the SSD to be tested with a corresponding interface on the test board, and performing power-on operation on the test board so as to power on the SSD on the test board, wherein the power-on operation comprises the following steps:
if the interface of the SSD is a PCIe interface, placing the SSD into a PCIe slot so that the SSD is connected with the interface in the PCIe slot, and enabling the test board to execute a PCIe test mode by powering on the test board;
If the interface of the SSD is a SATA interface, the SSD is placed in a SATA slot, so that the SSD is connected with the interface in the SATA slot, and the test board executes a SATA test mode by powering on the test board.
8. The utility model provides a SSD consumption test system, its characterized in that, SSD consumption test system is provided with test board and terminal, be provided with first display screen on the test board, the terminal is provided with the second display screen, the terminal with test board communication connection, the system includes:
the static power consumption testing operation module is used for responding to SSD static power consumption testing operation, and displaying a static power consumption interface on the first display screen, wherein the static power consumption interface is used for displaying a static power consumption testing value, and the static power consumption testing value is used for representing the power consumption of the SSD in an unoperated state;
the dynamic power consumption testing operation module is used for responding to SSD dynamic power consumption testing operation, and displaying a dynamic power consumption interface on the first display screen, wherein the dynamic power consumption interface is used for displaying a dynamic power consumption testing value, and the dynamic power consumption testing value is used for representing the power consumption of the SSD in a working state;
The power consumption result module is used for responding to the SSD power consumption test completion operation and displaying a power consumption test result on the second display screen;
the power consumption test result is obtained by the terminal after calculation according to the static power consumption test value and the dynamic power consumption test value, wherein the static power consumption test value and the dynamic power consumption test value are obtained by the terminal after being received from the test board;
the responding to the SSD static power consumption test operation, displaying a static power consumption interface on the first display screen, comprises:
responding to SSD static power consumption test operation, obtaining a current value and a voltage value when the SSD is in an unoperated state, obtaining static power consumption according to the product of the current value and the voltage value, and taking the current value, the voltage value and the static power consumption as static power consumption test values;
displaying a static power consumption interface on the first display screen, wherein the static power consumption interface is used for displaying the static power consumption test value;
the responding to SSD dynamic power consumption test operation, displaying a dynamic power consumption interface on the first display screen, comprises:
responding to SSD dynamic power consumption test operation, obtaining a maximum current value and a maximum voltage value when the SSD is in a working state, obtaining dynamic power consumption according to the product of the maximum current value and the maximum voltage value, and taking the maximum current value, the maximum voltage value and the dynamic power consumption as dynamic power consumption test values;
Displaying a dynamic power consumption interface on the first display screen, wherein the dynamic power consumption interface is used for displaying the dynamic power consumption test value.
9. An electronic device comprising a memory storing a computer program and a processor implementing the SSD power consumption test method of any one of claims 1 to 5 or the SSD power consumption test method of any one of claims 6 to 7 when the computer program is executed.
CN202310383959.7A 2023-04-03 2023-04-03 SSD power consumption testing method and system and electronic equipment Active CN116577551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310383959.7A CN116577551B (en) 2023-04-03 2023-04-03 SSD power consumption testing method and system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310383959.7A CN116577551B (en) 2023-04-03 2023-04-03 SSD power consumption testing method and system and electronic equipment

Publications (2)

Publication Number Publication Date
CN116577551A CN116577551A (en) 2023-08-11
CN116577551B true CN116577551B (en) 2024-04-02

Family

ID=87538569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310383959.7A Active CN116577551B (en) 2023-04-03 2023-04-03 SSD power consumption testing method and system and electronic equipment

Country Status (1)

Country Link
CN (1) CN116577551B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105336287A (en) * 2014-08-06 2016-02-17 格力电器(武汉)有限公司 Testing method, testing device and testing system of display screen
CN112433898A (en) * 2020-11-23 2021-03-02 深圳忆联信息***有限公司 Method and device for testing power consumption value of solid state disk, computer equipment and storage medium
CN113189467A (en) * 2021-04-21 2021-07-30 苏州英嘉通半导体有限公司 Automatic test system and test method for static parameters of GaN power device
CN113933581A (en) * 2021-12-17 2022-01-14 荣耀终端有限公司 Power consumption testing method of mobile equipment and mobile equipment
CN114496052A (en) * 2022-01-27 2022-05-13 深圳忆联信息***有限公司 Method and device for testing permission mode function of SSD (solid State drive) in non-operation power state
CN115144714A (en) * 2021-03-15 2022-10-04 基思利仪器有限责任公司 Unified measurement system for static and dynamic characterization of a device under test
CN115328715A (en) * 2022-08-19 2022-11-11 苏州浪潮智能科技有限公司 Server power consumption testing method, device, equipment and medium
CN115933860A (en) * 2023-02-20 2023-04-07 飞腾信息技术有限公司 Processor system, request processing method and computing equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9542037B2 (en) * 2015-03-08 2017-01-10 Apple Inc. Device, method, and user interface for processing intensity of touch contacts
CN116414209A (en) * 2021-12-29 2023-07-11 Oppo广东移动通信有限公司 Display method, display device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105336287A (en) * 2014-08-06 2016-02-17 格力电器(武汉)有限公司 Testing method, testing device and testing system of display screen
CN112433898A (en) * 2020-11-23 2021-03-02 深圳忆联信息***有限公司 Method and device for testing power consumption value of solid state disk, computer equipment and storage medium
CN115144714A (en) * 2021-03-15 2022-10-04 基思利仪器有限责任公司 Unified measurement system for static and dynamic characterization of a device under test
CN113189467A (en) * 2021-04-21 2021-07-30 苏州英嘉通半导体有限公司 Automatic test system and test method for static parameters of GaN power device
CN113933581A (en) * 2021-12-17 2022-01-14 荣耀终端有限公司 Power consumption testing method of mobile equipment and mobile equipment
CN114496052A (en) * 2022-01-27 2022-05-13 深圳忆联信息***有限公司 Method and device for testing permission mode function of SSD (solid State drive) in non-operation power state
CN115328715A (en) * 2022-08-19 2022-11-11 苏州浪潮智能科技有限公司 Server power consumption testing method, device, equipment and medium
CN115933860A (en) * 2023-02-20 2023-04-07 飞腾信息技术有限公司 Processor system, request processing method and computing equipment

Also Published As

Publication number Publication date
CN116577551A (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN100445957C (en) USB end-port testing device
US20100306592A1 (en) Computer system on and off test apparatus and method
CN105824388A (en) Power-on/off detection method, device and system
CN106407059A (en) Server node testing system and method
CN213069792U (en) Power consumption monitoring device
CN103675541B (en) A kind of rfid interrogator burn-in test servicing unit
CN103914361A (en) Detection jig and detection method of computer device
CN104569673A (en) Test circuit, method and device
CN114167132A (en) Power consumption detection method and device of wireless terminal, electronic equipment and storage medium
CN112822073B (en) Test method, device, system, electronic equipment and readable storage medium
CN116577551B (en) SSD power consumption testing method and system and electronic equipment
CN113608684A (en) Memory information acquisition method, device and system, electronic equipment and storage medium
CN116737515B (en) Flash memory parameter visualization method, system and storage medium
CN218568024U (en) USB port detection device
CN109870834B (en) Liquid crystal glass power-up detection system
CN117149491A (en) Power supply monitoring method, system, device and storage medium
CN108267709B (en) Method and device for checking and classifying power failure
CN110058979A (en) A kind of temperature reads monitoring method, BMC and the storage medium of failure failure
KR20230089894A (en) Monitoring system of led display device based on big data using test signal
CN102288204A (en) Energy-related information display apparatus and method thereof
CN101430348B (en) State detection apparatus and state detection method
CN110967615B (en) Circuit board fault diagnosis device and method
CN202615465U (en) On-board unit
CN207908604U (en) A kind of electrical appliance kit detecting system
CN111239510A (en) Self-service test method and test system for EMC of air conditioner

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