系统一致性测试用来验证和确认系统实现的正确性。针对实时系统在进行数据处理时受到时间约束,容易导致状态空间爆炸的问题,提出一种符号化测试生成方法。首先对符号变迁系统和时间自动机进行扩展,建立一种新的符号语义模型TSIOSTS ,基于该模型定义了时间一致性关系(tioco );然后以tioco关系为指导,结合符号化执行策略,生成被测系统模型的时间符号化测试行为树,并转化为测试用例;最后将提出的理论和方法应用于CTCS-3列控系统临时限速服务器的一致性测试中,验证了该方法的可行性和有效性。%Conformance test is performed to verify and validate the correctness of a system implementa-tion .In view of eas-ily causing the problem of state space explosion ,and due to time constraint in data processing for real-time system ,a symbolic test generation method is proposed .Firstly ,symbolic transition systems and timed automata are extended to establish a semantic model TSIOSTS ,based on which an extension of timed conformance relation tioco is defined .Then ,with tioco and the symbolic execution strategy ,a symbolic timed behavior tree of the system model under test is yielded and transformed into test cases .Finally ,the pro-posed method is applied to conformance test of temporary speed restriction server of the CTCS-3 train control system ,and the results present feasibility and validity of the method .
展开▼