为改善Windows个人计算机(Personal Computer,PC)端与Android终端之间普遍存在的数据传输速率低的问题,提出一种应用层传输协议,即改进的媒体传输协议(Improved Media Transfer Protocol,IMTP)。该协议在PC端发出请求后,根据该协议对数...为改善Windows个人计算机(Personal Computer,PC)端与Android终端之间普遍存在的数据传输速率低的问题,提出一种应用层传输协议,即改进的媒体传输协议(Improved Media Transfer Protocol,IMTP)。该协议在PC端发出请求后,根据该协议对数据进行打包,发送至Android端。Android端再根据该协议结构解析后产生的响应,将响应数据打包发送至PC端,整个过程进行一次交互。同时,该协议头部结构长度是可变的,根据前一字段的值决定下一个字段向后读取的字节数,有效节省了空间开销。实验结果表明,相较于传统的PC端与Android终端之间数据传输所使用的媒体传输协议(Media Transfer Protocol,MTP),IMTP获取3000条属性数据耗时由11.26 s降至3.44 s,传输1个500 M文件速率提升16.92%,传输250个1 M文件速率提升93.34%,能够明显提升数据传输速率。展开更多
To solve the problem of time-awarc test case prioritization,a hybrid algorithm composed of integer linear programming and the genetic algorithm(ILP-GA)is proposed.First,the test case suite which cm maximize the number...To solve the problem of time-awarc test case prioritization,a hybrid algorithm composed of integer linear programming and the genetic algorithm(ILP-GA)is proposed.First,the test case suite which cm maximize the number of covered program entities a d satisfy time constraints is selected by integer linea progamming.Secondly,the individual is encoded according to the cover matrices of entities,and the coverage rate of program entities is used as the fitness function and the genetic algorithm is used to prioritize the selected test cases.Five typical open source projects are selected as benchmark programs.Branch and method are selected as program entities,and time constraint percentages a e 25%and 75%.The experimental results show that the ILP-GA convergence has faster speed and better stability than ILP-additional and IP-total in most cases,which contributes to the detection of software defects as early as possible and reduces the software testing costs.展开更多
文摘为改善Windows个人计算机(Personal Computer,PC)端与Android终端之间普遍存在的数据传输速率低的问题,提出一种应用层传输协议,即改进的媒体传输协议(Improved Media Transfer Protocol,IMTP)。该协议在PC端发出请求后,根据该协议对数据进行打包,发送至Android端。Android端再根据该协议结构解析后产生的响应,将响应数据打包发送至PC端,整个过程进行一次交互。同时,该协议头部结构长度是可变的,根据前一字段的值决定下一个字段向后读取的字节数,有效节省了空间开销。实验结果表明,相较于传统的PC端与Android终端之间数据传输所使用的媒体传输协议(Media Transfer Protocol,MTP),IMTP获取3000条属性数据耗时由11.26 s降至3.44 s,传输1个500 M文件速率提升16.92%,传输250个1 M文件速率提升93.34%,能够明显提升数据传输速率。
基金The Natural Science Foundation of Education Ministry of Shaanxi Province(No.15JK1672)the Industrial Research Project of Shaanxi Province(No.2017GY-092)Special Fund for Key Discipline Construction of General Institutions of Higher Education in Shaanxi Province
文摘To solve the problem of time-awarc test case prioritization,a hybrid algorithm composed of integer linear programming and the genetic algorithm(ILP-GA)is proposed.First,the test case suite which cm maximize the number of covered program entities a d satisfy time constraints is selected by integer linea progamming.Secondly,the individual is encoded according to the cover matrices of entities,and the coverage rate of program entities is used as the fitness function and the genetic algorithm is used to prioritize the selected test cases.Five typical open source projects are selected as benchmark programs.Branch and method are selected as program entities,and time constraint percentages a e 25%and 75%.The experimental results show that the ILP-GA convergence has faster speed and better stability than ILP-additional and IP-total in most cases,which contributes to the detection of software defects as early as possible and reduces the software testing costs.