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