[go: up one dir, main page]

CN115507050A - Fan board testing system and method - Google Patents

Fan board testing system and method Download PDF

Info

Publication number
CN115507050A
CN115507050A CN202210987161.9A CN202210987161A CN115507050A CN 115507050 A CN115507050 A CN 115507050A CN 202210987161 A CN202210987161 A CN 202210987161A CN 115507050 A CN115507050 A CN 115507050A
Authority
CN
China
Prior art keywords
fan board
test
tested
fan
module
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.)
Granted
Application number
CN202210987161.9A
Other languages
Chinese (zh)
Other versions
CN115507050B (en
Inventor
熊伟
刘鹏
周磊
熊玉姣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Traffic Control Technology TCT Co Ltd
Original Assignee
Traffic Control Technology TCT 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 Traffic Control Technology TCT Co Ltd filed Critical Traffic Control Technology TCT Co Ltd
Priority to CN202210987161.9A priority Critical patent/CN115507050B/en
Publication of CN115507050A publication Critical patent/CN115507050A/en
Application granted granted Critical
Publication of CN115507050B publication Critical patent/CN115507050B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D25/00Pumping installations or systems
    • F04D25/02Units comprising pumps and their driving means
    • F04D25/08Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • F04D27/001Testing thereof; Determination or simulation of flow characteristics; Stall or surge detection, e.g. condition monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D29/00Details, component parts, or accessories
    • F04D29/002Details, component parts, or accessories especially adapted for elastic fluid pumps

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention provides a fan board testing system and a method, which relate to the technical field of automatic testing, and the system comprises: the system comprises an upper computer, a serial server and at least one tool plug-in box; the upper computer is connected with a serial server, and the serial server is connected with at least one tool inserting box; each tool inserting box is connected with at least one fan board to be tested through a hard wire; each tool inserting box comprises a virtualization register corresponding to each fan plate to be tested; the upper computer sends a test control instruction to a virtualization register corresponding to each fan board to be tested through a serial server; the virtualization register performs test control on each fan board to be tested according to the test control instruction, and collects switching value data and/or analog data generated by each fan board to be tested in the test control process; and the upper computer acquires the test result of the fan board to be tested according to the switching value data and/or the analog quantity data. The invention realizes the automatic batch test of various fan boards to be tested and has strong expandability.

Description

风扇板测试系统及方法Fan board testing system and method

技术领域technical field

本发明涉及自动化测试技术领域,尤其涉及一种风扇板测试系统及方法。The invention relates to the technical field of automatic testing, in particular to a fan board testing system and method.

背景技术Background technique

现有技术中,为了降低服务器内部的温度,保证服务器的稳定运行,通常采用使用风扇来控制服务器内的温度,具体是由风扇板监测服务器内的温度,然后根据温度对风扇进行控制,进而达到控制服务器内的温度的效果。而为了确保风扇板的正常运行,在将风扇板接入服务器内部之前,需要对风扇板进行测试。In the prior art, in order to reduce the temperature inside the server and ensure the stable operation of the server, fans are usually used to control the temperature inside the server. Specifically, the fan board monitors the temperature inside the server, and then controls the fan according to the temperature, thereby achieving The effect of controlling the temperature inside the server. In order to ensure the normal operation of the fan board, it is necessary to test the fan board before connecting the fan board into the server.

现有技术中,需要将风扇板安装在测试背板上,由测试背板上的测试单元对风扇板进行测试。因此,风扇板的测试完全依托于测试背板,而测试背板面积受限,且背板插接槽位固定,导致一次可测试风扇板的数量较少,扩展难度大。In the prior art, the fan board needs to be installed on the test backboard, and the fan board is tested by the test unit on the test backboard. Therefore, the test of the fan board depends entirely on the test backplane, and the area of the test backplane is limited, and the slots of the backplane are fixed, resulting in a small number of fan boards that can be tested at one time, making expansion difficult.

发明内容Contents of the invention

本发明提供一种风扇板测试系统及方法,用以解决现有技术中风扇板的测试完全依托于测试背板,而测试背板面积受限,且背板插接槽位固定,导致一次可测试风扇板的数量较少,扩展难度大的缺陷,实现对多风扇板的批量测试,提高风扇板测试的可扩展性。The present invention provides a fan board testing system and method, which is used to solve the problem that the fan board testing in the prior art relies entirely on the test backboard, and the area of the test backboard is limited, and the insertion slots of the backboard are fixed, resulting in one-time testing. The number of test fan boards is small, and it is difficult to expand the defects, realize batch testing of multi-fan boards, and improve the scalability of fan board testing.

本发明提供一种风扇板测试系统,包括:上位机、串口服务器和至少一个工装插箱;The present invention provides a fan board testing system, including: a host computer, a serial port server and at least one tooling box;

所述上位机与所述串口服务器连接,所述串口服务器与所述至少一个工装插箱连接;每一工装插箱与至少一个待测试风扇板硬线连接;The upper computer is connected to the serial port server, and the serial port server is connected to the at least one tooling box; each tooling box is hard-wired to at least one fan board to be tested;

所述每一工装插箱包括每一待测试风扇板对应的虚拟化寄存器;Each of the tooling sub-boxes includes a virtualization register corresponding to each fan board to be tested;

所述上位机用于,通过所述串口服务器向所述每一待测试风扇板对应的虚拟化寄存器发送测试控制指令;The upper computer is used to send a test control instruction to the virtualization register corresponding to each fan board to be tested through the serial port server;

所述虚拟化寄存器用于,根据所述测试控制指令对所述每一待测试风扇板进行测试控制,并采集所述每一待测试风扇板在测试控制过程中产生的开关量数据和/或模拟量数据;The virtualization register is used to perform test control on each fan board to be tested according to the test control instruction, and collect switching data and/or Analog data;

所述上位机还用于,获取所述虚拟化寄存器采集的开关量数据和/或模拟量数据,根据所述开关量数据和/或所述模拟量数据,获取所述每一待测试风扇板的测试结果。The host computer is also used to obtain the switching data and/or analog data collected by the virtualization register, and obtain each of the fan boards to be tested according to the switching data and/or the analog data. test results.

根据本发明提供的一种风扇板测试系统,所述上位机包括测试模块和主机模块;According to a fan board testing system provided by the present invention, the host computer includes a testing module and a host module;

所述测试模块包括所述每一待测试风扇板的测试组件;The test module includes a test component for each fan board to be tested;

所述测试组件配置在所述主机模块中所述每一待测试风扇板对应的页签中;The test component is configured in the tab corresponding to each fan board to be tested in the host module;

所述测试组件用于:The test components are used for:

在所述主机模块的控制下,根据所述每一待测试风扇板的测试项目和预设测试逻辑,向所述每一待测试风扇板对应的虚拟化寄存器发送测试控制指令;Under the control of the host module, according to the test items and preset test logic of each fan board to be tested, send a test control command to the virtualization register corresponding to each fan board to be tested;

获取所述虚拟化寄存器采集的开关量数据和/或模拟量数据,根据所述开关量数据和/或所述模拟量数据,获取所述每一待测试风扇板的测试结果,并将所述测试结果显示在所述上位机的可视化界面上。Obtain the switching data and/or analog data collected by the virtualization register, obtain the test result of each fan board to be tested according to the switching data and/or the analog data, and store the The test results are displayed on the visual interface of the host computer.

根据本发明提供的一种风扇板测试系统,每一测试组件,通过所述每一测试组件对应的线程,对所述每一测试组件对应的待测试风扇板进行异步同时测试。According to a fan board testing system provided by the present invention, each test component performs an asynchronous and simultaneous test on the fan board to be tested corresponding to each test component through the thread corresponding to each test component.

根据本发明提供的一种风扇板测试系统,所述测试组件还用于:According to a fan board testing system provided by the present invention, the testing assembly is also used for:

在接收到老化测试指令的情况下,根据所述老化测试指令,获取测试总次数;In the case of receiving the burn-in test instruction, according to the burn-in test instruction, obtain the total number of tests;

在所述主机模块的控制下,根据所述每一待测试风扇板的测试项目和预设测试逻辑,对所述待测试风扇板进行多轮次测试,直到累计测试次数达到所述测试总次数;Under the control of the host module, according to the test items and preset test logic of each fan board to be tested, multiple rounds of tests are performed on the fan board to be tested until the cumulative number of tests reaches the total number of tests ;

并根据多轮次测试结果,获取所述待测试风扇板的老化测试结果。And according to the test results of multiple rounds, the aging test result of the fan board to be tested is obtained.

根据本发明提供的一种风扇板测试系统,所述上位机还包括扩充模块;According to a fan board testing system provided by the present invention, the host computer further includes an expansion module;

所述主机模块与所述扩充模块连接;The host module is connected to the expansion module;

所述扩充模块用于,提供风扇板扩展界面,并在接收到风扇板扩展指令的情况下,对所述风扇板扩展指令进行解析,得到待扩展风扇板扩展的第一标识,并将所述第一标识发送至所述主机模块;The expansion module is used to provide a fan board expansion interface, and when receiving a fan board expansion command, analyze the fan board expansion command to obtain a first identification of the fan board expansion to be expanded, and send the sending the first identification to the host module;

所述主机模块还用于,根据所述第一标识,在所述测试模块中新建所述待扩展风扇板的测试组件,并通过所述串口服务器与所述待扩展风扇板连接的工装插箱建立连接。The host module is also used to, according to the first identification, create a new test component of the fan board to be expanded in the test module, and connect the tooling box with the fan board to be expanded through the serial port server establish connection.

根据本发明提供的一种风扇板测试系统,所述上位机还包括风扇板选择模块、日志模块和报告模块;According to a fan board testing system provided by the present invention, the host computer further includes a fan board selection module, a log module and a reporting module;

所述主机模块分别与所述风扇板选择模块、日志模块和报告模块连接;The host module is respectively connected to the fan board selection module, log module and report module;

所述风扇板选择模块用于,提供风扇板选择界面,并在接收到风扇板选择指令的情况下,对所述风扇板选择指令进行解析,得到至少一个待测试风扇板的第二标识,并将所述第二标识发送至所述主机模块;The fan board selection module is configured to provide a fan board selection interface, and when receiving a fan board selection instruction, analyze the fan board selection instruction to obtain a second identification of at least one fan board to be tested, and sending the second identification to the host module;

所述主机模块还用于,根据所述第二标识,对所述至少一个待测试风扇板进行异步批量测试,在任一待测试风扇板测试完成的情况下,触发所述日志模块根据所述第二标识,输出所述任一待测试风扇板的测试日志,和/或触发所述报告模块根据所述第二标识,输出所述任一待测试风扇板的测试报告。The host module is further configured to, according to the second identifier, perform an asynchronous batch test on the at least one fan board to be tested, and trigger the log module to perform an asynchronous batch test on the at least one fan board to be tested when the test of any fan board to be tested is completed. Two identifications, outputting a test log of any fan board to be tested, and/or triggering the reporting module to output a test report of any fan board to be tested according to the second identification.

根据本发明提供的一种风扇板测试系统,所述上位机还包括事件订阅模块;According to a fan board testing system provided by the present invention, the host computer further includes an event subscription module;

所述主机模块与所述事件订阅模块连接;The host module is connected to the event subscription module;

所述主机模块还用于,在获取到任一待测试风扇板的测试结果的情况下,触发所述事件订阅模块向所述任一待测试风扇板对应的事件订阅者,发送所述任一待测试风扇板的测试结果。The host module is further configured to trigger the event subscription module to send any The test result of the fan board to be tested.

根据本发明提供的一种风扇板测试系统,所述上位机还用于,采用事件触发方法,从所述串口服务器中获取所述虚拟化寄存器采集的开关量数据和/或模拟量数据。According to a fan board testing system provided by the present invention, the host computer is further configured to acquire the switching data and/or analog data collected by the virtualization register from the serial port server by adopting an event trigger method.

根据本发明提供的一种风扇板测试系统,所述待测试风扇板包括多个控制通道;According to a fan board testing system provided by the present invention, the fan board to be tested includes a plurality of control channels;

所述多个控制通道,与同一风扇连接;The multiple control channels are connected to the same fan;

所述多个控制通道,基于所述同一风扇进行测试。The multiple control channels are tested based on the same fan.

本发明还提供一种基于风扇板测试系统的风扇板测试方法,包括:The present invention also provides a fan board testing method based on the fan board testing system, including:

在接收到风扇板选择指令的情况下,对所述风扇板选择指令进行解析,获取至少一个待测试风扇板的第二标识;When the fan board selection instruction is received, the fan board selection instruction is parsed to obtain a second identification of at least one fan board to be tested;

根据所述第二标识,同步向每一待测试风扇板对应的虚拟化寄存器发送测试控制指令,以供所述虚拟化寄存器根据所述测试控制指令对所述每一待测试风扇板进行异步测试控制,并采集所述每一待测试风扇板在测试控制过程中产生的开关量数据和/或模拟量数据;According to the second identification, synchronously send a test control instruction to the virtualization register corresponding to each fan board to be tested, so that the virtualization register can perform an asynchronous test on each fan board to be tested according to the test control instruction Control, and collect the switching data and/or analog data generated by each fan board to be tested during the test control process;

获取所述虚拟化寄存器采集的开关量数据和/或模拟量数据,根据所述开关量数据和/或所述模拟量数据,获取所述至少一个待测试风扇板的测试结果。Acquiring switch quantity data and/or analog quantity data collected by the virtualization register, and acquiring a test result of the at least one fan board to be tested according to the switch quantity data and/or the analog quantity data.

本发明还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述任一种所述风扇板测试方法。The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the program, the fan board test described above can be implemented. method.

本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种所述风扇板测试方法。The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the fan board testing method described in any one of the above-mentioned methods is realized.

本发明还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述任一种所述风扇板测试方法。The present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, any one of the fan board testing methods described above is implemented.

本发明提供的风扇板测试系统及方法,上位机通过串口服务器与至少一个工装插箱连接,每一工装插箱与至少一个待测试风扇板硬线连接,以实现上位机与多个待测试风扇板之间的直连通信,且可通过串口服务器向每一待测试风扇板对应的虚拟化寄存器发送测试控制指令,以对每一待测试风扇板进行测试控制,并根据虚拟化寄存器采集的开关量数据和/或模拟量数据,获取每一待测试风扇板的测试结果,以实现对多种待测试风扇板的自动化批量测试,并且在需要对风扇板进行扩展时,不依托于测试背板,只需要将待扩展风扇板与工装插箱硬线连接,即可便捷高效地实现风扇板的扩展,可扩展性强,有效解决依赖测试背板,扩展难度大的问题。In the fan board testing system and method provided by the present invention, the host computer is connected to at least one tooling box through a serial port server, and each tooling box is hard-wired connected to at least one fan board to be tested, so as to realize the host computer and multiple fans to be tested Direct communication between boards, and can send test control commands to the virtualization register corresponding to each fan board to be tested through the serial port server, so as to perform test control on each fan board to be tested, and according to the switch collected by the virtualization register Quantitative data and/or analog data, to obtain the test results of each fan board to be tested, so as to realize the automatic batch testing of various fan boards to be tested, and when the fan board needs to be expanded, it does not rely on the test backplane , only need to connect the fan board to be expanded with the hard wire of the tooling sub-box, the expansion of the fan board can be realized conveniently and efficiently, the scalability is strong, and the problem of relying on the test backplane and difficult expansion is effectively solved.

附图说明Description of drawings

为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the present invention or the technical solutions in the prior art, the accompanying drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are the present invention. For some embodiments of the invention, those skilled in the art can also obtain other drawings based on these drawings without creative effort.

图1是本发明提供的风扇板测试系统的结构示意图;Fig. 1 is the structural representation of the fan board test system provided by the present invention;

图2是本发明提供的风扇板测试方法的流程示意图;Fig. 2 is a schematic flow chart of the fan plate testing method provided by the present invention;

图3是本发明提供的电子设备的结构示意图。Fig. 3 is a schematic structural diagram of an electronic device provided by the present invention.

附图标记:Reference signs:

101:上位机;102:串口服务器;103:工装插箱;104:待测试风扇板;105:风扇。101: host computer; 102: serial port server; 103: tooling box; 104: fan board to be tested; 105: fan.

具体实施方式detailed description

为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

在本实施例的描述中,需要说明的是,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of this embodiment, it should be noted that the terms "first", "second", and "third" are used for description purposes only, and should not be understood as indicating or implying relative importance.

在本实施例的描述中,需要说明的是,除非另有明确的规定和限定,术语“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本实施例中的具体含义。In the description of this embodiment, it should be noted that unless otherwise specified and limited, the terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection, or Integral connection; it can be mechanical connection or electrical connection; it can be direct connection or indirect connection through an intermediary. Those of ordinary skill in the art can understand the specific meanings of the above terms in this embodiment in specific situations.

下面结合图1描述本发明的风扇板测试系统,该系统用于实现对计算机和服务器等电子设备中的风扇板进行自动化测试。如图1所示,该系统包括上位机101、串口服务器102和至少一个工装插箱103;The fan board testing system of the present invention is described below with reference to FIG. 1 , and the system is used to realize automatic testing of fan boards in electronic equipment such as computers and servers. As shown in Figure 1, the system includes a host computer 101, a serial port server 102 and at least one tooling box 103;

所述上位机101与所述串口服务器102连接,所述串口服务器102与所述至少一个工装插箱103连接;每一工装插箱103与至少一个待测试风扇板104硬线连接;The host computer 101 is connected to the serial port server 102, and the serial port server 102 is connected to the at least one tooling box 103; each tooling box 103 is hardwired to at least one fan board 104 to be tested;

所述每一工装插箱103包括每一待测试风扇板104对应的虚拟化寄存器;Each of the tooling sub-boxes 103 includes a virtualization register corresponding to each fan board 104 to be tested;

所述上位机101用于,通过所述串口服务器102向所述每一待测试风扇板104对应的虚拟化寄存器发送测试控制指令;The host computer 101 is used to send a test control instruction to the virtualization register corresponding to each fan board 104 to be tested through the serial port server 102;

所述虚拟化寄存器用于,根据所述测试控制指令对所述每一待测试风扇板104进行测试控制,并采集所述每一待测试风扇板104在测试控制过程中产生的开关量数据和/或模拟量数据;The virtualization register is used to perform test control on each fan board 104 to be tested according to the test control instruction, and to collect the switching data and / or analog data;

所述上位机101还用于,获取所述虚拟化寄存器采集的开关量数据和/或模拟量数据,根据所述开关量数据和/或所述模拟量数据,获取所述每一待测试风扇板104的测试结果。The host computer 101 is further configured to obtain the switching data and/or analog data collected by the virtualization register, and obtain the fan to be tested according to the switching data and/or the analog data. Board 104 test results.

其中,上位机101可以是采用winform(一种用户计算机上运行的客户端应用程序,可显示信息、请求用户输入以及通过网络与远程计算机进行通信)技术和.netframework4.5(一款跨平台全能修复工具)框架,可以运行在任何一台装有.netframework4.5及以上的Windows操作系统的PC(Personal Computer,个人计算机)中,界面友好,操作起来容易理解。Wherein, the upper computer 101 may adopt winform (a client application program running on a user computer, which can display information, request user input, and communicate with a remote computer through the network) technology and .netframework4.5 (a cross-platform all-round repair tool) framework, can run in any PC (Personal Computer, personal computer) that is equipped with .

其中,上位机101运行在PC机上,可提供给用户可视化界面,以供用户进行各种测试操作,并显示测试过程和结果;且上位机101对每个风扇板都单独实例化一个测试组件,负责处理每个风扇板的相关测试内容,并可将风扇板的公共测试内容提取出来,形成公共测试逻辑,以在对风扇板的公共测试项进行测试时,使用公共测试逻辑对其进行测试,进而降低代码复杂度,减少冗余代码。Wherein, the upper computer 101 runs on the PC, and can provide the user with a visual interface for the user to perform various test operations, and display the test process and results; and the upper computer 101 instantiates a test component for each fan board separately, Responsible for processing the relevant test content of each fan board, and can extract the public test content of the fan board to form a public test logic, so that when testing the public test items of the fan board, use the public test logic to test it, This reduces code complexity and reduces redundant code.

串口服务器102包括每一待测试风扇板104对应的串口接口,以建立上位机101与待测试风扇板104对应的之间的连接通路,即每一待测试风扇板104通过对应的串口接口与上位机101进行通信连接。The serial port server 102 includes the serial port interface corresponding to each fan board 104 to be tested, so as to establish the connection path between the upper computer 101 and the corresponding fan board 104 to be tested, that is, each fan board 104 to be tested communicates with the host through the corresponding serial port interface. machine 101 for communication connection.

工装插箱103作为抽象的芯片,可通过与每一待测试风扇板104的接口协议,针对每一待测试风扇板104虚拟成多个32位的虚拟寄存器,以执行上位机101下发的测试控制指令,进而触发待测试风扇板104进行动作或回复相应地址中(各待测试风扇板104在测试过程中产生的开关量/模拟量)的数据至上位机101,以供上位机101分析回复的数据,实现对每一待测试风扇板104的测试。As an abstract chip, the tooling sub-box 103 can virtualize a plurality of 32-bit virtual registers for each fan board 104 to be tested through an interface protocol with each fan board 104 to be tested, so as to execute the test issued by the host computer 101 Control commands, and then trigger the fan board 104 to be tested to perform actions or reply to the data in the corresponding address (the switching value/analog value generated by each fan board 104 to be tested during the test process) to the host computer 101 for analysis and reply by the host computer 101 data to realize the test for each fan board 104 to be tested.

其中,每一待测试风扇板104对应的虚拟寄存器相当于每一待测试风扇板104的下位机。Wherein, the virtual register corresponding to each fan board 104 to be tested is equivalent to the lower computer of each fan board 104 to be tested.

其中,每一工装插箱103可连接待测试风扇板104的数量可以根据实际需求进行设置,如16个,且可根据实际需求进行扩展,在扩展过程中只需增加工装插箱103与待测试风扇板104之间的硬性连接,即可实现待测试风扇板104的快速有效扩展。Among them, the number of fan boards 104 to be tested that can be connected to each tooling sub-box 103 can be set according to actual needs, such as 16, and can be expanded according to actual needs. The rigid connection between the fan boards 104 can realize rapid and effective expansion of the fan boards 104 to be tested.

其中,待测试风扇板104为待进行测试的风扇板,包括计算机、服务器等电子设备中关联的各种类型的待进行可用性或可靠性测试的风扇板的总称。Wherein, the fan board to be tested 104 is a fan board to be tested, including various types of fan boards associated with electronic devices such as computers and servers to be tested for usability or reliability.

可选地,上位机101通过以太网线的以太网口连接到串口服务器102,由串口服务器102连接工装插箱103,工装插箱103与待测试风扇板104硬线连接,以通过串口服务器102与工装插箱103相连接,进而与待测试风扇板104连接,以使得上位机101可使用422串口通信与工装插箱103模拟的寄存机进行读写操作,即与工装插箱103进行信息交互,进而实现对待测试风扇板104的自动化测试。Optionally, the host computer 101 is connected to the serial server 102 through the Ethernet port of the Ethernet cable, and the serial server 102 is connected to the tooling sub-box 103, and the tooling sub-box 103 is hard-wired connected to the fan board 104 to be tested, so that the serial server 102 and The tooling sub-box 103 is connected, and then connected with the fan board 104 to be tested, so that the host computer 101 can use the 422 serial port communication to perform read and write operations with the register machine simulated by the tooling sub-box 103, that is, to perform information interaction with the tooling sub-box 103, Further, automatic testing of the fan board 104 to be tested is realized.

其中,串口服务器102包括多个串口接口,每一串口接口与每一待测试风扇板104对应,以在上位机101与工装插箱103连接时,仅使用一根以太网线,即可实现一对多个串口的通信,减少串口线的使用,进而节约测试成本。Wherein, the serial port server 102 includes a plurality of serial port interfaces, and each serial port interface corresponds to each fan board 104 to be tested, so that when the host computer 101 is connected to the tool sub-box 103, only one Ethernet cable is used to realize a pair of The communication of multiple serial ports reduces the use of serial port lines, thereby saving test costs.

可选地,在测试过程中,用户可通过上位机101的可视化界面选择相应的风扇板进行测试,以生成测试请求。Optionally, during the test process, the user may select a corresponding fan board to be tested through the visual interface of the host computer 101, so as to generate a test request.

上位机101在监测到测试请求的情况下,根据测试请求,生成相应的测试控制指令;并按照预设协议帧,将测试控制指令通过串口服务器102发送至工装插箱103中每一待测试风扇板104对应的虚拟化寄存器;其中,测试控制指令包含模拟量控制数据和/或开关量控制数据。When the host computer 101 monitors the test request, it generates a corresponding test control instruction according to the test request; and sends the test control instruction to each fan to be tested in the tooling box 103 through the serial port server 102 according to the preset protocol frame The virtualization register corresponding to the board 104; wherein, the test control instruction includes analog control data and/or switch control data.

虚拟化寄存器在接收到测试控制指令的情况下,根据测试控制指令进行相应的动作,以触发相应的待测试风扇板104进行测试动作,实现对相应的待测试风扇板104的测试控制,并采集待测试风扇板104在测试控制过程中产生的开关量数据和/或模拟量数据;When the virtualization register receives the test control instruction, it performs corresponding actions according to the test control instruction to trigger the corresponding fan board 104 to be tested to perform a test action, realize the test control of the corresponding fan board 104 to be tested, and collect Switching data and/or analog data generated by the fan board 104 to be tested during the test control process;

上位机101通过预设接口协议读取寄存器设备,以获取待测试风扇板104在测试控制过程中产生的开关量数据和/或模拟量数据。在获取到开关量数据和/或模拟量数据后,将期望开关量数据和/或期望模拟量数据进行比较,根据比较结果,确定待测试风扇板104的测试结果。The host computer 101 reads the register device through a preset interface protocol, so as to obtain the switch value data and/or analog value data generated by the fan board 104 to be tested during the test control process. After the switching data and/or analog data are acquired, the expected switching data and/or the expected analog data are compared, and the test result of the fan board 104 to be tested is determined according to the comparison result.

本发明提供的风扇板测试系统,上位机通过串口服务器与至少一个工装插箱连接,每一工装插箱与至少一个待测试风扇板硬线连接,以实现上位机与多个待测试风扇板之间的直连通信,且可通过串口服务器向每一待测试风扇板对应的虚拟化寄存器发送测试控制指令,以对每一待测试风扇板进行测试控制,并根据虚拟化寄存器采集的开关量数据和/或模拟量数据,获取每一待测试风扇板的测试结果,以实现对多种待测试风扇板的自动化批量测试,并且在需要对风扇板进行扩展时,不依托于测试背板,只需要将待扩展风扇板与工装插箱硬线连接,即可便捷高效地实现风扇板的扩展,可扩展性强,有效解决依赖测试背板,扩展难度大的问题。In the fan board testing system provided by the present invention, the upper computer is connected to at least one tooling box through a serial port server, and each tooling box is hard-wired connected to at least one fan board to be tested, so as to realize the connection between the upper computer and a plurality of fan boards to be tested. The direct communication between each fan board can be directly connected, and the test control command can be sent to the virtualization register corresponding to each fan board to be tested through the serial port server, so as to test and control each fan board to be tested, and according to the switch data collected by the virtualization register And/or analog data, to obtain the test results of each fan board to be tested, so as to realize the automatic batch testing of various fan boards to be tested, and when the fan board needs to be expanded, it does not rely on the test backplane, only It is necessary to hard-wire the fan board to be expanded to the tooling sub-box, so that the expansion of the fan board can be realized conveniently and efficiently. The scalability is strong, and the problem of relying on the test backplane and difficult expansion is effectively solved.

在一些实施例中,所述上位机101包括测试模块和主机模块;In some embodiments, the host computer 101 includes a test module and a host module;

所述测试模块包括所述每一待测试风扇板104的测试组件;The test module includes a test component for each fan board 104 to be tested;

所述测试组件配置在所述主机模块中所述每一待测试风扇板104对应的页签中;The test component is configured in the tab corresponding to each fan board 104 to be tested in the host module;

所述测试组件用于:The test components are used for:

在所述主机模块的控制下,根据所述每一待测试风扇板104的测试项目和预设测试逻辑,向所述每一待测试风扇板104对应的虚拟化寄存器发送测试控制指令;Under the control of the host module, according to the test items and preset test logic of each fan board 104 to be tested, a test control instruction is sent to the virtualization register corresponding to each fan board 104 to be tested;

获取所述虚拟化寄存器采集的开关量数据和/或模拟量数据,根据所述开关量数据和/或所述模拟量数据,获取所述每一待测试风扇板104的测试结果,并将所述测试结果显示在所述上位机101的可视化界面上。Obtain the switching data and/or analog data collected by the virtualization register, obtain the test result of each fan board 104 to be tested according to the switching data and/or the analog data, and store the The test results are displayed on the visual interface of the host computer 101.

其中,上位机101提供一个用于提供风扇板测试的模块,该模块既提供所有对风扇板的测试逻辑,又提供UI(User Interface,人机交互)界面,由上位机101的主机模块进行管理。Wherein, the upper computer 101 provides a module for providing the fan board test, which not only provides all the test logic to the fan board, but also provides a UI (User Interface, human-computer interaction) interface, which is managed by the host module of the upper computer 101 .

其中,根据实现功能不同,上位机101中集成有多个模块,包括但不限于测试模块和主机模块;据实际应用场景,还可包括用户登录模块和风扇板选择模块。各模块均与主机模块连接,由主机模块对其进行控制,以实现风扇板测试功能。也就是说,本实施例中的上位机101的功能模块,可根据测试需求进行设置,本实施例对此并不作具体限定。不同模块之间通过接口进行测试服务,可有效降低各模块之间的代码耦合,进行提高上位机101的测试性能。各功能模块之间相互配合以实现对风扇板的自动化测试。Wherein, according to different functions, the upper computer 101 is integrated with multiple modules, including but not limited to a test module and a host module; according to actual application scenarios, it may also include a user login module and a fan board selection module. Each module is connected with the host module, and is controlled by the host module to realize the fan board testing function. That is to say, the functional modules of the host computer 101 in this embodiment can be set according to test requirements, which is not specifically limited in this embodiment. Different modules perform testing services through interfaces, which can effectively reduce the code coupling between modules and improve the testing performance of the host computer 101 . The functional modules cooperate with each other to realize the automatic test of the fan board.

其中,测试模块用于提供风扇板测试逻辑和UI界面。并采用组件编程的方式,针对每一待测试风扇板104实例化一个测试组件,并将每一组件显示在各自对应的待测试风扇板104对应的页签中。Among them, the test module is used to provide the fan board test logic and UI interface. A component programming method is used to instantiate a test component for each fan board 104 to be tested, and each component is displayed in a tab corresponding to the fan board 104 to be tested.

可选地,用户登录模块用于实现用户注册、用户登录和用户信息管理等功能,以在用户在上位机101的可视化界面输入用户名和密码的时候,对用户身份进行验证,并在用户登录成功后跳转至测试前端界面。Optionally, the user login module is used to implement functions such as user registration, user login, and user information management, so that when the user enters the user name and password on the visual interface of the host computer 101, the user identity is verified, and when the user logs in successfully Then jump to the test front-end interface.

在用户登录成功后,风扇板选择模块可在测试前端界面中为用户提供风扇板选择界面,以供用户在风扇板选择界面下拉选择相应的风扇板进行测试,并以风扇板选择指令的形式输入上位机101。After the user logs in successfully, the fan board selection module can provide the user with a fan board selection interface in the test front-end interface, so that the user can select the corresponding fan board from the drop-down list on the fan board selection interface for testing, and input in the form of a fan board selection command PC101.

风扇板选择模块在接收到风扇板选择指令的情况下,从风扇板选择指令中解析出待测试风扇板104的标识,并将标识实时传输至主机模块。When the fan board selection module receives the fan board selection instruction, it parses out the identification of the fan board 104 to be tested from the fan board selection instruction, and transmits the identification to the host module in real time.

主机模块可以根据待测试风扇板104的标识,自动筛选出预先设置在数据库中的待测试风扇板104的测试项,并控制待测试风扇板104对应的测试组件,使用422串口通信,依据预设测试逻辑与测试项目,异步对工装插箱103中每一待测试风扇板104对应的虚拟寄存器进行读写操作,以测试待测试风扇板104,并将测试结果和测试过程实时显示到各自的测试界面中。According to the identification of the fan board 104 to be tested, the host module can automatically filter out the test items of the fan board 104 to be tested in advance in the database, and control the test components corresponding to the fan board 104 to be tested, using the 422 serial port communication, according to the preset Test logic and test items, asynchronously perform read and write operations on the virtual registers corresponding to each fan board 104 to be tested in the tooling sub-box 103 to test the fan board 104 to be tested, and display the test results and test process in real time to the respective test in the interface.

本实施例中,不同待测试风扇板基于不同测试组件进行测试,不仅可以实现每一待测试风扇板的单独测试与单独显示,以使各待测试风扇板在测试过程中相互之间不受干扰,进而提高测试的可靠性;还可以实现多个待测试风扇板的异步批量测试,提高测试效率。因此,本实施例中的测试系统,使得整测试过程中具有极低的测试延迟,且获得的测试结果也具有高度可靠性。In this embodiment, different fan boards to be tested are tested based on different test components, which can not only realize the separate test and display of each fan board to be tested, so that the fan boards to be tested will not interfere with each other during the test , so as to improve the reliability of the test; it can also realize the asynchronous batch test of multiple fan boards to be tested, and improve the test efficiency. Therefore, the test system in this embodiment has extremely low test delay in the whole test process, and the obtained test results are also highly reliable.

在一些实施例中,每一测试组件,通过所述每一测试组件对应的线程,对所述每一测试组件对应的待测试风扇板104进行异步同时测试。In some embodiments, each test component performs an asynchronous and simultaneous test on the fan board 104 to be tested corresponding to each test component through the thread corresponding to each test component.

其中,每一测试组件与每一线程一一对应。Wherein, each test component corresponds to each thread one by one.

需要说明的是,本实施例中,除了各个组件管理线程外,尽量不再引入新线程,以提高资源利用率。It should be noted that, in this embodiment, except for each component management thread, no new threads are introduced as far as possible, so as to improve resource utilization.

可选地,在测试过程中,不同测试组件采用异步线程控制,以通过各自对应的线程,对各自对应的待测试风扇板104进行异步同时测试,以实现对多个待测试风扇板104的批量化测试,进而提高测试效率。Optionally, in the test process, different test components adopt asynchronous thread control, so as to carry out asynchronous and simultaneous testing on the respective corresponding fan boards 104 to be tested through their corresponding threads, so as to realize batch testing of multiple fan boards 104 to be tested. test, thereby improving test efficiency.

在一些实施例中,所述测试组件还用于:In some embodiments, the test component is also used to:

在接收到老化测试指令的情况下,根据所述老化测试指令,获取测试总次数;In the case of receiving the burn-in test instruction, according to the burn-in test instruction, obtain the total number of tests;

在所述主机模块的控制下,根据所述每一待测试风扇板104的测试项目和预设测试逻辑,对所述待测试风扇板104进行多轮次测试,直到累计测试次数达到所述测试总次数;Under the control of the host module, according to the test items and preset test logic of each fan board 104 to be tested, multiple rounds of tests are performed on the fan board 104 to be tested until the cumulative number of tests reaches the total number of times;

并根据多轮次测试结果,获取所述待测试风扇板104的老化测试结果。And according to the results of multiple rounds of tests, the aging test results of the fan plate 104 to be tested are obtained.

其中,老化测试指令为用户在上位机101的可视化界面输入的用于待测试风扇板104进行老化测试的指令。老化测试指令中携带有测试总次数、每次测试轮次的间隔时长和待测试风扇板104的标识等。Wherein, the aging test instruction is an instruction input by the user on the visual interface of the host computer 101 for performing the aging test on the fan board 104 to be tested. The burn-in test instruction carries the total number of tests, the interval time between each test round, the identification of the fan board 104 to be tested, and the like.

可选地,用户需要对待测试风扇板104进行老化测试时,可将待测试风扇板104的标识、每次测试轮次的间隔时长以及测试总次数输入至上位机101,以生成老化测试指令;Optionally, when the user needs to perform an aging test on the fan board 104 to be tested, the identification of the fan board 104 to be tested, the interval between each test round and the total number of tests can be input to the host computer 101 to generate an aging test instruction;

上位机101在获取到老化测试指令的情况下,对老化测试指令进行解析,获取测试总次数、每次测试轮次的间隔时长和待测试风扇板104的标识,并根据测试总次数,按照预设安全测试逻辑以及每次测试轮次的间隔时长,对标识对应的待测试风扇板104进行多轮次测试,并在每次老化测试过程中,对累计测试次数累计加一,直到累计测试次数达到测试总次数,则停止测试;并根据多轮次测试结果,生成待测试风扇板104的老化测试曲线,以获取待测试风扇板104的老化测试结果。When the host computer 101 obtains the burn-in test command, it analyzes the burn-in test command, obtains the total number of tests, the interval time between each test round and the identification of the fan board 104 to be tested, and according to the total number of tests, according to the predetermined Set the safety test logic and the interval time between each test round, conduct multiple rounds of tests on the fan board 104 to be tested corresponding to the logo, and add one to the cumulative number of tests during each aging test until the cumulative number of tests When the total number of tests is reached, the test is stopped; and according to the test results of multiple rounds, an aging test curve of the fan board 104 to be tested is generated to obtain the aging test result of the fan board 104 to be tested.

需要说明的是,在测试总次数为1次,则对待测试风扇板104进行的是单轮测试;在测试总次数大于预设次数,则进行老化测试。It should be noted that, when the total number of tests is 1, the fan board 104 to be tested is subjected to a single-round test; when the total number of tests is greater than the preset number of times, an aging test is performed.

本实施例中,可视化界面友好,可供用户输入各种测试指令,且通过调整测试总次数可实现批量对风扇板进行单检和老化测试的功能,不仅简单易懂,且操作方便,且可实现对待测试风扇板104的多方位测试,有效提高测试的全面性。In this embodiment, the visualized interface is friendly, allowing users to input various test instructions, and by adjusting the total number of tests, the function of performing single inspection and aging test on fan boards in batches can be realized, which is not only easy to understand, but also convenient to operate, and can The multi-directional test of the fan board 104 to be tested is realized, and the comprehensiveness of the test is effectively improved.

在一些实施例中,所述上位机101还包括扩充模块;In some embodiments, the host computer 101 also includes an expansion module;

所述主机模块与所述扩充模块连接;The host module is connected to the expansion module;

所述扩充模块用于,提供风扇板扩展界面,并在接收到风扇板扩展指令的情况下,对所述风扇板扩展指令进行解析,得到待扩展风扇板扩展的第一标识,并将所述第一标识发送至所述主机模块;The expansion module is used to provide a fan board expansion interface, and when receiving a fan board expansion command, analyze the fan board expansion command to obtain a first identification of the fan board expansion to be expanded, and send the sending the first identification to the host module;

所述主机模块还用于,根据所述第一标识,在所述测试模块中新建所述待扩展风扇板的测试组件,并通过所述串口服务器102与所述待扩展风扇板连接的工装插箱103建立连接。The host module is further configured to, according to the first identification, create a new test component of the fan board to be expanded in the test module, and use the serial port server 102 to connect to the tooling socket of the fan board to be expanded. Box 103 establishes the connection.

其中,上位机101还集成有扩充模块,扩充模块与主机模块连接。Wherein, the upper computer 101 is also integrated with an expansion module, and the expansion module is connected with the host module.

扩充模块用于在主机模块的控制下,实现将待扩展风扇板扩充至待测试风扇板104中,以实现对待扩展风扇板的自动化测试。The expansion module is used to expand the fan board to be expanded into the fan board to be tested 104 under the control of the host module, so as to realize the automatic test of the fan board to be expanded.

可选地,扩充模块可在测试前端界面中为用户提供风扇板扩充界面,以供用户在风扇板扩充界面下拉选择相应的风扇板进行测试,并以风扇板扩充指令的形式输入扩充模块。Optionally, the expansion module can provide the user with a fan board expansion interface in the test front-end interface, so that the user can select the corresponding fan board from the drop-down list on the fan board expansion interface for testing, and input the expansion module in the form of a fan board expansion command.

扩充模块在获取到风扇板扩充指令的情况下,对风扇板扩充指令进行解析,以获取待扩展风扇板扩展的第一标识,并将第一标识发送至主机模块。第一标识可以是序列号或名称等。When the expansion module obtains the fan board expansion command, it parses the fan board expansion command to obtain the first identification of the fan board expansion to be expanded, and sends the first identification to the host module. The first identification may be a serial number or a name and the like.

主机模块可以根据待扩展风扇板的第一标识,在测试模块中新建待扩展风扇板的测试组件,并基于串口服务器102与待扩展风扇板连接的工装插箱103建立连接,进而建立上位机101与待扩展风扇板之间的连接通路,以通过通路实现对待扩展风扇板的测试。The host module can create a new test component of the fan board to be expanded in the test module according to the first identification of the fan board to be expanded, and establish a connection based on the serial port server 102 and the tooling box 103 connected to the fan board to be expanded, and then establish the upper computer 101 The connection path between the fan board to be expanded and the fan board to be extended can be implemented through the path to test the fan board to be extended.

本实施例中的风扇板扩展,不依托于测试背板,待扩展风扇板只需要与工装插箱建立硬线连接,然后在上位机的扩充模块的风扇板扩展界面输入风扇板扩展指令,即可实现对风扇板的扩展,不仅操作简单,且可扩展性强。The expansion of the fan board in this embodiment does not rely on the test backplane. The fan board to be expanded only needs to establish a hard-wired connection with the tooling box, and then input the fan board expansion command on the fan board expansion interface of the expansion module of the host computer, that is The expansion of the fan board can be realized, which is not only easy to operate, but also has strong scalability.

在一些实施例中,所述上位机101还包括风扇板选择模块、日志模块和报告模块;In some embodiments, the host computer 101 also includes a fan board selection module, a log module and a report module;

所述主机模块分别与所述风扇板选择模块、日志模块和报告模块连接;The host module is respectively connected to the fan board selection module, log module and report module;

所述风扇板选择模块用于,提供风扇板选择界面,并在接收到风扇板选择指令的情况下,对所述风扇板选择指令进行解析,得到至少一个待测试风扇板104的第二标识,并将所述第二标识发送至所述主机模块;The fan board selection module is configured to provide a fan board selection interface, and when receiving a fan board selection instruction, analyze the fan board selection instruction to obtain a second identification of at least one fan board 104 to be tested, and sending the second identification to the host module;

所述主机模块还用于,根据所述第二标识,对所述至少一个待测试风扇板104进行异步批量测试,在任一待测试风扇板104测试完成的情况下,触发所述日志模块根据所述第二标识,输出所述任一待测试风扇板104的测试日志,和/或触发所述报告模块根据所述第二标识,输出所述任一待测试风扇板104的测试报告。The host module is further configured to perform an asynchronous batch test on the at least one fan board 104 to be tested according to the second identifier, and trigger the log module to perform an asynchronous batch test on the at least one fan board 104 to be tested when the test is completed. output the test log of any fan board 104 to be tested, and/or trigger the reporting module to output a test report of any fan board 104 to be tested according to the second ID.

可选地,用户可在测试前端界面中风扇板选择界面中选择待测试风扇板104,并输入待测试风扇板104的第二标识等,形成风扇板选择指令。Optionally, the user can select the fan board 104 to be tested in the fan board selection interface in the test front-end interface, and input the second identification of the fan board 104 to be tested, etc., to form a fan board selection instruction.

需要说明的是风扇板选择指令中除了包括第二标识外,还可以包是否打印日志和报告的决策信息,以及测试轮次等,本实施例对此不作具体地限定。It should be noted that in addition to the second identifier, the fan board selection instruction may also include decision information on whether to print logs and reports, and test rounds, which are not specifically limited in this embodiment.

风扇板选择模块在获取到风扇板选择指令后,对风扇板选择指令进行解析,得到至少一个待测试风扇板104的第二标识,并将第二标识实时传输至主机模块,以供主机模块根据第二标识,控制每一待测试风扇板104的测试组件,按照测试轮次,对每一待测试风扇板104进行异步批量测试。After the fan board selection module obtains the fan board selection instruction, it parses the fan board selection instruction to obtain the second identification of at least one fan board 104 to be tested, and transmits the second identification to the host module in real time for the host module to use according to the The second identification is to control the test components of each fan board 104 to be tested, and perform asynchronous batch testing on each fan board 104 to be tested according to the test rounds.

在测试的过程中,若确定任一待测试风扇板104测试完成的情况下,主机模块可根据风扇板选择指令中是否打印日志和报告的决策信息,判断用户做出是否下拉选择或勾选自动产出该待测试风扇板的测试日志或测试报告的决策。在确定用户做出下拉选择或勾选自动产出该待测试风扇板的测试日志或测试报告的决策的情况下,触发日志模块和/或报告模块,根据该待测试风扇板的第二标识,调取目标报告模板或目标日志模板,自动产出该待测试风扇板的测试日志和/或测试报告,以对该待测试风扇板的测试日志和/或测试报告进行打印输出,减轻测试人员工作,有效提高测试效率,节省人力,避免人为错误,保障风扇板质量。During the test, if it is determined that the test of any fan board 104 to be tested is completed, the host module can judge whether the user makes a pull-down selection or checks the automatic A decision to produce a test log or a test report of the fan board to be tested. When it is determined that the user makes a pull-down selection or checks the decision to automatically generate the test log or test report of the fan board to be tested, trigger the log module and/or report module, according to the second identification of the fan board to be tested, Call the target report template or target log template to automatically generate the test log and/or test report of the fan board to be tested, so as to print out the test log and/or test report of the fan board to be tested, reducing the work of testers , effectively improve the test efficiency, save manpower, avoid human errors, and ensure the quality of the fan board.

综上,本实施例中的风扇板测试系统,可以方便地对风扇板进行批量测试,以及测试完成后的每个风扇板单独产出测试报告的功能,具有扩展性强,自动化程度高的特点,且有效节省人工,提高风扇板检测效率。整个测试过程与报告产出均做到全自动化,并且每条测试项的测试结果、测试报告和测试日志可以辅助测试人员快速定位风扇板问题,有效提高风扇板测试效率和维护效率。To sum up, the fan board testing system in this embodiment can conveniently carry out batch testing on fan boards, and has the function of independently producing test reports for each fan board after the test is completed. It has the characteristics of strong scalability and high degree of automation , and effectively save labor and improve the detection efficiency of fan boards. The entire test process and report output are fully automated, and the test results, test reports, and test logs of each test item can assist testers to quickly locate fan board problems, effectively improving the efficiency of fan board testing and maintenance.

在一些实施例中,上位机101还包括事件订阅模块;In some embodiments, the host computer 101 also includes an event subscription module;

所述主机模块与所述事件订阅模块连接;The host module is connected to the event subscription module;

所述主机模块还用于,在获取到任一待测试风扇板104的测试结果的情况下,触发所述事件订阅模块向所述任一待测试风扇板104对应的事件订阅者,发送所述任一待测试风扇板104的测试结果。The host module is further configured to trigger the event subscription module to send the The test result of any fan board 104 to be tested.

可选地,上位机101还集成有事件订阅模块。Optionally, the upper computer 101 is also integrated with an event subscription module.

其中,事件订阅模块用于在主机模块的控制下,为事件订阅者推送相应的订阅信息。Wherein, the event subscription module is used to push corresponding subscription information for event subscribers under the control of the host module.

可选地,在获取到任一待测试风扇板104的测试结果,主机模块可以触发事件订阅模块,以向预先订阅该待测试风扇板的测试结果的事件订阅者,推送该待测试风扇板的测试结果。Optionally, after obtaining the test result of any fan board 104 to be tested, the host module can trigger the event subscription module to push the event subscribers who subscribed to the test result of the fan board to be tested in advance. Test Results.

需要说明的是,事件订阅模块还可提供取消订阅功能,以供用户随时取消订阅,并在用户提交取消订阅请求的情况下,将该用户从事件订阅者列表中删除,不再向该用户发送测试结果。It should be noted that the event subscription module can also provide an unsubscribe function for the user to unsubscribe at any time, and when the user submits an unsubscribe request, the user will be deleted from the event subscriber list and will no longer be sent to the user. Test Results.

本实施例中,采用事件通知的方式触发事件订阅模块将测试结果以串口消息的形式发送给事件订阅者,通过这种方式按次序触发多个事件订阅者,从而减少了通信线程数量,优化软件内存和计算资源占用,节省测试系统资源;并且通过事件触发,事件订阅与取消订阅的方式,可实现低延和高可靠的通信管理,大大提升运行稳定性,最终可以实现毫秒级的测试速度,有效提高测试效率。In this embodiment, the mode of event notification is used to trigger the event subscription module to send the test results to the event subscribers in the form of serial messages. In this way, multiple event subscribers are triggered in order, thereby reducing the number of communication threads and optimizing the software. Memory and computing resources are used to save test system resources; and through event triggering, event subscription and unsubscription, low-latency and high-reliability communication management can be achieved, greatly improving operational stability, and finally can achieve millisecond-level test speed. Effectively improve test efficiency.

在一些实施例中,所述上位机101还用于,采用事件触发方法,从所述串口服务器102中获取所述虚拟化寄存器采集的开关量数据和/或模拟量数据。In some embodiments, the host computer 101 is further configured to acquire the switch value data and/or analog value data collected by the virtualization register from the serial port server 102 by using an event trigger method.

可选地,上位机101在从串口服务器102中接收虚拟化寄存器采集的开关量数据和/或模拟量数据的情况下,可采用串行端口serialPort中的串口接收数据触发事件serialPort_DataReceived的触发方式,接收串口服务器102中的串口数据(即虚拟化寄存器采集的开关量数据和/或模拟量数据),以在接收串口数据的过程中,加上延时确保不定数的串口数据可以全部收到缓冲后,才去读缓冲的串口数据,通过逻辑解决串口接收事件接收到的数据有截断的问题,以确保准确完整地获取虚拟化寄存器采集的开关量数据和/或模拟量数据,实现低延迟串口数据处理,降低测试系统的内存占用。Optionally, when the upper computer 101 receives the switching data and/or analog data collected by the virtualized register from the serial port server 102, it can adopt the trigger mode of the serial port receiving data trigger event serialPort_DataReceived in the serial port serialPort, Receive the serial port data in the serial port server 102 (that is, the switch quantity data and/or analog quantity data collected by the virtualization register), so that in the process of receiving the serial port data, a delay is added to ensure that the indefinite number of serial port data can all be buffered After that, read the buffered serial port data, solve the problem of truncation of data received by the serial port receiving event through logic, so as to ensure accurate and complete acquisition of the switching data and/or analog data collected by the virtualization register, and realize low-latency serial port Data processing, reducing the memory usage of the test system.

在一些实施例中,所述待测试风扇板104包括多个控制通道;In some embodiments, the fan board 104 to be tested includes a plurality of control channels;

所述多个控制通道,与同一风扇105连接;The multiple control channels are connected to the same fan 105;

所述多个控制通道,基于所述同一风扇105进行测试。The multiple control channels are tested based on the same fan 105 .

其中,每一待测试风扇板104包括多个控制通道,具体数量可以根据实际需求进行设置,如6个。其中,不同控制通道用于对不同风扇105进行控制。Wherein, each fan board 104 to be tested includes multiple control channels, and the specific number can be set according to actual needs, such as six. Wherein, different control channels are used to control different fans 105 .

在测试过程中,可将每一待测试风扇板104的多个控制通道,均连接到一个风扇105上,以通过采用多个控制通道对同一个风扇105进行控制,实现对每一待测试风扇板的多个控制通道的测试,且可有效节省风扇板测试过程中风扇的需求数量,进而有效节约测试成本。During the test, multiple control channels of each fan board 104 to be tested can be connected to a fan 105, so as to control the same fan 105 by using multiple control channels to realize the control of each fan to be tested. The test of multiple control channels of the board can effectively save the number of fans required in the fan board test process, thereby effectively saving the test cost.

下面对本发明提供的风扇板测试方法进行描述,下文描述的风扇板测试方法与上文描述的风扇板测试系统可相互对应参照。The fan board testing method provided by the present invention is described below, and the fan board testing method described below and the fan board testing system described above can be referred to in correspondence.

如图2所示,本实施例提供一种基于风扇板测试系统的风扇板测试方法,该方法包括:As shown in Figure 2, this embodiment provides a fan board testing method based on the fan board testing system, the method comprising:

步骤201,在接收到风扇板选择指令的情况下,对所述风扇板选择指令进行解析,获取至少一个待测试风扇板的第二标识;Step 201, when a fan board selection instruction is received, analyze the fan board selection instruction to obtain a second identification of at least one fan board to be tested;

其中,风扇板选择指令为用户在上位机输入的对待测试风扇板进行选择测试的指令,风扇板选择指令包括待测试风扇板的第二标识。Wherein, the fan board selection instruction is an instruction for selecting and testing the fan board to be tested input by the user in the host computer, and the fan board selection instruction includes the second identification of the fan board to be tested.

可选地,在需要进行风扇板测试时,用户在上位机输入的对待测试风扇板进行选择测试的风扇板选择指令;上位机在接收到风扇板选择指令的情况下,从风扇板选择指令中解析获取出待测试风扇板的第二标识。第二标识可以是序列号或名称等。Optionally, when a fan board test is required, the user enters a fan board selection instruction for selecting a test fan board to be tested in the host computer; The second identification of the fan board to be tested is obtained by parsing. The second identification may be a serial number or a name and the like.

步骤202,根据所述第二标识,同步向每一待测试风扇板对应的虚拟化寄存器发送测试控制指令,以供所述虚拟化寄存器根据所述测试控制指令对所述每一待测试风扇板进行异步测试控制,并采集所述每一待测试风扇板在测试控制过程中产生的开关量数据和/或模拟量数据;Step 202: Synchronously send a test control instruction to a virtualization register corresponding to each fan board to be tested according to the second identification, so that the virtualization register can perform a test on each fan board to be tested according to the test control instruction. Perform asynchronous test control, and collect the switching data and/or analog data generated by each fan board to be tested during the test control process;

可选地,上位机在解析获取到待测试风扇板的第二标识,可自动筛选出预先设置在数据库中的待测试风扇板的测试项;并根据第二标识确定每一待测试风扇板对应的虚拟化寄存器,以根据预设测试逻辑与测试项,向每一待测试风扇板对应的虚拟化寄存器发送测试控制指令,以使得虚拟化寄存器在接收到测试控制指令的情况下,根据测试控制指令进行相应的动作,以触发相应的待测试风扇板进行测试动作,实现对相应的待测试风扇板的测试控制,并采集待测试风扇板在测试控制过程中产生的开关量数据和/或模拟量数据。Optionally, the upper computer can automatically filter out the test items of the fan board to be tested which are pre-set in the database after parsing and obtaining the second identification of the fan board to be tested; and determine each fan board to be tested according to the second identification. The virtualization registers, so as to send test control instructions to the virtualization registers corresponding to each fan board to be tested according to the preset test logic and test items, so that when the virtualization registers receive the test control instructions, according to the test control Instructions to perform corresponding actions to trigger the corresponding fan boards to be tested to perform test actions, realize the test control of the corresponding fan boards to be tested, and collect the switching data and/or simulations generated by the fan boards to be tested during the test control process Quantitative data.

步骤203,获取所述虚拟化寄存器采集的开关量数据和/或模拟量数据,根据所述开关量数据和/或所述模拟量数据,获取所述至少一个待测试风扇板的测试结果。Step 203: Acquire the switching data and/or analog data collected by the virtualization register, and obtain a test result of the at least one fan board to be tested according to the switching data and/or the analog data.

可选地,上位机通过预设接口协议读取寄存器设备,以获取待测试风扇板在测试控制过程中产生的开关量数据和/或模拟量数据。在获取到开关量数据和/或模拟量数据后,将期望开关量数据和/或期望模拟量数据进行比较,根据比较结果,确定待测试风扇板的测试结果。Optionally, the host computer reads the register device through a preset interface protocol to obtain switching data and/or analog data generated by the fan board to be tested during the test control process. After the switching data and/or analog data are acquired, the expected switching data and/or the expected analog data are compared, and the test result of the fan board to be tested is determined according to the comparison result.

本发明提供的风扇板测试方法,上位机通过串口服务器与至少一个工装插箱连接,每一工装插箱与至少一个待测试风扇板硬线连接,以实现上位机与多个待测试风扇板之间的直连通信,且可通过串口服务器向每一待测试风扇板对应的虚拟化寄存器发送测试控制指令,以对每一待测试风扇板进行测试控制,并根据虚拟化寄存器采集的开关量数据和/或模拟量数据,获取每一待测试风扇板的测试结果,以实现对多种待测试风扇板的自动化批量测试,并且在需要对风扇板进行扩展时,不依托于测试背板,只需要将待扩展风扇板与工装插箱硬线连接,即可便捷高效地实现风扇板的扩展,可扩展性强,有效解决依赖测试背板,扩展难度大的问题。In the fan board testing method provided by the present invention, the upper computer is connected to at least one tooling box through a serial port server, and each tooling box is hard-wired connected to at least one fan board to be tested, so as to realize the connection between the upper computer and a plurality of fan boards to be tested. The direct communication between each fan board can be directly connected, and the test control command can be sent to the virtualization register corresponding to each fan board to be tested through the serial port server, so as to test and control each fan board to be tested, and according to the switch data collected by the virtualization register And/or analog data, to obtain the test results of each fan board to be tested, so as to realize the automatic batch testing of various fan boards to be tested, and when the fan board needs to be expanded, it does not rely on the test backplane, only It is necessary to hard-wire the fan board to be expanded to the tooling sub-box, so that the expansion of the fan board can be realized conveniently and efficiently. The scalability is strong, and the problem of relying on the test backplane and difficult expansion is effectively solved.

图3示例了一种电子设备的实体结构示意图,如图3所示,该电子设备可以包括:处理器(processor)301、通信接口(Communications Interface)302、存储器(memory)303和通信总线304,其中,处理器301,通信接口302,存储器303通过通信总线304完成相互间的通信。处理器301可以调用存储器303中的逻辑指令,以执行风扇板测试方法,该方法包括:在接收到风扇板选择指令的情况下,对所述风扇板选择指令进行解析,获取至少一个待测试风扇板的第二标识;根据所述第二标识,同步向每一待测试风扇板对应的虚拟化寄存器发送测试控制指令,以供所述虚拟化寄存器根据所述测试控制指令对所述每一待测试风扇板进行异步测试控制,并采集所述每一待测试风扇板在测试控制过程中产生的开关量数据和/或模拟量数据;获取所述虚拟化寄存器采集的开关量数据和/或模拟量数据,根据所述开关量数据和/或所述模拟量数据,获取所述至少一个待测试风扇板的测试结果。FIG. 3 illustrates a schematic diagram of the physical structure of an electronic device. As shown in FIG. 3 , the electronic device may include: a processor (processor) 301, a communication interface (Communications Interface) 302, a memory (memory) 303 and a communication bus 304, Wherein, the processor 301 , the communication interface 302 , and the memory 303 communicate with each other through the communication bus 304 . The processor 301 can call the logic instructions in the memory 303 to execute the fan board testing method, the method includes: in the case of receiving the fan board selection instruction, parsing the fan board selection instruction, and obtaining at least one fan board to be tested The second identification of the board; according to the second identification, synchronously send a test control instruction to the virtualization register corresponding to each fan board to be tested, so that the virtualization register can control each fan board to be tested according to the test control instruction. The test fan board performs asynchronous test control, and collects the switching data and/or analog data generated by each fan board to be tested during the test control process; obtains the switching data and/or analog data collected by the virtualization register quantity data, and according to the switch quantity data and/or the analog quantity data, obtain the test result of the at least one fan board to be tested.

此外,上述的存储器303中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above logic instructions in the memory 303 may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .

另一方面,本发明还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,所述计算机程序被处理器执行时,计算机能够执行上述各方法所提供的风扇板测试方法,该方法包括:在接收到风扇板选择指令的情况下,对所述风扇板选择指令进行解析,获取至少一个待测试风扇板的第二标识;根据所述第二标识,同步向每一待测试风扇板对应的虚拟化寄存器发送测试控制指令,以供所述虚拟化寄存器根据所述测试控制指令对所述每一待测试风扇板进行异步测试控制,并采集所述每一待测试风扇板在测试控制过程中产生的开关量数据和/或模拟量数据;获取所述虚拟化寄存器采集的开关量数据和/或模拟量数据,根据所述开关量数据和/或所述模拟量数据,获取所述至少一个待测试风扇板的测试结果。On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can Executing the fan board testing method provided by the above methods, the method includes: in the case of receiving the fan board selection instruction, parsing the fan board selection instruction, and obtaining the second identification of at least one fan board to be tested; The second identification is to synchronously send a test control instruction to the virtualization register corresponding to each fan board to be tested, so that the virtualization register can perform asynchronous test control on each fan board to be tested according to the test control instruction , and collect the switching data and/or analog data generated by each fan board to be tested during the test control process; obtain the switching data and/or analog data collected by the virtualization register, according to the switch Quantitative data and/or the analog quantity data, and obtain the test result of the at least one fan board to be tested.

又一方面,本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各方法提供的风扇板测试方法,该方法包括:在接收到风扇板选择指令的情况下,对所述风扇板选择指令进行解析,获取至少一个待测试风扇板的第二标识;根据所述第二标识,同步向每一待测试风扇板对应的虚拟化寄存器发送测试控制指令,以供所述虚拟化寄存器根据所述测试控制指令对所述每一待测试风扇板进行异步测试控制,并采集所述每一待测试风扇板在测试控制过程中产生的开关量数据和/或模拟量数据;获取所述虚拟化寄存器采集的开关量数据和/或模拟量数据,根据所述开关量数据和/或所述模拟量数据,获取所述至少一个待测试风扇板的测试结果。In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it is implemented to perform the fan board testing method provided by the above methods, the method includes : In the case of receiving the fan board selection instruction, analyze the fan board selection instruction to obtain the second identification of at least one fan board to be tested; according to the second identification, corresponding to each fan board to be tested synchronously The virtualization register of the virtualization register sends a test control instruction for the virtualization register to perform asynchronous test control on each fan board to be tested according to the test control instruction, and collects the data of each fan board to be tested during the test control process. The switching data and/or analog data generated in the virtualization register; obtain the switching data and/or analog data collected by the virtualization register, and according to the switching data and/or the analog data, obtain the at least Test results for a fan board under test.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative efforts.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (10)

1. A fan board testing system, comprising: the system comprises an upper computer, a serial server and at least one tool plug-in box;
the upper computer is connected with the serial server, and the serial server is connected with the at least one tool inserting box; each tool inserting box is connected with at least one fan board to be tested through a hard wire;
each tool inserting box comprises a virtualization register corresponding to each fan board to be tested;
the upper computer is used for sending a test control instruction to the virtualization register corresponding to each fan board to be tested through the serial server;
the virtualization register is used for testing and controlling each fan board to be tested according to the test control instruction and collecting switching value data and/or analog data generated by each fan board to be tested in the test control process;
the upper computer is further used for acquiring switching value data and/or analog data acquired by the virtualization register and acquiring a test result of each fan board to be tested according to the switching value data and/or the analog data.
2. The fan board test system of claim 1, wherein the host computer comprises a test module and a host computer module;
the test module comprises a test component of each fan board to be tested;
the testing component is configured in a tab corresponding to each fan board to be tested in the host module;
the test assembly is configured to:
under the control of the host module, sending a test control instruction to a virtualization register corresponding to each fan board to be tested according to the test item and the preset test logic of each fan board to be tested;
acquiring switching value data and/or analog data acquired by the virtualization register, acquiring a test result of each fan board to be tested according to the switching value data and/or the analog data, and displaying the test result on a visual interface of the upper computer.
3. The fan board testing system of claim 2, wherein each testing component performs asynchronous simultaneous testing on the fan board to be tested corresponding to each testing component through the thread corresponding to each testing component.
4. The fan board testing system of claim 2, wherein the testing component is further configured to:
under the condition of receiving an aging test instruction, acquiring the total test times according to the aging test instruction;
under the control of the host module, testing the fan boards to be tested for multiple times according to the test items and preset test logic of each fan board to be tested until the accumulated test times reach the total test times;
and acquiring an aging test result of the fan board to be tested according to the test results of multiple rounds.
5. The fan board test system of claim 2, wherein the host computer further comprises an expansion module;
the host module is connected with the expansion module;
the expansion module is used for providing a fan board expansion interface, analyzing the fan board expansion instruction under the condition of receiving the fan board expansion instruction, obtaining a first identifier of the fan board to be expanded, and sending the first identifier to the host module;
the host module is further used for building a testing assembly of the fan plate to be expanded in the testing module according to the first identification, and establishing connection with a tool insert box connected with the fan plate to be expanded through the serial server.
6. The fan plate testing system of claim 2, wherein the host computer further comprises a fan plate selection module, a log module, and a reporting module;
the host module is respectively connected with the fan plate selection module, the log module and the report module;
the fan board selection module is used for providing a fan board selection interface, analyzing the fan board selection instruction under the condition of receiving the fan board selection instruction to obtain a second identifier of at least one fan board to be tested, and sending the second identifier to the host module;
the host computer module is further configured to perform asynchronous batch testing on the at least one fan board to be tested according to the second identifier, and when the testing of any fan board to be tested is completed, trigger the log module to output a test log of any fan board to be tested according to the second identifier, and/or trigger the report module to output a test report of any fan board to be tested according to the second identifier.
7. The fan board testing system of claim 2, wherein the host computer further comprises an event subscription module;
the host module is connected with the event subscription module;
the host computer module is further used for triggering the event subscription module to send the test result of any fan board to be tested to an event subscriber corresponding to any fan board to be tested under the condition that the test result of any fan board to be tested is obtained.
8. The fan board test system according to any one of claims 1 to 7, wherein the upper computer is further configured to obtain switching value data and/or analog value data collected by the virtualization register from the serial server by using an event triggering method.
9. The fan board testing system of any one of claims 1-7, wherein the fan board to be tested includes a plurality of control channels;
the control channels are connected with the same fan;
the plurality of control channels are tested based on the same fan.
10. A fan board testing method based on the fan board testing system according to any one of claims 1 to 9, comprising:
under the condition that a fan board selection instruction is received, analyzing the fan board selection instruction to obtain at least one second identifier of the fan board to be tested;
according to the second identification, synchronously sending a test control instruction to a virtualization register corresponding to each fan board to be tested, so that the virtualization register can carry out asynchronous test control on each fan board to be tested according to the test control instruction, and collecting switching value data and/or analog value data generated by each fan board to be tested in the test control process;
and acquiring switching value data and/or analog data acquired by the virtualization register, and acquiring a test result of the at least one fan board to be tested according to the switching value data and/or the analog data.
CN202210987161.9A 2022-08-17 2022-08-17 Fan board testing system and method Active CN115507050B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210987161.9A CN115507050B (en) 2022-08-17 2022-08-17 Fan board testing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210987161.9A CN115507050B (en) 2022-08-17 2022-08-17 Fan board testing system and method

Publications (2)

Publication Number Publication Date
CN115507050A true CN115507050A (en) 2022-12-23
CN115507050B CN115507050B (en) 2025-03-28

Family

ID=84501313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210987161.9A Active CN115507050B (en) 2022-08-17 2022-08-17 Fan board testing system and method

Country Status (1)

Country Link
CN (1) CN115507050B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5926386A (en) * 1996-02-02 1999-07-20 Hewlett-Packard Company Configuration based cooling fan speed control
CN103838224A (en) * 2012-11-23 2014-06-04 鸿富锦精密工业(深圳)有限公司 System and method for fan control plate testing
CN107966975A (en) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 A kind of fan control board test system and method
CN108667706A (en) * 2018-05-21 2018-10-16 洛阳银杏科技有限公司 The adjustable Ethernet serial server of serial ports quantity dynamic and its data transmission method
CN108804261A (en) * 2017-05-05 2018-11-13 中兴通讯股份有限公司 The test method and device of connector
CN109119127A (en) * 2018-08-30 2019-01-01 武汉精鸿电子技术有限公司 A kind of semiconductor memory high/low temperature ageing test box
CN110146827A (en) * 2019-05-17 2019-08-20 南方电网科学研究院有限责任公司 Power distribution terminal testing and control system
CN112737886A (en) * 2020-12-29 2021-04-30 交控科技股份有限公司 Tool testing method and system
CN112814937A (en) * 2019-11-15 2021-05-18 神讯电脑(昆山)有限公司 Fan aging testing device
CN114076859A (en) * 2020-08-18 2022-02-22 中国科学院国家空间科学中心 Full-temperature aging test system and method for core components for aerospace

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5926386A (en) * 1996-02-02 1999-07-20 Hewlett-Packard Company Configuration based cooling fan speed control
CN103838224A (en) * 2012-11-23 2014-06-04 鸿富锦精密工业(深圳)有限公司 System and method for fan control plate testing
CN107966975A (en) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 A kind of fan control board test system and method
CN108804261A (en) * 2017-05-05 2018-11-13 中兴通讯股份有限公司 The test method and device of connector
CN108667706A (en) * 2018-05-21 2018-10-16 洛阳银杏科技有限公司 The adjustable Ethernet serial server of serial ports quantity dynamic and its data transmission method
CN109119127A (en) * 2018-08-30 2019-01-01 武汉精鸿电子技术有限公司 A kind of semiconductor memory high/low temperature ageing test box
CN110146827A (en) * 2019-05-17 2019-08-20 南方电网科学研究院有限责任公司 Power distribution terminal testing and control system
CN112814937A (en) * 2019-11-15 2021-05-18 神讯电脑(昆山)有限公司 Fan aging testing device
CN114076859A (en) * 2020-08-18 2022-02-22 中国科学院国家空间科学中心 Full-temperature aging test system and method for core components for aerospace
CN112737886A (en) * 2020-12-29 2021-04-30 交控科技股份有限公司 Tool testing method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
陈凯奇等: "无线风速检测系统设计", 电脑知识与技术, vol. 13, no. 4, 28 February 2017 (2017-02-28), pages 202 - 203 *
马俊婷;张润滋;: "基于ATCA高性能服务器的温控散热系统设计", 网络新媒体技术, no. 05, 15 September 2016 (2016-09-15), pages 36 - 41 *

Also Published As

Publication number Publication date
CN115507050B (en) 2025-03-28

Similar Documents

Publication Publication Date Title
CN108399114B (en) System performance testing method and device and storage medium
WO2018120721A1 (en) Method and system for testing user interface, electronic device, and computer readable storage medium
CN106445811B (en) A kind of automatization test system and method based on SecureCRT
WO2018184361A1 (en) Application test method, server, terminal, and storage media
CN110557299A (en) network transmission function batch test method, system, terminal and storage medium
CN113127356A (en) Pressure measurement method and device, electronic equipment and storage medium
CN113887161A (en) Verification method, device, equipment and medium for network-on-chip design example
CN112199273A (en) Virtual machine pressure/performance testing method and system
CN107678949A (en) Realize the automated testing method of embedded device different communication mode
CN110708214B (en) Service data display method, device, equipment and computer readable storage medium
CN106713011B (en) Method and system for obtaining test data
CN101488890A (en) Method and system for network attack test
CN111769979A (en) A cloud resource orchestration method, system, terminal and storage medium
CN115858221A (en) Management method and device of storage equipment, storage medium and electronic equipment
CN115757150A (en) Production environment testing method, device, equipment and storage medium
US20090216517A1 (en) Dedicated simulator for testing a usb host solution
CN114116343A (en) Equipment testing method and device, electronic equipment and storage medium
CN115507050A (en) Fan board testing system and method
CN117331758A (en) Verification method and device for target virtual machine mirror image, electronic equipment and storage medium
CN116545891A (en) Automatic distribution network testing method based on intelligent equipment
CN116629173A (en) Verification method and device of network chip, computer equipment and storage medium
CN116087752A (en) Chip testing method, system, device and medium
CN115098387A (en) A server BIOS automatic test system, method, device and storage medium
CN113918459A (en) Self-detection method for script performance test
CN112003727A (en) A multi-node server power test method, system, terminal and storage medium

Legal Events

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