本文已被:浏览 2160次 下载 4630次
Received:November 23, 2014 Revised:January 05, 2015
Received:November 23, 2014 Revised:January 05, 2015
中文摘要: 针对XML、JSON等数据结构在数据通信方面的不足, 利用Protobuf轻便高效的数据结构和二进制数据流传输方式的优点, 设计了一种网关与数据平台通信的数据传输协议. 该协议将数据以Protobuf格式封装到传输报文中, 通过定义应用层协议和设计数据通信确认机制建立数据传输通道, 并引入数据的序列化方法实现报文的传输. 测试结果表明, 该数据传输协议实现了网关和应用数据平台之间数据的高效和可靠传输.
Abstract:Aiming at the shortage of XML and JSON data structure in the aspect of data communication, a data transmission protocol is designed to ues the data communication between gateway and data platform. It takes full advantage of the Protobuf that is portable and uses the binary data stream to transmit data. The protocol encapsulates data transmitted in Protobuf format in a message and builds a data transmission channel using the application layer protocol defined and the confirmation mechanism designed. It also introduces the serialization method of data to achieve the transmission of message. The test results show that the data transmission protocol achieve data transmission efficiently and reliably between the gateway and data platform.
keywords: data structure Protobuf application layer protocol communication confirmation mechanism serialization
文章编号: 中图分类号: 文献标志码:
基金项目:2012年度教育部-中国移动科研基金(MCM20122013)
引用文本:
聂晓旭,于凤芹,钦道理.基于Protobuf的数据传输协议.计算机系统应用,2015,24(8):112-116
NIE Xiao-Xu,YU Feng-Qin,QIN Dao-Li.Data Transmission Protocol Based on Protobuf.COMPUTER SYSTEMS APPLICATIONS,2015,24(8):112-116
聂晓旭,于凤芹,钦道理.基于Protobuf的数据传输协议.计算机系统应用,2015,24(8):112-116
NIE Xiao-Xu,YU Feng-Qin,QIN Dao-Li.Data Transmission Protocol Based on Protobuf.COMPUTER SYSTEMS APPLICATIONS,2015,24(8):112-116