北京四通交通流量协议接口交通流数据通讯协议日期版本描述作者审核2009-12--05--3--5-.0版本郭喜峰通讯参数基于socket的tcp/ip通讯方式,采用客户端主动访问服务器方式。数据上下行方向说明:某一断面:从南向北为上行从东向西为上行斜路以向北倾斜方向为上行。数据格式断面信息查询包<?xmlversion=""encoding="gb2312"?><Query><Type>SectionMsg</Type><SectionID>n</SectionID></Query>格式说明节点定义备注Type固定为SectionMsg断面信息标识SectionID编号n0则返回全部断面编号断面信息应答包<?xmlversion=""encoding="gb2312"?><RESPONSE><TYPE>DetectorMsg</TYPE><COUNT>1</COUNT></RESPONSE><?xmlversion=""encoding="gb2312"?><Response><Type>SectionMsg</Type><Count>num</Count><SectionNo1><SectionID>编号</SectionID><SectionName>名称</SectionName><Longitude>经度</Longitude><Latitude>纬度</Latitude></SectionNo1><SectionNo2><SectionID>编号</SectionID><SectionName>名称</SectionName><Longitude>经度</Longitude><Latitude>纬度</Latitude></SectionNo2></Response>格式说明节点定义备注Type固定为SectionMsg断面信息标识Count断面总数SectionID断面编号SectionName断面描述Longitude断面经度Latitude断面纬度断面数据查询包<?xmlversion=""encoding="GB2312"?><Query><Type>SectionData</Type><SectionID>n</SectionID><SectionCycle>n</SectionCycle><SectionType>n</SectionType><CollectDateTime>DataTime</CollectDateTime></Query>格式说明节点定义备注Type固定为SectionData断面数据标识SectionID断面编号0则返回全部断面编号1:5分钟;2:15分钟;3:30分SectionCycle查询周期钟;4:1小时;5:1天SectionType查询类型1:车道;2:上下行;3:allCollectDateTime2011-4-2410:10:00采集时间断面数据应答包<?xmlversion=""encoding="GB2312"?><Response><Type>SectionData</Type><Count>num</
北京四通交通流量协议接口 来自淘豆网www.taodocs.com转载请标明出处.