[1]龚尚福,白龙彪,袁帅.基于Linux LQL流量控制系统的研究与实现[J].西安科技大学学报,2014,(01):57-61.
 GONG Shang-fu,BAI Long-biao,YUAN Shuai.Research and implementation of traffic control system based on Linux LQL[J].Journal of Xi'an University of Science and Technology,2014,(01):57-61.
点击复制

基于Linux LQL流量控制系统的研究与实现(/HTML)
分享到:

西安科技大学学报[ISSN:1672-9315/CN:61-1434/N]

卷:
期数:
2014年01期
页码:
57-61
栏目:
出版日期:
2014-02-28

文章信息/Info

Title:
Research and implementation of traffic control system based on Linux LQL
文章编号:
10.13800/j.cnki.xakjdxxb.2014.0112
作者:
龚尚福白龙彪袁帅
西安科技大学 计算机科学与技术学院,陕西 西安 710054
Author(s):
GONG Shang-fuBAI Long-biaoYUAN Shuai
College of Computer Science and Technology,Xi’an University of Science and Technology,Xi’an 710054,China
关键词:
LQL流量控制U32TCLinux操作系统
Keywords:
LQLflow controlU32traffic controlLinux operating system
分类号:
TP 393
文献标志码:
A
摘要:
在网络资源有限的情况下,为了高效的管理和分配网络带宽和限制网络中的异常流量,保证重要用户的通信畅通,通常需要实时的网络流量控制。普遍采用的方法是Linux Traffic Control(TC)命令+IPTABLES,但这种方法结构繁琐、效率低下。通过分析Linux网络流量控制原理和LQL库结构的基础上,经过对流量模型策略的重新设计、LQL库的扩充以及U32过滤器的改进,提出了一种基于LQL库的流量控制方法。该方法摒弃了传统方法中所运用的TC命令解析,netlink传输,内核空间执行的3层结构,而直接在Linux内核的框架下,采用LQL库直接对内核进行操控,并改进了相关U32过滤器以对IP段的流量控制,从而实现对系统的智能流量控制。实验表明,这种方法能够大幅度提高Linux内核和用户空间命令解析及传输的时间效率,减少设备延时,增强设备的实时性,同时保证带宽合理利用。
Abstract:
Network traffic control is generally required to manage and allocate network bandwidth efficiently and limit abnormal network flow for guaranting the communication fluency of the important users under the condition of the limited network resources.The current popular method is Linux Traffic Control (TC) command combining with IPTABLES. It is widely used, but this method has tedious structure and low efficiency.Based on analyzing the principle of network traffic control of Linux and the LQL library structure, through redesigning traffic modeling strategy , expaning of LQL library and improving of U32 filter, this paper presents a new traffic controlling method based on LQL library.This method discards the three layer structure including TC command parsing, netlink transmission and kernel execution,while use the LQL library directly to manipulate Linux kernel under the framework of the Linux kernel, and improves correlational U32 filters to segment traffic control by IP in order to achieve the intelligent traffic control.Experimental results show that this method can greatly imporve the efficiency on transmission time of the Linux kernel and user space command parsing, reduce equipment delays, enhance real-time of devices in the meanwhile ensuring the rational use of bandwidth.

参考文献/References:

[1]张五生.基于Linux的流量控制研究[J].厦门大学学报:自然科学版,2010,49(1):38-42. ZHANG Wu-sheng,ZHENG Ling-xiang.Research of flow control system Based on Linux[J].Journal of Xiamen University:Natural Science,2010,49(1):38-42.
[2]程建军.基于Linux的流量控制研究与实现[D].合肥:合肥工业大学,2009. CHENG Jian-jun.Research and implementation of traffic control Based on Linux[D].Hefei:Hefei University of Technology,2009.
[3]黄锐强,张平.基于Linux流控机制的QOS网络[J].计算机工程,2004,30(3):36-37. HUANG Rui-qiang,ZHANG Ping.QOS network based on Linux traffic control mechanism[J].Computer Engineering,2004,33(3):36-37.
[4]徐维,李兴军.校园网络流量控制的应用[J].武汉工程大学学报,2012,34(4):76-78. XU Wei,Li Xing-jun.Application of traffic control of campus networks[J].Wuhan Inst Tech,2012,34(4):76-78.
[5]左劼, 唐常杰.基于 Linux IP 策略路由的多路由分配技术[J].计算机工程,2005,31(14):130-131. ZUO Jie,TANG Chang-jie.Solution of multi-route problem based on Linux Policy Routing[J].Computer Engineering,2005,31(14):130-131.
[6]张五生.基于Linux的流量控制研究[J].厦门大学学报:自然科学版,2010,49(1):38-42. ZHANG Wu-sheng,ZHENG Ling-xiang.Research of flow control system Based on Linux[J].Journal of Xiamen University:Natural Science,2010,49(1):38-42.
[7]刘啸南.高性能网络流量控制系统的研究与实现[D].成都:电子科技大学,2006. LIU Xiao-nan.Research and implementation of high performance network traffic control system[D].Chengdu:University of Electronic Science and Technology of China,2006.
[8]陈海军.基于Linux内核扩展模块的P2P流量控制[J].计算机工程,2007,33(1):176-177. CHEN Hai-jun.P2P flow control based on linux kemel expanded model[J].Computer Engineering,2007,33(1):176-177.
[9]高旸,聂永锋.一种基于Linux下TC的流量控制管理架构[J].北京:计算机工程与设计,2006,27(20):3 920-3 922. GAO Yang,NIE Yong-feng.Traffic control management architecture based on Linux TC[J].Beijing:Computer Engineering and Design,2006,27(20):3 920-3 922.
[10]蒋华.基于Linux的流量控制系统的研究与实现[D].南京:南京邮电大学,2012. JIANG Hua.The research and implementation of traffic control system Based on Linux[D].Nanjing:Nanjing University of Posts and Telecommunication,2012.

备注/Memo

备注/Memo:
收稿日期:2013-10-12 基金项目:陕西省自然科学基础研究计划项目(2012JQ8035);陕西省教育厅科研计划项目(2010JK665) 通讯作者:龚尚福(1954-),男,宁夏平罗人,教授,E-mail:gongsf@xust.edu.cn
更新日期/Last Update: 1900-01-01