摘要
即时通信应用以消息的即时性为主要特征,而其内部的心跳机制因具有恒久的定时操作,极大地消耗移动系统的资源,这在安卓系统上尤为明显。为此,以安卓系统应用作为研究对象,对国内主流即时聊天软件进行抓包测试,分析其内部实现过程,检测它们对手机资源的消耗情况,利用Xposed框架对心跳接口进行调整与修改,给出针对即时通信应用的节能应用(iHeart)。实验结果表明,在保证各个应用消息收发正常情况下,iHeart应用能截获心跳操作,并可折中调整多个定时设定,减少流量和电量消耗。
Instant messaging applications are characterized by the immediacy of the messages, and their internal heartbeat mechanism drastically consumes the resources of the mobile system due to their permanent timing operations, which is especially evident on Android systems. Therefore, this paper takes Android application system as the research object, the domestic mainstream instant chat software to capture test, understand and analyze its internal implementation process,detection of mobile phone consumption of resources, then uses the Xposed framework to adjust and modify the heartbeat interface,developes the application of energy-saving instant communication application (iHeart). Experimental results show that the iHeart application can intercept the heartbeat operation while ensuring the normal sending and receiving of various application messages, and can adjust multiple timing settings compromise to reduce the traffic and power consumption.
出处
《计算机工程》
CAS
CSCD
北大核心
2018年第1期299-305,共7页
Computer Engineering
基金
中国博士后科学基金(2017M611905)
江苏省高等学校自然科学研究面上项目(17KJB520034)
苏州市产业技术创新专项(民生科技)(SS201701)
关键词
安卓系统
移动应用
即时通信
心跳机制
性能优化
Android system
mobile application
instant messaging
heartbeat mechanism
performance optimization