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