Nothing Special   »   [go: up one dir, main page]

CN107966643B - An interactive visualization device for real-time test data and its realization method - Google Patents

An interactive visualization device for real-time test data and its realization method Download PDF

Info

Publication number
CN107966643B
CN107966643B CN201710971274.9A CN201710971274A CN107966643B CN 107966643 B CN107966643 B CN 107966643B CN 201710971274 A CN201710971274 A CN 201710971274A CN 107966643 B CN107966643 B CN 107966643B
Authority
CN
China
Prior art keywords
test
pin
control board
data
real
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710971274.9A
Other languages
Chinese (zh)
Other versions
CN107966643A (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.)
Sun Yat Sen University
Original Assignee
Sun Yat Sen University
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 Sun Yat Sen University filed Critical Sun Yat Sen University
Priority to CN201710971274.9A priority Critical patent/CN107966643B/en
Publication of CN107966643A publication Critical patent/CN107966643A/en
Priority to PCT/CN2018/095059 priority patent/WO2019076093A1/en
Application granted granted Critical
Publication of CN107966643B publication Critical patent/CN107966643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/282Testing of electronic circuits specially adapted for particular applications not provided for elsewhere

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The invention discloses an interactive visualization device for real-time test data and an implementation method thereof, wherein the device comprises: the electronic control board abstract picture generating unit is used for generating a high-restoration electronic control board abstract picture according to the structure of the electronic control board, marking pin names according to pin arrangement on the test box and marking corresponding load names by using the pins; the initial information acquisition and output unit is used for acquiring basic information of the test after the test is established and outputting the basic information in the abstract picture of the electric control board; the test data updating unit acquires the data of each pin in real time in the test process, and updates the test basic information in real time according to the change of the pin data.

Description

一种实时测试数据的交互式可视化装置及其实现方法An interactive visualization device for real-time test data and its realization method

技术领域technical field

本发明涉及电控板测试领域,特别是涉及一种电控板的实时测试数据的交互式可视化装置及其实现方法。The invention relates to the field of electric control board testing, in particular to an interactive visualization device for real-time test data of an electric control board and a realization method thereof.

背景技术Background technique

电控板,或称控制板,是一般家用电器如洗衣机等电器设备的重要部件,在这些电器设备的生产过程中,对电控板的功能测试是必不可少的。具体地,该功能测试是指根据电器设备电控板的特性、操作描述和用户方案,测试其是否满足设计需求。The electric control board, or control board, is an important part of general household appliances such as washing machines and other electrical equipment. In the production process of these electrical equipment, the functional test of the electric control board is essential. Specifically, the functional test refers to testing whether the electronic control board of the electrical equipment meets the design requirements according to the characteristics, operation description and user scheme.

一般地,测试员在对电控板进行功能测试时,需要关注每一次操作对应的响应(例如显示屏显示、指示灯的亮暗、传感器的数值等),通常需要将对应的结果与预期功能设定值对比,如果不能达到预期效果,则需要对电控板进行更详细的测试,获得更详细的测试数据以分析定位错误。Generally, testers need to pay attention to the response corresponding to each operation (such as the display screen, the brightness of the indicator light, the value of the sensor, etc.) when testing the function of the electronic control board, and usually need to compare the corresponding results with the expected functions. Compared with the set value, if the expected effect cannot be achieved, it is necessary to conduct a more detailed test on the electronic control board to obtain more detailed test data to analyze the positioning error.

目前,对于电控板的测试一般采用如下两种方式:At present, the test of the electronic control board generally adopts the following two methods:

1、人工测试、记录数据:即测试员通过人工操作辅以示波器、电流表等一起进行测试,并观察输出、显示等进行记录;1. Manual test and record data: that is, the tester conducts the test through manual operation supplemented by oscilloscope, ammeter, etc., and observes the output, display, etc. for recording;

2、自动测试、简单录波:即采用自动测试系统进行自动测试,在软件中记录所有的测试数据供测试员查看分析。2. Automatic testing and simple recording: that is, the automatic testing system is used for automatic testing, and all test data are recorded in the software for the tester to view and analyze.

然而,上述方法存在如下缺点:However, the above method has the following disadvantages:

1、需要大量繁琐的人工操作进行测试并且记录所需的测试数据,浪费人力资源;1. It requires a lot of tedious manual operations to test and record the required test data, wasting human resources;

2、产生的大量的数据需要测试员进行筛选分析,从中获得真正需要的有效数据,效率低下。2. The large amount of data generated needs to be screened and analyzed by the tester to obtain the effective data that is really needed, which is inefficient.

发明内容SUMMARY OF THE INVENTION

为克服上述现有技术存在的不足,本发明之目的在于提供一种实时测试数据的交互式可视化装置及其实现方法,以实现对电控板自动测试、自动记录所需测试数据并进行数据分析减少用户人工操作的目的。In order to overcome the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide an interactive visualization device for real-time test data and a method for realizing the same, so as to realize automatic testing of the electric control board, automatic recording of required test data and data analysis. The purpose of reducing user manual operation.

为达上述及其它目的,本发明提出一种实时测试数据的交互式可视化装置,包括:In order to achieve the above and other purposes, the present invention proposes an interactive visualization device for real-time test data, including:

电控板抽象图生成单元,用于根据电控板的结构生成高还原的电控板抽象图,并根据测试盒上引脚排列标注引脚名称,使用到的引脚标注对应的负载名;;The electric control board abstract diagram generation unit is used to generate a high-reduction electric control board abstract diagram according to the structure of the electric control board, and label the pin names according to the pin arrangement on the test box, and the used pins are labeled with the corresponding load name; ;

初始信息获取输出单元,用于于测试创建完成后获取测试的基本信息并于所述电控板抽象图中予以输出;The initial information acquisition and output unit is used to acquire the basic information of the test after the test creation is completed and output it in the abstract diagram of the electric control board;

测试数据更新单元,于测试过程中实时获取各引脚数据,根据引脚数据的变化实时更新测试基本信息。The test data update unit obtains the data of each pin in real time during the test process, and updates the basic test information in real time according to the change of the pin data.

进一步地,于所述电控板抽象图上,各引脚对应有指示灯,在测试过程中,通过检测引脚信号的变化控制有输入/输出的引脚对应的指示灯亮。Further, on the abstract diagram of the electric control board, each pin corresponds to an indicator light, and during the test process, the indicator light corresponding to the pin with input/output is controlled to light up by detecting the change of the pin signal.

进一步地,所述测试数据更新单元根据引脚数据的变化以及各步骤预估的运行时间确定当前的测试状态,并根据剩余步骤的预估运行时间更新测试结束时间以实现更新。Further, the test data update unit determines the current test state according to the change of the pin data and the estimated running time of each step, and updates the test end time according to the estimated running time of the remaining steps to achieve the update.

进一步地,所述测试数据更新单元于测试过程中根据需要输出各引脚对应的负载的值。Further, the test data update unit outputs the value of the load corresponding to each pin according to the need during the test process.

进一步地,所述装置还包括负载变化监控单元用于监控测试过程中各引脚对应的负载的变化并予以输出。Further, the device further includes a load variation monitoring unit for monitoring and outputting the variation of the load corresponding to each pin during the test process.

进一步地,所述负载变化监控单元根据监控的各负载的变化情况测算信号的参数以便于后续数据分析。Further, the load change monitoring unit calculates the parameters of the signal according to the monitored changes of each load to facilitate subsequent data analysis.

进一步地,所述装置还包括测试报告生成单元,用于根据测试部门的要求规范自动生成测试报告。Further, the apparatus further includes a test report generating unit for automatically generating a test report according to the requirements and specifications of the testing department.

进一步地,所述测试报告以表格形式输出,每行对应一个步骤,每个步骤具有相应的输入、约束以及相应的输出,并且当前进行到的步骤显示在最上方。Further, the test report is output in tabular form, each row corresponds to a step, each step has corresponding inputs, constraints and corresponding outputs, and the current step is displayed at the top.

为达到上述目的,本发明还提供一种实时测试数据的交互式可视化装置的实现方法,包括如下步骤:In order to achieve the above object, the present invention also provides a method for realizing an interactive visualization device of real-time test data, comprising the following steps:

根据电控板的结构生成高还原的电控板抽象图,并根据测试盒上引脚排列标注引脚名称,使用到的引脚标注对应的负载名;According to the structure of the electric control board, a high-reduction electric control board abstract diagram is generated, and the pin names are marked according to the pin arrangement on the test box, and the used pins are marked with the corresponding load names;

于测试创建完成后获取测试的基本信息并于所述电控板抽象图中予以输出;After the test is created, the basic information of the test is obtained and outputted in the abstract diagram of the electric control board;

于测试过程中实时获取各引脚数据,根据引脚数据的变化实时更新测试基本信息。During the test, the data of each pin is acquired in real time, and the basic test information is updated in real time according to the change of the pin data.

进一步地,所述方法还包括如下步骤:Further, the method also includes the steps:

监控测试过程中各引脚对应的负载的变化并予以输出。Monitor the change of the load corresponding to each pin during the test and output it.

与现有技术相比,本发明一种实时测试数据的交互式可视化装置及其实现方法基于自动测试系统收集测试数据,以实时变化的引脚数据、波形图、测试表等多种方式展示测试数据。同时,允许测试员操作波形图进行测算、数据转换等,实现了对电控板自动测试、自动记录所需测试数据并进行数据分析减少用户人工操作的目的。Compared with the prior art, an interactive visualization device for real-time test data and its implementation method of the present invention collect test data based on an automatic test system, and display test data in real-time changing pin data, waveform diagrams, test tables and other means. data. At the same time, it allows the tester to operate the waveform diagram for measurement, data conversion, etc., which realizes the purpose of automatically testing the electronic control board, automatically recording the required test data, and performing data analysis to reduce the user's manual operation.

附图说明Description of drawings

图1为本发明一种实时测试数据的交互式可视化装置的一个实施例的系统架构图;1 is a system architecture diagram of an embodiment of an interactive visualization device for real-time test data of the present invention;

图2为本发明具体实施例中电控板抽象图的示意图;2 is a schematic diagram of an abstract diagram of an electric control board in a specific embodiment of the present invention;

图3为本发明具体实施例中测试过程中测试数据输出示意图;3 is a schematic diagram of test data output in a test process in a specific embodiment of the present invention;

图4为本发明一种实时测试数据的交互式可视化装置的另一个实施例的系统架构图;4 is a system architecture diagram of another embodiment of an interactive visualization device for real-time test data of the present invention;

图5a/5b为本发明具体实施例中测试中各负载的输出图形示意图;5a/5b are schematic diagrams of output graphics of each load in the test in a specific embodiment of the present invention;

图6为本发明具体实施例中测试报告输出示意图;6 is a schematic diagram of a test report output in a specific embodiment of the present invention;

图7为本发明一种实时测试数据的交互式可视化装置的实现方法的一个实施例的步骤流程图。FIG. 7 is a flow chart of steps of an embodiment of a method for implementing an apparatus for interactive visualization of real-time test data according to the present invention.

具体实施方式Detailed ways

以下通过特定的具体实例并结合附图说明本发明的实施方式,本领域技术人员可由本说明书所揭示的内容轻易地了解本发明的其它优点与功效。本发明亦可通过其它不同的具体实例加以施行或应用,本说明书中的各项细节亦可基于不同观点与应用,在不背离本发明的精神下进行各种修饰与变更。The embodiments of the present invention will be described below through specific examples and in conjunction with the accompanying drawings, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific examples, and various details in this specification can also be modified and changed based on different viewpoints and applications without departing from the spirit of the present invention.

图1为本发明一种实时测试数据的交互式可视化装置的系统架构图。如图1所示,本发明一种实时测试数据的交互式可视化装置,包括:电控板抽象图生成单元101、初始信息获取输出单元102以及测试数据更新单元103。FIG. 1 is a system architecture diagram of an interactive visualization device for real-time test data according to the present invention. As shown in FIG. 1 , an interactive visualization device for real-time test data according to the present invention includes: an electronic control board abstract diagram generation unit 101 , an initial information acquisition and output unit 102 , and a test data update unit 103 .

其中,电控板抽象图生成单元101,用于根据电控板的结构生成高还原的电控板抽象图,并根据测试盒上引脚排列标注引脚名称,使用到的引脚标注对应的负载名。优选地,该电控板抽象图的各引脚对应有指示灯,在测试过程中,通过检测引脚信号的变化控制有输入/输出的引脚对应的指示灯亮,如图2所示。Among them, the electric control board abstract diagram generation unit 101 is used to generate a highly restored electric control board abstract diagram according to the structure of the electric control board, and label the pin names according to the pin arrangement on the test box, and the used pins are labeled with the corresponding payload name. Preferably, each pin of the abstract diagram of the electric control board corresponds to an indicator light. During the test process, the indicator light corresponding to the input/output pin is controlled to light up by detecting the change of the pin signal, as shown in FIG. 2 .

初始信息获取输出单元102,用于于测试创建完成后获取测试的基本信息并于所述电控板抽象图中予以输出。在本发明具体实施例中,测试的基本信息包括:测试名称、测试盒名称、测试开始时间、测试结束时间、测试状态以及备注中的部分或全部。其中,测试名称、测试盒名称、测试开始时间以及备注为测试创建后获得且不会改变的,测试结束时间与测试状态则是测试创建时获得初始值、测试过程中需实时更新。The initial information acquisition and output unit 102 is used for acquiring the basic information of the test after the test creation is completed and outputting it in the abstract diagram of the electronic control board. In a specific embodiment of the present invention, the basic information of the test includes: test name, test box name, test start time, test end time, test status, and some or all of the remarks. Among them, the test name, test box name, test start time, and remarks are obtained after the test is created and will not change, while the test end time and test status are the initial values obtained when the test is created, and need to be updated in real time during the test.

测试数据更新单元103,于测试过程中实时获取各引脚数据,根据引脚数据的变化实时更新测试的基本信息。具体地,在测试过程中,引脚数据是实时变化的,引脚数据的变化也会导致测试信息的变化,测试过程中,测试基本信息中变化的主要是测试状态以及测试结束时间。具体地说,在测试创建时测试的每个步骤都有预估的运行时间,测试数据更新单元103根据引脚数据的变化以及各步骤预估的运行时间确定当前的测试状态,以洗衣机的电控板为例,例如当相应引脚的信号变化符合“高速洗”步骤的引脚信号变化,且当前步骤的运行时间与预估的运行时间大致相等,则认为当前的测试状态要变化至下一步骤“高速洗”,并根据剩余步骤的预估运行时间更新测试结束时间,在本发明具体实施例中,测试状态显示为“运行至步骤<编号><步骤名称>”的格式,每进入下一个步骤则会实时更新,如图3所示,当测试完成后,则会显示更新为“成功/失败于步骤<编号><步骤名称><失败原因>”。The test data updating unit 103 acquires the data of each pin in real time during the test process, and updates the basic information of the test in real time according to the change of the pin data. Specifically, during the test, the pin data changes in real time, and the change of the pin data also causes the change of the test information. During the test, the main changes in the test basic information are the test status and the test end time. Specifically, each step of the test has an estimated running time when the test is created, and the test data update unit 103 determines the current test state according to the change of the pin data and the estimated running time of each step, and uses the power of the washing machine to determine the current test state. Take the control board as an example. For example, when the signal change of the corresponding pin matches the pin signal change of the "high-speed washing" step, and the running time of the current step is roughly equal to the estimated running time, it is considered that the current test state should change to the next One step is "high-speed washing", and the test end time is updated according to the estimated running time of the remaining steps. In the specific embodiment of the present invention, the test status is displayed in the format of "running to step <number> <step name>". The next step will be updated in real time, as shown in Figure 3. When the test is completed, the display will be updated as "Success/failure at step <number> <step name> <failure reason>".

优选地,测试数据更新单元103于测试过程中会根据需要输出各引脚对应的负载的值,即引脚数据。在测试的过程中,由于每个负载的值都会实时发生变化,因此测试员需要一种直观的方式能够知道当前时刻关键的负载值。作为一种实施方式,在本实施例中,当检测到鼠标悬浮到对应的引脚时,测试数据更新单元103可通过追随的悬浮框突出展示对应引脚的信息,这里的引脚信息可包括引脚对应的负载名以及负载值。Preferably, the test data updating unit 103 outputs the load value corresponding to each pin, that is, pin data, as required during the test process. In the process of testing, since the value of each load will change in real time, the tester needs an intuitive way to know the key load value at the current moment. As an implementation manner, in this embodiment, when it is detected that the mouse hovers over the corresponding pin, the test data updating unit 103 can highlight the information of the corresponding pin through the following floating frame, where the pin information may include The load name and load value corresponding to the pin.

可见,通过生成高还原的电控板抽象图,本发明不仅在电控板的外观上能使用户产生直观的感知,引脚与物理板对应,且动态变化的数据和亮/暗的指示灯帮助用户感知电控板上数据的实时变化。It can be seen that, by generating an abstract diagram of the electric control board with high reduction, the present invention not only enables the user to have an intuitive perception on the appearance of the electric control board, but also the pins correspond to the physical board, and dynamically change data and bright/dark indicator lights. Help users perceive real-time changes in data on the electronic control board.

优选地,如图4所示,本发明一种实时测试数据的交互式可视化装置还包括负载变化监控单元104,用于监控测试过程中各引脚对应的负载的变化并予以输出。较佳地,负载变化监控单元104还可根据输出的信号测算信号的参数,例如对于数字信号,测算信号的脉宽、周期、频率、占空比等参数。具体地说,测试的数据有数字信号和模拟信号两种,在本发明具体实施例中,对于数字信号,监控单元104可采用多图联动的方式输出各负载的变化情况,具体可采用时序数据折线图的方式对各负载的变化进行输出展示,对于数字信号,可参考示波器的显示,使用波形图展示,数字信号只有0/1的值,因而在同一坐标系中展示会有较多的重叠,不够清晰直观,为使其清晰直观,负载变化监测单元104提供用户选择其要展示的信号、隐藏其不关心的信号,对所选择信号的比较,比如信号上升沿到来的时间差,输出测算信号的脉宽、周期、频率、占空比等参数。Preferably, as shown in FIG. 4 , an interactive visualization device for real-time test data of the present invention further includes a load change monitoring unit 104 for monitoring and outputting the load change corresponding to each pin during the test process. Preferably, the load variation monitoring unit 104 can also measure the parameters of the signal according to the output signal, for example, for digital signals, measure the parameters such as pulse width, period, frequency, duty cycle and the like of the signal. Specifically, there are two types of data to be tested: digital signals and analog signals. In the specific embodiment of the present invention, for digital signals, the monitoring unit 104 can output the changes of each load in the form of multi-picture linkage, and specifically, time series data can be used. The change of each load is displayed in the form of a line graph. For digital signals, you can refer to the display of the oscilloscope and use the waveform diagram to display. The digital signal only has a value of 0/1, so there will be more overlap in the display in the same coordinate system. , is not clear and intuitive. In order to make it clear and intuitive, the load change monitoring unit 104 provides the user to select the signal to be displayed, hide the signal that he does not care about, compare the selected signal, such as the time difference between the rising edge of the signal, and output the measured signal. pulse width, period, frequency, duty cycle and other parameters.

如图5a所示,以洗衣机电控板为例,选择分水阀、分配器、流量计,所有数字信号公用一个横轴(时间轴),可选择多图联动模式,方便用户比较信号间的关系,但每个信号有自己的slider,在非联动状态下用户可以左右移动区域框或者放大缩小选择的区域,方便用户查看不同时间段的信号情况。波形图对应的高/低电平上显示对应的脉宽,并且每个信号自动测算其周期、频率、占空比,如果是周期信号则可以得到测算值,否则仅显示“----”,,鼠标悬停时显示对应时间点的精确时间(以毫秒为单位)。用户还可框选时间段,如信号1和信号2的上升沿的间隔,并自动显示该时间段长度。As shown in Figure 5a, taking the electric control panel of the washing machine as an example, select the water diverter valve, distributor, flowmeter, all digital signals share a horizontal axis (time axis), and the multi-image linkage mode can be selected to facilitate the user to compare the difference between the signals. However, each signal has its own slider. In the non-linked state, the user can move the area frame left and right or zoom in and out of the selected area, which is convenient for users to view the signal conditions in different time periods. The corresponding high/low level of the waveform graph displays the corresponding pulse width, and each signal automatically calculates its period, frequency, and duty cycle. If it is a periodic signal, the measured value can be obtained, otherwise only "----" is displayed. , which displays the exact time (in milliseconds) of the corresponding time point when the mouse is hovered. The user can also select a time period, such as the interval between the rising edges of signal 1 and signal 2, and the length of the time period is automatically displayed.

对于模拟信号,由于模拟信号没有数字信号重叠严重的情况,因而在同一坐标系显示,如图5b中的温度传感器与浊度传感器的变化图。For the analog signal, since the analog signal does not have the serious overlap of the digital signal, it is displayed in the same coordinate system, such as the change diagram of the temperature sensor and the turbidity sensor in Figure 5b.

优选地,本发明一种实时测试数据的交互式可视化装置还包括测试报告生成单元105,用于根据测试部门的要求规范自动生成测试报告以供后续的数据分析等。具体地,测试报告以表格形式输出,每行对应一个步骤,每个步骤具有相应的输入、约束以及相应的输出,这种表格式的测试报告,可以让用户在表格中对应步骤、相应的输入和输出、相应的约束以便于定位步骤和进行错误排查,并且当前进行到的步骤显示在最上方,用户可以时刻对应当前进行的步骤,如图6所示。Preferably, an interactive visualization device for real-time test data of the present invention further includes a test report generating unit 105 for automatically generating a test report for subsequent data analysis and the like according to the requirements and specifications of the testing department. Specifically, the test report is output in tabular form, each row corresponds to a step, and each step has corresponding inputs, constraints and corresponding outputs. This tabular test report allows users to correspond to steps and corresponding inputs in the form. and output, corresponding constraints are convenient for locating steps and troubleshooting, and the current steps are displayed at the top, and the user can always correspond to the current steps, as shown in Figure 6.

图7为本发明一种实时测试数据的交互式可视化装置的实现方法的步骤流程图。如图7所示,本发明一种实时测试数据的交互式可视化装置的实现方法,包括如下步骤:FIG. 7 is a flow chart of the steps of an implementation method of an interactive visualization device for real-time test data according to the present invention. As shown in Figure 7, a method for realizing an interactive visualization device of real-time test data of the present invention includes the following steps:

步骤701,根据电控板的结构生成高还原的电控板抽象图,并根据测试盒上引脚排列标注引脚名称,使用到的引脚标注对应的负载名。优选地,该电控板抽象图的各引脚还对应设置有指示灯,在测试过程中,通过检测引脚信号的变化控制有输入/输出的引脚对应的指示灯亮。Step 701 , generating a high-reduction abstraction diagram of the electric control board according to the structure of the electric control board, labeling the pin names according to the pin arrangement on the test box, and labeling the used pins with the corresponding load names. Preferably, each pin of the abstract diagram of the electric control board is also provided with an indicator light, and during the test process, the indicator light corresponding to the pin with input/output is controlled to be on by detecting the change of the pin signal.

步骤702,于测试创建完成后获取测试的基本信息并于所述电控板抽象图中予以输出。在本发明具体实施例中,测试的基本信息包括:测试名称、测试盒名称、测试开始时间、测试结束时间、测试状态以及备注中的部分或全部。其中,测试名称、测试盒名称、测试开始时间以及备注为测试创建后获得且不会改变的信息,测试结束时间与测试状态则是测试创建时获得初始值、测试过程中需实时更新。Step 702: After the test creation is completed, basic information of the test is acquired and outputted in the electronic control board abstract diagram. In a specific embodiment of the present invention, the basic information of the test includes: test name, test box name, test start time, test end time, test status, and some or all of the remarks. Among them, the test name, test box name, test start time, and remarks are the information obtained after the test is created and will not change, and the test end time and test status are the initial values obtained when the test is created, and need to be updated in real time during the test.

步骤703,于测试过程中实时获取各引脚数据,根据引脚数据的变化实时更新测试的基本信息。具体地,在测试过程中,引脚数据是实时变化的,引脚数据的变化也会导致测试信息的变化,测试过程中,测试基本信息中变化的主要是测试状态以及测试结束时间。由于在测试创建时测试的每个步骤都有预估的运行时间,于步骤703中,可根据引脚数据的变化以及各步骤预估的运行时间确定当前的测试状态。以洗衣机的电控板为例,例如当相应引脚的信号变化符合“高速洗”步骤的引脚信号变化,且当前步骤的运行时间与预估的运行时间大致相等,则认为当前的测试状态要变化至下一步骤“高速洗”,并根据剩余步骤的预估运行时间更新测试结束时间,在本发明具体实施例中,测试状态显示为“运行至步骤<编号><步骤名称>”的格式,每进入下一个步骤则会实时更新。Step 703: Acquire the data of each pin in real time during the test process, and update the basic information of the test in real time according to the change of the pin data. Specifically, during the test, the pin data changes in real time, and the change of the pin data also causes the change of the test information. During the test, the main changes in the test basic information are the test status and the test end time. Since each step of the test has an estimated running time when the test is created, in step 703, the current test status can be determined according to the change of the pin data and the estimated running time of each step. Take the electric control board of a washing machine as an example. For example, when the signal change of the corresponding pin matches the pin signal change of the "high-speed washing" step, and the running time of the current step is roughly equal to the estimated running time, the current test state is considered. To change to the next step "high-speed washing", and update the test end time according to the estimated running time of the remaining steps, in a specific embodiment of the present invention, the test status is displayed as "running to step <number> <step name>" The format will be updated in real time every time you enter the next step.

优选地,于测试过程中会根据需要输出各引脚对应的负载的值。在测试的过程中,由于每个负载的值都会实时发生变化,因此测试员需要一种直观的方式能够知道当前时刻关键的负载值。作为一种实施方式,在本实施例中,当检测到鼠标悬浮到对应的引脚时,可通过追随的悬浮框突出展示对应引脚的信息,这里的引脚信息包括引脚对应的负载名以及负载值。Preferably, the value of the load corresponding to each pin will be output as required during the test. In the process of testing, since the value of each load will change in real time, the tester needs an intuitive way to know the key load value at the current moment. As an implementation manner, in this embodiment, when it is detected that the mouse hovers over the corresponding pin, the information of the corresponding pin can be highlighted through the following floating frame, where the pin information includes the load name corresponding to the pin and load value.

优选地,本发明之实时测试数据的交互式可视化装置的实现方法还包括如下步骤:Preferably, the implementation method of the interactive visualization device for real-time test data of the present invention further comprises the following steps:

监控测试过程中各引脚对应的负载的变化并予以输出,较佳地,还可根据输出的信号测算信号的参数,例如对于数字信号,测算信号的脉宽、周期、频率、占空比等参数。由于测试的数据有数字信号和模拟信号两种,在本发明具体实施例中,对于数字信号,可采用多图联动的方式输出各负载的变化情况,具体可采用时序数据折线图的方式对负载的变化进行输出展示,对于数字信号,可参考示波器的显示,使用波形图展示,数字信号只有0/1的值,因而在同一坐标系中展示会有较多的重叠,不够清晰直观,为使其清晰直观,可提供用户选择其要展示的信号、隐藏其不关心的信号,对所选择信号的比较,比如信号上升沿到来的时间差,输出测算信号的脉宽、周期、频率、占空比等参数。Monitor the change of the load corresponding to each pin during the test and output it. Preferably, the parameters of the signal can also be calculated according to the output signal. For example, for digital signals, the pulse width, period, frequency, duty cycle, etc. of the signal can be calculated. parameter. Since there are two types of test data, digital signals and analog signals, in the specific embodiment of the present invention, for digital signals, the change of each load can be output by means of multi-graph linkage. For digital signals, you can refer to the display of the oscilloscope and use the waveform diagram to display. The digital signal only has a value of 0/1, so there will be more overlap in the display in the same coordinate system, which is not clear and intuitive. It is clear and intuitive, which can provide users to choose the signal to be displayed, hide the signal they don’t care about, compare the selected signal, such as the time difference between the rising edge of the signal, and output the pulse width, period, frequency, and duty cycle of the measured signal. and other parameters.

优选地,本发明之实时测试数据的交互式可视化装置的实现方法还包括如下步骤:Preferably, the implementation method of the interactive visualization device for real-time test data of the present invention further comprises the following steps:

根据测试部门的要求规范自动生成测试报告以供后续的数据分析。具体地,测试报告可以表格形式输出,每行对应一个步骤,每个步骤具有相应的输入、约束以及相应的输出,这种表格式的测试报告,可以让用户在表格中对应步骤、相应的输入和输出、相应的约束以便于定位步骤和进行错误排查,并且当前进行到的步骤显示在最上方,用户可以时刻对应当前进行的步骤。Automatically generate test reports for subsequent data analysis according to the test department's requirements specifications. Specifically, the test report can be output in tabular form, each row corresponds to a step, and each step has corresponding inputs, constraints and corresponding outputs. This tabular test report allows users to correspond to steps and corresponding inputs in the form. And output, corresponding constraints are convenient for locating steps and troubleshooting, and the current steps are displayed at the top, and the user can always correspond to the current steps.

通过本发明,该交互式可视化装置在同一输出页面上显示的测试数据主要包括如下信息:Through the present invention, the test data displayed by the interactive visualization device on the same output page mainly includes the following information:

1、测试的基本信息:是对测试总体信息的基本掌握,通过测试基本信息可直观了解,这是什么测试?进行到第几步?什么时候开始的,还有多久结束?……测试基本信息输出在页面最开始的部分;1. The basic information of the test: It is the basic grasp of the overall information of the test. Through the basic information of the test, you can intuitively understand, what is this test? How many steps have you taken? When did it start and how long until it ends? ...the test basic information is output at the very beginning of the page;

2、电控板实时数据:其输出也在页面靠前位置,当测试员进入测试详情页面,粗略地浏览就可以直观的知道当前电控板上的数据情况而无需在图表中查询;2. The real-time data of the electric control board: its output is also at the front of the page. When the tester enters the test details page, he can intuitively know the current data situation on the electric control board without querying in the chart;

3、当测试员需要更详尽的了解测试的具体数据数值、变化、关系等时需要通过图/表来了解,实时电控板数据的重要程度应与图/表相当。使用左侧悬浮导航在电控板实时数据、波形图、数据表三大板块内容间做长页面导航。同时,使用可展开/收拢的悬浮框展示基本信息使用户在测试详情任意处都可以随时查看并确认测试的实时状态。3. When the tester needs a more detailed understanding of the specific data values, changes, relationships, etc. of the test, they need to understand through the diagrams/tables. The importance of the real-time electronic control board data should be equivalent to the diagrams/tables. Use the floating navigation on the left to do long page navigation between the real-time data, waveform diagram and data table of the electronic control board. At the same time, using an expandable/collapsed floating frame to display basic information allows users to view and confirm the real-time status of the test at any time anywhere in the test details.

综上所述,本发明一种实时测试数据的交互式可视化装置及其实现方法基于自动测试系统收集测试数据,以实时变化的引脚数据、波形图、测试表等多种方式展示测试数据。同时,允许测试员操作波形图进行测算、数据转换等,实现了对电控板自动测试、自动记录所需测试数据并进行数据分析减少用户人工操作的目的。To sum up, the present invention provides an interactive visualization device for real-time test data and its implementation method based on an automatic test system to collect test data and display the test data in real-time changing pin data, waveform diagrams, test tables, and other means. At the same time, it allows the tester to operate the waveform diagram for measurement, data conversion, etc., which realizes the purpose of automatically testing the electronic control board, automatically recording the required test data, and performing data analysis to reduce the user's manual operation.

上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何本领域技术人员均可在不违背本发明的精神及范畴下,对上述实施例进行修饰与改变。因此,本发明的权利保护范围,应如权利要求书所列。The above-mentioned embodiments merely illustrate the principles and effects of the present invention, but are not intended to limit the present invention. Any person skilled in the art can modify and change the above embodiments without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be as listed in the claims.

Claims (10)

1. An apparatus for interactive visualization of real-time test data, comprising:
the electronic control board abstract drawing generation unit is used for generating a high-restoration electronic control board abstract drawing according to the structure of the electronic control board, marking pin names on the electronic control board abstract drawing according to pin arrangement on a test box correspondingly connected with the electronic control board, and marking corresponding load names on the pins used on the electronic control board abstract drawing;
the initial information acquisition and output unit is used for acquiring basic information of the test after the test is established and outputting the basic information in the abstract picture of the electric control board;
and the test data updating unit is used for acquiring the data of each pin in real time in the test process and updating the test basic information in real time according to the change of the pin data.
2. An apparatus for interactive visualization of real-time test data as recited in claim 1, wherein: and in the test process, the indication lamps corresponding to the pins with input/output are controlled to be on by detecting the change of the pin signals.
3. An apparatus for interactive visualization of real-time test data as recited in claim 1, wherein: and the test data updating unit determines the current test state according to the change of the pin data and the estimated running time of each step, and updates the test ending time according to the estimated running time of the rest steps so as to realize updating.
4. An apparatus for interactive visualization of real-time test data as recited in claim 1, wherein: and the test data updating unit outputs the load value corresponding to each pin according to the requirement in the test process.
5. An apparatus for interactive visualization of real-time test data as recited in claim 1, wherein: the device also comprises a load change monitoring unit for monitoring and outputting the change of the load corresponding to each pin in the test process.
6. An apparatus for interactive visualization of real-time test data as recited in claim 5, wherein: the load change monitoring unit calculates and calculates parameters of output signals of the load change monitoring unit according to the monitored change condition of each load so as to facilitate subsequent data analysis.
7. An apparatus for interactive visualization of real-time test data as recited in claim 1, wherein: the device also comprises a test report generating unit which is used for automatically generating the test report according to the requirement specification of the test department.
8. An apparatus for interactive visualization of real-time test data as recited in claim 7, wherein: the test report is output in tabular form, one step per row, each step having corresponding inputs, constraints, and corresponding outputs, and the currently proceeding step is displayed uppermost.
9. An implementation method of an interactive visualization device for real-time test data comprises the following steps:
generating a high-recovery electric control board abstract drawing according to the structure of an electric control board, marking pin names on the electric control board abstract drawing according to pin arrangement on a test box correspondingly connected with the electric control board, and marking corresponding load names on used pins on the electric control board abstract drawing;
after the test is established, obtaining basic information of the test and outputting the basic information in the abstract picture of the electric control board;
and acquiring the data of each pin in real time in the test process, and updating the basic test information in real time according to the change of the pin data.
10. The method of claim 9, wherein the method further comprises the steps of:
and monitoring and outputting the change of the load corresponding to each pin in the test process.
CN201710971274.9A 2017-10-18 2017-10-18 An interactive visualization device for real-time test data and its realization method Active CN107966643B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710971274.9A CN107966643B (en) 2017-10-18 2017-10-18 An interactive visualization device for real-time test data and its realization method
PCT/CN2018/095059 WO2019076093A1 (en) 2017-10-18 2018-07-10 Interactive visualization apparatus for real-time test data, and implementation method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710971274.9A CN107966643B (en) 2017-10-18 2017-10-18 An interactive visualization device for real-time test data and its realization method

Publications (2)

Publication Number Publication Date
CN107966643A CN107966643A (en) 2018-04-27
CN107966643B true CN107966643B (en) 2020-09-29

Family

ID=61996755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710971274.9A Active CN107966643B (en) 2017-10-18 2017-10-18 An interactive visualization device for real-time test data and its realization method

Country Status (2)

Country Link
CN (1) CN107966643B (en)
WO (1) WO2019076093A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107966643B (en) * 2017-10-18 2020-09-29 中山大学 An interactive visualization device for real-time test data and its realization method
CN109560991A (en) * 2018-12-19 2019-04-02 中山大学 A kind of Visualizing Test System and method of electric-controlled plate
CN110850141B (en) * 2019-09-30 2022-02-22 深圳市元征科技股份有限公司 Level display method, level display device, terminal equipment and storage medium
CN116522878B (en) * 2023-07-04 2023-10-24 成都领目科技有限公司 Method, device and medium for maintaining consistency import report of oscilloscope test data

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5028873A (en) * 1988-08-19 1991-07-02 Southwest Research Institute Tester for a reed relay printed circuit board
JP3775999B2 (en) * 2001-04-23 2006-05-17 富士通テン株式会社 Noise visualization system and display method thereof
CN103092756A (en) * 2013-01-08 2013-05-08 彭勇 Interactive automated testing system and method thereof
CN104200009A (en) * 2014-08-11 2014-12-10 华东师范大学 Visual interaction simulation method for multi-layer circuit structure high-density wiring
CN104316863A (en) * 2014-10-30 2015-01-28 天津津伯仪表技术有限公司 Artificial intelligence-based universal circuit debugging and troubleshooting interaction system and method
CN106526460A (en) * 2016-12-29 2017-03-22 北京航天测控技术有限公司 Circuit fault locating method and device
CN106604312A (en) * 2016-11-10 2017-04-26 上海斐讯数据通信技术有限公司 Router test data visualization method and system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986317B (en) * 2010-11-19 2013-02-13 常州奥施特信息科技有限公司 Electronic whole set surface mounting technology production line virtual manufacturing system and realization method thereof
CN102777370B (en) * 2012-01-11 2015-06-03 福州大学 Realization method of LabVIEW-based high-pressure pump performance testing system
CN102930114B (en) * 2012-11-14 2015-12-16 常州奥施特信息科技有限公司 Electronic product EDA designs the visible detection method of manufacturability
CN104182219A (en) * 2014-08-07 2014-12-03 上海航天电源技术有限责任公司 Visualized testing method for battery pack system
CN204256118U (en) * 2014-10-30 2015-04-08 天津津伯仪表技术有限公司 Universal circuit debugging and fault maintenance interactive system
CN104502743A (en) * 2014-11-28 2015-04-08 惠州市亿能电子有限公司 Automatic testing system and method for power management product based on Labview
CN104898040B (en) * 2015-06-19 2018-01-02 上海斐讯数据通信技术有限公司 The automated testing method and system of printed circuit board (PCB)
CN105022000A (en) * 2015-07-20 2015-11-04 广东格兰仕集团有限公司 Power supply circuit board automatic testing device
CN107966643B (en) * 2017-10-18 2020-09-29 中山大学 An interactive visualization device for real-time test data and its realization method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5028873A (en) * 1988-08-19 1991-07-02 Southwest Research Institute Tester for a reed relay printed circuit board
JP3775999B2 (en) * 2001-04-23 2006-05-17 富士通テン株式会社 Noise visualization system and display method thereof
CN103092756A (en) * 2013-01-08 2013-05-08 彭勇 Interactive automated testing system and method thereof
CN104200009A (en) * 2014-08-11 2014-12-10 华东师范大学 Visual interaction simulation method for multi-layer circuit structure high-density wiring
CN104316863A (en) * 2014-10-30 2015-01-28 天津津伯仪表技术有限公司 Artificial intelligence-based universal circuit debugging and troubleshooting interaction system and method
CN106604312A (en) * 2016-11-10 2017-04-26 上海斐讯数据通信技术有限公司 Router test data visualization method and system
CN106526460A (en) * 2016-12-29 2017-03-22 北京航天测控技术有限公司 Circuit fault locating method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
可伸缩二维多元数据可视化;汤颖 等;《计算机辅助设计与图形学学报》;20160930;第28卷(第9期);1476-1488 *

Also Published As

Publication number Publication date
CN107966643A (en) 2018-04-27
WO2019076093A1 (en) 2019-04-25

Similar Documents

Publication Publication Date Title
CN107966643B (en) An interactive visualization device for real-time test data and its realization method
CN101762732B (en) Oscilloscope with automatic measurement function and measurement data storage method thereof
CN108627721B (en) Determination and rendering of scan groups
WO2016074429A1 (en) Test method, controller, and test system
CN106771701A (en) A kind of electric vehicle charge interface uniformity automated detection system and method
TW201643454A (en) Dynamically configurable remote instrument interface
CN106405294B (en) Portable power distribution product transmission calibrator and implementation test method thereof
US20040189717A1 (en) Intelligent drill-down for graphical user interface
JP2007052011A (en) Trigger function setting method
CN203260298U (en) LCD testing device
CN107783069A (en) The on-line calibration system and method for DC measurement in integrated circuit test system
JP6483368B2 (en) Switching cycle display method and test measurement apparatus
US10353917B2 (en) Method and apparatus for analyzing a transmission signal
US9547479B2 (en) Method for adapting GUI-based instrument components in a visual programming language
CN103185820B (en) A kind of oscillograph with automatic cursor tracking function
CN102053188B (en) Digital oscilloscope with label display function and control method thereof
US20080071488A1 (en) Method and apparatus for evaluating data
KR101643187B1 (en) Monitoring and evaluation apparatus for real-time arc welding
CN103913678B (en) Safety tester with graphical display of measurement data
US7266463B2 (en) Signal identification method and apparatus for analogue electrical systems
US20160349312A1 (en) Automatically Generated Test Diagram
US11755440B2 (en) User interface and method to configure sourcing and measurement timing
US11687213B1 (en) Object oriented graphical user interface for a test and measurement instrument
JP6935271B2 (en) Display processing equipment, display equipment, measuring equipment and display programs
CN110646679A (en) Detection method and detection system for laser drive

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
CB03 Change of inventor or designer information

Inventor after: Jiang Bo

Inventor after: Wang Qing

Inventor after: Wang Yue

Inventor before: Wang Qing

Inventor before: Wang Yue

Inventor before: Jiang Bo

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant