检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《计算机科学》2008年第12期102-105,共4页Computer Science
基 金:国家自然基金项目(60263002);内蒙古自然科学基金重点项目(200711020803);中欧联合项目GO4IT
摘 要:在协议测试过程中,对于测试数据的生成方法的考虑应从包的粒度细化到字段上。对协议的通用数据包进行了全面的分析,根据各个字段的功能及其取值之间的关系,对所有字段进行了固定字段、独立字段以及相关字段序列的划分,然后根据测试经验对独立字段和相关字段序列进行了优先级赋值,并根据优先级构建测试包,从而可以将具有重要测试目的的包尽早生成进行测试,并根据优先级标记指导测试结果判定。给出了测试包库的生成算法,并分析了该算法的有效性,然后以BGP4+的UPDATE包为例给出了生成的包,最后给出了结论。During the process of protocol testing, the consideration of test data should be changed from the granularity of packet to the granularity of field. The general format of packet was analyzed completely. According to their functions and the relation of the values, the fields were divided into three parts, the first part is constant part, the second part is independent fields and the third part is the related fields. Moreover based on the accumulated experience, the priority was assigned to the independent fields and each sequence of related field as a whole. The testing packets were sequentially constructed according to priorities such that the important packets are generated and some aspects of the protocol are tested as early as possible. The tag of priority is used to conduct the verdict of testing result. The generation algorithm of packet database was provided and its validation was analyzed. The UPDATE of BGP4+ was presented as an example to verify the algorithm. Finally the conclusion was presented.
分 类 号:TP311.56[自动化与计算机技术—计算机软件与理论] TP311.5[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.30