With the popularity of Android phones and Android applications, it is of great importance to control Android application’s rate and to allocate application’s bandwidth for improving user experiences. Android is a Linux-based open source operating system;Linux itself provides a powerful bandwidth management capabilities. This article introduces the Linux kernel ifrewall NetiflterIptables, QoS, IMQ and other critical network lfow rate control technologies,conducts code migration and kernel recompiling according to the characteristics of the Android. This article also uses tools such as TC to develop the application rate control system in Android.%随着Android手机的普及和Android应用软件的增多,Android平台下控制应用程序的网络速率,以及合理地分配应用程序的带宽对移动网络安全和用户的使用效率具有重要意义。Android是一种基于Linux开放源代码的操作系统,Linux内核本身提供了强大的带宽管理功能。文章介绍了Linux内核防火墙NetfilterIptables、服务质量QoS、中介队列设备IMQ等关键流量控制技术,并根据Android的特点进行了代码移植和内核重新编译,并利用工具TC等开发实现了Android平台下应用程序的流量控制系统。
展开▼