摘要: 针对报文解析过程中存在的数据存储无序、查询和调用不便等问题,提出应用XML数据字典进行数据存储的方案。根据给定的数据表,设计XML形式的数据字典。实现XML字典数据的解析,能在可视化界面上进行数据存储、查询和调用等操作,并用类图描述数据字典的存储和调用过程。结果证明,使用XML形式的数据字典,系统存储结构清晰,查询方便。
关键词:
可扩展标记语言,
数据字典,
解析工具,
类图
Abstract: Aiming at the disadvantages of storing data, checking and transferring in the flow of packet, the technique of storing data with XML data dictionary is brought forward. According to the given datasheets, the data dictionary of XML format is designed. The analysis of data dictionary which is based on XML is implemented, the operations such as storing data, checking or transferring can be done on the visual interface, and the process of storing and transferring is described with class diagram. Results show the convenience of storing of system structure and checking.
Key words:
eXtensible Markup Language(XML),
data dictionary,
analyzing tool,
class diagram
中图分类号:
刘 烨;王永斌;刘宏波.
报文解析工具中的XML数据字典
[J]. 计算机工程, 2009, 35(3): 68-70.
LIU Ye; WANG Yong-bin; LIU Hong-bo. XML Data Dictionary in Analyzing Tool of Packet[J]. Computer Engineering, 2009, 35(3): 68-70.