本文已被:浏览 2341次 下载 3197次
Received:January 17, 2019 Revised:February 03, 2019
Received:January 17, 2019 Revised:February 03, 2019
中文摘要: 在安卓系统中,一些安卓应用为了避免被系统杀死,会通过各种方式在后台占用系统的CPU,内存等资源,实现后台保活.这类行为会加速安卓系统的电量消耗.其中一种后台保活的方式是在后台持有Audiomix锁并播放无声音频.针对这种行为,本文设计了相应的方案来检测这个问题.通过对安卓源码进行修改,收集到安卓应用正在播放的音频数据,再通过检测脚本对音频进行实时检测,来判断安卓应用是否在后台播放无声音频来实现保活.实验分析了50个安卓应用,结果表明该方法可以有效检测此类行为.
Abstract:In Android system, in order to avoid being killed by the system, some Android applications will occupy the system's CPU, memory and other resources in the background in various ways to achieve background live preservation. This kind of behavior accelerates Android's power consumption. One way to keep alive in the background is to hold Audiomix lock in the background and play silent audio data. Considering this kind of behavior, we designs corresponding schemes to detect this problem. By modifying the Android system source code, we collect the audio data that Android applications are playing, and then use the program to check whether the Android application keeps alive in the background by playing silent audio data in realtime. We analyze 50 Android applications in the experiment, and the results show that this method can detect such behaviors effectively.
keywords: background live preservation audio playing pulse coding modulation volume regulation android system
文章编号: 中图分类号: 文献标志码:
基金项目:国家自然科学基金(61520106007)
引用文本:
颜宏冰,熊焰,黄文超,孟昭逸.安卓应用中无声音频的收集与检测.计算机系统应用,2019,28(7):246-251
YAN Hong-Bing,XIONG Yan,HUANG Wen-Chao,MENG Shao-Yi.Collection and Detection of Soundless Audio in Android Applications.COMPUTER SYSTEMS APPLICATIONS,2019,28(7):246-251
颜宏冰,熊焰,黄文超,孟昭逸.安卓应用中无声音频的收集与检测.计算机系统应用,2019,28(7):246-251
YAN Hong-Bing,XIONG Yan,HUANG Wen-Chao,MENG Shao-Yi.Collection and Detection of Soundless Audio in Android Applications.COMPUTER SYSTEMS APPLICATIONS,2019,28(7):246-251