光通信研究Issue(2):29-31,3.DOI:10.13756/j.gtxyj.2018.02.009
基于Python的协议栈软件内部数据查询方法
An Internal Data Query Method of Protocol Stack Software based on Python
蒋玉玲 1肖亚楠 2方涛1
作者信息
- 1. 烽火通信科技股份有限公司,武汉 430074
- 2. 武汉邮电科学研究院,武汉 430074
- 折叠
摘要
Abstract
Distributed data communication equipment has been widely used in the operator's networking environment.The pro-tocol stack software which is running on the equipment may run into a wrong branch,resulting in an error.Currently,when protocol stack meet a link error,it can not be quickly and effectively locate the problem without affecting other business.In this paper,this issue is analyzed and investigated,and a method of quickly querying the internal module data of the serial com-munication device is proposed.Based on the Linux operating system,C programming language and Python script,this method can use the command to directly view all the data in the specified data structure,which can avoid the service interruption prob-lem caused by the traditional query protocol stack based on the breakpoint or the single step debugging method.It is shown that the work efficiency,precision and the quality of work are high,which may have the potential for further promotion.关键词
分布式数通设备/协议栈软件/数据结构Key words
distributed data communication equipment/protocol stack software/data structure分类
信息技术与安全科学引用本文复制引用
蒋玉玲,肖亚楠,方涛..基于Python的协议栈软件内部数据查询方法[J].光通信研究,2018,(2):29-31,3.