Journal of Computer Applications ›› 2014, Vol. 34 ›› Issue (7): 2124-2128.DOI: 10.11772/j.issn.1001-9081.2014.07.2124

Previous Articles     Next Articles

Optimized design for automatic test system based on multithreading

ZHAO Yuan,JIANG Xiaofeng   

  1. School of Computer Science and Technology, Soochow University, Suzhou Jiangsu 215006, China
  • Received:2013-12-19 Revised:2014-02-25 Online:2014-08-01 Published:2014-07-01
  • Contact: JIANG Xiaofeng

基于多线程技术的自动测试系统优化设计

赵源,姜小峰   

  1. 苏州大学 计算机科学与技术学院,江苏 苏州 215006
  • 通讯作者: 姜小峰
  • 作者简介:赵源(1984-),男,陕西榆林人,硕士研究生,主要研究方向:嵌入式系统; 姜小峰(1972-),男,江苏丹阳人,副教授,博士,主要研究方向:计算机图形图像处理、计算机测控技术。

Abstract:

The traditional testing process does not specifically consider the system performance. With the wide application of parallel testing method, more attention was paid to the system performance and data throughput capacity. Optimizing the software design with multithreading technology becomes an effective way to improve the performance of automatic test system. By modeling testing pipeline process, using asynchronous pipeline design patterns and combining task-oriented concepts, an available test system programming model was proposed. The experiment results prove that the model can significantly shorten the average test time in the ideal case of random input of test tasks. Applying this model to an instance of measuring characteristic parameters of Alternating Current (AC) contactor, the results further indicate that this model can significantly increase the flexibility of test configuration and avoid the complexity of multi-threaded programming.

摘要:

传统的测试过程对系统性能考虑较少,但随着并行测试方法的广泛应用,对系统性能和数据吞吐量的要求越来越高,利用多线程技术优化软件设计成为有效提高自动测试系统性能的途径之一。对测试过程流水现象进行建模,采用异步流水线设计模式,结合面向任务的概念,提出了一种适用于测试系统的编程模型。实验结果表明,该模型在测试任务随机输入的条件下可明显缩短样本的平均测试时间,通过在交流接触器特性参数测试实例中的具体应用,表明该模型不仅能够增加测试项目配置的灵活性,而且可以避免测试系统中多线程编程的复杂性。

CLC Number: