首页 | 本学科首页   官方微博 | 高级检索  
     

基于Protobuf的数据传输协议
引用本文:聂晓旭,于凤芹,钦道理.基于Protobuf的数据传输协议[J].计算机系统应用,2015,24(8):112-116.
作者姓名:聂晓旭  于凤芹  钦道理
作者单位:江南大学 物联网工程学院, 无锡 214122;江南大学 物联网工程学院, 无锡 214122;锐泰节能系统科学有限公司, 无锡 214135
基金项目:2012年度教育部-中国移动科研基金(MCM20122013)
摘    要:针对XML、JSON等数据结构在数据通信方面的不足, 利用Protobuf轻便高效的数据结构和二进制数据流传输方式的优点, 设计了一种网关与数据平台通信的数据传输协议. 该协议将数据以Protobuf格式封装到传输报文中, 通过定义应用层协议和设计数据通信确认机制建立数据传输通道, 并引入数据的序列化方法实现报文的传输. 测试结果表明, 该数据传输协议实现了网关和应用数据平台之间数据的高效和可靠传输.

关 键 词:数据结构  Protobuf  应用层协议  通信确认机制  序列化
收稿时间:2014/11/23 0:00:00
修稿时间:1/5/2015 12:00:00 AM

Data Transmission Protocol Based on Protobuf
NIE Xiao-Xu,YU Feng-Qin and QIN Dao-Li.Data Transmission Protocol Based on Protobuf[J].Computer Systems& Applications,2015,24(8):112-116.
Authors:NIE Xiao-Xu  YU Feng-Qin and QIN Dao-Li
Affiliation:School of Internet of Things Engineering, Jiangnan University, Wuxi 214122, China;School of Internet of Things Engineering, Jiangnan University, Wuxi 214122, China;Reatgreen Energy-Saving System Science Co. Ltd, Wuxi 214135, China
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
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号