[1]张 玲,李 艳,胡 术,等.一种基于 Qt 的系统内存泄漏检测方法[J].计算机技术与发展,2017,27(12):119-123.[doi:10.3969/ j. issn.1673-629X.2017.12.026]
 ZHANG Ling,LI Yan,HU Shu,et al.A Memory Leakage Detection Method for Software System Based on Qt[J].Computer Technology and Development,2017,27(12):119-123.[doi:10.3969/ j. issn.1673-629X.2017.12.026]
点击复制

一种基于 Qt 的系统内存泄漏检测方法()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
27
期数:
2017年12期
页码:
119-123
栏目:
应用开发研究
出版日期:
2017-12-10

文章信息/Info

Title:
A Memory Leakage Detection Method for Software System Based on Qt
文章编号:
1673-629X(2017)12-0119-05
作者:
张 玲1 李 艳2 3 胡 术2 3 李 璞2 3 潘 倩2 3
1. 四川大学 计算机基础教学实验中心,四川 成都 610065;
2. 四川大学 计算机学院,四川 成都 610065;
3. 四川大学 视觉合成图形图像技术国防重点学科实验室,四川 成都 610065
Author(s):
ZHANG Ling 1 LI Yan 2 3 HU Shu 2 3 LI Pu 2 3 PAN Qian 2 3
1. Computer Teaching Experiment Center,Sichuan University,Chengdu 610065 China;
2. Department of Computer,Sichuan University,Chengdu 610065,China;
3. National Key Laboratory of Fundamental Science on Synthetic Vision,Sichuan University,Chengdu 610065,China
关键词:
Qt内存泄漏遍历匹配泄漏检测
Keywords:
memory leakagetraversal matchingleak detection
分类号:
TP301
DOI:
10.3969/ j. issn.1673-629X.2017.12.026
文献标志码:
A
摘要:
在软件开发中,用户界面程序提高了软件系统易操作性、用户体验度等非功能性需求。 长时间、复杂流程的大型软件系统对人机界面的稳定性则提出了较高要求,不能出现内存泄漏、不能中途异常退出。 针对使用图形用户界面应用程序框架 Qt 开发的用户界面程序的内存泄漏问题,提出了一种基于 Qt 的人机界面程序的源码静态内存检测方法。 该方法针对 Qt 控件对象是否存在父控件的两种内存泄漏情况,识别所需检查的目标对象是否为 Qt 控件类对象,是否存在内存泄漏。 该方法提供的 Qt 控件对象内存检测能力可准确识别目标对象是否存在内存泄漏、手工删除错误等问题,便于开发人员及时检查错误,修正缺陷,减少程序运行中的内存泄漏问题,以满足大型系统的软件质量需求。
Abstract:
In software development,the user interface program improves the non-functional requirements of software system,such as easy operation,user experience and so on. The large-scale training system of long-term and complex process gives the higher requirements to the stability of human-computer interface,no memory leak,no halfway abnormal exit. Aiming at the memory leakage of the user interface program developed by graphical user interface application framework Qt,a source static memory detection method of Qt-based human computer interface program is presented. There are two types of memory leaks for the Qt control object for the parent control. The method identifies whether the target object to be checked is a Qt control class object,and whether there is a memory leak. The memory detection of Qt control object provided by this method can accurately identify whether the target object has a memory leak and manually remove the faults,which makes it easy for the  developers to check the errors and correct the defects in time,and to reduce the program running in the memory leakage,meeting the functional requirements of large-scale aviation training system.

相似文献/References:

[1]朱吉佳 蔡家麟.基于Qt的业务监控系统界面设计与实现[J].计算机技术与发展,2008,(03):236.
 ZHU Ji-jia,CAI Jia-lin.Development and Realization, of Operation Monitoring System's GUI Based on Qt[J].Computer Technology and Development,2008,(12):236.
[2]冯涛 宋成明.清剿Java程序中的内存泄漏[J].计算机技术与发展,2006,(07):123.
 FENG Tao,SONG Cheng-ming.Exterminates Memory Leaks in Java Programs[J].Computer Technology and Development,2006,(12):123.
[3]王家华 程顺顺.基于Qt的软件汉化界面技术的研究[J].计算机技术与发展,2011,(03):146.
 WANG Jia-hua,CHENG Shun-shun.Research on Qt-Based Software Interface Technology of Chinese Localization[J].Computer Technology and Development,2011,(12):146.
[4]周恕义 徐晓亮.Qt构建北京市精品课程平台文件上传系统[J].计算机技术与发展,2011,(05):202.
 ZHOU Shu-yi,XU Xiao-liang.FTP Upload System for Beijing Quality Course Based on Qt[J].Computer Technology and Development,2011,(12):202.
[5]栾佳雨 王海瑞.基于Qt的捣固车自动引导系统图形界面研究[J].计算机技术与发展,2011,(11):167.
 LUAN Jia-yu,WANG Hai-rui.GUI Study for Tamper Machine's AGC System Based on Qt[J].Computer Technology and Development,2011,(12):167.
[6]苗宏伟 钟云鹏.一个Windows应用程序的垃圾回收器[J].计算机技术与发展,2012,(01):17.
 MIAO Hong-wei,ZHONG Yun-peng.A Garbage Collector for Windows Applications[J].Computer Technology and Development,2012,(12):17.
[7]汪思静,程志强,熊菡.基于Qt的虚拟示波器的软面板设计[J].计算机技术与发展,2013,(07):222.
 WANG Si-jing,CHENG Zhi-qiang,XIONG Han.Design of Virtual Oscilloscope Soft Panel Based on Qt[J].Computer Technology and Development,2013,(12):222.
[8]陈楠. 基于D-Bus技术的地震作业管理架构设计[J].计算机技术与发展,2016,26(02):179.
 CHEN Nan. Design of Seismic Operation Management Architecture Based on D-Bus Technology[J].Computer Technology and Development,2016,26(12):179.
[9]李超,程小劲.基于Qt的室内环境监测系统设计与实现[J].计算机技术与发展,2019,29(04):204.[doi:10. 3969 / j. issn. 1673-629X. 2019. 04. 041]
 LI Chao,CHENG Xiao-jin.Design and Implementation of Indoor Environment Monitoring System Based on Qt[J].Computer Technology and Development,2019,29(12):204.[doi:10. 3969 / j. issn. 1673-629X. 2019. 04. 041]
[10]莫云音,吴盛洪,陈 亮,等.气象信息发布监控系统应用研究与实现[J].计算机技术与发展,2019,29(08):147.[doi:10. 3969 / j. issn. 1673-629X. 2019. 08. 028]
 MO Yun-yin,WU Sheng-hong,CHEN Liang,et al.Application Research and Implementation of Information Dissemination and Monitoring System[J].Computer Technology and Development,2019,29(12):147.[doi:10. 3969 / j. issn. 1673-629X. 2019. 08. 028]

更新日期/Last Update: 2018-03-06