版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
道路运输车辆卫星定位系统北斗兼容车载终端通讯协议技术规范andofBD中华人民共和国交通运输部发布ByTheMinistryofTransportofthePeople'sRepublicofChina二〇一三年一月January,2013目 次Content前言IV1范围12规范性引用文件1313.1术语和定义13.2缩略语24协议基础34.1通信方式34.2数据类型Datatype34.3传输规则34.4消息的组成35通信连接55.1连接的建立55.2连接的维持55.3连接的断开56消息处理5TCP和消息处理 5SMS67协议分类67.1概述67.267.377.4信息类协议77.5电话类协议87.687.787.887.9999分包消息108数据格式108.1108.2108.3终端心跳108.4108.5终端注册118.68.7终端注销12IIIII8.8终端鉴权128.912181818终端控制1820202121212627272728事件设置28事件报告29提问下发29提问应答3030信息点播/取消31信息服务31电话回拨31设置电话本31车辆控制3232323434353536设置路线36删除路线3738383838393939 4040414142424343434444444445公钥 45公钥 46附 录 A(规范性附录) 47设备 47 47 49 51附 录 B(规范性附录) 54Scope2 ReferencesMessagecompositionMessagestructureIdentifierHeaderCheckcodeEstablishmentMaintenanceDisconnection消息处理MessageprocessingTCP和UDP消息处理MessageprocessingforTCPandUCP平台主发的消息MessagessentbytheplatformMessagessentbytheterminal数据通信链路正常Datacommunicationlinksarenormal数据通信链路异常DatacommunicationlinksareabnormalSMSmessagesprocessingProtocolclassificationIntroductionSet/queryterminalparameters提问Inquiry通用数据传输类Generaldatatransmission加密类协议Encryptedprotocols分包消息Messagesubcontracting查询终端参数Queryterminalparameters查询指定终端参数Querydesignatedterminalparameter查询终端参数应答Queryterminalparametersreply8.13 终端控制Terminalcontrol8.14 查询终端属性Queryterminalattributes查询终端属性应答Queryterminalattributesreply下发终端升级包Sendingterminalupgradepatch8.17 终端升级结果通知Noticeofterminalupdatesresults8.18 位置信息汇报Locationinformationreporting位置信息查询Locationinformationquery位置信息查询应答Locationinformationqueryreply临时位置跟踪控制Temporarypositiontrackingcontrol8.22 人工确认报警消息Manuallyconfirmedalarmmessages8.23 文本信息下发Textmessagessending事件设置Eventssetting8.25事件报告Eventsreporting8.26提问下发Questionsending8.27提问应答Questioningreply8.28 信息点播菜单设置Informationondemandmenusetting信息服务Informationservices电话回拨Callback8.32 设置电话本Settingthephonebook8.33 车辆控制Vehiclecontrol8.34 车辆控制应答Vehiclecontrolreply8.35 设置圆形区域Settingcircularareas8.36 删除圆形区域Deletecircularareas8.37 设置矩形区域Settingrectangleareas8.38 删除矩形区域Deleterectangularareas设置多边形区域Settingpolygonareas删除多边形区域Deletepolygonareas设置路线Settingroutes删除路线Deleteroutes8.43 行驶记录数据采集命令Drivingrecorddatacollectioncommand行驶记录数据上传Drivingrecorddataupload行驶记录参数下传命令Drivingrecordparameterssendingcommand电子运单上报Electronicwaybillreporting上报驾驶员身份信息请求Reportingthedriveridentityinformationrequest8.48 驾驶员身份信息采集上报Thecollectionandreportingofthedriveridentityinformation8.49 定位数据批量上传Positioningdatabatchupload多媒体事件信息上传Multimediaeventsinformationupload多媒体数据上传Multimediadataupload多媒体数据上传应答Multimediadatauploadreply摄像头立即拍摄命令Cameraimmediate
shootingcommand摄像头立即拍摄命令应答Cameraimmediate
shootingcommandreply8.56 存储多媒体数据检索Storageofmultimediadataretrieval8.57 存储多媒体数据检索应答Storageofmultimediadataretrievalreply8.58 存储多媒体数据上传命令Storedmultimediadatauploadcommand8.59 录音开始命令Startingrecordingcommand8.60 单条存储多媒体数据检索上传命令Singlestorageofmultimediadataretrievaluploadcommand8.61 数据下行透传Datadownlinkpassthrough8.62 数据上行透传Datauplinkpassthrough8.63 数据压缩上报Reportingdatacompression8.64平台公钥PlatformRSApublickey8.65终端公钥TerminalRSApublickey附 录 A(规范性附录)AppendixA(normativeappendix)
Communicationprotocolbetweenthecar-mountedterminalandperipherals
CommunicationprotocolInstructionsforgeneralprotocolsA.4专用协议说明Instructionforproprietaryprotocols附 录 B(规范性附录)AppendixB(normativeappendix)Message
paralleltableIIIIVIVPAGEPAGE10前 言Preface本规范是对JT/T88-2《道路运输车辆卫星定位系统终端讯协议及数据格式的补充和完善,与JT/T——修改了通信连接中8678的内容;——增加了数据格式中8.4补传分包求8.11询指定终端参数8.14查询终端属性8.15查询终端属性应答8.16下发终端级包8.17终端升级结果通知8.22人工确认警消息8.7上报驾驶员身份信息请求、8.49CAN总线数据上传、8.55摄像头立即拍摄命令应答0等2并对影响的章节和表格编号进行了调整;-changedthedataformatandtheinformationintheoriginalchapter8.4terminalregister,chapter8.8settingterminalparameters,chapter8.12locationinformationreporting,chapter8.23textmessagedownload,chapter8.28settingcirclearea,chapter8.36
dataacquisitioncommandfor
drivingrecords,chapter8.37drivingrecorddataupload,chapter8.38
download
commandsfor
drivingrecords
parameters,chapter8.40reportsandcollectionofdriveridentityinformation,chapter8.41multimediaeventsdataupload,chapter8.42respondto
multimediaeventsdatauploaded,chapter8.46
storageofresponsetomultimediadataretrieval,chapter8.49datadownlinkpassthroughandchapter8.50datauplinkpassthrough;
-increases
thedataformatandtheinformationintheoriginalchapter8.4
requestforsubcontracttransmission,chapter8.11
designated
queryterminalparameters,chapter
8.14queryterminal
attributes,chapter8.15responsesto
queryterminal
attributes,chapter
8.16issuingterminalupdates,chapter8.17noticeofterminalupdatesresults,chapter8.22manualconfirmationofalarmmessages,chapter8.47reportsofdriveridentityinformationrequests,chapter8.49locating
batchuploadof
data,chapter8.50CANbusdataupload,chapter8.55responsestorequestsforpromptshootingofcamera,chapter8.60
uploadcommandsfor
singlestorageofmultimediadataretrieval,andrevisedtherelevantsectionandtablenumbers;——修改了附录A中,表A.2外设类型编号表、表A.3A查询外设属性、A.4.1IC卡认证请求、A.4.2IC——修改了附录B本规范由中华人民共和国交通运输部提出。本规范起草单位:中国交通通信信息中心。-revisedtableA.2.
codetableof
peripheraltypesandtable
A.3tableofcommandtypes
inappendixA;
-increased
thecommunicationprotocolof
terminalhostandperipheralsin
A.3.4queryfortheinformationofslaveversionnumber,A.3.5self-checkingofslave,A.3.6firmwareupdatesofslave,A3.7queryofperipheralsattributes,A.4.1.
authenticationrequestfor
roadtransportICcard,A.4.2noticeofreadingresultsofroadtransportICcard,A.4.3noticeof
cardremoval,A.4.4activetriggerfor
ICcardreading
inappendixA;
-changedallthecorrespondinginformationdescribedinthecomparisontablesincludedin
theappendixB.
ThisspecificationisputforwardbytheMinistryofTransportofthePeople'sRepublicofChina.
Draftedby:ChinaTransportation&TelecommunicationInformationCenter.PAGEPAGE93PAGEPAGE92andofBDScope本规范规定了道路运输车辆卫星定位系统北斗兼容车载终端(以下简称终端)与监管/监控平(以下简称平台之间的通讯协议与数据格式包括协议基础通信连接消息处理、协议分类与说明及数据格式。本规范适用于道路运输车辆卫星定位系统北斗兼容车载终端和平台之间的通信。Thespecificationspecifies
thecommunicationprotocolsanddataformatsbetween
the
GNSS
system
for
operating
vehicles
BD-compatiblevehicleterminal
(hereinafterreferredtoas"theterminal")andregulatory/monitoringplatform(hereinafterreferredtoas"theplatform"),includingprotocolbasis,communicationlinks,messageprocessing,protocolclassificationanddescription,anddataformats.
Thisspecificationappliestothecommunicationbetween
GNSS
system
for
operating
vehicles
BD-compatiblevehicleterminalsandplatforms
.2 References下列文件对于本文件的应用是必不可少的凡是注日期的引用文件仅所注日期的版本适用于本文件凡是不注日期的引用文件其最新版(包括所有的修改单适用于本文。GB/T19056 JT/T415-2006 编目编码规则JT/T794 道路运输车辆卫星定位系统Thefollowingdocumentsareessentialfortheapplicationhereof.Foreach
referencewithdates,onlytheversionofthatdatesasshownhereinshallapply,andfor
each
referencewithoutdates,thelatestversion
(includingallamendmentsandmodifications)shallapply.
GB/T2260AdministrativedivisioncodeofthePeople'sRepublicofChina
GB/T19056
Vehicletravellingdatarecorder
JT/T415-2006Regulationson
catalogandencodingof
roadtransporte-governmentplatformJT/T794Technicalrequirementsfor
GNSS
system
for
operating
vehiclesterminals下列术语和定义适用于本文件。Thefollowingtermsanddefinitionsshallapplyhereto.Wirelesscommunicationlinksaredisconnected,ortemporarilysuspendedorheld(e.g.,duringcalling).R终端向平台发送消息告知其安装在某一车辆上。Theterminalsendsamessagetothe
platformforthe
installmentonavehicle.终端向平台发送消息告知从所安装车辆拆下。Theterminalsendsamessagetothe
platformforthe
removalfromtheinstalledvehicle.终端连接上平台时向平台发送消息以使平台验证自己身份。Theterminalsendsamessageto
theplatformuponconnectiontheretofortheverificationofitsidentitybytheplatform.定时、定距汇报或两者结合。Reportingoftimingorlocatingorboth.根据相关条件确定周期汇报的间隔的规则。Determinerulesonintervalofperiodicreportinginaccordancewiththerelevantregulations.终端在判断到车辆拐弯时发送位置信息汇报消息。采样频率不低于1Hz,汽车方位角变化率不低于15°/s,且至少持续3s以上。Theterminal,whendetectingthevehicleisTuring,wouldsendlocationinformationforreporting.
Samplingfrequencyshallbenolessthan1hz,thechangerateofcarazimuthnolessthan15°/sforatleast3s.终端自动或手动接听来电的规则。Therulesofreceivingphonecallsautomaticallybytheterminalormanually.事件项由平台预设到终端由事件编码和事件名称组成驾驶员在遇到相应事件时操作终端,触发事件报告发送到平台。Eventitemswillbesetontheterminalbytheplatformbydefault,composedofeventscodesandnames.Whenadriveroperatesontheterminalforthoseeventsincludedtherein,itwilltriggereventreportingsenttotheplatform.3.2缩略语Abbreviations下列缩略语适用于本文件。Thefollowingabbreviationsshallapplyhereto.RSA——一种非对称密码算法(由RonRivest、Adi来自三者的名字)anasymmetriccryptographicalgorithms(developedbyandnamedafterRonRivest,AdiShamirh,LenAdleman)ProtocolbasisCommunicationmode协议采用的通信方式应符合JT/T794TCP或作为服务器端,终端作为客户端。当数据通信链路异常时,终端可以采用SMS消息方式进行通信。ThecommunicationmodeadoptedbytheprotocolshallcomplywithrelevantprovisionsoftheJT/T794,withcommunicationprotocolusingTCPorUDP,theplatformservingastheserversideandtheterminalastheclientside.Whenabnormaldatacommunicationlinksemerge,theterminalcanuseSMSmessagesforcommunication.协议消息中使用的数据类型Datatype见表1:Thedatatypesusedinthemessagesoftheprotocolareasfollows:表1数据类型Datatypedatatupes描述及要求DescriptionandrequirementsDescriptionandrequirementsBYTE无符号单字节整型(字节,8位)Unsignedsingle-byteinteger(byte,8-bit)WORD无符号双字节整型(字,16位)Unsigneddouble-byteinteger(words,16-bit)DWORD无符号四字节整型(双字,32位)Unsignedfour-byte
integer(doubleword,32-bit)BYTE[n]n字节NBYTEBCD[n]8421码,n字节8421code,nbytesSTRINGGBK编码,若无数据,置空GBKcoding,leaveitblankwithoutdata约定如下:最后传递低八位。Theprotocolusesbig-endiannetworkbyteordertotransferwordsanddoublewordsasfollows:BYTEtransferprotocol:usingBYTEstreamfortransmission;-WORDtransferprotocol:theupper8-bitfirst,thenthelower8-bit;-DWORDtransferprotocol:
theupper24-bitfirst,thentheupper16-bit,followedbytheupper8-bitandthelower8-bit.MessagecompositionMessagestructure每条消息由标识位、消息头、消息体和校验码组成,消息结构图如图1所示:Eachmessageiscomprisedbyidentifier,header,messagetextandcheckcode.Seefigure1forthemessagestructurediagram:标识位identifier消息头header消息体messagetext检验码checkcode标识位identifier图1 Figure1messagestructurediagram:Identifier采用规则定义如下:0x7e0x7d后紧跟一个0x02;0x7d0x7d后紧跟一个0x01。转义处理过程如下:示例:发送一包内容为0x300x7e0x7d0x550x307d0x080x7d0x010x550x7e。0x7eforpresentation,whichifshowninthecheckcode,headerormessagetext,shallbeescapedinaccordancewiththefollowingrules:
0x7e<--->0x7dfollowedby0x02;
0x7d<--->0x7dfollowedby0x01,whichshallbeescapedasfollows:
Sendingmessage:messagepacking->calculateandfillthecheckcode->escape;
Receivingmessage:escapingreduction->validationofcheckcode->analyzingthemessage.
Example:
Ifsendadatapacketof0x30x7e00x080x7d0x55,thepackagingisasfollows:00x02x7e0x307d0x080x7d0x0100x7ex55.Header消息头内容详见表2:
Seetable2forthedetailsoftheheaders:表2Table2detailsoftheheaders起始字节Thestartingbyte字段Fields数据类型Datatype描述及要求Descriptionandrequirements0消息IDMessageIDWORD2消息体属性TheattributesofmessagebodyWORD消息体属性格式结构图见图2Seefigure2forthestructurechartofmessagebodyattributesformatSeefigure2forthestructurechartofmessagebodyattributesformat4终端手机号TerminalmobilephonenumberBCD[6]根据安装后终端自身的手机号转换。手机号不足12位,则在前补充数字,大陆手机号补充数字0,港澳台则根据其区号进行位数补充。Transformationshallbedoneaccordingtothemobilephonenumberattheterminalendafterinstallation.Forphonenumberlessthan12-bitdigital,add0formobilephonenumbersofmainlandChina,andadddigitsaccordingtotherelevantareacodesfornumbersofHongKongandTaiwan.10消息流水号MessageserialnumberWORD按发送顺序从0开始循环累加Cyclicaccumulation
from0shallbedonebasedonthe
delivery
order12消息包封装项Packetpackagingitem如果消息体属性中相关标识位确定消息分包处理,则该项有内容,否则无该项Theexistenceofthisitemdependsoniftheidentifierinthemessagebodyattributesconfirmsthesubcontractprocessingrequests.消息体属性格式结构图如图2所示:Seefigure2forthestructurechartofmessagebodyattributesformat1514131211109876543210保留retaining分包subcontracting数据加密方式Dataencryption消息体长度Thelengthofthemessage图2 消息体属性格式结构图Figure2Structurechartofmessagebodyattributesformat数据加密方式:Dataencryption——bit10~bit12为数据加密标识位;bit10~bit12areidentifiersfordataencryption;——当此三位都为0,表示消息体不加密;-whenallthethreeare0,itmeansthatthemessagebodyisnotencrypted;—当第10位为1,表示消息体经过RSA算法加密;-whenthe10this1,itmeansthatthemessagebodysencryptedbyRSAalgorithm;——其他保留。-othersarereserved.分包:subcontracting当消息体属性中第13位为1时表示消息体为长消息,进行分包发送处理,具体分包信息由消息包封装项决定;若第13位为0,则消息头中无消息包封装项字段Fields。消息包封装项内容见表3:When
the13thintheattributesofmessagebodyis1,itmeansthatthemessagebodyisalongmessage,whosesubcontractedinformationshallbedeterminedbythedatapackageencapsulationitemsduringsendingprocessing;Ifthe13this0,itmeansthereisnodatapackageencapsulationfieldsintheheaders.Messagedatapackageencapsulationitemsareshowninthetable3:表3消息包封装项内容Table3Messagedatapackageencapsulationitems起始字节Thestartingbyte字段Fields数据类型Datatype描述及要求Descriptionandrequirements0消息总包数ThetotalnumberofpacketsWORD该消息分包后的总包数Thetotalnumberofpacketsaftersubcontracting2包序号PacketserialnumberWORD从1开始Startingfrom1校验码Checkcode校验码指从消息头开始,同后一字节异或,直到校验码前一个字节,占用一个字节。Checkcodereferstotheonesinglebytefromthemessageheadertothefollowingbyteor,tothebytebeforethecheckcode.通信连接Communicationlinks连接的建立Establishment终端与平台的数据日常连接可采用TCP或UDP方式,终端复位后应尽快与平台建立连接,连接建立后立即向平台发送终端鉴权消息进行鉴权。TCPorUDPshallbeusedfor
dailylinksbetweentheterminalanddata.Theterminalshouldbeconnectedtotheplatformassoonaspossibleuponreset,afterwhichterminalauthenticationmessagesshallbesenttotheplatformforauthentication.连接的维持Maintenance连接建立和终端鉴权成功后,在没有正常数据包传输的情况下,终端应周期性向平台发送终端心跳消息,平台收到后向终端发送平台通用应答消息,发送周期由终端参数指定。Aftertheestablishmentofthelinksandupontheterminalauthentication,intheabsenceofnormaldatapackets,terminalshould
sendterminalheartbeatmessages
periodicallytotheplatform,whichshallreplywithgeneralresponsemessagesafterreceivingthemessagewithafrequencyspecifiedbytheterminalparameters.连接的断开Disconnection平台和终端均可根据TCP协议主动断开连接,双方都应主动判断TCP连接是否断开。平台判断TCP连接断开的方法:——根据TCP协议判断出终端主动断开;——相同身份的终端建立新连接,表明原连接已断开;——在一定的时间内未收到终端发出的消息,如终端心跳。终端判断TCP连接断开的方法:——根据TCP协议判断出平台主动断开;——数据通信链路断开;——数据通信链路正常,达到重传次数后仍未收到应答。EithertheplatformortheterminalcandisconnectthelinksbasedonTCPprotocolandbothsidesshouldtaketheinitiativetodeterminewhetheraTCPconnectionisdisconnected.TheplatformcanusethefollowingwaysforTCPdisconnection:
--identifiesdisconnectioninitiatedbytheterminalbasedonTCPprotocol;
-anewconnectionisestablishedforthesameterminal,whichindicatesthattheoriginalconnectionhasbeendisconnected;
-hadnotreceivedmessagesfromtheterminalfor
acertainperiod,suchasterminalheartbeat.TheterminalcanusethefollowingwaysforTCPdisconnection:
-identifiesdisconnectioninitiatedbytheplatform
basedonTCPprotocol;
-datacommunicationslinksdisconnected;
-datacommunicationlinksarenormal,withnoreplyevenafterreachingtherequiredretransmissiontimes.消息处理MessageprocessingTCP和UDP消息处理MessageprocessingforTCPandUCP平台主发的消息Messagessentbytheplatform所有平台主发的消息均要求终端应答,应答分为通用应答和专门应答,由各具体功能协议决定。发送方等待应答超时后,应对消息进行重发。应答超时时间和重传次数由平台参数指定,每次重传后的应答超时时间的计算公式见式(1):Allmessagessentbytheplatformshallberepliedbytheterminalandtheresponsescanbedividedintogeneralresponseandspecificresponse,determinedbyeachproprietaryprotocols.Thesendershall
resendthemessage
afteratimeoutforaresponse.Responsetimeoutandretransmissiontimesshallbedeterminedbyparametersspecifiedbytheplatform.Seethefollowingformula(1)foreachtimeoutperiodafterretransmission:TN+1=TN×(N+1) …………(1)式中:amongwhichTN+1——每次重传后的应答超时时间;TN——前一次的应答超时时间;N——重传次数。TN+1-timeoutofeachresponseafterretransmission;TN—timeoutofpreviousresponse;N-retransmissiontimes.终端主发的消息Messagessentbytheterminal数据通信链路正常Datacommunicationlinksarenormal数据通信链路正常时,所有终端主发的消息均要求平台应答,应答分为通用应答和专门应答,由各具体功能协议决定。终端等待应答超时后,应对消息进行重发。应答超时时间和重传次数由终端参数指定,每次重传后的应答超时时间按式(1)进行计算。对于终端发送的关键报警消息,若达到重传次数后仍未收到应答,则应对其进行保存。以后在发送其它消息前要先发送保存的关键报警消息。Whendatacommunicationlinksarenormal,all
messagessentbytheterminalshallberepliedbytheplatformandtheresponsescanbedividedintogeneralresponseandspecificresponse,determinedbyeachproprietaryprotocols.Theterminalshall
resendthemessage
afteratimeoutforaresponse.Responsetimeoutandretransmissiontimesshallbedeterminedbyparametersspecifiedbytheterminal.Seethefollowingformula(1)foreachtimeoutperiodafterretransmission.Foranykeyalarmmessagessentbytheterminal,ifnoresponseisreceivedafterreachingthespecifiedretransmissiontimes,itshallbesaved,recordedandsentbeforesendinganyothermessagesinthefuture.数据通信链路异常Datacommunicationlinksareabnormal数据通信链路异常时,终端应对需发送的位置信息汇报消息进行保存。在数据通信链路恢复正常后,立即发送保存的消息。Whendatacommunicationlinksareabnormal,theterminalshallsaveandrecordalllocationinformationreportingmessagestobesentandshallsendtherecordedmessagesimmediatelyafterthe
datacommunicationlinksturnnormal.SMS消息处理SMSmessagesprocessing终端通信方式切换为GSM网络的SMS消息方式时,采用PDU八位编码方式,对于长度超过140字节的消息,应按照GSM网络的短信服务规范GSM03.40进行分包处理。SMS消息的应答、重传和保存机制同6.1,但应答超时时间及重传次数应按照表10中参数ID0x0006及0x0007的相关设定值处理。WhentheterminalcommunicationmodeswitchestoGSMnetworkSMSmessage,PDUeight-bitencodingshallbeusedandforanymessagelongerthan140bytes,itshallbesubcontractedasrequiredbytheGSMnetwork
shortmessageservice
standardsGSM03.40.Seesection6.1forSMSmessageresponse,saveandretransmission,buttheresponsetimeoutandretransmissiontimesshouldbedeterminedinaccordancewiththeparametersID0x0006and0x0007setdata
listed
intable10.协议分类Protocolclassification概述Introduction以下按功能分类对协议进行描述。无特别指明,缺省采用TCP通信方式。车载终端与外接设备通讯协议见附录A。协议中消息名称与消息ID的消息对照表见附录B。Thefollowingdescriptionofprotocolareclassifiedbyfunction.Unlessotherwise
specified,thedefaultshalluseTCPascommunicationmode.
SeeAppendixAfor
car-mountedterminalandexternaldevicecommunicationprotocol.
SeeAppendixBforthecomparisontableof
messagenamesandmessageIDusedin
theprotocol.终端管理类协议Protocolforterminalmanagement7.2.1 终端注册/注销Terminal
login/logout终端在未注册状态下,应首先进行注册,注册成功后终端将获得鉴权码并进行保存,鉴权码在终端登录时使用。车辆需要拆除或更换终端前,终端应该执行注销操作,取消终端和车辆的对应关系。终端若选择通过SMS方式发送终端注册和终端注销消息,平台应通过SMS方式发送终端注册应答对终端注册进行回复,通过SMS方式发送平台通用应答对终端注销进行回复。Theterminal,ifnotregistered,shallregisterfirst,thensavetheauthenticationcodereceivedfortheloginbytheterminalinthefuture.Whentheterminalonthevehicle
needtoberemovedorreplaced,theterminalcancelshallperformlogoutoperationtodisconnecttheterminalandthevehicle.IftheterminalusesSMSforitsloginandlogoutmessages,theplatformshallreplytotheterminalregistermessageswithterminalregistrationreplyandtotheterminallogoutmessageswiththeplatformgeneralresponseviaSMS.7.2.2 终端鉴权Terminalauthentication终端注册后每次在与平台建立连接后,应立即进行鉴权。鉴权成功前终端不得发送其它消息。终端通过发送终端鉴权消息进行鉴权,平台回复平台通用应答消息。Upon
registration,the
terminal
shallimmediatelyconductauthenticationwheneverconnectedto
theplatform.
Theterminalsshallnotsendothermessagesbeforetheauthenticationiscompleted.Theterminalwillsendterminalauthenticationmessagesforauthentication,whichshallberepliedbytheplatformwithplatformgeneralreplymessages.7.2.3 设置/查询终端参数Set/queryterminalparameters平台通过发送设置终端参数消息设置终端参数,终端回复终端通用应答消息。平台通过发送查询终端参数消息查询终端参数,终端回复查询终端参数应答消息。不同网络制式下的终端应支持各自网络的一些特有参数。Theplatformwillsendsettingsterminalparametersmessagestosettheterminalparameters,whichshallberepliedbytheterminalwithterminalgeneralreplymessages.The
platformwillinquireterminalparametersbysendingterminalparametersquerymessages,
whichshallberepliedbytheterminalwithquery
terminalparametersreplymessages.Theterminalsunderdifferentnetworksystemsshallsupportthespecificparametersusedintheirnetworks.7.2.4 终端控制Terminalcontrol平台通过发送终端控制消息对终端进行控制,终端回复终端通用应答消息。Theplatformwillsendterminalcontrolmessagesforterminalcontrol,whichshallberepliedbytheterminalwithterminalgeneralreplymessages.7.3 位置、报警类协议Protocolsforpositionandalarm7.3.1 位置信息汇报Reportinglocationinformation终端根据参数设定周期性发送位置信息汇报消息。根据参数控制,终端在判断到车辆拐弯时可发送位置信息汇报消息。Theterminalwillsend
periodicallylocationinformationtoreportnews
assetbytheparameters.
Accordingtotheparametercontrol,theterminalcould
sendlocationinformationforreportingwhendetectingthecarsareatturns.7.3.2 位置信息查询Locationinformationsearch平台通过发送位置信息查询消息,查询指定车载终端当时位置信息,终端回复位置信息查询应答消息。Theplatformwillsend
locationinformationquery
messagesfor
specifiedcarterminallocationinformationatthetime,whichshallberepliedbytheterminalwithlocation
informationqueryreplymessage.7.3.3 临时位置跟踪控制Temporarypositiontrackingcontrol平台通过发送临时位置跟踪控制消息启动/停止位置跟踪,位置跟踪要求终端停止之前的周期汇报,按消息指定时间间隔进行汇报。终端回复终端通用应答消息。Theplatformwillsend
temporarypositiontrackingcontrol
messagesto
start/stoplocationtracking.Theperiodicalreportsrequiredbypositiontracking
beforetheterminalstopsshallbesentatthespecifiedinterval.Theterminalshallreplywithterminalgeneralreplymessage.7.3.4 终端报警Terminalalarm终端判断满足报警条件时发送位置信息汇报消息,在位置汇报消息中设置相应的报警标志,平台可通过回复平台通用应答消息进行报警处理。各报警类型见位置信息汇报消息体中的描述。报警标志维持至报警条件解除的报警,在报警条件解除后应立即发送位置信息汇报消息,清除相应的报警标志。Theterminalwill
sendlocationinformationforreportingwhenidentifyingspecified
alarmconditions,duringwhichthecorrespondingwarningsignswillbesetup.Theplatformcan
conductalarmprocessingbyreplyingwith
theplatformgeneral
replymessages.Forvariousalarmtypes,seelocationinformationdescribedinthemessagebody.Foralarmswithpersistentwarningsignsuntiltheremovalofalarm,
locationinformationshallbesentforreporting
immediatelyafter
thealarmisdisarmed,and
thecorrespondingwarningsignsshallberemovedaccordingly.7.4 信息类协议Protocolsformessages7.4.1 文本信息下发Textinformationdelivery平台通过发送文本信息下发消息,按指定方式通知驾驶员。终端回复终端通用应答消息。Theplatformwillsend
textmessagedeliverymessagestoinformthedriverinaspecifiedway,whichshallberepliedbytheterminalwithterminalgeneralreplymessages.7.4.2 事件设置及报告Eventssettingandreporting平台通过发送事件设置消息,将事件列表发到终端存储,驾驶员在遇到相应事件后可进入事件列表界面进行选择,选择后终端向平台发出事件报告消息。事件设置消息,需要终端回复终端通用应答消息。事件报告消息,需要平台回复平台通用应答消息。Theplatformwillsendeventssettingmessagestosendtheeventlisttotheterminalforrecording,whichcouldbeusedbythedriverwhenencounteringsuchevents,afterwhichtheterminalshallsendeventsreportingmessagestotheplatform.Eventssettingmessagesshallberepliedbytheterminalwithterminalgeneralreplymessages.Eventsreportingmessagesshallberepliedbytheplatformwith
platformgeneralreplymessages.提问Inquiry平台通过发送提问下发消息,将带有候选答案的提问发到终端,终端立即显示,驾驶员选择后终端向平台发出提问应答消息。提问下发消息,需要终端回复终端通用应答消息。Theplatformwillsendinquirieswith
candidateanswers
totheterminal
bysendingquestionsdeliverymessages,whichwillbedisplayedontheterminalimmediately,andtheterminalwillsend
questionreplymessagestotheplatform
afterthedrivermakesaselection.Questionsdeliverymessagesshallberepliedbytheterminalwithterminalgeneralreplymessages.信息点播Informationondemand平台通过发送信息点播菜单设置消息,将信息点播项列表发到终端存储,驾驶员可以通过菜单选择点播/取消相应的信息服务,选择后终端向平台发出信息点播/取消消息。信息服务被点播后,将定期收到来自平台的信息服务消息,如新闻、天气预报等。信息点播菜单设置消息,需要终端回复终端通用应答消息。信息点播/取消消息,需要平台回复平台通用应答消息。信息服务消息,需要终端回复终端通用应答消息。Theplatformwillsend
informationondemanditemlisttotheterminalforrecordingbysendingIODmenusettingmessages,
throughwhichthedrivercould
demand/cancelthecorrespondinginformationservices,afterwhichtheterminalwillsendamessagestotheplatformforthatrequest.Wheninformationserviceisondemand,regularmessages
ofinformationservices
fromplatformwillbereceived,suchasnews,weatherreports,etc.
Informationselectionmenusettingmessagesshallberepliedbytheterminalwithterminalgeneralreplymessages.
Informationondemand/cancelmessagesshallberepliedbytheplatformwithplatformgeneralreplymessages.
Informationservicemessagesshallberepliedbytheterminalwithterminalgeneralreplymessages.7.5 电话类协议Protocolsforphonecalls电话回拨Callback平台通过发送电话回拨消息,要求终端按指定的电话号码回拨电话,并指定是否按监听方式(终端不打开扬声器)。Theplatformwillrequesttheterminaltodialbackaspecificphonenumber
andspecifytheansweringmode(suchasnotopentheterminalspeaker)
bysendingcallbackmessages.电话回拨消息,需要终端回复终端通用应答消息。Callbackmessagesshallberepliedbytheterminalwithterminalgeneralreplymessages.设置电话本Settingthephonebook平台通过发送设置电话本消息,对终端设置电话本,该消息需要终端回复终端通用应答消息。Theplatformwillsetthephonebookontheterminalbysendingsettingthephonebookmessages,whichshallberepliedbytheterminalwithterminalgeneralreplymessages.7.6 车辆控制类协议Vehiclecontrolprotocols平台通过发送车辆控制消息,要求终端按指定的操作对车辆进行控制。终端收到后立即回复终端通用应答消息。之后终端对车辆进行控制,根据结果再回复车辆控制应答消息。Theplatformwillrequesttheterminaltocontrolthevehicleswithrequiredoperationsbysendingvehiclecontrolmessages.Theterminalshallreplyimmediatelyafterreceivingwithterminalgeneralreplymessagesandreplyagain
with
vehiclecontrolreplymessages
accordingtotheresultsofvehiclecontrol.7.7 车辆管理类协议Vehiclemanagementprotocols平台通过发送设置圆型区域、设置矩形区域、设置多边形区域、设置路线等消息,对终端进行区域和线路设置。终端根据区域和线路属性判断是否满足报警条件,报警包括超速报警、进出区域/路线报警和路段行驶时间不足/过长报警,应在位置信息汇报消息中包含相应的位置附加信息。Theplatformwillsetuproutesandareasontheterminalbysendingroundareas,rectangularareas,polygonareasandroutessettingmessages.Theterminalshalldetermineifthe
alarmconditionsaremeet
accordingtotheareaandrouteattributesandshallincludetheadditional
correspondingpositioninformationin
thelocationinformation
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 学期教学课程工作计划
- 主管职能与责任的全面分析计划
- 公关活动策划与实施方案计划
- 邢台学院《美国文学史及选读》2023-2024学年第一学期期末试卷
- 多元文化视角下的幼儿教育探讨计划
- 信阳师范大学《陶艺制作》2023-2024学年第一学期期末试卷
- 信阳师范大学《数据采集实验》2023-2024学年第一学期期末试卷
- 年度工作计划中的流程优化
- 小班班级制度与规章落实计划
- 《机械零件加工》课件模具1103(双元制)机械加工部分考核方案
- 了解学前儿童科学领域核心经验
- 天津市年中考数学题型专项训练:旋转问题含答案名师(完整版)资料
- 临床研究项目无任何经费资助声明模板
- 萃取操作流程
- 信息技术知到章节答案智慧树2023年烟台职业学院
- 2021年班组民主生活活动记录
- 2023福建中考道德与法治答题卡word版可编辑
- 天文学导论智慧树知到答案章节测试2023年中国科学技术大学
- 安徽海华科技集团有限公司年产2万吨甲酚技改及厂区清洁化升级改造项目环评报告书
- 12K101-3 离心通风机安装
- 《湖南省医疗保险“双通道”管理药品使用申请表》
评论
0/150
提交评论