A testing device, system and testing method

By designing a unified interface test device and system, the problem of cumbersome and high cost of testing storage devices is solved, and multifunctional testing of storage devices is realized, which improves testing efficiency and reduces costs.

CN108563542BActive Publication Date: 2024-11-22ZHONGSHAN JIANGBOLONG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810415117.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-05-03
Publication Date
2024-11-22
Estimated Expiration
2038-05-03

AI Technical Summary

Technical Problem

Existing storage device testing methods are cumbersome, inefficient and costly, especially because there are multiple working states of storage devices that require separate measurements, or require online testing using expensive programmable instruments.

Method used

Design a test device and system, including a computer, a computer and a measurement module. Through a unified interface connection, the computer receives the test instructions sent by the computer and performs multifunctional testing through the measurement module to realize multi-channel capability of the storage device. Measurement and control of parameters such as voltage, current, and temperature.

Benefits of technology

It improves the efficiency of storage device testing and reduces the testing cost, realizes multi-functional testing of storage devices under different working states, and simplifies the testing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108563542B_ABST
    Figure CN108563542B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of storage test technology, and discloses a test device, system and test method. The test device is used for multifunctional testing of storage devices. The test device includes at least one lower computer, and each of the lower computers includes: a single board, which is respectively connected to a host computer and the storage device for communication, and is used to receive and execute test instructions sent by the host computer, and return multifunctional test results of the storage device to the host computer; a measurement module, which is connected to the single board through a unified interface, and is used to receive test instructions from the single board to implement multifunctional testing of the storage device. In the above manner, the present invention can implement multifunctional testing of storage devices, improve test efficiency, and reduce test costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of storage test technology, and in particular to a test device, system and test method. Background Art

[0002] Storage devices include USB flash disk (USB flash disk), SSD (Solid State Drive), eMMC (Embedded Multi Media Card), eMCP (embedded Multi Chip Package), UFS (Universal Flash Storage), SD card (Secure Digital Memory Card) and other devices, which are widely used in various products, such as computers, mobile phones and other electronic products.

[0003] At present, with the rapid development of storage industry technology, storage software and related hardware are becoming increasingly complex. For enterprises, how to quickly and reliably launch products to the market is crucial. In the development process of storage devices, the testing link plays an important role. Therefore, improving test efficiency and reducing test costs are crucial to improving the competitiveness of storage device products. At present, the test of electrical characteristic parameters of storage devices is generally carried out by using instruments for separate measurements according to different working conditions, or by using programmable instruments and test devices online for testing.

[0004] In the process of implementing the embodiments of the present invention, the inventors found that the current testing methods have the main disadvantages of cumbersome testing steps and high testing costs. Since storage devices have multiple working states, if each working state needs to be measured separately using an instrument, the testing process is very cumbersome and the testing efficiency is low. If a programmable instrument is used for online testing, it is necessary to purchase expensive programmable instruments, and the testing cost is high. Summary of the invention

[0005] The embodiments of the present invention provide a testing device, a system and a testing method to solve the technical problems of low testing efficiency and high testing cost of storage devices in the prior art.

[0006] In order to solve the above technical problems, the embodiments of the present invention provide the following technical solutions:

[0007] In a first aspect, an embodiment of the present invention provides a testing device for multifunctional testing of a storage device, wherein the testing device includes at least one slave computer, each of which includes:

[0008] The single board is respectively connected to the host computer and the storage device for communication, and is used to receive and execute the test instructions sent by the host computer, and return the multi-function test results of the storage device to the host computer;

[0009] The measuring module is connected to the single board through a unified interface and is used to receive a test instruction from the single board to implement a multifunctional test on the storage device.

[0010] In some embodiments, the single board includes:

[0011] A host computer connection interface, used to connect to the host computer;

[0012] A measurement module connection interface, used to connect the measurement module;

[0013] A storage device connection interface, used to connect the storage device;

[0014] A control chip is connected to the measurement module connection interface and the storage device connection interface, and is used to control the storage device and the measurement module according to the test instruction.

[0015] In some embodiments, the single board further includes a power module, and the power module is used to provide power input for the measurement module.

[0016] In some embodiments, the measurement module includes:

[0017] A multi-channel adjustable voltage power supply unit, used to provide multi-channel adjustable voltage power supply for the storage device;

[0018] A multi-channel power supply on-off control unit, used to control the on-off of the multi-channel adjustable voltage power supply;

[0019] A multi-channel voltage measurement unit, used to measure the multi-channel power supply voltage of the storage device;

[0020] A multi-channel current measurement unit, used to measure the multi-channel power supply current of the storage device;

[0021] A temperature measuring unit, used to measure the ambient temperature of the storage device;

[0022] The processing unit is respectively connected to the multi-channel adjustable voltage power supply unit, the multi-channel power supply on-off control unit, the multi-channel voltage measurement unit, the multi-channel current measurement unit and the temperature measurement unit, and is used to measure the electrical characteristic parameters of the storage device under different working conditions, measure the ambient temperature, and control the on-off of the multi-channel power supply of the storage device.

[0023] In some embodiments, the measurement module further includes:

[0024] A connector interface, used to connect to a measurement module connection interface of the single board through a first connector;

[0025] The measurement module connection interface and the connector interface use the same protocol and are defined as a unified interface.

[0026] In some embodiments, the multi-channel adjustable voltage power output by the multi-channel adjustable voltage power supply unit is input to the single board through the first connector, and then the single board outputs the multi-channel adjustable voltage power to the storage device.

[0027] In some embodiments, the lower computer also includes: a storage device adapter unit, including a storage device interface and a single board connection interface, used to connect the storage device through the storage device interface, and connect the single board through the single board connection interface to achieve communication connection between the storage device and the single board.

[0028] In a second aspect, an embodiment of the present invention provides a test system, comprising: a host computer, at least one storage device, and at least one of the above-mentioned test devices;

[0029] The host computer is connected to the test device, and each of the test devices is correspondingly connected to each of the storage devices via a second connector.

[0030] In a third aspect, an embodiment of the present invention provides a testing method, characterized in that it is applied to the above-mentioned testing system, and the testing method includes:

[0031] Receiving a test instruction sent by the host computer;

[0032] Performing a multi-function test on the storage device according to the test instruction;

[0033] The test result is returned to the host computer.

[0034] In some embodiments, the test instruction includes a measurement instruction and an operation instruction, and performing a multi-function test on the storage device according to the test instruction includes:

[0035] Receiving a measurement instruction and feeding back an execution result of the measurement instruction;

[0036] An operation instruction is received, and a test operation on the storage device is performed according to the operation instruction.

[0037] The beneficial effects of the embodiments of the present invention are as follows: Different from the prior art, the embodiments of the present invention provide a test device, system and test method, wherein the test device is used for multifunctional testing of storage devices, and the test device includes at least one lower computer, each of which includes: a single board, which is respectively connected to the upper computer and the storage device for communication, and is used to receive and execute the test instructions sent by the upper computer, and return the multifunctional test results of the storage device to the upper computer; a measurement module, which is connected to the single board through a unified interface, and is used to receive the test instructions from the single board to realize multifunctional testing of the storage device. In the above manner, the embodiments of the present invention can realize multifunctional testing of storage devices, improve test efficiency and reduce test costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] One or more embodiments are exemplarily described by corresponding drawings, which do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and the figures in the drawings do not constitute proportional limitations unless otherwise stated.

[0039] Figure 1 It is a structural schematic diagram of a testing device for multiple slave computers provided by an embodiment of the present invention;

[0040] Figure 2 It is a structural schematic diagram of a testing device of a single lower computer provided by an embodiment of the present invention;

[0041] Figure 3 It is a structural schematic diagram of another testing device of a single slave machine provided by an embodiment of the present invention;

[0042] Figure 4 is a structural schematic diagram of a test system provided by an embodiment of the present invention;

[0043] Figure 5 is a structural schematic diagram of a single board provided by an embodiment of the present invention;

[0044] Figure 6 This is a schematic diagram of a connection of a single board provided by an embodiment of the present invention;

[0045] Figure 7 is a structural schematic diagram of a storage device provided by an embodiment of the present invention;

[0046] Figure 8 is a structural schematic diagram of a measurement module provided by an embodiment of the present invention;

[0047] Fig. 9 It is a structural schematic diagram of a storage device switching unit provided by an embodiment of the present invention;

[0048] Fig.10 It is a flow chart of a testing method provided by an embodiment of the present invention;

[0049] Fig.11 yes Fig.10 A detailed flow chart of step S20 of the test method in FIG.

[0050] Fig.12 It is a specific flow chart of a testing method provided by an embodiment of the present invention.

[0051] See also Figures 1 to 12 , 100, test device; 10, lower computer; 11, single board; 111, control chip; 112, upper computer connection interface; 113, measurement module connection interface; 114, storage device connection interface; 115, power module; 12, measurement module; 121, processing unit; 122, connector interface; 123, multi-channel adjustable voltage power supply unit; 124, multi-channel power on-off control unit; 125, multi-channel voltage measurement unit; 126, multi-channel current measurement unit; 127, temperature measurement unit; 13, storage device switching unit; 131, storage device interface; 132, single board connection interface; 14, cable; 15, first connector; 16, second connector; 200, storage device; 210, test interface; 220, storage unit; 300, upper computer; 400, test system. DETAILED DESCRIPTION

[0052] In order to facilitate the understanding of the present invention, the present invention is described in more detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that when an element is described as "fixed to" another element, it can be directly on the other element, or there can be one or more centered elements therebetween. When an element is described as "connected to" another element, it can be directly connected to the other element, or there can be one or more centered elements therebetween. The terms "vertical", "horizontal", "left", "right" and similar expressions used in this specification are for illustrative purposes only.

[0053] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in this specification and in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0054] The embodiments of the present invention provide a testing device, a system and a testing method, which are used to solve the technical problems in the prior art that the testing process of storage devices is complicated and the testing efficiency is low, or that online testing through programmable instruments requires the purchase of expensive programmable instruments, resulting in high testing costs, so as to achieve multi-functional testing, improve testing efficiency and reduce testing costs.

[0055] The technical solution of the embodiment of the present invention is to solve the above technical problems, and the overall idea is as follows:

[0056] The test system provided by the embodiment of the present invention includes:

[0057] The host computer is used to send test instructions and display and verify test results. Specifically, the host computer can be an electronic device such as a computer, a smart phone, or a tablet computer.

[0058] At least one lower computer, each of which is connected to the upper computer, and each of which includes: a single board and a measurement module. Each of the lower computers is connected to a storage device, wherein each of the single boards is communicatively connected to the upper computer and the storage device. Specifically, the single board refers to a single circuit board, the single board is a printed circuit board or a printed circuit board, the storage device is a memory or other storage medium, the storage device includes a USB flash drive (USB flash disk), SSD (Solid State Drive), eMMC (Embedded Multi Media Card), eMCP (Embedded Multi Chip Package), UFS (Universal Flash Storage), SD card (Secure Digital Memory Card) and other devices, and the measurement module is a tester or a test machine.

[0059] The single board is respectively connected to the host computer and the storage device for communication, and the single board bridges the host computer, the storage device and the measurement module. After the single board establishes communication with the host computer, the control chip of the single board receives the test instruction sent by the host computer and operates the storage device or the measurement module by executing the test instruction. The measurement module implements multi-functional testing of the storage device by receiving the test instruction sent by the control chip of the single board.

[0060] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the technical solution of the present invention, rather than all the embodiments. Based on the embodiments recorded in this application document, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the technical solution of the present invention.

[0061] Example 1

[0062] Please also read Figure 1 and Figure 2 , Figure 1 It is a structural schematic diagram of a test device including multiple slave computers provided by an embodiment of the present invention; Figure 2 It is a structural schematic diagram of a testing device for a single lower computer provided in an embodiment of the present invention.

[0063] like Figure 1 As shown, the test device 100 includes multiple slave computers, namely, slave computer 1, slave computer 2, slave computer 3, slave computer 4, slave computer 5, ..., slave computer N, wherein each slave computer includes a single board and a measurement module, each of the slave computers is connected to a storage device, the slave computers and the storage devices correspond one to one, and each of the slave computers is connected to the storage device through the single board. Specifically, the embodiment of the present invention is described by taking the test device 100 including only one slave computer as an example.

[0064] like Figure 2 As shown, the test device 100 includes a lower computer 10, and the lower computer 10 includes a single board 11 and a measurement module 12. The lower computer 10 is connected to a storage device 200, and the single board 11 is respectively connected to the storage device 200 and the measurement module 12. Specifically, the single board 11, the storage device 200 and the measurement module 12 can all be communicated and connected through a unified interface, and the unified interface can be a universal interface, such as: at least one of a serial port, a micro USB interface, a USB Type A interface, a USB Type B interface, a USB Type C interface, a network cable port, a headphone jack, an SD card interface, a sensor interface, and a reader / writer interface.

[0065] Data transmission or power input can be performed between the single board 11 and the storage device 200 and the measurement module 12. The single board 11 can control the storage device 200 and the measurement module 12 by sending a test instruction to the storage device 200 and the measurement module 12.

[0066] Please refer to Figure 3 , Figure 3It is a structural schematic diagram of another testing device of a single slave machine provided by an embodiment of the present invention;

[0067] like Figure 3 As shown, the lower computer 10 includes: a single board 11, a measurement module 12 and a storage device adapter unit 13. The single board 11 is connected to the measurement module 12 and the storage device adapter unit 13 respectively, and the storage device adapter unit 13 is connected to a storage device 200. Since the storage device 200 itself may not have a connection interface and cannot be directly connected to the single board 11 of the upper computer 10, it is necessary to connect the storage device 200 to the single board 11 through the storage device adapter unit 13 to achieve a multi-function test of the storage device 200. For example: the storage device 200 is an SD card, and the storage device adapter unit 13 is a card reader. The SD card is connected to the single board 11 through the card reader, thereby achieving a multi-function test of the SD card.

[0068] See also Figure 4 , Figure 4 is a structural schematic diagram of a test system provided by an embodiment of the present invention;

[0069] like Figure 4 As shown, the test system 400 includes: at least one test device 100, at least one storage device 200 and a host computer 300. Each of the test devices 100 includes a lower computer 10, and the lower computer 10 includes: a single board 11 and a measurement module 12. The host computer 300 is connected to the test device 100, and each of the test devices 100 is correspondingly connected to each of the storage devices 200 through a second connector. Each of the storage devices includes a test interface, and the test interface is used to connect the test device corresponding to the storage device through the second connector.

[0070] Wherein, the single board 11 is connected in communication with the host computer 300, and is used to receive and execute the test instructions sent by the host computer 300, and return the test results to the host computer 300. Specifically, the host computer 300 can be a smart phone, a tablet computer or a computer. In an embodiment of the present invention, the host computer 300 takes a computer as an example. Specifically, the host computer 300 refers to a computer that can directly issue test instructions or operation instructions, and the host computer 300 can display and verify the test results through the screen. The host computer 300 can also be used to store the test results of at least one of the storage devices 200. Specifically, the test results of at least one of the storage devices 200 can be stored in a cloud server or a local server through the host computer 300. In the embodiment of the present invention, the lower computer 10 may be a computer that controls the storage device 200 and obtains data of the storage device 200, such as a single chip microcomputer. The lower computer 10 may test the storage device 200 according to the test instruction sent by the upper computer 300 and return the test result to the upper computer 300, and the upper computer 300 may display and verify the test result. Through the cooperation between the upper computer 300 and the lower computer 10, it is possible to test the electrical characteristic parameters of at least one of the storage devices 200 in multiple working states at one time. The working states of the storage device 200 include: read operation state, write operation state, read-write operation state, no read-write operation state, etc. The electrical characteristic parameters include: voltage, current, etc. By testing the electrical characteristic parameters of the storage device 200 in multiple working states at one time, the test efficiency can be improved and the test cost can be reduced.

[0071] Among them, the host computer 300 and the lower computer 10 use the same communication protocol for communication, and the communication protocol can be multiple, for example: RS232 serial communication or RS485 serial communication, and two-wire PROFIBUS-DP communication more suitable for industrial control can also be used, or the communication between the host computer 300 and the lower computer 10 can be controlled by writing a driver interface protocol. In the embodiment of the present invention, the host computer 300 and the single board 11 of the lower computer 10 are connected in communication. Specifically, the host computer 300 and the single board 11 are connected through a cable, and the cable includes: USB cable, serial port line, and the single board 11 communicates with the host computer 300 through a fixed protocol, and the fixed protocol includes: USB protocol, serial communication protocol, and serial communication protocol. Specifically, the communication protocol may be one or more of non-volatile memory express (NVMe), peripheral component interconnect express (PCIe), serial attachment (SATA), small computer system interface (SCSI), serial attached SCSI (SAS), universal storage bus (USB) attached SCSI (UAS), Internet small computer system interface (iSCSI), Fibre Channel or Fibre Channel over Ethernet (FCoE), etc. Among them, the upper computer 300 can realize the collaborative work with the lower computer 10 after customized development. Specifically, the customized development includes: customized development of test software for test functions, communication protocol matching, test result display, test result verification, UI interaction interface customization, etc.

[0072] It is understandable that the host computer 300 can also be connected to multiple slave computers 10 respectively. Specifically, the host computer 300 includes multiple interfaces. The host computer 300 is respectively connected to the single boards 11 of the multiple slave computers 10. Each slave computer 10 has a fixed number, such as: slave computer 1, slave computer 2, slave computer 3, ..., slave computer N. The host computer can send test instructions to the multiple slave computers 10 at the same time. Since each slave computer 10 is connected to a storage device 200, multiple storage devices 200 can be tested at the same time to test the electrical characteristic parameters of the multiple storage devices 200 under different working states, such as: voltage, current and other parameters, which is conducive to improving test efficiency and reducing test costs.

[0073] See also Figure 5 , Figure 5 is a structural schematic diagram of a single board provided by an embodiment of the present invention;

[0074] like Figure 5As shown, the single board 11 includes a control chip 111, a host computer connection interface 112, a measurement module connection interface 113, a storage device connection interface 114 and a power module 115. The control chip 111 is respectively connected to the host computer connection interface 112, the measurement module connection interface 113, the storage device connection interface 114 and the power module 115. The control chip 111 receives the test instruction sent by the host computer 300 through a cable, and controls the storage device 200 and the measurement module 12 according to the test instruction. The control chip 111 is also used to control the power module 115 to supply power to the measurement module or the storage device.

[0075] Please refer to Figure 6 , Figure 6 This is a schematic diagram of a connection of a single board provided by an embodiment of the present invention;

[0076] like Figure 6 As shown, the host computer connection interface 112 of the single board 11 is connected to the host computer 300 through a cable 14, wherein the host computer connection interface 112 can be a data interaction interface, and the cable 14 includes: a USB cable, a serial port line, and the single board 11 communicates with the host computer 300 through a communication protocol to realize data interaction. Specifically, the communication protocol can be one or more of non-volatile memory express (NVMe), peripheral component interconnect express (PCIe), attachment serial (SATA), small computer system interface (SCSI), serial attached SCSI (SAS), universal storage bus (USB) connected SCSI (UAS), Internet small computer system interface (iSCSI), fiber channel or Ethernet fiber channel (FCoE), etc. In order to ensure the stability of communication between the host computer 300 and the lower computer, the single board 11 and the host computer 300 generally use a fixed communication protocol for communication, which is conducive to improving the stability of data interaction between the host computer 300 and the lower computer.

[0077] The lower computer further includes a first connector 15, and the measurement module connection interface 113 of the single board 11 is connected to the measurement module 12 through the first connector 15. Specifically, the measurement module connection interface 113 of the single board 11 is connected to the connector interface of the measurement module 12 through the first connector 15, and the connection between the single board 11 and the measurement module 12 is realized through the first connector 15 of the lower computer. Specifically, the first connector 15 can be a USB data cable, a serial bus, a serial port cable, a twisted pair cable, etc. The first connector 15 can be used for data transmission between the single board 11 and the measurement module 12. The first connector 15 can also be used for the single board 11 to output a DC voltage power supply to the measurement module 12.

[0078] Wherein, the lower computer further includes a second connector 16, the storage device connection interface 114 of the single board 11 is connected to the storage device adapter unit 13, and the storage device adapter unit 13 is connected to the storage device 200 through the second connector 16. Specifically, the storage device connection interface 114 of the single board 11 is connected to the storage device adapter unit 13, and the storage device adapter unit 13 is connected to the storage device 200 through the second connector 16. For example, the storage device 200 is an SD card, and the storage device adapter unit 13 is a card reader. The SD card is connected to the single board 11 through the card reader, thereby realizing a multi-function test of the SD card. Alternatively, the storage device adapter unit 13 is not required, and the storage device 200 is directly connected through the second connector 16 of the lower computer to realize the connection between the single board 11 and the storage device 200. For example, the storage device 200 is a U disk, and the U disk is directly connected to the storage device connection interface 114 through the second connector 16. Specifically, the second connector 16 can be a USB data cable, a serial bus, a serial port cable, a twisted pair cable, etc. The second connector 16 can be used for data transmission between the single board 11 and the storage device 200. The second connector 16 can also be used for the single board 11 to output power to the storage device 200. Specifically, it can output multiple adjustable voltage power supplies to the storage device 200. Among them, the second connector 16 and the first connector 15 can be the same or different. It can be understood that in order to facilitate the single board 11 to bridge the measurement module 12 and the storage device 200, the first connector 15 and the second connector 16 can be unified. The first connector 15 and the second connector 16 are unified into one of the USB data cable, the serial bus, the serial port cable or the twisted pair cable, which is conducive to the data interaction between the single board 11 and the measurement module 12 and the storage device 200, and improves the reliability of data transmission.

[0079] The power module 115 of the single board 11 is connected to the measurement module connection interface 113 and the storage device connection interface 114, and the power module 115 provides power input for the measurement module 12 and / or the storage device 200 through the measurement module connection interface 113 and / or the storage device connection interface 114. Specifically, the power module 115 can be a storage battery, a dry cell, a DC power supply, an AC power supply, a switching power supply, a UPS power supply, a frequency converter power supply, etc. The power module 115 can also be used to receive the power output by the host computer 300.

[0080] See also Figure 7 , Figure 7 is a structural schematic diagram of a storage device provided by an embodiment of the present invention;

[0081] like Figure 7 As shown, the storage device 200 includes: a test interface 210 and a storage unit 220. The test interface 210 is used to connect the single board, and the test interface 210 is used to perform data transmission and power input with the single board, wherein the test interface 210 is connected to the storage device connection interface of the single board, and specifically, the test interface 210 is connected to the storage device connection interface of the single board through a second connector, thereby realizing data transmission and power input between the storage device 200 and the single board. Specifically, the single board receives a test instruction sent by the host computer, and the single board sends the test instruction to the storage device 200 through the second connector, and obtains data of the storage device 200 and / or operates the storage device 200 according to the test instruction, such as IO operation, or the internal information of the storage device 200 can also be obtained, and the internal information includes: the memory capacity, model code and other information of the storage device 200.

[0082] The test interface 210 may be at least one of a serial port, a micro USB interface, a USB Type A interface, a USB Type B interface, a USB Type C interface, a network cable port, a headphone jack, an SD card interface, a sensor interface, and a reader / writer interface. The test interface 210 may be the same as the storage device connection interface of the single board. By unifying the storage device connection interface of the single board and the test interface 210 of the storage device 200, it is ensured that single boards under different hardware solutions can be applied to the storage device 200. When a single board is changed, only the single board needs to be replaced, thereby achieving the effect of reuse and cost reduction.

[0083] Among them, the storage unit 220 is used to store data, and the storage unit 220 includes at least one memory, and the memory includes: U disk (USB flash disk), SSD (Solid State Drive), eMMC (Embedded Multi Media Card), eMCP (embedded Multi Chip Package), UFS (Universal Flash Storage), SD card (Secure Digital Memory Card), NAND Flash chip and other devices. The storage unit 220 can also include at least one buffer memory, and the buffer memory includes: static random access memory (Static Random Access Memory, SRAM), dynamic random access memory (Dynamic Random Access Memory, DRAM), phase random access memory (Phase Change Random Access Memory, PRAM) and other devices. The storage unit 220 may also include at least one non-volatile memory device, and the non-volatile memory device includes: NAND flash memory, vertical NAND flash memory (VNAND), NOR flash memory, resistive random access memory (RRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), spin transfer torque random access memory (STT-RAM) and other devices.

[0084] See also Figure 8 , Figure 8 is a structural schematic diagram of a measurement module provided by an embodiment of the present invention;

[0085] like Figure 8 As shown, the measurement module 12 includes: a processing unit 121, a connector interface 122, a multi-channel adjustable voltage power supply unit 123, a multi-channel power supply on-off control unit 124, a multi-channel voltage measurement unit 125, a multi-channel current measurement unit 126 and a temperature measurement unit 127.

[0086] The processing unit 121 is respectively connected to the connector interface 122, the multi-channel adjustable voltage power supply unit 123, the multi-channel power on / off control unit 124, the multi-channel voltage measurement unit 125, the multi-channel current measurement unit 126 and the temperature measurement unit 127. The processing unit 121 is used to control the multi-channel adjustable voltage power supply unit 123, the multi-channel power on / off control unit 124, the multi-channel voltage measurement unit 125, the multi-channel current measurement unit 126 and the temperature measurement unit 127. The processing unit 121 can also test the storage device according to the multi-channel adjustable voltage power supply unit 123, the multi-channel power on / off control unit 124, the multi-channel voltage measurement unit 125, the multi-channel current measurement unit 126 and the temperature measurement unit 127, measure the electrical characteristic parameters of the storage device under different working states, measure the ambient temperature, and perform multi-channel power on / off control on the storage device to generate test results, and send the test results to the single board.

[0087] Wherein, the connector interface 122 is used to connect the single board, and the measurement module 12 performs data transmission and power input with the single board through the connector interface 122, wherein the connector interface 122 is connected to the measurement module connection interface of the single board, wherein the connector interface 122 of the measurement module 12 and the measurement module connection interface of the single board are unified interfaces, for example: the connector interface 122 and the measurement module connection interface of the single board are both a serial port, a micro usb interface, a USB Type A interface, a USB Type B interface, a USB Type C interface, a network cable port, a headphone jack, an SD card interface, a sensor interface, and a reader / writer interface. By unifying the measurement module connection interface of the single board and the connector interface 122 of the measurement module 12, it is ensured that the single board under different hardware solutions can be applied to the measurement module 12, and when the single board changes, only the single board needs to be replaced, so as to achieve the effect of reuse and cost reduction.

[0088] Specifically, the connector interface 122 is connected to the measurement module connection interface of the single board through the first connector, so as to realize data transmission and power input between the measurement module 12 and the single board. Specifically, the single board receives the test instruction sent by the host computer, and the single board sends the test instruction to the measurement module 12 through the first connector. The measurement module 12 performs a multi-function test on the storage device according to the test instruction, such as: multi-channel voltage test, multi-channel current test, environmental temperature test, aging test, power failure test, etc.

[0089] Among them, the power input of the measuring module 12 comes from the single board, and the measuring module 12 receives the power input of the single board through the first connector. The power input of the single board can come from the host computer, and the host computer inputs the DC voltage power supply to the single board through a cable. After receiving the power input of the single board, the measuring module 12 outputs multiple adjustable voltage power supplies through the multiple adjustable voltage power supply unit 123. For example: the host computer inputs a DC voltage of 5V or 12V to the single board, and the single board outputs the DC voltage to the measuring module 12. The measuring module 12 outputs multiple adjustable voltage power supplies through the multiple adjustable voltage power supply unit 123, such as: multiple DC voltages of 0.5V, 2V, 3V, 10V, etc. The multiple adjustable voltage power supplies output by the multiple adjustable voltage power supply unit 123 are input to the single board through the first connector, and then the single board outputs the multiple adjustable voltage power supplies to the storage device. Since integrated circuits have an operating voltage range, the voltage range is the voltage margin of the integrated circuit. By outputting multiple adjustable voltage power supplies and testing the reliability of the integrated circuit at the maximum or minimum voltage, the voltage margin reliability test of the storage device can be implemented.

[0090] Among them, the multi-power on-off control unit 124 is used to control the on-off of the multi-channel adjustable voltage power supply output by the multi-channel adjustable voltage power supply unit 123. By controlling the on-off of the multi-channel adjustable voltage power supply, the actual power off situation is simulated for testing, which can be used for high and low temperature testing, aging testing, etc. of the storage device.

[0091] Among them, the temperature measuring unit 127 is used to measure the ambient temperature of the storage device. The ambient temperature can be collected by a temperature sensor and input into the temperature measuring unit 127 to realize the collection of the ambient temperature. By measuring the ambient temperature of the storage device, the storage device can be subjected to an aging test.

[0092] Specifically, the processing unit 121 is a central processing unit (CPU), and the connector interface 122 is a universal interface, including: a serial port, a micro USB, a USB Type A interface, a USB Type B interface, a USB Type C interface, a network cable port, a headphone jack, an SD card interface, a sensor interface, and at least one of a reader / writer interface.

[0093] The multi-channel adjustable voltage power supply unit 123 is a multi-channel adjustable voltage power supply unit circuit, and the multi-channel adjustable voltage power supply circuit may include multiple transformers. The multi-channel power supply on-off control unit 124 is a multi-channel power supply on-off control circuit, such as a multi-channel switch circuit. The multi-channel voltage measurement unit 125 is a voltage measurement circuit, and the voltage measurement circuit may include a voltage sensor. The multi-channel current measurement unit 126 is a current measurement circuit, and the current measurement circuit may include a current sensor or a current transformer. The temperature measurement unit 127 is a temperature measurement circuit, and the temperature measurement circuit may include a temperature sensor.

[0094] See also Fig. 9 , Fig. 9 It is a structural schematic diagram of a storage device switching unit provided by an embodiment of the present invention;

[0095] like Fig. 9 As shown, the storage device adapter unit 13 includes: a storage device interface 131 and a single board connection interface 132. The storage device interface 131 is connected to the single board connection interface 132, the storage device interface 131 is used to connect the storage device, and the single board connection interface 132 is used to connect the single board to achieve the communication connection between the storage device and the single board. Specifically, the single board connection interface 132 is connected to the storage device connection interface of the single board, and the storage device interface 131 is connected to the test interface of the storage device, thereby achieving the communication connection between the storage device and the single board.

[0096] In an embodiment of the present invention, a test system is provided, the test system includes a host computer and at least one slave computer, each of the slave computers is connected to a storage device, and each of the slave computers includes: a single board, which is respectively connected to the host computer and the storage device for receiving and executing the test instructions sent by the host computer, and returning the multi-function test results of the storage device to the host computer; a measurement module, which is connected to the single board through a unified interface, and is used to receive the test instructions from the single board to implement multi-function testing of the storage device. The host computer is connected to the single board through a cable, and the single board communicates with the host computer through a fixed protocol. In the above manner, the embodiment of the present invention can realize multi-function testing of storage devices, improve test efficiency, and reduce test costs.

[0097] Example 2

[0098] See also Fig.10 , Fig.10It is a flow chart of a test method provided by an embodiment of the present invention; the test method is applied to the above-mentioned test system, the test system includes a host computer and at least one slave computer, the slave computer includes a single board and a measurement module. Each of the slave computers is connected to a storage device, and the slave computer is connected to the storage device through the single board. Among them, the single board bridges the storage device and the measurement module, and the single board is connected to the host computer for communication, and is used to receive and execute the test instructions sent by the host computer, and return the test results to the host computer.

[0099] like Fig.10 As shown, the test method includes:

[0100] Step S10: receiving a test instruction sent by the host computer;

[0101] The host computer may be a smart phone, a computer or a tablet computer. The host computer sends a test instruction to the slave computer, wherein the host computer and the slave computer may communicate through a fixed protocol. Specifically, the single board of the slave computer is connected to the host computer for communication, and the fixed protocol includes: USB protocol, serial communication protocol, and serial communication protocol. The host computer and the single board of the slave computer communicate through the fixed protocol, and the single board of the slave computer receives and executes the test instruction sent by the host computer, and the test instruction includes: voltage test information, current test information, temperature test information, etc.

[0102] Step S20: performing a multi-function test on the storage device according to the test instruction;

[0103] Wherein, after receiving the test instruction sent by the upper computer, the single board of the lower computer will parse the test instruction, and perform corresponding operations on the measurement module or the storage device according to the test information contained in the test instruction. For example: performing read and write operations on the storage device, obtaining the electrical characteristic parameters of the storage device under different working conditions, such as current, voltage and other parameters, and also obtaining the ambient temperature of the storage device. Wherein, the measurement module can also obtain the internal information of the storage device, and the internal information includes: the capacity of the storage device, the model code of the storage device, etc. Since the same storage device may have multiple capacities and models, by obtaining the internal information such as the capacity and model code of different storage devices, it is convenient to distinguish different storage devices, which is conducive to the measurement module to test multiple storage devices at the same time.

[0104] Please refer to Fig.11 , Fig.11 The present invention Fig.10 A detailed flow chart of step S20 in FIG.

[0105] The test instructions include measurement instructions and operation instructions, such as Fig.11 As shown, the method includes:

[0106] Step S21: receiving a measurement instruction and feeding back an execution result of the measurement instruction;

[0107] Wherein, after the host computer sends the test instruction to the single board of the lower computer, the control chip of the single board of the lower computer will receive and parse the test instruction, the test instruction includes a measurement instruction and an operation instruction, and the measurement instruction in the parsed test instruction is sent to the measurement module, the measurement module will receive the measurement instruction, and execute the measurement instruction to test the storage device. Wherein, the measurement module is connected to the single board through a universal interface, and the measurement module communicates with the single board through a communication protocol. Wherein, the host computer can also send an initialization instruction to the single board to confirm whether the single board has been correctly connected to the host computer. If the single board has been correctly connected to the host computer, it is confirmed that the initialization of the single board is completed. By confirming the connection between the single board and the host computer, it is ensured that the test instruction can be forwarded to the measurement module through the single board, and the normal communication between the single board and the host computer is ensured.

[0108] Specifically, the measurement module is connected to the single board through a connector, and the test instruction is sent to the measurement module through the connector. After receiving the test instruction, the measurement module will send feedback information to the control chip of the single board, and the feedback information includes the execution result of the measurement module on the measurement instruction. The control chip confirms that the measurement module is in normal working state by receiving the feedback information. If the single board does not receive the feedback information sent by the measurement module, the single board will send the test instruction to the measurement module again until the single board receives the feedback information sent by the measurement module.

[0109] Among them, when the control chip of the single board receives the feedback information sent by the measurement module, the control chip sends the feedback information to the host computer, and the host computer confirms that the measurement module is in a normal working state. If the host computer does not receive the feedback information sent by the control chip, the host computer confirms that the measurement module is in an abnormal working state. When the host computer confirms that the measurement module is in a normal working state, through the bridging of the single board, the host computer can operate the measurement module to perform corresponding tests on the storage device. The feedback information sent by the measurement module is received by the control chip of the single board, and the control chip sends the feedback information to the host computer, so that the host computer can confirm that the measurement module is in a normal working state, which is conducive to the host computer controlling the measurement module to test the storage device.

[0110] Step S22: receiving an operation instruction, and executing a test operation on the storage device according to the operation instruction.

[0111] Among them, when the host computer receives the feedback information sent by the single board, the host computer will confirm that the measurement module is in a normal working state. At this time, the host computer can send an operation instruction, and the single board receives the operation instruction, and according to the operation instruction, controls the measurement module to perform corresponding test operations on the storage device.

[0112] Among them, the operation instruction includes: voltage test information, current test information, temperature test information, etc. After the control chip of the single board receives the storage device operation instruction, it will control the measurement module to perform corresponding test operations on the storage device, such as: voltage test, current test, temperature test, aging test, etc. The measurement module performs a test operation on the storage device, and the measurement module will obtain a test result after the test operation. The test result includes: information such as the voltage and current of the storage device and the ambient temperature of the storage device. For example, the storage device is a Universal Flash Storage (UFS), and the host computer tests the UFS by sending a test instruction. Specifically, the test instruction includes a measurement instruction and an operation instruction. The host computer sends the test instruction to the lower computer, and the single board of the lower computer receives and parses the test instruction, and parses the test instruction into a measurement instruction and an operation instruction. First, the single board forwards the measurement instruction to the measurement module. The measurement module sends a confirmation message to the single board according to the measurement instruction to confirm that the measurement module is in a normal working state. At this time, the single board executes the operation instruction to operate the storage device, for example, outputting a DC voltage power supply to the measurement module, such as a 5V or 12V DC voltage power supply, the measurement module outputs multiple adjustable voltage power supplies to the single board, such as 2V, 3V, 10V and other voltage power supplies, and the single board outputs multiple adjustable voltage power supplies to the storage device. The voltage, current or ambient temperature of the storage device and other parameters of the storage device are tested through the measurement module, and the measurement module feeds back the test result to the single board.

[0113] Step S30: Return the test result to the host computer.

[0114] Wherein, after the measurement module performs the corresponding test on the storage device, the measurement module will obtain the test result and send the test result to the single board. The control chip of the single board will receive the test result fed back by the measurement module and return the test result to the host computer. After receiving the test result forwarded by the single board, the host computer will display the test result. Wherein, the host computer can also verify the test result. If the host computer verifies the test result and determines that the test result is incorrect, the host computer can also send a test instruction again to perform a secondary test on the storage device, or send a test instruction multiple times and verify the test result to ensure the accuracy of the test result.

[0115] See also Fig.12 , Fig.12 It is a specific flow chart of a test method provided by an embodiment of the present invention. The test method is applied to the test system of the above embodiment. The test system includes a host computer, a test device and a storage device. The test device includes a slave computer. The slave computer includes a single board, a measurement module, a first connector and a second connector. The host computer and the single board in the slave computer are connected through a cable communication, the single board is connected to the measurement module through a first connector, and the single board is connected to the storage device through a second connector. Fig.12 The specific testing method provided by the embodiment of the present invention is further explained.

[0116] like Fig.12 As shown, the test method includes:

[0117] Step S41: Establish a communication connection and perform initialization;

[0118] Specifically, it includes: establishing a communication connection between the host computer and the test device, and establishing a communication connection between the test device and the storage device, wherein the communication connection between the host computer and the test device can be established by the host computer and the single board communicating with each other through a cable using a fixed communication protocol, and the communication protocol can include: USB protocol, serial communication protocol, serial communication protocol and other communication protocols. By establishing a communication connection between the host computer and the single board, it is convenient for the host computer to send test instructions and / or operation instructions to the single board, and the single board can control the operation of the storage device and the measurement module according to the test instructions and / or operation instructions sent by the host computer. The test device and the storage device can be connected through a second connector, and the second connector can be a USB data cable, a serial bus, a serial port line, a twisted pair, etc., wherein the single board can provide a corresponding interface to connect with the interface of the storage device through the second connector, and the single board can also provide an interface to establish a connection with the measurement module, for example, the single board provides a measurement module connection interface to connect the connector interface of the measurement module through the first connector, and the first connector can be a USB data cable, a serial bus, a serial port line, a twisted pair, etc.

[0119] After establishing the communication connection, the lower computer and the storage device can be powered on, and the device can be initialized after power-on. After the initialization is completed, the upper computer and the lower computer can communicate normally through the communication connection. For example, the board of the lower computer can provide feedback to the upper computer through the communication connection whether the initialization is completed. When the test device and the storage device are initialized, the storage device can be tested.

[0120] Step S42: setting the test voltage;

[0121] In order to complete the multi-function test of the storage device, the host computer can set different voltage values ​​for different test functions. For example, the test voltage can be set to 1.5V, 1.8V or 3.3V. In an embodiment of the present invention, the host computer can set the voltage output of the multi-channel adjustable voltage power supply unit of the measurement module to different test voltages through a single board, and feed back the test voltage output by the measurement module to the host computer through the single board. For example, the host computer sends a voltage setting instruction to the single board through a cable connection. After receiving the instruction, the single board forwards the instruction to the measurement module. The measurement module sets the corresponding voltage output according to the instruction and feeds it back to the single board. The single board feeds back the working voltage value output by the measurement module to the host computer.

[0122] Step S43: receiving a test instruction, and performing a multi-function test according to the test instruction;

[0123] In an embodiment of the present invention, a plurality of different voltage values ​​can be set, and at the same time, the host computer can set different test instructions for different test functions, and the test instructions can include measurement instructions and operation instructions. For example, one-key test of multiple functions can be set, or different buttons can be set for different test functions, and the user can trigger the test instruction by touching the button. The test instruction can include the measurement instruction of the electrical parameters during the test, and the operation instruction of the storage device. After the host computer triggers the corresponding instruction by pressing the button, it is sent to the single board, which is parsed by the single board, and the measurement instruction is sent to the measurement module and the operation instruction is sent to the storage device.

[0124] In an embodiment of the present invention, after the measurement module receives the measurement instruction of the single board, the measurement module can complete the measurement of the corresponding electrical parameters according to the measurement instruction, for example, measuring different current measurement values ​​under different working voltages, and feeding back the corresponding measurement results to the host computer through the single board. The single board can also control the measurement module to perform voltage measurement, current measurement or ambient temperature measurement of the storage device.

[0125] In the embodiment of the present invention, after receiving the operation instruction of the single board, the storage device can perform the corresponding test function operation, for example, the operation instruction includes: read operation information, write operation information, voltage test information, current test information, temperature test information. According to the content of the operation instruction, the single board can directly operate the storage device.

[0126] Step S44: Feedback the test results according to the test instructions.

[0127] In an embodiment of the present invention, the test operation results can be fed back to the host computer through the single board according to the test instructions, wherein the feedback of the test results may include that all test functions are normal, or that some test functions are abnormal, and may also include the measurement results of different measurement parameters under different test functions during the test process. For example, after the host computer receives the test results fed back by the single board, the host computer will summarize the electrical characteristic parameters or ambient temperature and other parameters of the storage device to obtain the test results, and display the test results on the screen of the host computer. Among them, the host computer can also verify the test results. For example: the host computer can obtain the voltage, current and other information of the storage device according to the test results, obtain the power consumption of the storage device, perform quality classification on the storage device, and other operations.

[0128] It should be noted that, in an embodiment of the present invention, after the single board receives the test instruction sent by the host computer, the single board forwards the test instruction to the measurement module or storage device. If the measurement module or storage device receives the test instruction, the measurement module or storage device will send feedback information to the single board to confirm that the measurement module or storage device has received the test instruction forwarded by the single board. If the single board receives the feedback information sent by the measurement module or storage device, the single board forwards the feedback information to the host computer; if the single board does not receive the feedback information sent by the measurement module or storage device, for example, a threshold time can be preset. If the single board does not receive the feedback information sent by the measurement module or storage device within the threshold time, it is confirmed that the measurement module or storage device is in an abnormal state. At this time, the single board can send an abnormal signal to the host computer to enable the host computer to confirm the abnormal situation of the measurement module or storage device.

[0129] In an embodiment of the present invention, a test method is provided, which includes: receiving a test instruction sent by the host computer; performing a multi-function test on the storage device according to the test instruction; and returning the test result to the host computer. In the above manner, the embodiment of the present invention can realize multi-function testing of storage devices, improve test efficiency, and reduce test costs.

[0130] It should be noted that the preferred embodiments of the present invention are given in the specification and drawings of the present invention. However, the present invention can be implemented in many different forms and is not limited to the embodiments described in this specification. These embodiments are not intended to be additional limitations on the content of the present invention. The purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive. In addition, the above-mentioned technical features continue to be combined with each other to form various embodiments not listed above, which are all considered to be within the scope of the present invention; further, for ordinary technicians in this field, they can be improved or transformed according to the above description, and all these improvements and transformations should belong to the scope of protection of the claims attached to the present invention.

Claims

1. A test device, It is characterized in that For multifunctional testing of storage devices, the testing device includes at least one slave computer, each of which includes: The single board is respectively connected to the host computer and the storage device for communication, and is used to receive and execute the test instructions sent by the host computer, and return the multi-function test results of the storage device to the host computer; A measurement module, connected to the single board through a unified interface, and used to receive a test instruction from the single board to implement a multifunctional test on the storage device; A storage device adapter unit, comprising a storage device interface and a single board connection interface, for connecting the storage device through the storage device interface and connecting the single board through the single board connection interface to achieve communication connection between the storage device and the single board; The measurement module comprises: A multi-channel adjustable voltage power supply unit, used for providing multi-channel adjustable voltage power supply for the storage device; A multi-channel power supply on-off control unit, used to control the on-off of the multi-channel adjustable voltage power supply; A multi-channel voltage measurement unit, used to measure the multi-channel power supply voltage of the storage device; A multi-channel current measurement unit, used to measure the multi-channel power supply current of the storage device; A temperature measuring unit, used to measure the ambient temperature of the storage device; A processing unit, connected to the multi-channel adjustable voltage power supply unit, the multi-channel power supply on-off control unit, the multi-channel voltage measurement unit, the multi-channel current measurement unit and the temperature measurement unit, respectively, for measuring the electrical characteristic parameters of the storage device under different working states, measuring the ambient temperature and performing multi-channel power supply on-off control on the storage device; A connector interface, used to connect the measurement module connection interface of the single board through a first connector; The measurement module connection interface and the connector interface use the same protocol and are defined as a unified interface. The multi-channel adjustable voltage power supply output by the multi-channel adjustable voltage power supply unit is input to the single board through the first connector, and then the single board outputs the multi-channel adjustable voltage power supply to the storage device.

2. The testing device according to claim 1, It is characterized in that The single board comprises: A host computer connection interface, used to connect to the host computer; A measurement module connection interface, used to connect the measurement module; A storage device connection interface, used to connect the storage device; A control chip is connected to the measurement module connection interface and the storage device connection interface, and is used to control the storage device and the measurement module according to the test instruction.

3. The testing device according to claim 2, It is characterized in that The single board also includes a power supply module, and the power supply module is used to provide power input for the measurement module.

4. A test system, It is characterized in that include: A host computer, at least one storage device and at least one testing device according to any one of claims 1 to 3; The host computer is connected to the test device, and each of the test devices is correspondingly connected to each of the storage devices via a second connector.

5. A testing method, It is characterized in that Applied to the test system as claimed in claim 4, the test method comprises: Receiving a test instruction sent by the host computer; Performing a multi-function test on the storage device according to the test instruction; The test results are returned to the host computer.

6. The test method according to claim 5, It is characterized in that The test instruction includes a measurement instruction and an operation instruction. The multi-function test is performed on the storage device according to the test instruction, including: Receiving a measurement instruction and feeding back an execution result of the measurement instruction; An operation instruction is received, and a test operation on the storage device is performed according to the operation instruction.