JIANG Yu-ling, XIAO Ya-nan, FANG Tao. An Internal Data Query Method of Protocol Stack Software based on Python[J]. 2018,(2):29-31. DOI: 10.13756/j.gtxyj.2018.02.009.
Distributed data communication equipment has been widely used in the operator’s networking environment.The protocol 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 communication 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 problem 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.
关键词
分布式数通设备协议栈软件数据结构
Keywords
distributed data communication equipmentprotocol stack softwaredata structure