多通道三维界面软件边缘模糊缺陷自动修复方法
2020-01-21王锡金
王锡金



摘要:针对传统方法修复时间慢的问题,提出多通道三维界面软件边缘模糊缺陷自动修复方法。采用正交缺陷分类方法识别边缘模糊缺陷,再提出混合交叉策略,使得搜索方向偏离适应度低的解,在此基础上,设计多通道三维界面软件边缘模糊缺陷自动修复流程,通过补丁生成、变异规则修改、编译、补丁应用和补丁验证等步骤,修复多通道三维界面软件边缘模糊缺陷。由此,完成多通道三维界面软件边缘模糊缺陷自动修复方法的设计。最后,进入实验部分,给出6个软件程序,测试2个方法的修复时间,实验结果表明,所提方法的平均确认时间在9.2 s左右,传统方法的平均确认时间在12.2 s左右,说明所提方法的修复时间更高,且符合设计需求。
关键词:多通道三维界面软件;自动修复技术;修复时间;修复工具;补丁;编译
中图分类号:TP311.53文献标志码:A
文章编号:2095-5383(2020)04-0034-04
A Method for Automatically Repairing Blur Edges of
Multi-Channel 3D Interface Software
WANG Xijin
(Art Design College, Suihua University, Suihua 152061, China)
Abstract:
Aiming at the slow repair time of traditional methods, a method for automatically repairing fuzzy edges of multi-channel 3D interface software was proposed. Orthogonal defect classification method was used to identify edge blur defects, and then a hybrid crossover strategy was proposed to make the search direction deviate from the solution with low adaptability. On this basis, an automatic repair process for edge blur defects of multi-channel 3D interface software was designed. Through the steps of patch generation, mutation rule modification, compilation, patch application and patch verification, the blur edge of multi-channel 3D interface software was repaired. Sofar, the design of the automatic repair method for the blur edge defect of the multi-channel 3D interface software was completed.Finally, in the experimental part, six software programs were given to test the repair time of the two methods. The experimental results show that the average confirmation time of the proposed method is about 9.2 s, and the average confirmation time of the traditional method is about 12.2 s. It shows that the proposed method has a higher repair time and meets the design requirements.
Keywords:
multi-channel 3D interface software; automatic repair technology; repair efficiency; repair tool; patch; compilation
軟件自动修复是软件工程领域研究的重点,也因此得到了学术界和工业界的广泛关注。近几年涌现出了很多自动修复技术工具,值得一提的是在2009年国际软件工程会议上,曾有人提出使用遗传算法自动生成修复补丁,再构建工具原型genprog[1]。通过相关报告的实践成果可以看出,genprog可以修复软件中的106个软件缺陷,并成功修复了55个缺陷。该成果推进了软件自动修复技术的发展。但就当前的软件自动修复技术而言,还存在一定的局限性,这是因为自动修复技术对自身修复的缺陷没有一个清晰的定义。……
