HOME   Cart(0)   Quotation   About-Us Tax PDFs Standard-List Powered by Google www.ChineseStandard.net Database: 189760 (7 Dec 2024)

JT/T 808-2011 (JT/T 808-2019 Newer Version) PDF English


JT/T 808-2011 (JT/T808-2011, JTT 808-2011, JTT808-2011)
Standard IDContents [version]USDSTEP2[PDF] delivered inName of Chinese StandardStatus
JT/T 808-2019English605 Add to Cart 0-9 seconds. Auto-delivery. [Including 2021XG] GNSS for operating vehicles. General specifications for vehicle terminal communication protocol and data format Valid
JT/T 808-2011English150 Add to Cart 0-9 seconds. Auto-delivery. GNSS system for operational vehicles. General specifications for vehicle terminal communication protocol and data format Obsolete
Newer version: JT/T 808-2019     Standards related to (historical): JT/T 808-2019
PDF Preview

JT/T 808-2011: PDF in English (JTT 808-2011)

JT/T 808-2011 JT TRANSPORT INDUSTRY STANDARD OF THE PEOPLE’S REPUBLIC OF CHINA ICS 03.220.20; 35.240.60 M 53 Record No.: GNSS System for Operational Vehicles - General Specifications for Vehicle Terminal Communication protocol and Data Format ISSUED ON: MAY 23, 2011 IMPLEMENTED ON: AUGUST 01, 2011 Issued by: Ministry of Transport of the People’s Republic of China Table of Contents Foreword ... 3 1 Scope ... 4 2 Normative References ... 4 3 Terms, Definitions and Abbreviations ... 4 4 Protocol Basis ... 6 5 Communication Connection ... 9 6 Message Processing ... 10 7 Protocol Classification and Description ... 11 8 Data Format ... 17 Appendix A (Normative) Communication Protocol between Vehicle Terminal and External Equipment ... 45 Appendix B (Normative) Message Contrast List ... 49 GNSS System for Operational Vehicles - General Specifications for Vehicle Terminal Communication protocol and Data Format 1 Scope This Standard specifies the communication protocol and data format BETWEEN vehicle terminal (hereinafter referred to as terminal) of the GNSS system for operational vehicles AND supervising/monitoring platform (hereinafter referred to as platform); including protocol basis, communication connection, message processing, protocol classification/description and data format. This Standard is applicable to the communication BETWEEN the vehicle terminal of GNSS system for operational vehicle AND the platform. 2 Normative References The following documents are essential to the application of this document. For the dated documents, only the versions with the dates indicated are applicable to this document; for the undated documents, only the latest version (including all the amendments) are applicable to this document. GB/T 2260 Codes for the Administrative Divisions of the Peoples Republic of China GB/T 19056 Vehicle Traveling Data Recorder JT/T 415-2006 Electronic Government Platform for Administration of Road Transportation - Cataloguing and Coding Rules JT/T 794 GNSS System for Operating Vehicles - Technical Specification for Vehicle Terminals 3 Terms, Definitions and Abbreviations 3.1 Terms and definitions For the purpose of this document, the following terms and definitions apply. 3.1.1 Abnormal data communication link The wireless communication link is disconnected or temporarily suspended (such as during a call). 3.1.2 Register The terminal sends a message to the platform to inform it that it is installed on a certain vehicle. 3.1.3 Deregister The terminal sends a message to the platform to inform it that it is removed from the vehicle where it is installed. 3.1.4 Authentication When the terminal connects to the platform, it sends a message to the platform to enable the platform to verify its identity. 3.1.5 Location reporting strategy Fixed-time and fixed distance report; or a combination of both. 3.1.6 Location reporting program The rules for the periodic reporting interval are determined according to the relevant conditions. 3.1.7 Additional points report while turning The terminal sends a location information and report message when it is determined that the vehicle is turning. The sampling frequency is no less than 1Hz; the azimuth change rate of the vehicle shall be no less than 15°/s, and last for at least 3s. 3.1.8 Answering strategy The rules for the terminal to answer to the call automatically or manually. 3.1.9 SMS text alarm When the terminal alarms, it sends the text message in SMS mode. 3.1.10 Event item The event item is preset by the platform on the terminal; it consists of an even code --- A terminal with the same identity establishes a new connection; indicating that the original connection has been disconnected; --- The message sent by the terminal, such as the terminal heartbeat, has not been received within a certain period of time. The terminal determines the method of disconnecting the TCP connection: --- According to the TCP protocol, judge that the platform is actively disconnected; --- Data communication link is disconnected; --- The data communication is normal; no response has been received after the number of retransmissions has been reached. 6 Message Processing 6.1 TCP and UDP message processing 6.1.1 Message actively sent by the platform All the messages actively sent by the platform are required to be responded by the terminal; the response can be divided into general response and special response, which shall be determined by each specific functional protocol. After the sender waits for the response to time out, resend the message. The response timeout period and the number of retransmissions shall be specified by the platform parameters; the calculation formula of the response timeout period after each retransmission is shown in Formula (1): Where: TN+1 – response timeout period after each retransmission; TN – previous response timeout period; N – the number of retransmissions. 6.1.2 Message actively sent by the terminal 6.1.2.1 Normal data communication link When the data communication link is normal, all the messages actively sent by the terminal are required to be responded; the response can be divided into general correspondence between the terminal and the vehicle. If the terminal chooses to send the terminal registration/deregistration messages by means of SMS, platform shall send a terminal registration response to reply to the terminal registration through the SMS mode; send the platform general response to reply the terminal deregistration through the SMS mode. 7.2.2 Terminal authentication After the terminal is registered, it should be authenticated immediately after establishing a connection with the platform. The terminal shall not send other messages before the authentication succeeds. The terminal authenticates by sending a terminal authentication message, and the platform replies to the platform general response message. 7.2.3 Setting/Querying terminal parameters The platform sets the terminal parameters by sending a setting terminal parameter message, and the terminal replies to the terminal general response message. The platform queries the terminal parameters by sending a query terminal parameter message, and the terminal replies to the query terminal parameter response message. Terminals in different network formats should support some unique parameters of their respective networks. 7.2.4 Terminal control The platform controls the terminal by sending a terminal control message, and the terminal replies to the terminal general response message. 7.3 Location, Alarm Protocol 7.3.1 Location information report The terminal periodically sends a location information report message according to the parameter setting. According to the parameter control, the terminal can send a location information report message when it is determined that the vehicle is turning. 7.3.2 Location information query The platform sends a location information query message to query the location information of the specified vehicle terminal; the terminal replies to the location information query response message. 7.3.3 Temporary location tracking control The platform sets message through sending information on-demand menu; send the information on-demand item list to the terminal for saving; the driver can select the on- demand/cancel corresponding information service through the menu; after selection, the terminal sends an information on-demand/cancel message to the platform. After the information is on-demand, it shall receive information service messages from the platform, such as news and weather forecasts, etc. The information on-demand menu setting message requires the terminal to reply to the terminal general response message. For the information on-demand/cancel message, it requires the platform to reply to the platform general response message. For the information service message, it requires the terminal to reply to the terminal general response message. 7.5 Telephone protocol 7.5.1 Telephone callback The platform sends a call back message, asks the terminal to call back the phone according to the specified phone number, and specifies whether to press the monitor mode (the terminal does not turn on the speaker). For the telephone callback message, it requires the terminal to reply to the terminal general response message. 7.5.2 Setting the telephone book The platform sets a phone book to the terminal by sending a set phone book message, and the message requires the terminal to reply to the terminal universal response message. 7.6 Vehicle control protocol The platform requests the terminal to control the vehicle according to the specified operation by sending a vehicle control message. The terminal responds to the terminal general response message immediately upon receipt. The terminal then controls the vehicle and returns a vehicle control response message based on the result. 7.7 Vehicle administration protocol The platform sets the area and route for the terminal by sending a message such as setting a circular area, setting a rectangular area, setting a polygonal area, and setting a route. The terminal judges whether the alarm condition is met according to the area and route attributes, and the alarm includes an overspeed alarm, an entry/exit data. Attach the location information report message body during shooting in the front of each complete multimedia data, which is called location multimedia data. The platform determines the receiving timeout period according to the total number of packets. After receiving all the data packets or reaching the timeout period, the platform sends a multimedia data upload response message to the terminal, and the message confirms that all the data packets are received or the terminal is required to retransmit the specified data packet. 7.9.3 Camera shoots immediately The platform issues a shooting command to the terminal by sending the camera immediately-shooting command message; such message needs the terminal to reply to the terminal general response message. If real-time upload is specified, the camera image/video is uploaded after the terminal captures, otherwise the image/video is stored. 7.9.4 Recording start The platform issues a recording command to the terminal through sending recording start command; such message needs the terminal to reply to the terminal general response message. If real-time upload is specified, the terminal uploads audio data after recording, otherwise the audio data is stored. 7.9.5 Retrieving terminals storage multimedia data and extraction The platform obtains a situation in which the terminal stores the multimedia data by transmitting the stored multimedia data retrieval message, and the message needs the terminal to reply to the stored multimedia data retrieval response message. According to the search result, the platform may send the stored multimedia data upload message, and request the terminal to upload the specified multimedia data, and the message needs the terminal to reply to the terminal universal response message. 7.10 Conventional data transmission The message that is not defined in the protocol but needs to be transmitted in actual use can use the data uplink transparent transmission message and the data downlink transparent transmission message to perform uplink and downlink data exchange. The terminal can compress the longer message by using the GZIP compression algorithm and upload the message by using the data compression report message. 7.11 Encryption protocol If encrypted communication is required between the platform and the terminal, the RSA 0×0012 STRING Primary server wireless communication dial-up password 0×0013 STRING Primary server address, IP or domain name 0×0014 STRING Backup server APN, wireless communication dial-up access point 0×0015 STRING Backup server wireless communication dial-up username 0×0016 STRING Backup server wireless communication dial-up password 0×0017 STRING Backup server address, IP or domain name 0×0018 DWORD Server TCP port 0×0019 DWORD Server UDP port 0×001A~0×001F Reserved 0×0020 DWORD Location reporting strategy, 0: fixed-time report; 1: fixed-distance report; 2: both fixed-time and fixed-distance report 0×0021 DWORD Location reporting program. 0: according to ACC state; 1: according to log-in state and ACC state, firstly judge the log-in state, if it is logged-in, the abide by the ACC state 0×0022 DWORD The driver is not logged in to report the time interval, in second (s) >0 0×0023~0×0026 DWORD Reserved 0×0027 DWORD Report the time interval during sleep, in second (s) >0 0×0028 DWORD Report the time interval during the emergency alarm, in second (s) >0 Table 11 – Continued Parameter ID Data type Descriptions and requirements 0×0029 DWORD Default time reporting interval, in second (s), >0 0×002A~0×002B DWORD Reserved 0×002C DWORD Default distance reporting interval, in meter (m), >0 0×002D DWORD Reporting distance interval with driver not logged in, in meter (m), >0 0×002E DWORD Reporting distance interval during sleeping, in meter (m), >0 0×002F DWORD Reporting distance interval during emergency alarm, in meter (m), >0 0×0030 DWORD Angle of additional points report while turning, < 180 0×0031~0×003F Reserved 0×0040 STRING Monitoring platform telephone number 0×0041 STRING Reset telephone number; such telephone number can be used to dial to the terminal phone and reset the terminal 0×0042 STRING Restore the exit-factory default telephone number; such telephone number can be used to dial to the terminal phone and restore the exit- factory settings 0×0043 STRING Monitoring platform SMS telephone number 0×0044 STRING Receive terminal SMS text alarm number 0×0045 DWORD Terminal call answering strategy, 0: auto answer; 1: auto answer during ACC ON, manual answer during ACC OFF 0×0046 DWORD Maximum talk time each time, in second (s); 0 indicates not allowed to talk; 0×FFFFFFFF indicates not limited 0×0047 DWORD Maximum talk time each month, in second (s); 0 indicates not allowed to talk; 0×FFFFFFFF indicates not limited format can refer to Table 15 separated by the half-width semicolon. Control commands are as follows: “connection control; monitoring platform authentication code; dial-up point name; dial-up username; dial-up password; address; TCP port; UDP port; time limit for connecting to the specified server,” if certain parameter has no value, empty it; if the connection control value is “1”, then there is no subsequent parameter 3 No Terminal shutdown 4 No Terminal reset 5 No Terminal restores the exit-factory setting 6 No Turn off data communication 7 No Turn off all wireless communication Table 15 – Command Parameter Format Field Data type Descriptions and requirements Connection control BYTE 0: switch to the specified monitoring platform server; enter into emergency state after connecting to the server; in this state, only the monitoring platform that issues the control command can send control commands including SMS; 1: switch to the original default monitoring platform server; and restore the normal state Dial-up point name STRING Generally, it is a server APN, a wireless communication dial-up access point; If the network standard is CDMA, the value is a PPP connection dialing number Dial-up username STRING Server wireless communication dial-up username Dial-up password STRING Server wireless communication dial-up password Address STRING Server address, IP or domain name TCP port WORD Server TCP port UDP port WORD Server UDP port Manufacturer ID BYTE [5] Terminal manufacturer code Monitoring platform authentication code STRING Authentication code issued by the monitoring platform is only used for authentication after terminal is connected to the monitoring platform; the original authentication code is used for the terminal to connect back to the original monitoring platform Hardware version STRING Hardware version number of the terminal, self-defined by the manufacturer Firmware version STRING Firmware version number of the terminal, self-defined by the manufacturer URL address STRING Complete URL address Time limit for connecting to the specified server WORD If the unit is minute (min), the value is not 0, it indicates the terminal shall connect back to the original address before the expiration date after the terminal receiving the command of upgrading or connecting to specified server. If the value is 0, it indicates always connecting to the specified server 8.12 location information reporting Message ID: 0×0200. 1: emergency alarm, trigger after triggering the alarm switch Clear after receiving the response 1 1: overspeed alarm Maintain the flag until the alarm condition is released 2 1: fatigue driving Maintain the flag until the alarm condition is released 3 1: early-warning Clear after receiving a response 4 1: GNSS module failure Maintain the flag until the alarm condition is released 5 1: GNSS antenna is not connected or is cut Maintain the flag until the alarm condition is released 6 1: GNSS antenna short-circuit Maintain the flag until the alarm condition is released 7 1: Terminal mains undervoltage Maintain the flag until the alarm condition is released 8 1: Terminal mains power-fail Maintain the flag until the alarm condition is released 9 1: Terminal LCD or display failure Maintain the flag until the alarm condition is released 10 1: TTS module failure Maintain the flag until the alarm condition is released 11 1: camera failure Maintain the flag until the alarm condition is released 12~17 Reserved 18 1: accumulated driving timeout on the current day Maintain the flag until the alarm condition is released 19 1: timeout parking Maintain the flag until the alarm condition is released 20 1: access area Clear after receiving the response 21 1: access route Clear after receiving the response 22 1: Insufficient/excessive driving time on the road- section Clear after receiving the response 23 1: Route deviation alarm Maintain the flag until the alarm condition is released 24 1: vehicle VSS failure Maintain the flag until the alarm condition is released 25 1: abnormal vehicle oil quantity Maintain the flag until the alarm condition is released 26 1: theft of the vehicle (via vehicle burglar alarm) Maintain the flag until the alarm condition is released 27 1: illegal ignition of vehicle Clear after receiving the response 28 1: illegal displacement of vehicle Clear after receiving the response 29 1: collision rollover alarm Maintain the flag until the alarm condition is released 30~31 Reserved The format for location additional information item can refer to Table 19. The data format for setting circular area message body can refer to Table 45. NOTE: this message protocol supports the cycle time range; if the daily limit of 8:30 – 18:00 is required; the start/end time is set to: 00-00-00-08-30-00/00-00-00-18-00-00, and so on. Table 45 – Data Format for Setting Circular Area Message Body Start byte Field Data type Descriptions and requirements 0 Setting attribute BYTE 0: update area; 1: add area; 2: modify area 1 The total number of areas BYTE 2 Area item Data format for circular area item content can refer to Table 46 Table 46 – Data Format for Circular Area Item Content Start byte Field Data type Descriptions and requirements 0 Area ID DWORD 4 Area attribute WORD Definition of area attribute can refer to Table 47 6 Latitude of central point DWORD Latitude value with degree as unit is multiplied by 106; accurate to one millionth of a degree 10 Longitude of central point DWORD Longitude value with degree as unit is multiplied by 106; accurate to the one millionth of a degree 14 Radius DWORD In meter (m); the road-section is from such reflection point to the next reflection 18 Start time BCD [6] YY-MM-DD-hh-mm-ss; if the bit 0 of the area attribute is 0, there is no such field 24 End time BCD [6] YY-MM-DD-hh-mm-ss; if the bit 0 of the area attribute is 0, there is no such field 30 Maximum speed WORD (km/h); if the bit 1 of the area attribute is 0, there is no such field 32 Overspeed duration BYTE In second (s) (similar description is modified as before); if the bit 1 of the area attribute is 0, there is no such field Table 47 – Definition of Area Attribute Bit Flag Bit Flag 0 1: as per time 5 1: alarm to platform when leaving area 1 1: speed limit 6 0: north-latitude; 1: south-latitude 2 1: alarm to driver when entering into area 7 0: east-longitude; 1: west-longitude 3 1: alarm to platform when entering into area 8~15 Reserved 4 1: alarm to driver when leaving area 3 1: alarm to platform when entering route Table 57 – Data Format for Route Inflection Point Item Start byte Field Data type Descriptions and requirements 0 Inflection point ID DWORD 4 Road-section ID DWORD 8 Inflection point latitude DWORD The latitude value with degree as unit is multiplied by 106; accurate to one millionth of a degree 12 Inflection point longitude DWORD The longitude value with degree as unit is multiplied by 106; accurate to one millionth of a degree 16 Width of road-section BYTE In meter (m); road-section indicates from one inflection point to the next one 17 Attribute of road-section BYTE Data format for road-section attribute can refer to Table 58 18 Threshold for too- long driving on road-section WORD In second (s); if the bit 0 of road-section attribute is 0; there is no such filed 20 Threshold for insufficient driving on road-section WORD In second (s); if the bit 0 of road-section attribute is 0; there is no such filed 22 Maximum speed on road-section WORD In kilometer/hour (km/h); if the bit 1 of road-section attribute is 0, there is no such field 24 Overspeed duration time on road-section BYTE In second (s); if the bit 1 of road-section attribute is 0; there is no such filed Table 58 – Data Format for Road-section Attribute Bit Flag Bit Flag 0 1: driving time 3 0: east-longitude; 1: west-longitude 1 1: speed limit 4~7 Reserved 2 0: north-latitude; 1: south-latitude 8.35 Deleting route Message ID: 0×8607. The data format for deleting route message body can refer to Table 59. Table 59 -- Data Format for Deleting Route Message Body Start byte Field Data type Descriptions and requirements 0 The number of routes BYTE The number of areas contained in this message is less than 125; if it exceeds 125, it is suggested to use multiple messages; 0 indicates deleting all rectangular areas 0 Channel ID BYTE >0 1 Shooting command WORD 0 indicates stop shooting; 0×FFFF indicates video recording; others indicate the number of photos 3 Photo interval/video recording time WORD In second (s); 0 indicates taking photo at the minimum interval or always video recording 5 Save flag BYTE 1: save; 0: upload in real time 6 Resolution a BYTE 7 Quality of image/video BYTE 1~10, 1 indicates minimum quality loss; 10 indicates largest compression ratio 8 Brightness BYTE 0~255 9 Contrast BYTE 0~127 10 Saturation BYTE 0~127 11 Color BYTE 0~255 a If the terminal does not support the resolution required by the system, take the closest resolution to upload it. 8.45 Storing multimedia data retrieval Message ID: 0×8802. The data format for storing multimedia data retrieval message body can refer to Table 69. NOTE: If the time range is not abided by, the start/end time shall be set 00-00-00-00-00-00. Table 69 -- Data Format for Storing Multimedia Data Retrieval Message Body Start byte Field Data type Descriptions and requirements 0 Multimedia type BYTE 0: image; 1: audio; 2: video 1 Channel ID BYTE 0 indicates all channels that retrieve this media type 2 Event item encoding BYTE 0: platform issues command; 1: fixed-time action 2: trigger robbery alarm; 3: trigger collision rollover alarm; others reserved 3 Start time BCD [6] YY-MM-DD-hh-mm-ss 9 End time BCD [6] YY-MM-DD-hh-mm-ss 8.46 Storing multimedia data retrieval response Message ID: 0×0802. Message ID: 0×8804. The data format for sound recording start command message body can refer to Table 73. Table 73 – Data Format for Sound Recording Start Command Message Body Start byte Field Data type Descriptions and requirements 0 Sound recording command BYTE 0: stop recording; 0×01 start recording 1 Sound recording time WORD In second (s); 0 indicates always sound recording 3 Storage flag BYTE 0: upload in real time; 1: storage 4 Audio sampling rate BYTE 0: 8K; 1: 11K; 2: 23K, 3: 32K; others reserved 8.49 Data downlink passthrough Message ID: 0×8900. The data format for data downlink passthrough message body can refer to Table 74. Table 74 -- Data Format for Data Downlink Passthrough Message Body Start byte Field Data type Descriptions and requirements 0 Passthrough message type BYTE 1 Passthrough message content 8.50 Data uplink passthrough Message ID: 0×0900. The data format for data uplink passthrough message body can refer to Table 75. Table 75 – Data Format for Data Uplink Passthrough Message Body Start byte Field Data type Descriptions and requirements 0 Passthrough message type BYTE 1 Passthrough message content 8.51 Data compression report Message ID: 0×0901. The data format for data compression report message body can refer to Table 76. Table 76 -- Data Format for Data Compression Report Message Body Start byte Field Data type Descriptions and requirements 0 Length of compression message DWORD When receiving a message: escaping and restoring → verifying check code → parsing message. Example 1: Send a data package with contents of 0×30 0×7e 0×08 0×7d 0×55; after encapsulating, it becomes: 0×7e 0×30 0×7d 0×02 0×08 0×7d 0×01 0×55 0×7e. b) Check code: the accumulated-sum from the manufacturer-number to the user data; then take the lower eight bits from the accumulated-sum as the check code. Example 2: The accumulated-sum is 0×1388; the check code is 0×88. c) Version No.: identify the communication protocol version. d) Manufacturer No.: Manufacturer No. of the external device. e) External type No.: each type of external accessory has a unique type No., which is used for the external accessory interface driver of the host to distinguish the data sent from which external; the external accessory type No. can refer to Table A.2. f) Command type: information type for various data interaction between the external accessory and the host; the command type is divided into general and special protocols. The general protocol mainly includes the basic, necessary and common information interaction type between the device and the host; while the special protocol defines the special information interaction type between various external accessories and the host. Command type can refer to Table A.3. g) User data: the content of the data interacted by the external accessory and the host, which is customized by the special business functions except for the above parts. h) The data of the communication frame is expressed by the big-endian. Table A.2 – External Type Number-List External accessory type S/N External accessory type S/N Industry information terminal 0×01 Anti-theft alarm 0×06 Dispatch display 0×02 Interface extender 0×07 Vehicle navigation display 0×03 Load detector 0×08 Oil quantity detector 0×04 Passenger flow detector 0×09 Acceleration detector 0×05 Universal sensor 0×0A ......
 
Source: Above contents are excerpted from the PDF -- translated/reviewed by: www.chinesestandard.net / Wayne Zheng et al.