摘要
流媒体应用过程中,网络原因或者服务器缺陷会造成播放启动慢或者画面停顿,甚至出现花屏现象.针对目前使用Wire Shark工具解析数据包截取文件速度慢等缺点,设计了基于Python批量解析UDP数据包的脚本程序,能快速、有效的方式确定流媒体是否有丢包和码率是否平稳,从而快速发现视频异常现象.实践证明,分析100、200、400、600、800 M和1 G的数据包所需时间相比Wireshark软件分别提高49倍、52倍、59倍、85倍和135倍,并且随着数据包的增大,分析时间结果越明显,还可实现批量处理数据包截取文件,用法简单.
The network or server defective reasons may cause a slow start to play or screen pause, even flickering phenomenon in the applications of streaming media. WireShark tool which used for parsing the capture file has slow shortcomings. UDP packet parsing batch scripts based on Python which can be used to effectively and conveniently determine whether there is packet loss and smooth bit rate streaming in the streaming fastest. Practice has proved that time required for analysis of packet of 100, 200, 400, 600, 800 M and 1 G are increased 49 times, 52 times, 59 times, 85 times and 135 times than that with Wireshark, and with the increase of packet, analysis time is more apparent, and Python scripts can easy to use and process multiple capture files.
出处
《南开大学学报(自然科学版)》
CAS
CSCD
北大核心
2017年第1期11-17,共7页
Acta Scientiarum Naturalium Universitatis Nankaiensis
基金
广西高校优秀中青年骨干教师培养工程基金(桂教人[2014]39号)
广西高校科研项目(KY2015YB474)
2016年度广西高校中青年基础能力提升项目(KY2016YB764)()