摘要
本文通过对FTP协议的分析,将FTP流量统计的方法归结为三个关键问题随机端口的获取、DPID的处理、FTP端口流量的采集。本文首先给出了一个系统框架,接着分别对三个问题的解决方法进行了详细的阐述,并给出了用于FTP数据端口获取的FTP命令状态转移图和端口流量信息的数据结构,最后给出了系统实现和性能分析。本文通过数据结构的设计和算法的优化,有效降低了流量统计程序的时空复杂度。
By analyzing the FTP protocol, the article classifies the FTP statistical methods into three key issues, which are random port access,DPID processing and FTP port flux collection.The article puts forward a system framework first,expounds the solutions to the three issues in detail, and presents the status transfer diagrams of the FTP commands to get the FTP port data and the data structure of the port flux information.Finally, it introduces the system implementation and performance analysis.By designing the data structure and optimizing the algorithm, it reduces the spatio-temporal complexity of the flux statistical program.
出处
《计算机工程与科学》
CSCD
2007年第1期30-32,69,共4页
Computer Engineering & Science
基金
江苏省高技术研究项目(BG2005020)