摘要
给出一种基于有限状态机理论建立的协议适配器模型,介绍了协议适配器的分类和逻辑,并将协议适配器应用于通信协议数据格式转换,生成协议模型树,同时就协议模型树的实质、类型和节点分类及转换公式进行讨论。协议适配器模型能够完成通信双方的实时数据转换,解决通信程序间不同格式数据交换的问题,增强了程序的灵活性、扩展性和独立性。
The paper presents a theory based on finite state machine model of protocol adapter, introduces the protocol adapter classification and logic and makes protocol adapter used in data format conversion for communication protocols, generating protocol model tree, while a discussion about the substance, type, node classification and formula to the protocol model tree. Using the model of protocol adapter can complete the real-time communication in data conversion, and find a solution to the problem of program between the different formats of data exchange, thus enhancing program's flexibility, scalability and independence.
出处
《计算机与网络》
2010年第12期36-38,共3页
Computer & Network
关键词
有限状态机
协议适配
模型树
数据转换
finite state automaton
protocol adapter
model tree
data conversion