计算机与现代化

• 应用与开发 • 上一篇    下一篇

非Root权限下ITV Traceroute和抓包功能研究

  

  1. 武汉邮电科学研究院,湖北武汉430079
  • 收稿日期:2016-09-19 出版日期:2017-05-26 发布日期:2017-05-31
  • 作者简介: 郭闽年(1990-),男,福建龙岩人,武汉邮电科学研究院硕士研究生,研究方向:网络通信; 陶智勇(1973-),男,湖北天门人,武汉邮电科学研究院烽火科技学院副院长,教授,研究方向:光网络通信。

 Research on ITV Traceroute and Packet-capture Without Root Authority

  1. Wuhan Research Institute of Posts and Telecommunications, Wuhan 430079, China
  • Received:2016-09-19 Online:2017-05-26 Published:2017-05-31

摘要:  为了提高ITV用户侧的感知质量,在ITV发生故障时用户可以自主地进行一系列的诊断,包括Traceroute、抓包测试等,但是要实现Traceroute和抓包功能就必须获取机顶盒的Root权限,而厂家一般不会开放机顶盒的Root权限,正常情况下用户也不能通过这2种测试方案对ITV故障进行测试。为此本文提出一种方法可在Root权限未开放的情况下,应用层与底层通过Socket通信,将Traceroute和Tcpdump命令编译成二进制文件在机顶盒运行。通过厂家增加相对应的服务项对固件进行升级,从而在非Root权限下实现Traceroute和抓包功能,提高用户侧的感知质量,减少用户投诉率。

关键词:  , 非Root, Socket通信, Traceroute &, Tcpdump, 感知质量

Abstract:  In order to improve the perceived quality of the user side of the ITV, when ITV fails, the user can carry out a series of self-diagnosis, including Traceroute, capture test, but to achieve Traceroute and packet-capture functions, the set-top box Root permission must be obtained, but
the Root permission of can not be open the set-top box  to users, users also can not test the ITV fault through the two test schemes. This paper proposes a new method which communicates the application layer with the bottom layer through the Socket without the Root permissions, makes Traceroute and Tcpdump commands be compiled into a binary file to operate on the set-top box. The manufacturers increase service items corresponding to the firmware upgrade, so as to achieve Traceroute and packet-capture functions in non-Root authority, improving the perceived quality of user side.

Key words:  without Root, Socket correspond, Traceroute and Tcpdump, perceived quality