CN114443385A - Multi-interface testing device and server system - Google Patents

Multi-interface testing device and server system Download PDF

Info

Publication number
CN114443385A
CN114443385A CN202111632171.2A CN202111632171A CN114443385A CN 114443385 A CN114443385 A CN 114443385A CN 202111632171 A CN202111632171 A CN 202111632171A CN 114443385 A CN114443385 A CN 114443385A
Authority
CN
China
Prior art keywords
interface
signal
module
tested
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111632171.2A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111632171.2A priority Critical patent/CN114443385A/en
Publication of CN114443385A publication Critical patent/CN114443385A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a multi-interface testing device and a server system, wherein a control module can generate a corresponding control signal when receiving an interface signal which is sent by a server and comprises a current interface to be tested through a communication module, the control signal is sent to a selection module, the selection module can send a preset testing signal sent by the server to a testing module through a connecting interface corresponding to the current interface to be tested when receiving the control signal, the testing module can generate a corresponding reply signal when receiving the preset testing signal, and the reply signal is sent to the server through the connecting interface corresponding to the current interface to be tested so that the server can judge whether the current interface to be tested is normal, when the interface to be tested of the server is an I2C interface, a plurality of even all I2C interfaces on the server can be simultaneously connected to a connector, and the testing process of a plurality of I2C interfaces is simplified, the manual dismantling and installation for many times are not needed, and the workload is also reduced.

Description

Multi-interface testing device and server system
Technical Field
The present invention relates to the field of interface testing, and in particular, to a multi-interface testing apparatus and a server system.
Background
An I2C (Inter-Integrated Circuit, two-wire serial bus) interface is arranged in a server, the server communicates with other devices through an I2C interface, in order to detect whether an I2C interface of the server is normal, FCT (Functional Circuit Test) needs to be performed on the I2C interface, when the prior art tests the I2C interface, other devices are connected to the I2C interface, when the server sends a preset Test signal to other devices through the I2C interface, whether the I2C interface is normal is determined according to whether the other devices can generate a reply signal corresponding to the preset Test signal, but the device can only detect one I2C interface of the server at the same time, when a plurality of I2C interfaces exist in the server, the I2C interfaces can only be detected in sequence, after one I2C interface is tested, the device connected with the I2C interface needs to be removed, the device is connected to another I2C interface for testing, and the problems that the testing process is complicated and the device needs to be dismantled and installed manually for multiple times exist.
Disclosure of Invention
The invention aims to provide a multi-interface testing device and a server system, which can be connected with a plurality of interfaces to be tested on a server simultaneously, and can ensure that a plurality of even all I2C interfaces on the server can be connected to a connector simultaneously when the interfaces to be tested of the server are I2C interfaces, thereby simplifying the testing process of a plurality of I2C interfaces, avoiding the need of manual disassembly and installation for a plurality of times and reducing the workload.
In order to solve the above technical problem, the present invention provides a multi-interface testing apparatus, including:
a communication module;
the control module is used for receiving an interface signal sent by a server through the communication module and generating a control signal according to the interface signal, wherein the interface signal comprises information of a current interface to be tested on the server, the server comprises N interfaces to be tested, and N is an integer not less than 2;
the connector comprises N connecting interfaces, and one ends of the N connecting interfaces are connected with the N interfaces to be tested one by one;
the selection module is used for receiving a preset test signal sent by the server through the connection interface corresponding to the current interface to be tested when the control signal is received, and sending the preset test signal to the test module;
the test module connected with the second interface of the selection module is configured to generate a first reply signal according to the preset test signal, and send the first reply signal to the server through the connection interface corresponding to the current interface to be tested, so that the server can determine whether the current interface to be tested is normal according to the first reply signal.
Preferably, the control module is further configured to determine, when the N connection interfaces are connected to the N interfaces to be tested one by one, an overturning number of connection interfaces of which the levels are overturned in the N connection interfaces, and send the overturning number to the server, so that the server enters a step of sending an interface signal when determining that the overturning number is equal to a preset number of interfaces to be tested.
Preferably, the selection module is specifically configured to control the connection interface corresponding to the current interface to be tested to be connected with the test module when the control signal is received, and control all the connection interfaces except the connection interface corresponding to the current interface to be tested to be disconnected from the test module.
Preferably, the communication module includes:
one end of the USB connection interface is connected with the USB interface of the server;
the input end is connected with the other end of the USB connecting interface, the output end is connected with the USB-to-UART module connected with the control module, and the USB-to-UART module is used for receiving the interface signal through the USB connecting interface, converting the interface signal into an interface signal in a UART format and sending the interface signal in the UART format to the control module.
Preferably, the control module is an MCU.
Preferably, the method further comprises the following steps:
and the power supply module is used for supplying power to the communication module, the control module, the selection module and the test module.
Preferably, the power module is a rechargeable battery.
Preferably, when an external test device is connected to the selection module, the selection module is further configured to send the preset test signal to the external test device through the connection interface corresponding to the current interface to be tested when the control signal is received, so that the external test device generates a second reply signal according to the preset test signal and sends the second reply signal to the server through the connection interface corresponding to the current interface to be tested, and the server determines whether the current interface to be tested is normal according to the second reply signal.
The application also provides a server system, which comprises a server and the multi-interface testing device;
the server and the multi-interface testing device are sequentially connected.
The invention provides a multi-interface testing device and a server system, which comprises a communication module, a control module, a selection module, a testing module and a connector comprising N connecting interfaces, wherein the N connecting interfaces are connected with N interfaces to be tested on a server one by one, the control module can generate a corresponding control signal and send the control signal to the selection module when receiving an interface signal which is sent by the server and comprises the current interface to be tested through the communication module, the selection module can send a preset testing signal sent by the server to the testing module through the connecting interface corresponding to the current interface to be tested when receiving the control signal, the testing module can generate a corresponding reply signal and send the reply signal to the server through the connecting interface corresponding to the current interface to be tested when receiving the preset testing signal, so that the server can judge whether the current interface to be tested is normal or not, when the interface to be tested of the server is the I2C interface, a plurality of even all I2C interfaces on the server can be connected to the connector simultaneously, that is, the test of all I2C interfaces on the server can be completed by using one multi-interface test device, the test flow of a plurality of I2C interfaces is simplified, manual disassembly and installation for a plurality of times are not needed, and the workload is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a multi-interface testing apparatus according to the present invention;
FIG. 2 is a schematic structural diagram of another multi-interface testing apparatus according to the present invention;
fig. 3 is a schematic structural diagram of a server system according to the present invention.
Detailed Description
The core of the invention is to provide a multi-interface testing device and a server system, which can be connected with a plurality of interfaces to be tested on a server at the same time, and when the interfaces to be tested of the server are I2C interfaces, a plurality of even all I2C interfaces on the server can be connected to a connector at the same time, thereby simplifying the testing process of a plurality of I2C interfaces, needing no manual disassembly and installation for a plurality of times and reducing the workload.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a multi-interface testing apparatus provided in the present invention, the apparatus includes:
a communication module 11;
the control module 12 is configured to receive an interface signal sent by the server through the communication module 11, and generate a control signal according to the interface signal, where the interface signal includes information of a current interface to be tested on the server, the server includes N interfaces to be tested, and N is an integer not less than 2;
the connector 13 comprises N connecting interfaces, and one ends of the N connecting interfaces are connected with the N interfaces to be tested one by one;
the selection module 14 is used for receiving a preset test signal sent by the server through the connection interface corresponding to the current interface to be tested when receiving the control signal, and sending the preset test signal to the test module 15;
the test module 15 connected to the second interface of the selection module 14 is configured to generate a first reply signal according to a preset test signal, and send the first reply signal to the server through the connection interface corresponding to the current interface to be tested, so that the server determines whether the current interface to be tested is normal according to the first reply signal.
In order to conveniently and quickly test whether the N interfaces to be tested on the server are normal, in the application, the selection module 14 and the connector 13 are firstly arranged, the connector 13 includes N connection interfaces, so as to be connected with the N interfaces to be tested on the server one by one, in actual work, the number of the interfaces to be tested on the servers in different styles is considered to be different, in order to be suitable for the servers in various styles, the connection interfaces included in the connector 13 can be larger than the number of the interfaces to be tested of the server, and the number of the connection interfaces in the connector 13 is not limited by the application. The other end of each connection interface is connected to each first interface of the selection module 14, so that a preset test signal sent by the server from any interface to be tested can be sent to the selection module 14 through the corresponding connection interface on the connector 13, so that the selection module 14 sends the preset test signal to the test module 15. Furthermore, the selection module 14 does not affect the communication protocol of the preset test signal, for example, when the sent preset test signal is the preset test signal of the I2C protocol, the selection module 14 can send the preset test signal of the I2C protocol to the test module 15.
In order to control the selection module 14 to select the connection interface corresponding to the current interface to be tested, a control module 12 and a communication module 11 are further provided, specifically, before the server sends the preset test signal, the server sends an interface signal to the communication module 11, the interface signal includes information of the current interface to be tested, after receiving the interface signal, the communication module 11 converts the interface signal into an interface signal in a format readable by the control module 12, and then sends the interface signal to the control module 12, and the control module 12 controls the selection module 14 to select the connection interface corresponding to the current interface to be tested according to the interface signal, so that the preset test signal can be sent to the test module 15 from the connection interface corresponding to the current interface to be tested. That is, before the server sends the preset test signal, the communication module 11 informs the control module 12 that the subsequent preset test signal will come from which interface to be tested, and then the control module 12 controls the selection module 14 to select the connection interface corresponding to the interface to be tested, so that when the preset test signal really comes, the connection interface corresponding to the current interface to be tested can be sent to the selection module 14, and then the connection interface corresponding to the current interface to be tested can be sent to the test module 15 from the selection module 14.
In order to enable the server to determine whether the current interface to be tested is normal, the test module 15 is provided, and the test module 15 can receive a preset test signal and generate a reply signal according to the preset test signal. Specifically, the preset test signal may be a signal corresponding to a certain instruction in the test module 15, the reply signal is a signal generated according to the signal of the instruction, and since a communication protocol of the preset test signal is related to the type of the interface to be tested of the server, in actual work, the test module 15 that is actually used needs to be selected according to the communication protocol of the preset test signal, for example, when the interface to be tested of the server is an I2C interface, the communication protocol of the preset test signal is an I2C protocol, and at this time, it may be determined that the test module 15 that needs to be used is the test module 15 that supports the I2C protocol; the preset test signal may be a signal for querying a model of the test module 15, when the test module 15 receives the signal for querying the model, a reply signal including the model of the test module 15 itself may be generated, then the test module 15 may send the reply signal to the server through the connection interface corresponding to the current interface to be tested, that is, the reply signal is sent to the server through the original path, after the server receives the reply signal, it may be determined whether the model of the test module 15 in the reply signal is consistent with the model of the preset test module 15, when consistent, the server determines that the current interface to be tested is normal, otherwise, it determines that the current interface to be tested is abnormal. In addition, before the server determines whether the model of the test module 15 in the reply signal is consistent with the preset model of the test module 15, the server may first determine whether the current interface to be tested is normal according to whether the reply signal is received within a preset time, if the reply signal is not received within the preset time, the current interface to be tested is determined to be abnormal, if the reply signal is received within the preset time, the server then performs the step of determining whether the model of the test module 15 in the reply signal is consistent with the preset model of the test module 15, and the method for the server to specifically determine the current interface to be tested is not limited in the present application.
In order to cooperate with the multi-interface test apparatus, a test script for each interface to be tested may be set in the server, and may be, for example, the following test script: the server firstly determines the number of interfaces to be tested which are communicated with corresponding connection interfaces in each interface to be tested, determines the test sequence of each interface to be tested according to a preset interface sequencing mode when the number is consistent, then takes the first interface to be tested as the current interface to be tested, generates an interface signal containing the information of the current interface to be tested, sends the interface signal to the communication module 11, generates a preset test signal, sends the preset test signal to the test module 15 through the connection interface corresponding to the current interface to be tested, and then judges whether the current interface to be tested is normal or not based on a reply signal generated by the test module 15; then, if the current interface to be tested is not the last interface to be tested in the preset interface sequence to be tested, taking the next interface to be tested of the current interface to be tested as a new interface to be tested, and returning to the step of generating an interface signal containing the information of the current interface to be tested and sending the interface signal to the communication module 11 until the current interface to be tested is the last interface to be tested; and finally, generating a log containing the test result of each interface to be tested, the preset test signal of each interface to be tested and the corresponding reply signal so that a worker can check the test result of each interface to be tested. In addition, the method and the device for judging whether the current interface to be tested is the last interface to be tested are not limited by the server.
In summary, by providing the communication module 11, the control module 12, the selection module 14, the test module 15, and the connector 13 having N connection interfaces, where the N connection interfaces are connected to the N interfaces to be tested on the server one by one, when the control module 12 receives an interface signal including a current interface to be tested and sent by the server through the communication module 11, the control module can generate a corresponding control signal and send the control signal to the selection module 14, when the selection module 14 receives the control signal, the selection module 14 can send a preset test signal sent by the server through the connection interface corresponding to the current interface to be tested to the test module 15, when the test module 15 receives the preset test signal, the test module 15 can generate a corresponding reply signal and send the reply signal to the server through the connection interface corresponding to the current interface to be tested, so that the server determines whether the current interface to be tested is normal, when the interface to be tested of the server is the I2C interface, a plurality of even all I2C interfaces on the server can be connected to the connector 13 at the same time, that is, the testing of all I2C interfaces on the server can be completed by using one multi-interface testing device, the testing process of a plurality of I2C interfaces is simplified, manual dismantling and installation for many times are not needed, and the application range is expanded.
On the basis of the above-described embodiment:
as a preferred embodiment, the control module 12 is further configured to determine, when the N connection interfaces are connected to the N interfaces to be tested one by one, an overturning number of a connection interface whose level is overturned in the N connection interfaces, and send the overturning number to the server, so that the server enters the step of sending the interface signal when determining that the overturning number is equal to the preset number of the interfaces to be tested.
Because each interface to be tested on the server is connected with each connection interface one by one, when the number of the interfaces to be tested which are communicated with the corresponding connection interfaces in each interface to be tested is less than the number of the interfaces to be tested which are preset on the server, the fact that the interfaces to be tested are abnormal exists is considered, for example, when the wire rod between the interface to be tested and the corresponding connection interface is broken or the interface is short-circuited, the communication between the interface to be tested and the corresponding connection interface can not be achieved. In order to determine the number of the communicated interfaces to be tested, in the application, when each connection interface is connected with each interface to be tested one by one, the server sends a level signal to the corresponding connection interface from each interface to be tested, so that the level of each connection interface is inverted at the moment, for example, when the connection interface is not connected with the interface to be tested, the level of the connection interface is a low level, and when the connection interface is connected with the interface to be tested, the level of the connection interface is inverted into a high level. Because the level of the connection interface is turned over to indicate that the connection interface and the interface to be tested are normally communicated at the moment, the control module 12 can determine the number of the connection interfaces with the level turned over in each connection interface, namely the turning number, and then sends the turning number to the server, when the server receives the turning number, the server judges whether the turning number is consistent with the preset number of the interfaces to be tested, when the turning number is consistent, the step of sending an interface signal is started, when the turning number is inconsistent, a worker can be prompted to find the specific unconnected interface to be tested, so that the worker can repair the unconnected interface to be tested, and the method does not limit the subsequent steps when the turning number is inconsistent.
As a preferred embodiment, the selection module 14 is specifically configured to control the connection interface corresponding to the current interface to be tested to be connected with the test module 15 when receiving the control signal, and control each connection interface except the connection interface corresponding to the current interface to be tested to be disconnected from the test module 15.
In order to avoid that a plurality of preset test signals are sent to the test module 15 through the connection interfaces corresponding to the plurality of interfaces to be tested at the same time, and logic confusion is caused by the fact that the test module 15 receives the plurality of preset test signals, in the present application, the selection module 14, after receiving the control signal corresponding to the interface signal, controls the connection between the connection interface corresponding to the current interface to be tested and the test module 15, and disconnects other connection interfaces from the test module 15, which is equivalent to that in each connection interface at this time, only the connection interface corresponding to the current interface to be tested can transmit the preset test signal to the test module 15, and the selection function realized by the selection module 14 can be regarded as being basically the same as the function of the multiplexer. In addition, the selection module 14 may keep the connection interface corresponding to the current interface to be tested and the test module 15 to be connected after receiving one control signal until receiving the next control signal. Because the selection module 14 can only allow one connection interface to be connected with the test module 15, the situation that a plurality of preset test signals are sent to the test module 15 through the connection interfaces corresponding to the plurality of interfaces to be tested at the same time is avoided, and the situation that the test module 15 generates logic confusion due to the fact that the plurality of preset test signals are received is further avoided.
As a preferred embodiment, the communication module 11 includes:
one end of the USB connecting interface is connected with the USB interface of the server;
the USB-to-UART module, of which the input end is connected to the other end of the USB connection interface and the output end is connected to the control module 12, is configured to receive the interface signal through the USB connection interface, convert the interface signal into an interface signal in the UART format, and send the interface signal in the UART format to the control module 12.
In order to flexibly receive an interface signal sent by a server, in the present application, please refer to fig. 2, fig. 2 is a schematic structural diagram of another multi-interface testing apparatus provided by the present invention, in consideration that substantially all servers are provided with USB (Universal Serial Bus) interfaces, instructions of the servers can be transmitted to other devices linked to the USB interfaces through the USB interfaces, and since the USB interfaces support hot plug functions and have advantages of small interface volume, convenient plugging and unplugging, and small circuit area, a USB connector 13 and a USB to UART (Universal Asynchronous Receiver/Transmitter) module are provided in a communication module 11, one end of the USB connector 13 is connected to the USB interface on the server, the other end is connected to the USB to UART module, the interface signal sent by the server enters the USB to module through the USB interface first, the USB to UART module converts the interface signal in the USB format into an interface signal in the UART format, and finally sends the interface signal to the control module 12. The selection module 14 not only can flexibly receive the interface signal sent by the server, but also can transmit the interface signal to the control module 12 faster through the UART, with a faster data transmission speed, usually 1Mbps per second.
In a preferred embodiment, the control module 12 is an MCU.
In order to simply implement the function of the Control module 12, in the present application, the Control module 12 is an MCU (Micro Control Unit), which is a highly integrated chip, and not only has a small circuit area and simple development, but also has a lower cost compared to a CPU (Central Processing Unit), and can implement the function of the Control module 12, that is, the function of generating a corresponding Control signal according to an interface instruction and sending the Control signal to the selection module 14. The MCU is adopted as the control module 12, and the function of the control module 12 can be simply realized.
As a preferred embodiment, further comprising:
and the power supply module is used for supplying power to the communication module 11, the control module 12, the selection module 14 and the test module 15.
Considering that the communication module 11, the control module 12, the selection module 14 and the test module 15 all need to supply power, in the present application, a power module is further provided, since these modules all need to be supplied with power to operate normally, if the modules are connected to the power supply interfaces corresponding to the respective modules through external power equipment to supply power to the modules, not only additional interfaces and wires are needed, but also the modules may not realize normal functions because the voltage of the external power equipment is different from the voltage needed by the respective modules, and even the modules may be burned out because the voltage of the external power equipment is too large, one power module may be provided to be connected with other modules one by one, specifically, the power module may determine the magnitude of the operating voltage needed by the respective modules in advance, and then determine the voltage value of the power module according to the required operating voltage, so that the power supply voltage of the power module can be consistent with the voltage needed by the respective modules, the power supply module can not be burnt down due to overlarge voltage, and in addition, the power supply module can be provided with interfaces for outputting different voltages so as to be connected with each module more flexibly.
As a preferred embodiment, the power module is a rechargeable battery.
In order to recycle the power module, the power module is a rechargeable battery in the application, and the rechargeable battery can be put into use again only after being charged for a period of time after consuming electric quantity, so that a new battery is not required to be replaced, the power module can be recycled, and environmental pollution caused by frequent replacement of the new battery is avoided. In consideration of the practicability in actual work, the power supply interface of the rechargeable battery can be connected with the power supply interface on the server, such as a USB interface, so that the power supply module can be charged while the interface to be tested of the server is tested, and the cruising ability and the practicability of the power supply module are improved.
As a preferred embodiment, when there is an external test device connected to the selection module 14, the selection module 14 is further configured to send a preset test signal to the external test device through a connection interface corresponding to the current interface to be tested when receiving the control signal, so that the external test device generates a second reply signal according to the preset test signal, and sends the second reply signal to the server through the connection interface corresponding to the current interface to be tested, and the server determines whether the current interface to be tested is normal according to the second reply signal.
In order to flexibly receive the preset test signal, in the present application, the selection module 14 may also be connected to an external test device, when the external test device is connected with the selection module 14, when receiving the preset test signal, sends the preset test signal to the test module 15 through the connection interface corresponding to the current interface to be tested, and also sends the preset test signal to the external test device through the connection interface corresponding to the current interface to be tested, so that the external test device generates a second reply signal according to the preset test signal, and then, the second reply signal is sent to the server through the connection interface corresponding to the current interface to be tested, that is, the server can not only judge whether the current interface to be tested is normal according to the reply signal generated by the test module 15, but also judge whether the current interface to be tested is normal according to the reply signal generated by the external test device. Specifically, the type of the external test device may be adapted to vary according to the type of the actual Interface to be tested, and the external test device may be any device capable of presetting a test signal to generate the second reply signal, for example, when the type of the Interface to be tested is an I2C Interface, the external test device may be an I2C dedicated test fixture, a hard disk backplane, or another test device supporting an I2C protocol, and may generate the second reply signal according to a preset test signal of the I2C protocol, such as an IPMI (Intelligent Platform Management Interface) related signal. In practical situations, when the test module 15 is damaged, the server can still determine whether the current interface to be tested is normal according to the second reply signal sent by the external test device due to the connection of the external test device, and can more flexibly receive the preset test signal. In addition, because external testing arrangement is comparatively diversified, can receive the test signal of predetermineeing that other test module 15 can not receive, can make the test range of server to the test of interface that awaits measuring wider.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a server system according to the present invention, the server system includes a server 21 and further includes the multi-interface testing apparatus 22;
the server 21 and the multi-interface testing apparatus 22 are connected in sequence.
For a detailed description of the server system provided in the present application, please refer to the above-mentioned embodiment of the multi-interface testing apparatus, which is not described herein again.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A multi-interface testing apparatus, comprising:
a communication module;
the control module is used for receiving an interface signal sent by a server through the communication module and generating a control signal according to the interface signal, wherein the interface signal comprises information of a current interface to be tested on the server, the server comprises N interfaces to be tested, and N is an integer not less than 2;
the connector comprises N connecting interfaces, and one ends of the N connecting interfaces are connected with the N interfaces to be tested one by one;
the selection module is used for receiving a preset test signal sent by the server through the connection interface corresponding to the current interface to be tested when the control signal is received, and sending the preset test signal to the test module;
the test module connected with the second interface of the selection module is configured to generate a first reply signal according to the preset test signal, and send the first reply signal to the server through the connection interface corresponding to the current interface to be tested, so that the server can determine whether the current interface to be tested is normal according to the first reply signal.
2. The multi-interface testing device according to claim 1, wherein the control module is further configured to determine, when the N connection interfaces are connected to the N interfaces to be tested one by one, an inverted number of connection interfaces whose levels are inverted in the N connection interfaces, and send the inverted number to the server, so that the server enters a step of sending an interface signal when determining that the inverted number is equal to a preset number of interfaces to be tested.
3. The multi-interface testing device according to claim 1, wherein the selection module is specifically configured to, when receiving the control signal, control a connection interface corresponding to the current interface to be tested to be connected to the testing module, and control each of the connection interfaces except the connection interface corresponding to the current interface to be tested to be disconnected from the testing module.
4. The multi-interface test apparatus of claim 1, wherein the communication module comprises:
one end of the USB connection interface is connected with the USB interface of the server;
the input end is connected with the other end of the USB connecting interface, the output end is connected with the USB-to-UART module connected with the control module, and the USB-to-UART module is used for receiving the interface signal through the USB connecting interface, converting the interface signal into an interface signal in a UART format and sending the interface signal in the UART format to the control module.
5. The multi-interface test apparatus of claim 1, wherein the control module is an MCU.
6. The multi-interface test apparatus of claim 1, further comprising:
and the power supply module is used for supplying power to the communication module, the control module, the selection module and the test module.
7. The multi-interface test apparatus of claim 6, wherein the power module is a rechargeable battery.
8. The multi-interface testing device according to any one of claims 1 to 7, wherein when there is an external testing device connected to the selection module, the selection module is further configured to send the preset testing signal to the external testing device through the connection interface corresponding to the current interface to be tested when receiving the control signal, so that the external testing device generates a second reply signal according to the preset testing signal and sends the second reply signal to the server through the connection interface corresponding to the current interface to be tested, and the server determines whether the current interface to be tested is normal according to the second reply signal.
9. A server system comprising a server and further comprising a multi-interface test apparatus according to any one of claims 1 to 8;
the server and the multi-interface testing device are sequentially connected.
CN202111632171.2A 2021-12-28 2021-12-28 Multi-interface testing device and server system Pending CN114443385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111632171.2A CN114443385A (en) 2021-12-28 2021-12-28 Multi-interface testing device and server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111632171.2A CN114443385A (en) 2021-12-28 2021-12-28 Multi-interface testing device and server system

Publications (1)

Publication Number Publication Date
CN114443385A true CN114443385A (en) 2022-05-06

Family

ID=81366431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111632171.2A Pending CN114443385A (en) 2021-12-28 2021-12-28 Multi-interface testing device and server system

Country Status (1)

Country Link
CN (1) CN114443385A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116089199A (en) * 2023-03-30 2023-05-09 湖南华自信息技术有限公司 IO port testing method and server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844268A (en) * 2017-02-15 2017-06-13 深圳怡化电脑股份有限公司 A kind of USB device test system, method of testing and test device
CN109031091A (en) * 2018-07-16 2018-12-18 深圳市广和通无线股份有限公司 Interface test method, test macro and test fixture
CN109839548A (en) * 2017-11-24 2019-06-04 深圳市科比特航空科技有限公司 Interface test method, apparatus and system
CN110489283A (en) * 2019-07-10 2019-11-22 上海闻泰信息技术有限公司 The test device and method of USB interface
CN113238904A (en) * 2021-05-25 2021-08-10 海光信息技术股份有限公司 Interface switching device, interface testing method and interface switching system
CN113671360A (en) * 2020-05-13 2021-11-19 圣邦微电子(北京)股份有限公司 I2C interface device testing method and device and I2C interface device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844268A (en) * 2017-02-15 2017-06-13 深圳怡化电脑股份有限公司 A kind of USB device test system, method of testing and test device
CN109839548A (en) * 2017-11-24 2019-06-04 深圳市科比特航空科技有限公司 Interface test method, apparatus and system
CN109031091A (en) * 2018-07-16 2018-12-18 深圳市广和通无线股份有限公司 Interface test method, test macro and test fixture
CN110489283A (en) * 2019-07-10 2019-11-22 上海闻泰信息技术有限公司 The test device and method of USB interface
CN113671360A (en) * 2020-05-13 2021-11-19 圣邦微电子(北京)股份有限公司 I2C interface device testing method and device and I2C interface device
CN113238904A (en) * 2021-05-25 2021-08-10 海光信息技术股份有限公司 Interface switching device, interface testing method and interface switching system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116089199A (en) * 2023-03-30 2023-05-09 湖南华自信息技术有限公司 IO port testing method and server
CN116089199B (en) * 2023-03-30 2023-07-11 湖南华自信息技术有限公司 IO port testing method and server

Similar Documents

Publication Publication Date Title
US6701401B1 (en) Method for testing a USB port and the device for the same
CN102975627B (en) Battery management system and electric vehicle
CN103198033A (en) Apparatus and method of identifying a USB or an MHL device
CN104932962A (en) USB (Universal Serial Bus) plug testing system and method thereof
CN114443385A (en) Multi-interface testing device and server system
CN105446837A (en) Method, device and system for detecting whether IIC (inter-integrated circuit) interface device is connected
CN109062850A (en) A kind of data transmission and reception method of single-chip microcontroller
CN110659168A (en) Method for remotely testing hot plug of server peripheral and USB control device
CN102455965A (en) Electronic device test system and method
US8391162B2 (en) Apparatus and method for testing SMNP cards
CN110990316A (en) Method and programmable logic circuit for outputting hot-swap device status
CN112612736A (en) On-site detection method of timer adapter card and server system
CN116340073B (en) Test method, device and system
CN201654765U (en) Testing device
CN113049946A (en) Board card test system
CN112948186B (en) Detection device and detection method of interface signal
CN116137603B (en) Link fault detection method and device, storage medium and electronic device
CN115663549B (en) Multi-interface conversion device and vehicle
CN115904849A (en) PCIE link signal test method, system, computer equipment and medium
EP3499250B1 (en) Rectifier identification method and device
CN105137965A (en) Detection method and apparatus for multichannel igniting control system
CN210573652U (en) Server power-off device
US20180059179A1 (en) Automatic control system and automatic instrument searching method for the same
CN102221650B (en) Testing module for adapter element
CN215773123U (en) Testing device for optical transmission board card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination