[go: up one dir, main page]

CN114896136A - Method, electronic device and storage medium for testing a board - Google Patents

Method, electronic device and storage medium for testing a board Download PDF

Info

Publication number
CN114896136A
CN114896136A CN202210345799.2A CN202210345799A CN114896136A CN 114896136 A CN114896136 A CN 114896136A CN 202210345799 A CN202210345799 A CN 202210345799A CN 114896136 A CN114896136 A CN 114896136A
Authority
CN
China
Prior art keywords
board
tested
target
test
signal
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
CN202210345799.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.)
CRSC Research and Design Institute Group Co Ltd
Original Assignee
CRSC Research and Design Institute Group 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 CRSC Research and Design Institute Group Co Ltd filed Critical CRSC Research and Design Institute Group Co Ltd
Priority to CN202210345799.2A priority Critical patent/CN114896136A/en
Publication of CN114896136A publication Critical patent/CN114896136A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/764Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Artificial Intelligence (AREA)
  • Computer Security & Cryptography (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The embodiment of the invention discloses a board testing method, electronic equipment and a storage medium. Wherein, the method comprises the following steps: acquiring a current image of the board card to be tested through image acquisition equipment, and determining a target type of the board card to be tested according to a preset incidence relation between the board card image and the board card type; determining a target firmware program from preset candidate firmware programs according to the target category, and burning the target firmware program to the board card to be tested through a test probe; determining at least one group of target plug-in terminals according to the target category, and connecting the target plug-in terminals with a connector of the board card to be tested to obtain a signal to be tested of the board card to be tested; and determining a target test case from preset candidate test cases according to the target category, and determining a test result of the board card to be tested according to the signal to be tested and the target test case. The automatic test of different types of board cards is realized, and the board card test efficiency is improved.

Description

一种板卡测试的方法、电子设备及存储介质Method, electronic device and storage medium for testing a board

技术领域technical field

本发明实施例涉及自动化测试技术,尤其涉及一种板卡测试的方法、电子设备及存储介质。Embodiments of the present invention relate to automated testing technologies, and in particular, to a method, electronic device and storage medium for board card testing.

背景技术Background technique

随着轨道交通行业的快速发展,新的板卡产品不断研发,对于板卡的自动化测试需求不断增加。With the rapid development of the rail transit industry, new board products are constantly being developed, and the demand for automated testing of boards continues to increase.

目前,在对板卡进行测试时,需要技术工人熟练掌握每一种板卡的生产测试要求,根据不同的板卡种类选择不同的测试环境。由于新产品种类广、数量多,人工测试耗费大量的时间成本,对工人的技术水平要求高,测试的效率和精度较低。At present, when testing boards, skilled workers are required to master the production testing requirements of each board, and select different test environments according to different types of boards. Due to the wide variety and quantity of new products, manual testing consumes a lot of time and cost, requires high technical level of workers, and has low testing efficiency and accuracy.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种板卡测试的方法、电子设备及存储介质,以提高板卡测试效率。Embodiments of the present invention provide a method, an electronic device, and a storage medium for testing a board, so as to improve the efficiency of testing a board.

第一方面,本发明实施例提供了一种板卡测试方法,由板卡测试系统执行,所述板卡测试系统包括图像采集设备、至少两组对插端子和至少两个测试探头,该方法包括:In a first aspect, an embodiment of the present invention provides a method for testing a board card, which is performed by a board testing system, where the board testing system includes an image acquisition device, at least two sets of plug-in terminals, and at least two test probes. The method include:

通过所述图像采集设备获取待测板卡的当前图像,根据预设的板卡图像与板卡类别的关联关系,确定所述待测板卡的目标类别;Obtain the current image of the board to be tested by the image acquisition device, and determine the target category of the board to be tested according to the preset association between the board image and the board category;

根据所述目标类别,从预设的候选固件程序中确定目标固件程序,通过所述测试探头将所述目标固件程序烧录至所述待测板卡;According to the target category, determine a target firmware program from preset candidate firmware programs, and burn the target firmware program to the board card to be tested through the test probe;

根据所述目标类别,确定至少一组目标对插端子,控制所述目标对插端子与所述待测板卡的连接器进行连接,获取所述待测板卡的待测信号;According to the target category, at least one group of target plug-in terminals is determined, and the target plug-in terminals are controlled to be connected with the connector of the board to be tested, so as to obtain the signal to be tested of the board to be tested;

根据所述目标类别,从预设的候选测试用例中确定目标测试用例,根据所述待测信号和目标测试用例,确定所述待测板卡的测试结果。According to the target category, a target test case is determined from preset candidate test cases, and a test result of the board to be tested is determined according to the signal to be tested and the target test case.

第二方面,本发明实施例还提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如本发明任意实施例所述的板卡测试方法。In a second aspect, an embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implementing the program as described in the present invention when the processor executes the program The board card testing method described in any embodiment.

第三方面,本发明实施例还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如本发明任意实施例所述的板卡测试方法。In a third aspect, an embodiment of the present invention further provides a storage medium containing computer-executable instructions, when the computer-executable instructions are executed by a computer processor for performing the board test according to any embodiment of the present invention method.

本发明实施例通过图像采集设备获取待测板卡的当前图像,确定待测板卡的目标类别。通过测试探头向待测板卡进行程序烧录,使待测板卡中存在对应目标类别的目标固件程序,便于进行测试工作。确定与目标类别对应的目标对插端子,目标对插端子与待测板卡尾部的连接器进行连接,以获取待测板卡的待测信号,实现待测板卡与外部设备的通信。确定与待测板卡对应的目标测试用例,根据待测信号,确定待测板卡是否满足目标测试用例中的要求,得到测试结果。解决了现有技术中,需要人工进行板卡识别和测试的问题,降低对工作人员的专业要求。根据目标类别,对待测板卡进行针对性的自动化测试,减少人工操作,提高板卡的测试效率和精度。In the embodiment of the present invention, the current image of the board to be tested is acquired by an image acquisition device, and the target category of the board to be tested is determined. Burn the program to the board under test through the test probe, so that there is a target firmware program corresponding to the target category in the board under test, which is convenient for testing. Determine the target plug-in terminal corresponding to the target category, and connect the target plug-in terminal with the connector at the tail of the board to be tested to obtain the signal to be tested of the board to be tested and realize the communication between the board to be tested and the external device. Determine the target test case corresponding to the board to be tested, determine whether the board to be tested meets the requirements of the target test case according to the signal to be tested, and obtain the test result. The problem of manual identification and testing of boards in the prior art is solved, and the professional requirements for staff are reduced. According to the target category, carry out targeted automated testing of the board to be tested, reduce manual operations, and improve the testing efficiency and accuracy of the board.

附图说明Description of drawings

图1是本发明实施例一中的一种板卡测试方法的流程示意图;1 is a schematic flowchart of a method for testing a board in Embodiment 1 of the present invention;

图2是本发明实施例二中的一种板卡测试方法的流程示意图;2 is a schematic flowchart of a method for testing a board in Embodiment 2 of the present invention;

图3是本发明实施例三中的一种板卡测试装置的结构框图;3 is a structural block diagram of a board testing device in Embodiment 3 of the present invention;

图4是本发明实施例四中的一种板卡测试设备的结构示意图。FIG. 4 is a schematic structural diagram of a board card testing device in Embodiment 4 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention.

实施例一Example 1

图1为本发明实施例一所提供的一种板卡测试方法的流程示意图,本实施例可适用于对板卡进行自动测试的情况,该方法可以由板卡测试系统来执行。FIG. 1 is a schematic flowchart of a method for testing a board card according to Embodiment 1 of the present invention. This embodiment is applicable to the situation of automatically testing a board card, and the method can be executed by a board card testing system.

如图1所示,该方法具体包括如下步骤:As shown in Figure 1, the method specifically includes the following steps:

步骤110、通过图像采集设备获取待测板卡的当前图像,根据预设的板卡图像与板卡类别的关联关系,确定待测板卡的目标类别。Step 110: Acquire the current image of the board to be tested by the image acquisition device, and determine the target category of the board to be tested according to the preset association relationship between the image of the board and the category of the board.

其中,板卡测试系统可以包括图像采集设备、至少两组对插端子和至少两个测试探头。图像采集设备可以采集预设范围内的环境图像,对插端子可以移动,与板卡尾部的连接器进行连接,实现板卡与外部设备的通信,从而完成板卡的测试。测试探头可以是探针,并可以移动,与板卡表面上的任一点接触,获取板卡任一点的电压电阻等固定点信号。本实施例中,可以有三组对插端子和四个测试探头,每组对插端子包括两个端子,不同组对插端子可以适配于不同种类的板卡。Wherein, the board testing system may include an image acquisition device, at least two groups of mating terminals and at least two test probes. The image acquisition device can collect environmental images within a preset range, and the plug-in terminal can be moved to connect with the connector at the end of the board to realize the communication between the board and external devices, thus completing the test of the board. The test probe can be a probe and can be moved to contact any point on the surface of the board to obtain fixed-point signals such as voltage and resistance at any point of the board. In this embodiment, there may be three sets of plug-in terminals and four test probes, each set of plug-in terminals includes two terminals, and different sets of plug-in terminals can be adapted to different types of boards.

图像采集设备可以实时或定时获取环境图像,在得到环境图像后,板卡测试系统可以判断环境图像中是否存在待测板卡。若不存在,则继续获取环境图像。若存在,则从环境图像中获取待测板卡的当前图像,例如,可以从环境图像中截取当前图像,或将环境图像作为当前图像。预先设置板卡图像与板卡类别之间的关联关系,不同类别的板卡,板卡图像不同。根据当前图像,可以查找与当前图像对应的板卡类别,作为待测板卡的目标类别。The image acquisition device can acquire the environmental image in real time or periodically. After the environmental image is obtained, the board testing system can determine whether the board to be tested exists in the environmental image. If it does not exist, continue to acquire the environment image. If it exists, the current image of the board to be tested is obtained from the environment image, for example, the current image can be intercepted from the environment image, or the environment image can be used as the current image. The relationship between the board image and the board type is preset, and the board image is different for different types of boards. According to the current image, the board category corresponding to the current image can be found as the target category of the board to be tested.

本实施例中,可选的,板卡测试系统还包括传输平台;相应地,在通过图像采集设备获取待测板卡的当前图像之前,还包括:通过在传输平台进料始端上安装的第一传感器,判断待测板卡是否被放置在传输平台;若是,则启动传输平台,并通过预设识别区域上安装的第二传感器,判断待测板卡是否被传输至识别区域;若是,则传输平台停止传输,并执行通过图像采集设备获取待测板卡的当前图像。In this embodiment, optionally, the board testing system further includes a transmission platform; correspondingly, before acquiring the current image of the board to be tested by the image acquisition device, it also includes: passing the first a sensor to judge whether the board to be tested is placed on the transmission platform; if so, start the transmission platform, and determine whether the board to be tested is transmitted to the recognition area through the second sensor installed on the preset recognition area; if so, then The transmission platform stops transmission and executes the acquisition of the current image of the board to be tested through the image acquisition device.

具体的,板卡测试系统可以包括传输平台、图像采集设备、至少两组对插端子和至少两个测试探头。传输平台可以是传送带等装置,用户可以将各个待测板卡放置在传输平台的入口,传输平台依次传输待测板卡,实现对不同待测板卡的自动测试。传输平台的入口为进料始端,在进料始端处安装有第一传感器,第一传感器可以是光电传感器。通过第一传感器可以确定进料始端处是否存在待测板卡,若存在,则控制传输平台启动,将待测板卡向着出料末端传输,即,将待测板卡向传送带的末端传输。预先设置一个识别区域,识别区域在传输路径上,在识别区域处安装第二传感器,第二传感器也可以是光电传感器。第二传感器可以实时确定识别区域处是否存在待测板卡,当待测板卡被传输平台运送到识别区域时,第二传感器识别到待测板卡。系统获取到第二传感器识别到待测板卡的信号,控制传输平台停止传输,待测板卡停留在识别区域。Specifically, the board test system may include a transmission platform, an image acquisition device, at least two sets of plug-in terminals, and at least two test probes. The transmission platform can be a conveyor belt and other devices. Users can place each board to be tested at the entrance of the transmission platform, and the transmission platform transmits the boards to be tested in turn to realize automatic testing of different boards to be tested. The entrance of the transmission platform is the starting end of feeding, and a first sensor is installed at the starting end of feeding, and the first sensor may be a photoelectric sensor. Through the first sensor, it can be determined whether there is a board to be tested at the beginning of the feeding. If there is, the transmission platform is controlled to start, and the board to be tested is transported to the end of the discharge, that is, the board to be tested is transported to the end of the conveyor belt. An identification area is set in advance, the identification area is on the transmission path, and a second sensor is installed at the identification area, and the second sensor may also be a photoelectric sensor. The second sensor can determine in real time whether there is a board to be tested in the recognition area, and when the board to be tested is transported to the recognition area by the transport platform, the second sensor recognizes the board to be tested. The system obtains the signal that the second sensor recognizes the board to be tested, controls the transmission platform to stop transmission, and the board to be tested stays in the recognition area.

在识别区域处还安装有图像采集设备,例如,图像采集设备安装在识别区域上方,图像采集设备可以是相机等设备。图像采集设备可以实时获取识别区域的图像,也可以由系统在传输平台停止传输后向图像采集设备发送拍摄指令,获取识别区域的图像。若图像采集设备实时获取环境图像,则在得到环境图像后,板卡测试系统可以判断环境图像中是否存在待测板卡。若不存在,则继续获取环境图像。若存在,则从环境图像中识别到待测板卡的当前图像。若图像采集设备接收到系统拍摄指令后才启动,则可以直接拍摄到待测板卡。这样设置的有益效果在于,系统可以自动确定是否开始进行板卡测试,传输平台自动开始工作,且不需要用户人工识别不同的板卡,减少用户操作,避免板卡识别错误,提高板卡测试的效率和精度。An image capture device is also installed at the identification area, for example, the image capture device is installed above the identification area, and the image capture device may be a device such as a camera. The image acquisition device can acquire the image of the recognition area in real time, or the system can send a shooting instruction to the image acquisition device after the transmission platform stops transmission to acquire the image of the recognition area. If the image acquisition device acquires the environmental image in real time, after obtaining the environmental image, the board testing system can determine whether the board to be tested exists in the environmental image. If it does not exist, continue to acquire the environment image. If it exists, the current image of the board to be tested is identified from the environment image. If the image acquisition device starts after receiving the system shooting instruction, it can directly shoot the board to be tested. The beneficial effect of this setting is that the system can automatically determine whether to start the board test, the transmission platform automatically starts to work, and the user does not need to manually identify different boards, which reduces user operations, avoids board recognition errors, and improves board testing. Efficiency and Precision.

步骤120、根据目标类别,从预设的候选固件程序中确定目标固件程序,通过测试探头将目标固件程序烧录至待测板卡。Step 120 , according to the target category, determine the target firmware program from the preset candidate firmware programs, and burn the target firmware program to the board under test through the test probe.

其中,在确定待测板卡的目标类别后,可以从预设的多个候选固件程序中查找与目标类别对应的固件程序,作为目标固件程序。待测板卡在放置在传输平台时,内部不存在没有固件程序,无法与其他设备进行通信和工作,即无法进行测试。因此,需要确定待测板卡的目标固件程序,将目标固件程序烧录至待测板卡,从而进行程序的运行。可以通过测试探头将目标固件程序烧录至待测板卡中,测试探头可以是探针的形式,与待测板卡上的预设位置进行接触,实现程序烧录。例如,测试探头与待测板卡的预设位置互为一对插针和插座,将插针插入插座中进行程序烧录,插针可以是双排插针。Wherein, after the target category of the board to be tested is determined, a firmware program corresponding to the target category can be searched from a plurality of preset candidate firmware programs as the target firmware program. When the board to be tested is placed on the transmission platform, there is no firmware program inside, and it cannot communicate and work with other devices, that is, it cannot be tested. Therefore, it is necessary to determine the target firmware program of the board to be tested, and to burn the target firmware program to the board to be tested, so as to run the program. The target firmware program can be programmed into the board to be tested through the test probe. The test probe can be in the form of a probe that contacts the preset position on the board to be tested to realize program programming. For example, the preset positions of the test probe and the board to be tested are a pair of pins and sockets, and the pins are inserted into the sockets for program programming, and the pins can be double-row pins.

本实施例中,可选的,通过测试探头将目标固件程序烧录至待测板卡,包括:根据目标类别,确定待测板卡上接收目标固件程序的目标部位;控制测试探头移动至目标部位,通过测试探头上的烧录端子将目标固件程序烧录至待测板卡。In this embodiment, optionally, burning the target firmware program to the board card to be tested through the test probe includes: determining the target position on the board card to receive the target firmware program according to the target type; controlling the test probe to move to the target part, burn the target firmware program to the board under test through the burn-in terminal on the test probe.

具体的,不同类别的待测板卡,接收目标固件程序的位置不同,例如,测试探头可以从板卡的中心位置烧录程序,也可以从板卡左上角的位置烧录程序。预先存储不同类别板卡可以接收到目标固件程序的部位,在确定目标类别后,可以查找到待测板卡对应类别的目标部位。系统可以控制测试探头移动到待测板卡的目标部位,将测试探头上的烧录端子与目标部位接触,通过烧录端子将目标固件程序烧录至待测板卡中。测试探头可以位于待测板卡的上方,测试探头可以由滑动轴控制移动。本实施中,可以存在多个测试探头,保证测试探头可以移动到待测板卡的任一部位,每个测试探头上可以安装有至少一个烧录端子,用于板卡固件程序的烧录。这样设置的有益效果在于,可以根据板卡类别自动确定目标固件程序并进行程序烧录,有效减少用户操作,避免用户烧录错误的程序,降低对测试人员的专业要求,提高板卡测试的效率和精度,进而提高板卡测试的自动化。Specifically, different types of boards under test have different locations for receiving target firmware programs. For example, the test probe can program programs from the center of the board or from the upper left corner of the board. Pre-store the part where different types of boards can receive the target firmware program. After the target type is determined, the target part of the corresponding type of the board to be tested can be found. The system can control the test probe to move to the target part of the board to be tested, contact the programming terminal on the test probe with the target part, and burn the target firmware program to the board to be tested through the programming terminal. The test probe can be located above the board to be tested, and the test probe can be controlled to move by the sliding shaft. In this implementation, there can be multiple test probes to ensure that the test probes can be moved to any part of the board to be tested, and each test probe can be installed with at least one programming terminal for programming the board firmware program. The beneficial effect of this setting is that the target firmware program can be automatically determined and programmed according to the board type, which effectively reduces user operations, prevents users from burning wrong programs, reduces the professional requirements for testers, and improves the efficiency of board testing. and accuracy, thereby improving the automation of board testing.

本实施例中,可选的,在确定待测板卡的目标类别之后,还包括:根据目标类别,确定待测板卡上的信号采集部位;控制测试探头移动至信号采集部位,获取待测板卡的固定点信号。In this embodiment, optionally, after determining the target type of the board to be tested, the method further includes: according to the target type, determining a signal acquisition part on the board to be tested; controlling the test probe to move to the signal acquisition part to obtain the signal acquisition part Fixed point signal of the board.

具体的,测试探头还可以用于对待测板卡上预设的固定点进行信号采集,不同类别的板卡,可以进行采集的预设的固定点不同,预设的固定点为信号采集部位。预先存储不同类别的板卡与信号采集部位的关联关系,根据待测板卡的目标类别,可以确定待测板卡上进行信号采集的信号采集部位。板卡测试系统控制测试探头移动到信号采集部位,与信号采集部位接触,获取待测板卡的固定点信号。固定点信号即为信号采集部位的信号,固定点信号可以是电压和电阻等信号。例如,测试探头的探针接触待测板卡上的芯片,获取芯片位置的内部电压电阻。本实施例中,可以在烧录目标固件程序后再获取固定点信号,也可以在获取固定点信号后再烧录目标固件程序。这样设置的友谊效果在于,可以对待测板卡的固定点信号进行自动测试,不需要人工手持信号测试设备进行测试,也不需要人工确定待测板卡上的信号采集部位,提高板卡测试效率。Specifically, the test probe can also be used for signal acquisition at a preset fixed point on the board to be tested. Different types of boards have different preset fixed points for acquisition, and the preset fixed point is the signal acquisition part. The relationship between different types of boards and signal acquisition parts is pre-stored, and according to the target category of the board to be tested, the signal acquisition site for signal acquisition on the board to be tested can be determined. The board test system controls the test probe to move to the signal acquisition part, contacts with the signal acquisition part, and obtains the fixed point signal of the board to be tested. The fixed-point signal is the signal at the signal acquisition site, and the fixed-point signal can be a signal such as voltage and resistance. For example, the probe of the test probe contacts the chip on the board under test to obtain the internal voltage resistance at the position of the chip. In this embodiment, the fixed point signal may be acquired after the target firmware program is burned, or the target firmware program may be burned after the fixed point signal is acquired. The friendship effect of this setting is that the fixed point signal of the board to be tested can be automatically tested without manual hand-held signal testing equipment for testing, nor the need to manually determine the signal acquisition position on the board to be tested, which improves the test efficiency of the board. .

本实施例中,可选的,在获取待测板卡的固定点信号之后,还包括:根据目标类别,确定待测板卡的辅助测试仪表;通过测试探头将待测板卡的固定点信号转移至辅助测试仪表,以确定固定点信号的测试结果。In this embodiment, optionally, after acquiring the fixed point signal of the board to be tested, the method further includes: determining the auxiliary test instrument of the board to be tested according to the target type; Transfer to an auxiliary test instrument to determine test results for fixed point signals.

具体的,预先存储不同类别板卡关联的辅助测试仪表,例如,辅助测试仪表可以是示波器和电压表等设备。根据待测板卡的目标类别,确定待测板卡的辅助测试仪表。在获取到固定点信号后,将固定点信号传输到辅助测试仪表,由辅助测试仪表对固定点信号的测试结果进行显示。例如,板卡测试系统中可以设置有仪表切换板,仪表切换板可以用于将测试探头连接至不同的辅助测试仪表,从而将获取的固定点信号转移至辅助测试仪表。仪表切换板可以是自主设计的PCB(Printed Circuit Board,印制电路板)板卡,内部设置切换模块,根据板卡类别和测试类型,板卡测试系统控制仪表切换板将测试探头的信号切换至所需的辅助测试仪表,从而确定固定点信号的数值。系统中可以预先设置固定点信号的数值要求,将实际测得的固定点信号数值与预设的数值要求进行比较,判断实际测得的固定点信号数值是否满足预设的数值要求,若满足,则确定固定点信号的测试通过,若不满足,则确定固定点信号的测试失败。这样设置的有益效果在于,可以对待测板卡的内部电压电阻等信号进行自动测试,即不仅可以测试板卡运行程序的过程,还可以对板卡是否制造合格进行测试,例如,要求板卡上的芯片内部电压为2V,则可以获取该芯片的内部电压,实现对板卡的全面自动化测试。Specifically, auxiliary test instruments associated with different types of boards are pre-stored. For example, the auxiliary test instruments may be devices such as an oscilloscope and a voltmeter. According to the target category of the board to be tested, determine the auxiliary test instrument for the board to be tested. After the fixed-point signal is acquired, the fixed-point signal is transmitted to the auxiliary test instrument, and the test result of the fixed-point signal is displayed by the auxiliary test instrument. For example, an instrument switching board may be provided in the board test system, and the instrument switching board may be used to connect the test probes to different auxiliary test instruments, so as to transfer the acquired fixed-point signals to the auxiliary test instruments. The instrument switching board can be a self-designed PCB (Printed Circuit Board, printed circuit board) board, with a switching module set inside. According to the board type and test type, the board test system controls the instrument switching board to switch the signal of the test probe to Auxiliary test instrumentation required to determine the value of the fixed point signal. The numerical requirements of the fixed-point signal can be preset in the system, and the actual measured fixed-point signal value is compared with the preset numerical requirements to determine whether the actual measured fixed-point signal value meets the preset numerical requirements, if so, Then it is determined that the test of the fixed-point signal passes, and if it is not satisfied, it is determined that the test of the fixed-point signal fails. The beneficial effect of this setting is that the internal voltage resistance and other signals of the board to be tested can be automatically tested, that is, not only the process of running the program on the board, but also whether the board is qualified for manufacture can be tested. If the internal voltage of the chip is 2V, the internal voltage of the chip can be obtained to realize a comprehensive automatic test of the board.

步骤130、根据目标类别,确定至少一组目标对插端子,控制目标对插端子与待测板卡的连接器进行连接,获取待测板卡的待测信号。Step 130: Determine at least one group of target plug-in terminals according to the target type, control the target plug-in terminal to connect with the connector of the board to be tested, and obtain the signal to be tested of the board to be tested.

其中,待测板卡可以通过运行目标固件程序生成待测信号,板卡测试系统可以获取待测信号进行板卡测试。不同类别板卡所要插入的对插端子可以不同,预先存储不同类别板卡关联的对插端子。根据待测板卡的目标类别,从所有的对插端子中确定至少一组对应的目标对插端子。板卡测试系统控制目标对插端子移动至待测板卡的连接器处,例如,可以通过电动升降台和推杆气缸等控制对插端子的移动。连接器位于待测板卡的尾部,目标对插端子可以与连接器进行插拔连接,通过目标对插端子可以获取待测板卡的待测信号。例如,可以获取待测板卡的输出电压信号等。The board to be tested can generate the signal to be tested by running the target firmware program, and the board test system can obtain the signal to be tested to test the board. The mating terminals to be inserted into different types of boards can be different, and the mating terminals associated with different types of boards are pre-stored. According to the target category of the board to be tested, at least one group of corresponding target mating terminals is determined from all mating terminals. The board test system controls the target mating terminal to move to the connector of the board to be tested. For example, the movement of the mating terminal can be controlled by an electric lift table and a push rod cylinder. The connector is located at the tail of the board to be tested, and the target plug-in terminal can be plugged and connected to the connector, and the test signal of the board to be tested can be obtained through the target plug-in terminal. For example, the output voltage signal of the board to be tested can be obtained.

步骤140、根据目标类别,从预设的候选测试用例中确定目标测试用例,根据待测信号和目标测试用例,确定待测板卡的测试结果。Step 140: Determine the target test case from the preset candidate test cases according to the target category, and determine the test result of the board to be tested according to the signal to be tested and the target test case.

其中,预先存储多个候选测试用例,并设置不同类别板卡与各个测试用例的关联关系。根据待测板卡的目标类别,从候选测试用例中确定目标测试用例。目标测试用例中可以规定待测板卡的测试环境,例如,可以规定需要与待测板卡进行连接的外部设备,或待测板卡工作所需的电压、温度和湿度等条件。根据目标测试用例,调整待测板卡的工作环境,例如,可以将待测板卡的待测信号传输给预设的外部设备。根据待测信号,确定待测板卡是否测试成功。例如,目标测试用例中规定待测板卡需要与信号灯连接,测试成功的条件是信号灯亮绿灯。将待测信号传递给信号灯,若信号灯亮绿灯,则确定待测板卡测试成功;若信号灯没有亮绿灯,则确定待测板卡测试失败。Among them, multiple candidate test cases are stored in advance, and the association relationship between different types of boards and each test case is set. Determine the target test case from the candidate test cases according to the target category of the board to be tested. The target test case can specify the test environment of the board to be tested, for example, external devices that need to be connected to the board to be tested, or conditions such as voltage, temperature, and humidity required for the work of the board to be tested. Adjust the working environment of the board under test according to the target test case, for example, the test signal of the board under test can be transmitted to a preset external device. Determine whether the board to be tested is successfully tested according to the signal to be tested. For example, the target test case stipulates that the board to be tested needs to be connected to the signal light, and the condition for the successful test is that the signal light turns green. The signal to be tested is transmitted to the signal light, if the signal light is green, it is determined that the test of the board to be tested is successful; if the signal light is not green, it is determined that the test of the board to be tested has failed.

本实施例中,可选的,根据待测信号和目标测试用例,确定待测板卡的测试结果,包括:根据目标测试用例,确定待测板卡的辅助测试设备;通过目标对插端子将待测板卡的待测信号转移至辅助测试设备,供辅助测试设备根据待测信号生成运行数据;接收辅助测试设备的运行数据,根据目标测试用例中预设的测试评判规则,确定待测板卡的测试结果。In this embodiment, optionally, determining the test result of the board to be tested according to the signal to be tested and the target test case includes: determining the auxiliary test equipment of the board to be tested according to the target test case; The signal to be tested of the board to be tested is transferred to the auxiliary test equipment for the auxiliary test equipment to generate operation data according to the signal to be tested; the operation data of the auxiliary test equipment is received, and the board to be tested is determined according to the preset test evaluation rules in the target test case Card test results.

具体的,测试用例中可以规定板卡工作时需要连接的外部设备,作为辅助测试设备。根据目标测试用例,确定待测板卡的辅助测试设备,即,无法对待测板卡单独进行测试,需要将待测板卡与辅助测试设备进行通信后再进行测试。通过目标对插端子获取待测板卡的待测信号后,将待测信号转移至辅助测试设备,实现待测板卡与辅助测试设备的通信。辅助测试设备根据待测信号进行工作,生成运行数据。接收辅助测试设备的运行数据,并从目标测试用例中获取预设的测试评判规则,判断运行数据是否满足测试评判规则的要求,若满足,则确定待测板卡测试成功;若不满足,则确定待测板卡测试失败。Specifically, an external device that needs to be connected when the board is working can be specified in the test case as an auxiliary test device. According to the target test case, determine the auxiliary test equipment for the board under test, that is, the board under test cannot be tested alone, and the test board needs to communicate with the auxiliary test equipment before testing. After obtaining the signal to be tested of the board to be tested through the target pairing terminal, the signal to be tested is transferred to the auxiliary test equipment to realize the communication between the board to be tested and the auxiliary test equipment. Auxiliary test equipment works according to the signal to be tested and generates operating data. Receive the operation data of the auxiliary test equipment, and obtain the preset test evaluation rules from the target test case, and judge whether the operation data meets the requirements of the test evaluation rules. Make sure the board under test fails the test.

可以通过预设的信号转换板将待测板卡的待测信号切换转接至辅助测试设备,信号转换板可以是自主设计的PCB板卡,内部设置切换模块,通过目标对插端子获取待测信号后,待测信号统一由信号转换板切换至外部设备或相应信号点,实现对待测板卡的工作流程进行完整执行。这样设置的有益效果在于,实现待测板卡与外部设备的通信,建立完整的测试环境,整个过程不需要人工参与,实现了全自动测试,提高板卡测试效率和精度。The signal to be tested of the board to be tested can be switched and transferred to the auxiliary test equipment through the preset signal conversion board. The signal conversion board can be a self-designed PCB board, with a switching module set inside, and the target to be tested is obtained through the target plug-in terminal. After the signal is received, the signal to be tested is uniformly switched from the signal conversion board to the external device or the corresponding signal point, so as to realize the complete execution of the workflow of the board to be tested. The beneficial effect of this setting is that the communication between the board to be tested and the external equipment is realized, a complete test environment is established, the whole process does not require manual participation, the automatic test is realized, and the test efficiency and accuracy of the board are improved.

在确定待测板卡的测试结果之后,板卡测试系统可以向传输平台发出再次启动指令,传输平台开始启动。将待测板卡从识别区域继续传输至传输平台的出料末端,以完成待测板卡的测试过程。在待测板卡被传输结束后,若进料始端又存在新的待测板卡,则继续进行新的待测板卡的传输。在待测板卡停留在识别区域进行测试时,即使进料始端存在新的待测板卡,也不进行传输,实现了多个待测板卡可以依次有序的测试,提高测试效率。After determining the test result of the board to be tested, the board testing system can send a restart instruction to the transmission platform, and the transmission platform starts to start. Continue to transfer the board to be tested from the identification area to the discharge end of the transfer platform to complete the testing process of the board to be tested. After the transfer of the board to be tested is completed, if there is a new board to be tested at the beginning of the feed, the transmission of the new board to be tested is continued. When the board to be tested stays in the identification area for testing, even if there is a new board to be tested at the beginning of the feed, it will not be transmitted, which realizes that multiple boards to be tested can be tested in sequence and improves the test efficiency.

本实施例的技术方案,通过图像采集设备获取待测板卡的当前图像,确定待测板卡的目标类别。通过测试探头向待测板卡进行程序烧录,使待测板卡中存在对应目标类别的目标固件程序,便于进行测试工作。确定与目标类别对应的目标对插端子,目标对插端子与待测板卡尾部的连接器进行连接,以获取待测板卡的待测信号,实现待测板卡与外部设备的通信。确定与待测板卡对应的目标测试用例,根据待测信号,确定待测板卡是否满足目标测试用例中的要求,得到测试结果。解决了现有技术中,需要人工进行板卡识别和测试的问题,降低对工作人员的专业要求。根据目标类别,对待测板卡进行针对性的自动化测试,减少人工操作,提高板卡的测试效率和精度。In the technical solution of this embodiment, the current image of the board to be tested is acquired through an image acquisition device, and the target category of the board to be tested is determined. Burn the program to the board under test through the test probe, so that there is a target firmware program corresponding to the target category in the board under test, which is convenient for testing. Determine the target plug-in terminal corresponding to the target category, and connect the target plug-in terminal with the connector at the tail of the board to be tested to obtain the signal to be tested of the board to be tested and realize the communication between the board to be tested and the external device. Determine the target test case corresponding to the board to be tested, determine whether the board to be tested meets the requirements of the target test case according to the signal to be tested, and obtain the test result. The problem of manual identification and testing of boards in the prior art is solved, and the professional requirements for staff are reduced. According to the target category, carry out targeted automated testing of the board to be tested, reduce manual operations, and improve the testing efficiency and accuracy of the board.

实施例二Embodiment 2

图2为本发明实施例二所提供的一种板卡测试方法的流程示意图,本实施例以上述实施例为基础进行进一步的优化,该方法可以由一种板卡测试系统来执行。如图2所示,该方法具体包括如下步骤:FIG. 2 is a schematic flowchart of a method for testing a board card according to Embodiment 2 of the present invention. This embodiment is further optimized on the basis of the above-mentioned embodiment, and the method can be executed by a board card testing system. As shown in Figure 2, the method specifically includes the following steps:

步骤210、通过图像采集设备获取待测板卡的当前图像,根据预设的板卡图像与板卡类别的关联关系,确定待测板卡的目标类别。Step 210: Acquire the current image of the board to be tested through the image acquisition device, and determine the target category of the board to be tested according to the preset association relationship between the board image and the board category.

其中,板卡测试系统可以包括传输平台、图像采集设备、至少两组对插端子和至少两个测试探头,传输平台进料始端上安装有第一传感器,第一传感器可以实时判断待测板卡是否被放置在传输平台上。若是,则启动传输平台,将待测板卡向着识别区域传输,并通过预设识别区域上安装的第二传感器,判断待测板卡是否被传输至识别区域。若是,则控制传输平台停止传输。在识别区域处安装有图像采集设备,通过图像采集设备可以获取待测板卡的当前图像。预先设置不同板卡图像与板卡类别的关联关系,根据当前图像,确定待测板卡的目标类别。The board testing system may include a transmission platform, an image acquisition device, at least two sets of plug-in terminals and at least two test probes. A first sensor is installed on the feeding end of the transmission platform, and the first sensor can judge the board to be tested in real time. Whether it is placed on the transmission platform. If so, the transmission platform is started, the board to be tested is transferred to the identification area, and the second sensor installed on the preset identification area is used to determine whether the board to be tested is transferred to the identification area. If so, control the transmission platform to stop transmission. An image acquisition device is installed at the recognition area, and the current image of the board to be tested can be acquired through the image acquisition device. The relationship between different board images and board types is preset, and the target type of the board to be tested is determined according to the current image.

步骤220、根据目标类别和预设的板卡类别与板卡尺寸的关联关系,确定待测板卡的标准尺寸;根据标准尺寸调整板卡固定平台的支撑杆之间的宽度;通过抓手将待测板卡抓取至支撑杆上进行固定。Step 220: Determine the standard size of the board to be tested according to the target category and the relationship between the preset board category and the board size; adjust the width between the support rods of the board fixing platform according to the standard size; The board to be tested is grabbed onto the support rod for fixing.

其中,板卡测试系统还可以包括抓手和板卡固定平台,抓手可以是机械手等装置,可以抓取并移动待测板卡。板卡固定平台可以由两条相互平行的支撑杆组成,且两条支撑杆平行于地面,两条支撑杆与地面之间的高度相同。待测板卡停留在识别区域,抓手抓取待测板卡,将待测板卡放置在板卡固定平台上,即,放置在两条支撑杆上。The board testing system may further include a gripper and a board fixing platform, and the gripper may be a device such as a manipulator, which can grab and move the board to be tested. The board fixing platform can be composed of two mutually parallel support rods, and the two support rods are parallel to the ground, and the heights between the two support rods and the ground are the same. The board to be tested stays in the identification area, the gripper grabs the board to be tested, and the board to be tested is placed on the board fixing platform, that is, placed on the two support rods.

不同类别的板卡,板卡尺寸不同,例如,板卡的宽度可以是10cm、20cm或30cm等。预先存储不同类别板卡与板卡尺寸的关联关系。在确定待测板卡的目标类别后,可以确定待测板卡对应的标准尺寸。根据待测板卡的标准尺寸调整板卡固定平台的大小,板卡固定平台的大小可以由支撑杆之间的宽度表示,例如,可以靠近或远离两条支撑杆,使支撑杆之间的宽度与待测板卡的标准尺寸一致,待测板卡可以固定在支撑杆上。在调整好板卡固定平台的大小后,抓手将待测板卡放置在支撑杆上卡住固定,使待测板卡的上下两面没有遮挡,便于对上下两面的部位进行测试。Different types of boards have different sizes of boards. For example, the width of boards can be 10cm, 20cm, or 30cm. The association relationship between different types of boards and board sizes is pre-stored. After the target category of the board to be tested is determined, the standard size corresponding to the board to be tested can be determined. Adjust the size of the board fixing platform according to the standard size of the board to be tested. The size of the board fixing platform can be represented by the width between the support rods. Consistent with the standard size of the board to be tested, the board to be tested can be fixed on the support rod. After adjusting the size of the board fixing platform, the gripper will place the board to be tested on the support rod and fix it, so that the upper and lower sides of the board to be tested are not blocked, which is convenient for testing the parts on the upper and lower sides.

在固定好待测板卡后,可以通过测试探头对板卡上下两面的任一点进行信号采集。本实施例中,可以设置有四个测试探头,四个测试探头分别位于板卡的两侧,即,待测板卡的上表面有两个测试探头,下表面有两个测试探头。测试探头可以在对应的板卡表面上进行任意移动。根据目标类别,可以确定待测板卡上的信号采集部位,信号采集部位可以位于上表面,也可以位于下表面。控制测试探头移动至信号采集部位,获取到信号采集部位的固定点信号。After fixing the board to be tested, you can use the test probe to collect signals from any point on the upper and lower sides of the board. In this embodiment, four test probes may be provided, and the four test probes are respectively located on both sides of the board, that is, there are two test probes on the upper surface of the board to be tested, and two test probes on the lower surface. The test probe can be moved arbitrarily on the corresponding board surface. According to the target category, the signal acquisition part on the board to be tested can be determined, and the signal acquisition part can be located on the upper surface or the lower surface. Control the test probe to move to the signal acquisition part, and obtain the fixed point signal of the signal acquisition part.

根据目标类别以及预设的板卡类别和辅助测试仪表的关联关系,确定待测板卡所需的辅助测试仪表。通过测试探头将待测板卡的固定点信号转移至辅助测试仪表,以确定固定点信号的测试结果。According to the target category and the relationship between the preset board category and the auxiliary test instrument, determine the auxiliary test instrument required for the board to be tested. Transfer the fixed-point signal of the board to be tested to the auxiliary test instrument through the test probe to determine the test result of the fixed-point signal.

步骤230、根据目标类别,从预设的候选固件程序中确定目标固件程序,通过测试探头将目标固件程序烧录至待测板卡。Step 230: Determine the target firmware program from the preset candidate firmware programs according to the target category, and burn the target firmware program to the board to be tested through the test probe.

步骤240、根据目标类别,确定至少一组目标对插端子,控制目标对插端子与待测板卡的连接器进行连接,获取待测板卡的待测信号。Step 240: Determine at least one group of target plug-in terminals according to the target category, control the target plug-in terminals to connect with the connector of the board to be tested, and obtain the signal to be tested of the board to be tested.

步骤250、根据目标类别,从预设的候选测试用例中确定目标测试用例,根据待测信号和目标测试用例,确定待测板卡的测试结果。Step 250: Determine the target test case from the preset candidate test cases according to the target category, and determine the test result of the board to be tested according to the signal to be tested and the target test case.

其中,根据目标类别以及板卡类别与测试用例的关联关系,从候选测试用例中确定目标测试用例。根据目标测试用例,确定待测板卡的辅助测试设备。通过目标对插端子将待测板卡的待测信号转移至辅助测试设备,供辅助测试设备根据待测信号生成运行数据。板卡测试系统接收辅助测试设备的运行数据,根据目标测试用例中预设的测试评判规则,确定待测板卡的测试结果。Among them, the target test case is determined from the candidate test cases according to the target category and the relationship between the board category and the test case. According to the target test case, determine the auxiliary test equipment of the board to be tested. The test signal of the board to be tested is transferred to the auxiliary test equipment through the target plug-in terminal, so that the auxiliary test equipment can generate operation data according to the test signal. The board test system receives the operation data of the auxiliary test equipment, and determines the test result of the board to be tested according to the test evaluation rules preset in the target test case.

本实施例中,可选的,在确定待测板卡的测试结果之后,还包括:通过抓手将待测板卡从板卡固定平台抓取至传输平台的识别区域;通过识别区域上安装的第二传感器,判断识别区域上是否存在待测板卡;若是,则传输平台开始启动,将待测板卡传输至传输平台的出料末端,以完成待测板卡的测试过程。In this embodiment, optionally, after determining the test result of the board to be tested, the method further includes: grabbing the board to be tested from the board fixing platform to the identification area of the transmission platform by using a gripper; The second sensor of the device determines whether the board to be tested exists in the identification area; if so, the transmission platform starts to start, and the board to be tested is transferred to the discharge end of the transmission platform to complete the testing process of the board to be tested.

具体的,在得到待测板卡的测试结果之后,板卡测试系统控制抓手从板卡固定平台上抓取待测板卡,将待测板卡放置在传输平台的识别区域处。识别区域处可以安装有第二传感器,第二传感器可以实时获取识别区域的图像,板卡测试系统根据获取到的图像判断待测板卡是否回到识别区域。若是,则向传输平台发出再次启动的指令,传输平台开始传输,将待测板卡传递至传输平台的出料末端,待测板卡在板卡测试系统中的测试过程结束。若在进料始端存在新的待测板卡等待测试,则传输平台继续工作,进行新一轮的测试过程。这样设置的有益效果在于,从待测板卡进入传输平台的进料始端至到达传输平台的出料末端,整个过程不需要人工参与,由板卡测试系统全自动完成。板卡的类型识别、抓取固定、程序烧录和信号采集等过程全部由系统执行,避免人工操作出现失误,有效提高板卡测试的效率和精度。Specifically, after obtaining the test result of the board to be tested, the board testing system controls the gripper to grab the board to be tested from the board fixing platform, and place the board to be tested in the identification area of the transmission platform. A second sensor can be installed in the recognition area, the second sensor can acquire the image of the recognition area in real time, and the board testing system judges whether the board to be tested returns to the recognition area according to the acquired image. If so, send a restart instruction to the transmission platform, the transmission platform starts transmission, and transfers the board to be tested to the discharge end of the transmission platform, and the test process of the board to be tested in the board test system ends. If there is a new board to be tested waiting for the test at the beginning of the feed, the transmission platform will continue to work and carry out a new round of testing. The beneficial effect of this setting is that, from the beginning of the feeding of the board to be tested into the transmission platform to the end of the discharge reaching the transmission platform, the whole process does not require manual participation, and is completed automatically by the board testing system. The process of type identification, grasping and fixing, program burning and signal acquisition of the board are all performed by the system, which avoids errors in manual operation and effectively improves the efficiency and accuracy of board testing.

本发明实施例通过图像采集设备获取待测板卡的当前图像,确定待测板卡的目标类别。根据目标类别调整板卡固定平台的大小,使板卡固定平台可以正好卡住待测板卡,避免板卡固定平台遮挡待测板卡,也保证待测板卡放置稳定。通过测试探头向待测板卡进行程序烧录,使待测板卡中存在对应目标类别的目标固件程序,便于进行测试工作。确定与目标类别对应的目标对插端子,与待测板卡尾部的连接器进行连接,以获取待测板卡的待测信号,实现待测板卡与外部设备的通信。确定与待测板卡对应的目标测试用例,根据待测信号,确定待测板卡是否满足目标测试用例中的要求,得到测试结果。解决了现有技术中,需要人工进行板卡识别和测试的问题,降低对工作人员的专业要求。根据目标类别,对待测板卡进行针对性的自动化测试,测试过程不需要人工参与,减少人工操作,提高板卡的测试效率和精度。In the embodiment of the present invention, the current image of the board to be tested is acquired by an image acquisition device, and the target category of the board to be tested is determined. Adjust the size of the board fixing platform according to the target category, so that the board fixing platform can just hold the board to be tested, prevent the board fixing platform from blocking the board to be tested, and also ensure that the board to be tested is placed stably. Burn the program to the board under test through the test probe, so that there is a target firmware program corresponding to the target category in the board under test, which is convenient for testing. Determine the target plug-in terminal corresponding to the target category and connect it with the connector at the tail of the board to be tested to obtain the signal to be tested of the board to be tested, and to realize the communication between the board to be tested and the external device. Determine the target test case corresponding to the board to be tested, determine whether the board to be tested meets the requirements of the target test case according to the signal to be tested, and obtain the test result. The problem of manual identification and testing of boards in the prior art is solved, and the professional requirements for staff are reduced. According to the target category, carry out targeted automated testing of the board to be tested. The testing process does not require manual participation, reducing manual operations and improving the testing efficiency and accuracy of the board.

实施例三Embodiment 3

图3为本发明实施例三所提供的一种板卡测试装置的结构框图,可执行本发明任意实施例所提供的一种板卡测试方法,该装置配置于板卡测试系统,具备执行方法相应的功能模块和有益效果。如图3所示,该装置具体包括:3 is a structural block diagram of a board testing device provided in Embodiment 3 of the present invention, which can execute a board testing method provided in any embodiment of the present invention. The device is configured in a board testing system and has an execution method. Corresponding functional modules and beneficial effects. As shown in Figure 3, the device specifically includes:

类别确定模块301,用于通过所述图像采集设备获取待测板卡的当前图像,根据预设的板卡图像与板卡类别的关联关系,确定所述待测板卡的目标类别;A category determination module 301, configured to obtain the current image of the board to be tested through the image acquisition device, and to determine the target category of the board to be tested according to a preset association relationship between the image of the board and the category of the board;

程序烧录模块302,用于根据所述目标类别,从预设的候选固件程序中确定目标固件程序,通过所述测试探头将所述目标固件程序烧录至所述待测板卡;a program burning module 302, configured to determine a target firmware program from preset candidate firmware programs according to the target category, and burn the target firmware program to the board card to be tested through the test probe;

待测信号获取模块303,用于根据所述目标类别,确定至少一组目标对插端子,控制所述目标对插端子与所述待测板卡的连接器进行连接,获取所述待测板卡的待测信号;The signal acquisition module 303 to be tested is configured to determine at least one group of target plug-in terminals according to the target category, control the target plug-in terminals to connect with the connector of the board to be tested, and obtain the board to be tested Card's signal to be tested;

测试结果确定模块304,用于根据所述目标类别,从预设的候选测试用例中确定目标测试用例,根据所述待测信号和目标测试用例,确定所述待测板卡的测试结果。The test result determination module 304 is configured to determine a target test case from preset candidate test cases according to the target category, and determine the test result of the board to be tested according to the signal to be tested and the target test case.

可选的,板卡测试系统还包括传输平台;Optionally, the board test system further includes a transmission platform;

相应地,该装置还包括:Correspondingly, the device also includes:

传输平台判断模块,用于在通过所述图像采集设备获取待测板卡的当前图像之前,通过在所述传输平台进料始端上安装的第一传感器,判断待测板卡是否被放置在所述传输平台;The transmission platform judgment module is used for judging whether the board to be tested is placed in the place through the first sensor installed on the feeding end of the transmission platform before the current image of the board to be tested is acquired by the image acquisition device. said transmission platform;

识别区域判断模块,用于若是,则启动所述传输平台,并通过预设识别区域上安装的第二传感器,判断所述待测板卡是否被传输至所述识别区域;an identification area judging module, configured to start the transmission platform if yes, and judge whether the board to be tested is transmitted to the identification area through the second sensor installed on the preset identification area;

传输平台停止模块,用于若是,则所述传输平台停止传输,并执行所述通过所述图像采集设备获取待测板卡的当前图像。The transmission platform stop module is used to stop the transmission by the transmission platform and execute the acquisition of the current image of the board to be tested by the image acquisition device.

可选的,板卡测试系统还包括抓手和板卡固定平台,所述板卡固定平台包括两条相互平行的支撑杆,两条支撑杆平行于地面,且与地面之间的高度相同;Optionally, the board testing system further includes a gripper and a board fixing platform, the board fixing platform includes two mutually parallel support rods, the two support rods are parallel to the ground and have the same height as the ground;

相应地,该装置还包括:Correspondingly, the device also includes:

标准尺寸确定模块,用于根据所述目标类别和预设的板卡类别与板卡尺寸的关联关系,确定所述待测板卡的标准尺寸;a standard size determination module, configured to determine the standard size of the board to be tested according to the target category and the relationship between the preset board category and the board size;

固定平台调整模块,用于根据所述标准尺寸调整所述板卡固定平台的支撑杆之间的宽度;a fixed platform adjustment module for adjusting the width between the support rods of the board fixing platform according to the standard size;

板卡固定模块,用于通过所述抓手将所述待测板卡抓取至所述支撑杆上进行固定。The board fixing module is used for grabbing the board to be tested on the support rod through the gripper for fixing.

可选的,程序烧录模块302,具体用于:Optionally, the program burning module 302 is specifically used for:

根据目标类别,确定所述待测板卡上接收目标固件程序的目标部位;According to the target category, determine the target part on the board to be tested that receives the target firmware program;

控制所述测试探头移动至所述目标部位,通过所述测试探头上的烧录端子将所述目标固件程序烧录至所述待测板卡。The test probe is controlled to move to the target position, and the target firmware program is programmed to the board card to be tested through the programming terminal on the test probe.

可选的,该装置还包括:Optionally, the device further includes:

信号采集部位确定模块,用于在确定所述待测板卡的目标类别之后,根据所述目标类别,确定所述待测板卡上的信号采集部位;a signal acquisition part determination module, used for determining the signal acquisition part on the to-be-tested board according to the target type after determining the target type of the to-be-tested board;

固定点信号获取模块,用于控制所述测试探头移动至所述信号采集部位,获取所述待测板卡的固定点信号。The fixed point signal acquisition module is used to control the test probe to move to the signal acquisition part to acquire the fixed point signal of the board to be tested.

可选的,该装置还包括:Optionally, the device further includes:

辅助测试仪表确定模块,用于在获取所述待测板卡的固定点信号之后,根据目标类别,确定所述待测板卡的辅助测试仪表;Auxiliary test instrument determination module, used to determine the auxiliary test instrument of the board to be tested according to the target category after acquiring the fixed point signal of the board to be tested;

固定点信号结果确定模块,用于通过所述测试探头将所述待测板卡的固定点信号转移至所述辅助测试仪表,以确定所述固定点信号的测试结果。The fixed-point signal result determination module is used for transferring the fixed-point signal of the board to be tested to the auxiliary test instrument through the test probe, so as to determine the test result of the fixed-point signal.

可选的,测试结果确定模块304,具体用于:Optionally, the test result determination module 304 is specifically used for:

根据所述目标测试用例,确定所述待测板卡的辅助测试设备;According to the target test case, determine the auxiliary test equipment of the board to be tested;

通过所述目标对插端子将所述待测板卡的待测信号转移至辅助测试设备,供所述辅助测试设备根据所述待测信号生成运行数据;Transfer the signal to be tested of the board to be tested to the auxiliary test equipment through the target plug-in terminal, so that the auxiliary test equipment can generate operation data according to the signal to be tested;

接收所述辅助测试设备的运行数据,根据目标测试用例中预设的测试评判规则,确定所述待测板卡的测试结果。The operation data of the auxiliary test equipment is received, and the test result of the board to be tested is determined according to the test judgment rule preset in the target test case.

可选的,该装置还包括:Optionally, the device further includes:

待测板卡放回模块,用于在确定所述待测板卡的测试结果之后,通过所述抓手将所述待测板卡从所述板卡固定平台抓取至所述传输平台的识别区域;The board to be tested is put back into the module, which is used to grab the board to be tested from the board fixing platform to the transmission platform through the gripper after the test result of the board to be tested is determined. identification area;

待测板卡识别模块,用于通过所述识别区域上安装的第二传感器,判断所述识别区域上是否存在所述待测板卡;an identification module for the board to be tested, configured to judge whether the board to be tested exists in the identification region through the second sensor installed in the identification region;

待测板卡传出模块,用于若是,则所述传输平台开始启动,将所述待测板卡传输至传输平台的出料末端,以完成所述待测板卡的测试过程。The outgoing module of the board to be tested is used for if yes, the transmission platform starts to start, and the board to be tested is transmitted to the discharge end of the transmission platform, so as to complete the testing process of the board to be tested.

本发明实施例通过图像采集设备获取待测板卡的当前图像,确定待测板卡的目标类别。通过测试探头向待测板卡进行程序烧录,使待测板卡中存在对应目标类别的目标固件程序,便于进行测试工作。确定与目标类别对应的目标对插端子,与待测板卡尾部的连接器进行连接,以获取待测板卡的待测信号,实现待测板卡与外部设备的通信。确定与待测板卡对应的目标测试用例,根据待测信号,确定待测板卡是否满足目标测试用例中的要求,得到测试结果。解决了现有技术中,需要人工进行板卡识别和测试的问题,降低对工作人员的专业要求。根据目标类别,对待测板卡进行针对性的自动化测试,减少人工操作,提高板卡的测试效率和精度。In the embodiment of the present invention, the current image of the board to be tested is acquired by an image acquisition device, and the target category of the board to be tested is determined. Burn the program to the board under test through the test probe, so that there is a target firmware program corresponding to the target category in the board under test, which is convenient for testing. Determine the target plug-in terminal corresponding to the target category and connect it with the connector at the tail of the board to be tested to obtain the signal to be tested of the board to be tested, and to realize the communication between the board to be tested and the external device. Determine the target test case corresponding to the board to be tested, determine whether the board to be tested meets the requirements of the target test case according to the signal to be tested, and obtain the test result. The problem of manual identification and testing of boards in the prior art is solved, and the professional requirements for staff are reduced. According to the target category, carry out targeted automated testing of the board to be tested, reduce manual operations, and improve the testing efficiency and accuracy of the board.

实施例四Embodiment 4

图4是本发明实施例四提供的一种板卡测试设备的结构示意图。板卡测试设备是一种电子设备,图4示出了适于用来实现本发明实施方式的示例性电子设备400的框图。图4显示的电子设备400仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 4 is a schematic structural diagram of a board card testing device provided in Embodiment 4 of the present invention. A board test device is an electronic device, and FIG. 4 shows a block diagram of an exemplary electronic device 400 suitable for implementing embodiments of the present invention. The electronic device 400 shown in FIG. 4 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present invention.

如图4所示,电子设备400以通用计算设备的形式表现。电子设备400的组件可以包括但不限于:一个或者多个处理器或者处理单元401,系统存储器402,连接不同系统组件(包括系统存储器402和处理单元401)的总线403。As shown in FIG. 4, electronic device 400 takes the form of a general-purpose computing device. Components of electronic device 400 may include, but are not limited to, one or more processors or processing units 401, system memory 402, and a bus 403 connecting different system components (including system memory 402 and processing unit 401).

总线403表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 403 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. By way of example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect ( PCI) bus.

电子设备400典型地包括多种计算机系统可读介质。这些介质可以是任何能够被电子设备400访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Electronic device 400 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 400, including volatile and non-volatile media, removable and non-removable media.

系统存储器402可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)404和/或高速缓存存储器405。电子设备400可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统406可以用于读写不可移动的、非易失性磁介质(图4未显示,通常称为“硬盘驱动器”)。尽管图4中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线403相连。存储器402可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。System memory 402 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 404 and/or cache memory 405 . Electronic device 400 may further include other removable/non-removable, volatile/non-volatile computer system storage media. For example only, storage system 406 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard disk drive"). Although not shown in Figure 4, a disk drive may be provided for reading and writing to removable non-volatile magnetic disks (eg "floppy disks"), as well as removable non-volatile optical disks (eg CD-ROM, DVD-ROM) or other optical media) to read and write optical drives. In these cases, each drive may be connected to bus 403 through one or more data media interfaces. Memory 402 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present invention.

具有一组(至少一个)程序模块407的程序/实用工具408,可以存储在例如存储器402中,这样的程序模块407包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块407通常执行本发明所描述的实施例中的功能和/或方法。A program/utility 408 having a set (at least one) of program modules 407, which may be stored, for example, in memory 402, such program modules 407 including, but not limited to, an operating system, one or more application programs, other program modules, and program data , each or some combination of these examples may include an implementation of a network environment. Program modules 407 generally perform the functions and/or methods in the described embodiments of the present invention.

电子设备400也可以与一个或多个外部设备409(例如键盘、指向设备、显示器410等)通信,还可与一个或者多个使得用户能与该电子设备400交互的设备通信,和/或与使得该电子设备400能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口411进行。并且,电子设备400还可以通过网络适配器412与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图4所示,网络适配器412通过总线403与电子设备400的其它模块通信。应当明白,尽管图4中未示出,可以结合电子设备400使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 400 may also communicate with one or more external devices 409 (eg, keyboards, pointing devices, display 410, etc.), with one or more devices that enable a user to interact with the electronic device 400, and/or with Any device (eg, network card, modem, etc.) that enables the electronic device 400 to communicate with one or more other computing devices. Such communication may take place through input/output (I/O) interface 411 . Also, the electronic device 400 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through a network adapter 412 . As shown in FIG. 4 , the network adapter 412 communicates with other modules of the electronic device 400 through the bus 403 . It should be understood that, although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with electronic device 400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tapes drives and data backup storage systems.

处理单元401通过运行存储在系统存储器402中的程序,从而执行各种功能应用以及数据处理,例如实现本发明实施例所提供的一种板卡测试方法,包括:The processing unit 401 executes various functional applications and data processing by running the program stored in the system memory 402, for example, implementing a board testing method provided by the embodiment of the present invention, including:

通过所述图像采集设备获取待测板卡的当前图像,根据预设的板卡图像与板卡类别的关联关系,确定所述待测板卡的目标类别;Obtain the current image of the board to be tested by the image acquisition device, and determine the target category of the board to be tested according to the preset association between the board image and the board category;

根据所述目标类别,从预设的候选固件程序中确定目标固件程序,通过所述测试探头将所述目标固件程序烧录至所述待测板卡;According to the target category, determine a target firmware program from preset candidate firmware programs, and burn the target firmware program to the board card to be tested through the test probe;

根据所述目标类别,确定至少一组目标对插端子,控制所述目标对插端子与所述待测板卡的连接器进行连接,获取所述待测板卡的待测信号;According to the target category, at least one group of target plug-in terminals is determined, and the target plug-in terminals are controlled to be connected with the connector of the board to be tested, so as to obtain the signal to be tested of the board to be tested;

根据所述目标类别,从预设的候选测试用例中确定目标测试用例,根据所述待测信号和目标测试用例,确定所述待测板卡的测试结果。According to the target category, a target test case is determined from preset candidate test cases, and a test result of the board to be tested is determined according to the signal to be tested and the target test case.

实施例五Embodiment 5

本发明实施例五还提供一种包含计算机可执行指令的存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明实施例所提供的一种板卡测试方法,包括:The fifth embodiment of the present invention also provides a storage medium containing computer-executable instructions, and a computer program is stored thereon. When the program is executed by a processor, a method for testing a board card provided by the embodiment of the present invention is implemented, including:

通过所述图像采集设备获取待测板卡的当前图像,根据预设的板卡图像与板卡类别的关联关系,确定所述待测板卡的目标类别;Obtain the current image of the board to be tested by the image acquisition device, and determine the target category of the board to be tested according to the preset association between the board image and the board category;

根据所述目标类别,从预设的候选固件程序中确定目标固件程序,通过所述测试探头将所述目标固件程序烧录至所述待测板卡;According to the target category, determine a target firmware program from preset candidate firmware programs, and burn the target firmware program to the board card to be tested through the test probe;

根据所述目标类别,确定至少一组目标对插端子,控制所述目标对插端子与所述待测板卡的连接器进行连接,获取所述待测板卡的待测信号;According to the target category, at least one group of target plug-in terminals is determined, and the target plug-in terminals are controlled to be connected with the connector of the board to be tested, so as to obtain the signal to be tested of the board to be tested;

根据所述目标类别,从预设的候选测试用例中确定目标测试用例,根据所述待测信号和目标测试用例,确定所述待测板卡的测试结果。According to the target category, a target test case is determined from preset candidate test cases, and a test result of the board to be tested is determined according to the signal to be tested and the target test case.

本发明实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present invention may adopt any combination of one or more computer-readable mediums. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (a non-exhaustive list) of computer readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional Procedural programming language - such as the "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or may be connected to an external computer (eg, through the Internet using an Internet service provider) connect).

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.

Claims (10)

1.一种板卡测试方法,其特征在于,由板卡测试系统执行,所述板卡测试系统包括图像采集设备、至少两组对插端子和至少两个测试探头,所述方法包括:1. a board testing method, it is characterized in that, it is performed by board testing system, and described board testing system comprises image acquisition equipment, at least two groups of pairs of plug-in terminals and at least two test probes, and described method comprises: 通过所述图像采集设备获取待测板卡的当前图像,根据预设的板卡图像与板卡类别的关联关系,确定所述待测板卡的目标类别;Obtain the current image of the board to be tested by the image acquisition device, and determine the target category of the board to be tested according to the preset association between the board image and the board category; 根据所述目标类别,从预设的候选固件程序中确定目标固件程序,通过所述测试探头将所述目标固件程序烧录至所述待测板卡;According to the target category, determine a target firmware program from preset candidate firmware programs, and burn the target firmware program to the board card to be tested through the test probe; 根据所述目标类别,确定至少一组目标对插端子,控制所述目标对插端子与所述待测板卡的连接器进行连接,获取所述待测板卡的待测信号;According to the target category, at least one group of target plug-in terminals is determined, and the target plug-in terminals are controlled to be connected with the connector of the board to be tested, so as to obtain the signal to be tested of the board to be tested; 根据所述目标类别,从预设的候选测试用例中确定目标测试用例,根据所述待测信号和目标测试用例,确定所述待测板卡的测试结果。According to the target category, a target test case is determined from preset candidate test cases, and a test result of the board to be tested is determined according to the signal to be tested and the target test case. 2.根据权利要求1所述的方法,其特征在于,所述板卡测试系统还包括传输平台;2. The method according to claim 1, wherein the board testing system further comprises a transmission platform; 相应地,在通过所述图像采集设备获取待测板卡的当前图像之前,还包括:Correspondingly, before acquiring the current image of the board to be tested by the image acquisition device, the method further includes: 通过在所述传输平台进料始端上安装的第一传感器,判断待测板卡是否被放置在所述传输平台;Determine whether the board to be tested is placed on the transmission platform by the first sensor installed on the feeding start end of the transmission platform; 若是,则启动所述传输平台,并通过预设识别区域上安装的第二传感器,判断所述待测板卡是否被传输至所述识别区域;If so, start the transmission platform, and determine whether the board to be tested is transmitted to the identification area through the second sensor installed on the preset identification area; 若是,则所述传输平台停止传输,并执行所述通过所述图像采集设备获取待测板卡的当前图像。If so, the transmission platform stops transmission, and executes the acquisition of the current image of the board to be tested by the image acquisition device. 3.根据权利要求1所述的方法,其特征在于,所述板卡测试系统还包括抓手和板卡固定平台,所述板卡固定平台包括两条相互平行的支撑杆,两条支撑杆平行于地面,且与地面之间的高度相同;3. The method according to claim 1, wherein the board testing system further comprises a gripper and a board fixing platform, the board fixing platform comprises two mutually parallel support rods, two support rods parallel to the ground and at the same height as the ground; 相应地,在确定所述待测板卡的目标类别之后,还包括:Correspondingly, after determining the target category of the board to be tested, the method further includes: 根据所述目标类别和预设的板卡类别与板卡尺寸的关联关系,确定所述待测板卡的标准尺寸;Determine the standard size of the board to be tested according to the target category and the relationship between the preset board category and the board size; 根据所述标准尺寸调整所述板卡固定平台的支撑杆之间的宽度;Adjust the width between the support rods of the board fixing platform according to the standard size; 通过所述抓手将所述待测板卡抓取至所述支撑杆上进行固定。The board to be tested is grabbed onto the support rod by the gripper for fixing. 4.根据权利要求1所述的方法,其特征在于,通过所述测试探头将所述目标固件程序烧录至所述待测板卡,包括:4. The method according to claim 1, wherein the target firmware program is burned into the board to be tested by the test probe, comprising: 根据目标类别,确定所述待测板卡上接收目标固件程序的目标部位;According to the target category, determine the target part on the board to be tested that receives the target firmware program; 控制所述测试探头移动至所述目标部位,通过所述测试探头上的烧录端子将所述目标固件程序烧录至所述待测板卡。The test probe is controlled to move to the target position, and the target firmware program is programmed to the board card to be tested through the programming terminal on the test probe. 5.根据权利要求1所述的方法,其特征在于,在确定所述待测板卡的目标类别之后,还包括:5. The method according to claim 1, wherein after determining the target category of the board to be tested, further comprising: 根据所述目标类别,确定所述待测板卡上的信号采集部位;According to the target category, determine the signal acquisition part on the to-be-tested board; 控制所述测试探头移动至所述信号采集部位,获取所述待测板卡的固定点信号。The test probe is controlled to move to the signal acquisition part to acquire the fixed point signal of the board to be tested. 6.根据权利要求5所述的方法,其特征在于,在获取所述待测板卡的固定点信号之后,还包括:6. The method according to claim 5, wherein after acquiring the fixed point signal of the board to be tested, the method further comprises: 根据目标类别,确定所述待测板卡的辅助测试仪表;According to the target category, determine the auxiliary test instrument of the board to be tested; 通过所述测试探头将所述待测板卡的固定点信号转移至所述辅助测试仪表,以确定所述固定点信号的测试结果。The fixed point signal of the board to be tested is transferred to the auxiliary test instrument through the test probe to determine the test result of the fixed point signal. 7.根据权利要求1所述的方法,其特征在于,根据所述待测信号和目标测试用例,确定所述待测板卡的测试结果,包括:7. The method according to claim 1, wherein determining the test result of the board to be tested according to the signal to be tested and the target test case, comprising: 根据所述目标测试用例,确定所述待测板卡的辅助测试设备;According to the target test case, determine the auxiliary test equipment of the board to be tested; 通过所述目标对插端子将所述待测板卡的待测信号转移至辅助测试设备,供所述辅助测试设备根据所述待测信号生成运行数据;Transfer the signal to be tested of the board to be tested to the auxiliary test equipment through the target plug-in terminal, so that the auxiliary test equipment can generate operation data according to the signal to be tested; 接收所述辅助测试设备的运行数据,根据目标测试用例中预设的测试评判规则,确定所述待测板卡的测试结果。The operation data of the auxiliary test equipment is received, and the test result of the board to be tested is determined according to the test judgment rule preset in the target test case. 8.根据权利要求2或3所述的方法,其特征在于,在确定所述待测板卡的测试结果之后,还包括:8. The method according to claim 2 or 3, characterized in that, after determining the test result of the board to be tested, further comprising: 通过所述抓手将所述待测板卡从所述板卡固定平台抓取至所述传输平台的识别区域;Grab the board to be tested from the board fixing platform to the identification area of the transmission platform by the gripper; 通过所述识别区域上安装的第二传感器,判断所述识别区域上是否存在所述待测板卡;Determine whether the board to be tested exists in the identification area by the second sensor installed in the identification area; 若是,则所述传输平台开始启动,将所述待测板卡传输至传输平台的出料末端,以完成所述待测板卡的测试过程。If so, the transmission platform starts to start, and the board to be tested is transferred to the discharge end of the transmission platform to complete the testing process of the board to be tested. 9.一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1-8中任一所述的板卡测试方法。9. An electronic device, comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements any of claims 1-8 when the processor executes the program. 1. The described board test method. 10.一种包含计算机可执行指令的存储介质,其特征在于,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-8中任一所述的板卡测试方法。10 . A storage medium containing computer-executable instructions, wherein the computer-executable instructions are used to execute the board card testing method according to any one of claims 1 to 8 when executed by a computer processor. 11 .
CN202210345799.2A 2022-03-31 2022-03-31 Method, electronic device and storage medium for testing a board Pending CN114896136A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210345799.2A CN114896136A (en) 2022-03-31 2022-03-31 Method, electronic device and storage medium for testing a board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210345799.2A CN114896136A (en) 2022-03-31 2022-03-31 Method, electronic device and storage medium for testing a board

Publications (1)

Publication Number Publication Date
CN114896136A true CN114896136A (en) 2022-08-12

Family

ID=82715572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210345799.2A Pending CN114896136A (en) 2022-03-31 2022-03-31 Method, electronic device and storage medium for testing a board

Country Status (1)

Country Link
CN (1) CN114896136A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116232493A (en) * 2023-02-28 2023-06-06 北京全路通信信号研究设计院集团有限公司 Test method, device, electronic equipment and storage medium for transponder board
CN116295949A (en) * 2023-03-12 2023-06-23 深圳市开步电子有限公司 Temperature sensor calibration device and control method thereof
CN117389815A (en) * 2023-12-08 2024-01-12 浙江普可医疗科技有限公司 Testing device, method and equipment of wearable data acquisition terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408820A (en) * 2014-11-20 2015-03-11 北京盈创高科新技术发展有限公司 Beverage bottle identifying system for intelligent recycling machine and identifying method thereof
CN109697073A (en) * 2018-12-28 2019-04-30 北京深思数盾科技股份有限公司 Method for burning chip and system
CN110133474A (en) * 2019-03-07 2019-08-16 成都天锐星通科技有限公司 A kind of chip signal output detection method and detection system
CN212410269U (en) * 2020-06-17 2021-01-26 工业和信息化部电子第五研究所华东分所 Board impact test fixing frame
CN113532882A (en) * 2021-07-22 2021-10-22 中国第一汽车股份有限公司 Automobile instrument testing method, device and system and storage medium
CN113671355A (en) * 2021-09-10 2021-11-19 中国铁道科学研究院集团有限公司 Train communication network board automatic test device and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408820A (en) * 2014-11-20 2015-03-11 北京盈创高科新技术发展有限公司 Beverage bottle identifying system for intelligent recycling machine and identifying method thereof
CN109697073A (en) * 2018-12-28 2019-04-30 北京深思数盾科技股份有限公司 Method for burning chip and system
CN110133474A (en) * 2019-03-07 2019-08-16 成都天锐星通科技有限公司 A kind of chip signal output detection method and detection system
CN212410269U (en) * 2020-06-17 2021-01-26 工业和信息化部电子第五研究所华东分所 Board impact test fixing frame
CN113532882A (en) * 2021-07-22 2021-10-22 中国第一汽车股份有限公司 Automobile instrument testing method, device and system and storage medium
CN113671355A (en) * 2021-09-10 2021-11-19 中国铁道科学研究院集团有限公司 Train communication network board automatic test device and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116232493A (en) * 2023-02-28 2023-06-06 北京全路通信信号研究设计院集团有限公司 Test method, device, electronic equipment and storage medium for transponder board
CN116295949A (en) * 2023-03-12 2023-06-23 深圳市开步电子有限公司 Temperature sensor calibration device and control method thereof
CN117389815A (en) * 2023-12-08 2024-01-12 浙江普可医疗科技有限公司 Testing device, method and equipment of wearable data acquisition terminal and storage medium
CN117389815B (en) * 2023-12-08 2024-03-22 浙江普可医疗科技有限公司 Testing device, method and equipment of wearable data acquisition terminal and storage medium

Similar Documents

Publication Publication Date Title
CN114896136A (en) Method, electronic device and storage medium for testing a board
CN105353265B (en) A kind of many types of cable detection method of probe-type multicore and detection means
CN103149527A (en) A PCB board detection device and corresponding method
CN103698686A (en) Signal testing method and signal testing equipment
CN217404424U (en) PCB aging test device and system
CN114325316A (en) Board card testing method and device, electronic equipment and storage medium
CN113960441B (en) Silicon photonic chip automated testing system, method, electronic device and storage medium
CN111896884A (en) Charging detection method and device
JP7709526B2 (en) Battery inspection method and device, and readable storage medium
CN109298314B (en) Image processing-based circuit board port plug-in life testing system and method
CN118625098A (en) Test system, test method, test equipment and storage medium
TWI742865B (en) Automatic testing machine with data processing function and its information processing method
CN106504797A (en) Automated way to test RAID IO led lights in storage
CN118688546B (en) A data line bidirectional transmission test method, system, device and medium thereof
CN111722149A (en) A cable detection device, method, system and computer-readable storage medium
WO2024155119A1 (en) Apparatus, method and recording medium for determining class of data
US20240103064A1 (en) Product line testing method and system
CN102486521A (en) Wafer detection system
TW200842346A (en) Detection method of printed circuit boards and the system thereof
CN107271883A (en) circuit detecting method and system
CN116298785A (en) An electronic signal testing method, device, electronic equipment and storage medium
CN114966368A (en) Static automatic test system based on vision hybrid positioning
TW201310251A (en) Testing system and method having wireless data transmission capability
CN112505579A (en) Handheld circuit on-off inspection tester
CN209513951U (en) Servo drive system cable detecting device

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