CN215730882U - Storage device detection device and system - Google Patents

Storage device detection device and system Download PDF

Info

Publication number
CN215730882U
CN215730882U CN202122034236.5U CN202122034236U CN215730882U CN 215730882 U CN215730882 U CN 215730882U CN 202122034236 U CN202122034236 U CN 202122034236U CN 215730882 U CN215730882 U CN 215730882U
Authority
CN
China
Prior art keywords
interface
storage device
microcontroller
test
driver
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
CN202122034236.5U
Other languages
Chinese (zh)
Inventor
谢兴
郭益铭
许超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Haojie Innovation Electronics Co ltd
Original Assignee
Shenzhen Haojie Innovation Electronics 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 Haojie Innovation Electronics Co ltd filed Critical Shenzhen Haojie Innovation Electronics Co ltd
Priority to CN202122034236.5U priority Critical patent/CN215730882U/en
Application granted granted Critical
Publication of CN215730882U publication Critical patent/CN215730882U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The embodiment of the application discloses a storage device detection device and a system, wherein the storage device detection device comprises a driver, a microcontroller, a differential signal interface and a detection connection interface; the driver is used for being connected with an upper computer through the differential signal interface, one end of the microcontroller is connected with the driver, the other end of the microcontroller is connected with a storage device to be tested through the detection connection interface, and the driver is used for receiving a test signal sent by the upper computer and converting the test signal into a level signal; the microcontroller is used for receiving the level signal sent by the driver and analyzing the level signal so as to test the storage equipment to be tested. The detection device can be used for simply and conveniently detecting various storage devices in the production process.

Description

Storage device detection device and system
Technical Field
The application relates to the technical field of storage device testing, in particular to a storage device detection device and system.
Background
In the storage area, the industry standard s.m.a.r.t specifies the standards that storage device manufacturers should comply with. The meaning of "s.m.a.r.t." is self-monitoring, analysis and reporting technology, abbreviated s.m.a.r.t. The S.M.A.R.T. is mainly used for detecting information such as residual service life, read-write bit error rate, use duration, operation condition, historical records and the like of the storage device, and the operation state of the storage device can be analyzed by comparing the information with a preset safety threshold. However, the existing production equipment of the storage equipment is complex in realization and poor in convenience, so that the time cost and the physical cost for detecting the storage equipment are high.
SUMMERY OF THE UTILITY MODEL
The application provides a storage device detection device, which comprises a driver, a microcontroller, a differential signal interface and a detection connection interface;
the driver is used for being connected with an upper computer through the differential signal interface, one end of the microcontroller is connected with the driver, and the other end of the microcontroller is connected with the storage equipment to be detected through the detection connection interface;
the driver is used for receiving the test signal sent by the upper computer and converting the test signal into a level signal;
the microcontroller is used for receiving and analyzing the level signal sent by the driver so as to test the storage equipment to be tested.
The detection device further comprises a converter, wherein one end of the converter is connected with the microcontroller, and the other end of the converter is connected with the detection connection interface;
the converter is used for realizing signal conversion or transparent transmission between the microcontroller and the detection connection interface.
Further, the converter supports a USB interface, a SATA interface, a mSATA interface, a SATA DOM interface, an m.2 interface, and interface signal conversion between any two interfaces, and protocol conversion thereof.
Further, the driver adopts a driver supporting TIA/EIA-485 bus standard.
Further, the test device also comprises an indicating module and an input module which are connected with the microcontroller, wherein the indicating module is used for displaying whether the test is successful; the input module is used for receiving an external control signal, and the external control signal is a test starting or stopping signal.
Further, the indication module comprises one of an LED lamp, a buzzer and a display;
the indicating module comprises one or more combinations of an external keyboard, a key and a knob.
Further, the detection connection interface is a SATA interface, a USB interface, a mSATA interface, a SATA DOM interface, and an m.2 interface.
Further, the present application also provides a storage device detection system, which includes an upper computer and at least one storage device detection apparatus described in the above embodiments;
the upper computer is used for being connected with each storage equipment detection device through a differential signal line so as to control the storage equipment detection devices to test and detect the connected storage equipment to be detected.
The storage device to be tested comprises one or more of a mechanical disk, a solid state disk, an eMMC, a TF card and an SD card.
Furthermore, a resistor is connected in series at the tail end of the differential signal line.
The application provides a storage device detection device, which comprises a driver, a microcontroller, a differential signal interface and a detection connection interface, wherein the driver is connected with an upper computer through the differential signal interface; the driver is used for receiving the test signal sent by the upper computer and converting the test signal into a level signal; the microcontroller is used for receiving the level signal sent by the driver and analyzing the level signal so as to test the storage equipment to be tested, wherein the detection connection interface can be a connection interface adaptive to various different protocols, and the storage equipment detection device can be connected with an upper computer in a parallel connection mode, so that the detection of the storage equipment in the production process is simpler and more convenient, and the time cost and the physical cost for detection are reduced.
Drawings
In order to more clearly explain the technical solutions of the present application, the drawings needed to be used in the embodiments are briefly introduced below, and it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope of protection of the present application. Like components are numbered similarly in the various figures.
FIG. 1 is a schematic structural diagram illustrating a storage device detection apparatus in an embodiment of the present application;
FIG. 2 is a diagram illustrating an example of a storage device detection apparatus in an embodiment of the present application;
FIG. 3 is a diagram illustrating an example of another storage device detection apparatus in an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating another structure of a storage device detection apparatus in an embodiment of the present application;
FIG. 5 is a diagram illustrating an example of a storage device detection apparatus according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a cascade of storage device detection apparatuses in an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating a cascade of further storage device detection apparatuses in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present application, are intended to indicate only specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of the present application belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments.
Example 1
The description is made in conjunction with a schematic structural diagram of the storage device detection apparatus shown in fig. 1.
Exemplarily, the present embodiment provides a storage device detection apparatus, including a driver, a microcontroller, a detection connection interface, and a differential signal interface, where the driver is connected to the upper computer through the differential signal interface A, B to receive a test signal from the upper computer, and analyze the test signal into a level signal that can be recognized by the microcontroller, and transmit the level signal to the microcontroller, and the microcontroller further analyzes the level signal to implement access and specific test on a storage device to be tested through the detection connection interface. In the detection process, the microcontroller can execute various test cases specified by the upper computer.
The upper computer can be a terminal device such as a computer and the like, and is connected with the detection device through a differential signal line. The test case is mainly issued by the test signal in the form of a signaling message to the storage device detection apparatus, and may be sent by using, for example, a Modbus protocol or other user-defined protocols.
In one embodiment, the upper computer issues a test case to the microcontroller to execute through the RS-485 differential bus. The driver, which supports the TIA/EIA-485 standard, may be an RS-485 driver, for example, as shown in fig. 2, where R is an input receiver, D is an output transmitter for transmitting and receiving signals, and the MCU connected thereto is a microcontroller.
Further optionally, the microcontroller is further connected with an indication module formed by LED lamps with different colors (such as red and green, etc.), wherein the LED lamps are used for indicating whether the test is successful, and when the test is successful, the green lamp is turned on, and when the test is failed, the red lamp is turned on, so that the test result is simply represented. In addition, the microcontroller is also connected with an input module consisting of a key K1, the key K1 can be used for controlling the start and the end of the test case of the storage device, the execution of the test can be conveniently controlled through a peripheral key, the code instruction input on the upper computer is reduced, the operation time is effectively reduced, the test efficiency is improved, and the like.
In this embodiment, the upper computer sends a test signal containing a test case through a communication link such as RS-485, and the test signal is analyzed by the driver and the microcontroller to obtain the test case, and then the test case is used to test the connected storage device. Taking a test procedure as an example, when the test is started, the key K1 can be turned on, and the storage device starts to test the connected storage device with the accepted test case. After the test is finished, the key K1 is turned off, the storage device is pulled out, and after the test is finished, whether the test is successful or not is indicated through the bright condition of the LED lamp.
It is understood that besides the LED lamp and the single key as described above, whether the test is successful or not can be indicated by a display screen or a buzzer, and the number of keys can be multiple, so as to achieve more complicated adjustment, even a knob, a keyboard and other control input components, which is not limited herein.
The storage device for the test supported by the storage device detection apparatus of the present application includes, but is not limited to, different storage devices such as a mechanical hard disk, a solid state disk, an eMMC, a TF card, and an SD card, as shown in fig. 2, the plug-in interface in the present embodiment is adapted to the SATA hard disk, and therefore, the plug-in interface can be used to test the SATA hard disk. It is understood that, depending on the test interface, different storage devices may be tested, such as fig. 3, where the plug-in interface is a plug-in interface of USB, and thus the device in fig. 3 may be used for testing a USB device.
Referring to fig. 4, in another embodiment, the storage device detection apparatus may further include a converter disposed between the microcontroller and the detection connection interface, for implementing data signal conversion or transparent transmission between the microcontroller and the detection connection interface. The data signal conversion function is mainly used for working scenes with different protocols supported by the interface access storage device and the microcontroller, and the converter is used for 'translation', so that two devices which use different electrical protocols and cannot originally perform signal communication can perform barrier-free access and test work. And for the transparent transmission function, the transparent transmission function is mainly used for the situation that the protocol used by the accessed storage device is the same as that of the microcontroller, and the signal can be directly transmitted through without the translation action of a converter, so that the microcontroller can access the connected storage device to be tested.
The converter will vary due to the different storage devices supported by the test connection interface and the different protocols supported by the microcontroller. Illustratively, as shown in table 1 below, the converter may include, but is not limited to, supporting signal conversion between electrical protocols between any two of a USB interface, a SATA interface, a mSATA interface, a SATA DOM interface, and an m.2 interface.
TABLE 1
Source interface Destination interface
USB(USB2.x,USB3.x,etc) SATA
USB(USB2.x,USB3.x,etc) mSATA
USB(USB2.x,USB3.x,etc) M.2
USB(USB2.x,USB3.x,etc) M.2(NVMe)
SATA(SATA I,SATA II,SATA III,etc) SATA
SATA(SATA I,SATA II,SATA III,etc) mSATA
SATA(SATA I,SATA II,SATA III,etc) M.2
SATA(SATA I,SATA II,SATA III,etc) M.2(NVMe)
It is understood that when testing a certain storage device, the converter may be a converter only supporting signals between two interfaces, for example, as shown in fig. 5, a usb3.x to SATA converter is provided in the microcontroller and the detection connection interface, and the converter is used for implementing data conversion between the microcontroller MCU and the SATA hard disk. In addition, the converter can be a converter for signal conversion among a SATA interface, a mSATA interface, a SATA DOM interface, and an m.2 interface, depending on the converter to be mounted.
Further, the memory space in the microcontroller is divided into three areas, namely a BootLoader boot area, a free Idle FW firmware area and a test case Task FW firmware area. The BootLoader boot area is used for firmware to execute common system boot and can be used for manually updating Idle firmware FW; and the firmware in the Idle FW firmware area executes a Task of dynamically updating the firmware in the Task FW area, and if the upper computer does not issue an updating signaling, the operation of updating the firmware is skipped, and the test case in the Task FW firmware area is directly executed.
For example, when the memory device detection apparatus of the embodiment of the present application is used for detection.
Firstly, a power supply is electrified, and a microcontroller executes firmware of a BootLoader area; then, jumping (Jmp Idle) and loading the firmware of the Idle FW firmware area, and executing the Idle FW firmware; then, jumping (Jmp Task) and loading the firmware of the Task FW firmware, and executing the Task FW firmware; finally, jump (Reset Idle) and load the firmware of Idle FW firmware, and execute Idle FW firmware.
Example 2
Referring to fig. 6 and 7, an embodiment of the present application further provides a storage device detection system, including: the host computer is used for being connected with each storage device detection device through a differential signal line so as to control the test detection work of each storage device detection device on the connected storage device to be detected.
In this embodiment, the upper computer may be connected to the plurality of storage device detection apparatuses in parallel. The storage device detection apparatus in embodiment 1 may be used as each storage device detection apparatus. Further, a resistor is connected in series at the end of the differential signal line, and the resistor is a termination resistor, so that the signal does not reflect after reaching the end of the transmission line, so as to reduce the influence caused by the reflected signal.
When a plurality of storage equipment detection devices are connected, each detection device is provided with a unique access address, so that the upper computer can identify different storage equipment detection devices. For example, when a certain address is accessed or tested, only the corresponding signal needs to be issued according to the corresponding unique address.
In this embodiment, the number of the storage device detection apparatuses connected to the upper computer may be one or more, and the detected storage devices may be the same or different, for example, as shown in fig. 3 and 5, schematic diagrams are respectively shown in which the upper computer is connected to a single storage device detection apparatus, and tests are performed on the SATA device and the USB device. As shown in fig. 6, three detection devices are connected in parallel to the upper computer, a first device is used for detecting the solid state disk, a second device is used for detecting the mechanical hard disk, a third device is used for detecting the TF card, and the like.
In the embodiment of the application, the RS-485 links are connected in parallel, so that the system scale can be rapidly expanded or contracted, and the problem of fluctuation of the number of the tested products in different batches can be conveniently and dynamically responded.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application.

Claims (10)

1. The storage device detection device is characterized by comprising a driver, a microcontroller, a differential signal interface and a detection connection interface;
the driver is used for being connected with an upper computer through the differential signal interface, one end of the microcontroller is connected with the driver, and the other end of the microcontroller is connected with the storage equipment to be detected through the detection connection interface;
the driver is used for receiving the test signal sent by the upper computer and converting the test signal into a level signal;
the microcontroller is used for receiving and analyzing the level signal sent by the driver so as to test the storage equipment to be tested.
2. The storage device detection apparatus of claim 1, further comprising a converter, one end of the converter being connected to the microcontroller and the other end being connected to the detection connection interface;
the converter is used for realizing signal conversion or transparent transmission between the microcontroller and the detection connection interface.
3. The storage device detection apparatus of claim 2, wherein the converter supports USB interface, SATA interface, mSATA interface, SATA DOM interface, m.2 interface, and interface signal conversion between any two interfaces and protocol conversion thereof.
4. The storage device detection apparatus of claim 1, wherein the driver is a driver supporting TIA/EIA-485 bus standard.
5. The storage device detection apparatus of claim 1, further comprising an indication module and an input module connected to the microcontroller, the indication module being configured to display whether the test is successful; the input module is used for receiving an external control signal, and the external control signal is a test starting or stopping signal.
6. The storage device detection apparatus of claim 5, wherein the indication module comprises one or a combination of an LED light, a buzzer, and a display;
the indicating module comprises one or a combination of an external keyboard, independent keys and a knob.
7. The storage device detection apparatus of claim 1, wherein the detection connection interface is a SATA interface, a USB interface, a mSATA interface, a SATA DOM interface, or an m.2 interface.
8. A storage device inspection system comprising an upper computer and at least one of the storage device inspection apparatuses according to any one of claims 1 to 7;
the upper computer is used for being connected with each storage equipment detection device through a differential signal line so as to control each storage equipment detection device to test the connected storage equipment to be tested.
9. The storage device detection system of claim 8, further comprising the storage device under test comprising one or more of a mechanical disk, a solid state disk, an eMMC, a TF card, and an SD card.
10. The memory device detection system of claim 8, wherein a resistor is connected in series at an end of the differential signal line.
CN202122034236.5U 2021-08-26 2021-08-26 Storage device detection device and system Active CN215730882U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202122034236.5U CN215730882U (en) 2021-08-26 2021-08-26 Storage device detection device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202122034236.5U CN215730882U (en) 2021-08-26 2021-08-26 Storage device detection device and system

Publications (1)

Publication Number Publication Date
CN215730882U true CN215730882U (en) 2022-02-01

Family

ID=80007796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202122034236.5U Active CN215730882U (en) 2021-08-26 2021-08-26 Storage device detection device and system

Country Status (1)

Country Link
CN (1) CN215730882U (en)

Similar Documents

Publication Publication Date Title
CN106844268B (en) USB equipment testing system, testing method and testing device
CN101124549B (en) Equipment and method for displaying computer status
CN111063386A (en) DDR chip testing method and device
CN101738550A (en) Electronic device test device and test method
CN110058147A (en) Chip test system and method based on fpga
US20100042353A1 (en) System and method for testing working condition of led indicators on hard disk drives
CN108959031B (en) NVME backboard lighting control method, system, medium and equipment
CN215730882U (en) Storage device detection device and system
CN112860495A (en) Debugging method of I2C slave device, I2C master device and storage medium
CN201654765U (en) Testing device
US7484156B2 (en) Apparatus and method for testing PS/2 interface
CN112822073A (en) Test method, device, system, electronic equipment and readable storage medium
CN219248063U (en) Domain controller testing arrangement
CN117076214A (en) Method, system, terminal and medium for detecting dial fool-proof of hard disk backboard of server
CN109753396A (en) A kind of cable self checking method, system and the server of storage system
CN116319475A (en) Signal analysis method, device, equipment and storage medium
CN114006631B (en) Cable testing device and method based on code pattern signal verification
CN102543215A (en) Nand FLASH intelligent detection method based on ARM controller
CN102204199A (en) Bit inversion for communication interface
CN104062530A (en) Mobile terminal hardware fault detecting device and method
RU2642397C2 (en) Device for monitoring electrical installation
CN107122276A (en) Running status output circuit and running status output intent
CN218630134U (en) Test monitoring system of indoor lamp lighting data
CN202330706U (en) Response probability detector
CN111610396A (en) Locomotive signal recording board and locomotive signal detection method

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant