Ecall Communications Test Bench - Structure and Content of MSD, Fds and Mds Messages 1 Ecall Test Bench
Ecall Communications Test Bench - Structure and Content of MSD, Fds and Mds Messages 1 Ecall Test Bench
Ecall Communications Test Bench - Structure and Content of MSD, Fds and Mds Messages 1 Ecall Test Bench
eCall communications test bench system simulates the operation of in-vehicle terminal,
service centre and PSAP (Figure 1).
FDS Service
XML Centre
In-vehicle
terminal DT
M
MD F
S
PSAP
M SD
eCall
test bench
Control and results
http(s)
Service centre
1
1.2 Communication framework
The data content and format of eCall messages is based on eSafety forum1 eCall DG
recommendations for eCall Minimum Set of Data (MSD): Recommendations for the
introduction of the pan-European eCall (published April 2006) [1].
In addition to the recommended MSD format, the test bench supports also two other
non-standard special-purpose formats (called FDS and MDS), which formats are based
on the eCall prestudy in Finland (within AINO programme2) and previous specifications
and drafts by E-MERGE (EU project)3, Telematics Forum (GTP 1.0)4 and ETSI (OCG
EMTEL)5.
In-vehicle terminal sends message containing the eCall Minimum Set of Data (MSD) to
PSAP.
With the eCall test service, the data transmission is accomplished via IP-network using
the HTTP POST method for testing purposes.
MDS format
In-vehicle terminal sends message containing the minimum data set (MDS) to PSAP.
The data transmission can be accomplished either using voice channel to send DTMF
codes or via IP-network (e.g. GPRS) using the HTTP POST method.
The length of binary encoded MDS message is 19 bytes. Using voice channel (phone
call) the message is coded as DTMF signals. One byte produces two DTMF marks, so
the length of the message is 38 DTMF marks.
FDS format
In-vehicle terminal sends full data set (FDS) message to service centre. The message is
in XML format and is transmitted over IP-network (GPRS) using the HTTP POST
method. The service centre will check the validity of the structure and content of the
message using XML schema [http://www.w3.org/XML/Schema].
1
http://ec.europa.eu/information_society/activities/esafety/forum/index_en.htm
2
http://www.aino.info/indexe.html
3
http://www.gstforum.org/en/subprojects/rescue/about_gst_rescue/introduction/e-merge.htm
4
http://www.ertico.com/en/activities/safety/telematics_forum.htm
5
http://www.emtel.etsi.org/
2
Service centre forwards received valid FDS messages to PSAP. Further, the service
centre can provide additional information or fill missing information. (For example, the
centre may include a database containing information about the vehicle.) The additional
information can be sent as separate messages (FDS+) following the original FDS
message. All the messages are sent using HTTP POST.
3
2 THE STRUCTURE AND CONTENT OF THE
MESSAGES
The table column Validation shows what rules are used by the eCall test bench to
validate the values of input data. The MSD message is encoded in 140 bytes (byte1
byte140) for data transmission.
4
The following subsections describe the encoding of the field values of the message.
(Note that all the encoding rules used are not yet completely specified in the
recommendation [1] and are currently specific to the eCall test bench.)
2.1.1 Control
The control field is encoded into one byte (byte1). The bits are described in Table 1.
(bit0 = 0x1, bit1 = 0x2, , bit7 = 0x80)
It is encoded into 20 bytes (byte2-byte21). Each byte corresponds to one character. The
last three bytes (byte19-byte21) correspond to blank characters.
Time stamp is represented as the difference (in seconds) between the current time and
midnight, January 1, 1970 UTC. It is encoded as a four byte integer (byte22 byte25;
most significant byte first).
The position latitude and longitude values are signed. The allowed value ranges are
shown in Table 1.
The latitude is encoded into four byte integer (byte26-byte29; most significant byte first).
The longitude is encoded into four byte integer (byte30-byte33; most significant byte
first).
The direction represents the direction of travel in degrees (based on last three positions).
The direction value is between 0 and 360 degrees. It is encoded into one byte (byte34) by
rounding the direction value into range 0 to 255 as follows: the byte value is the nearest
integer of (255.0 * direction)/ 360.0).
The service provider field is optional. If the value is provided, IPV4 format should be
followed.
5
The IPV4 address (a.b.c.d; where a,b,c and d is between 0 and 255) is encoded into four
bytes (byte35-byte38) as follows. The encoded result is in network byte order: the
highest order byte of the address is in the position of byte35.
If the service provider address is not provided, the four bytes corresponds to blank
characters (i.e., the bytes has the numeric value 32).
The optional data field is optional. The field is encoded as 102 bytes (byte39-byte140).
The input data string is encoded as follows. Each character of the string is converted
into one byte (starting from the byte39). The remaining bytes are assigned the value 32
(blank character).
6
2.2 FDS message (Finnish proposal, June 2005)
FDS message includes the following information:
7
Position change setting/location_change element
Message source incident/source element X 2.2.4
Accident recognition incident/recognition element
Acciddent intensity incident/intensity element
Number of passagers incident/passengers element
Accident further data incident/data element
Other information info element
In the table, the required elements of the message in XML format are shown in italics
and marked with (X) in the last column. The default values of attributes are shown in
italics.
The structure and semantics of the message is described by an XML schema that is
located in the following public address:
http://www.ecall.fi/schemas/fds_schema.xsd
<fds>
<info>Additional information</info>
</fds>
http://www.ecall.fi/examples/fds_example.xml
The type of the message is "FDS, which is coded in XML format ("type" element) as
the number "11".
8
The current message version is "1.0", which is coded in XML representation as the
number "0".
<header>
<type>11</type>
<version>0</version>
</header>
Message identifier (MSID) is MSISDN, IMEI or IMSI (at least one should be given in
the message). The values are represented as follows [3GPP TS 23.003 V6.5.0 (2004-
12)]:
+ 1 digit
CC (Country Code):
+ SN (Subscriber Number):
9
MCC (Mobile Country Code): 3 digits
An example:
<ivs>
<vehicle>
<type>11</type>
<cargo>0</cargo>
</vehicle>
<terminal>
<msid>
<msisdn>3580123456789</msisdn>
<imei>012345768901234</imei>
</msid>
</terminal>
</ivs>
The attribute "utc_off" of the time element is optional. Its default value is
utc_off=0.
<setting>
<time utc_off="+0200">20050613010423</time>
<current_location>
<coord>
<latitude>60.123456N</latitude>
<longitude>24.9876543E</longitude>
</coord>
</current_location>
<direction>130</direction>
<velocity>178.3</velocity>
</setting>
10
2.2.4 Incident information
Accident information include: message source and recognition, the number of
passengers and other additional information. These are organised as subelements
of the element "incident".
The values of message source ("source" element) belong to the following set:
"manual", "rolled over", "airbag", "crash" and "moved"
<incident>
<source>
<item>rolled over</item>
<item>airbag</item>
</source>
<passenger>4</passenger>
</incident>
The message is encoded tightly to 19 bytes for sending in DTMF format within phone
call.
Using DTMF codes it is possible to send only numbers 0-9, letters A-D, and marks #
and *. The conversion of binary data to DTMF is performed by translating the 19 bytes
into hexadecimal numbers and replacing E and F with # and *, respectively.
(For example, the byte queue "243 14 6" is coded as hexadecimal numbers as follows:
"F3 0E 06" and after the replacement the resulting DTMF sequence "*30#06".)
11
2.3.1 MDS header
The type of the message is "MDS" which is coded as 5-bit binary number "01011".
The current version of the message is "1.0" which is coded as 3-bit binary number
"000".
Source Bit
"manual" 1
"rolled over" 2
"airbag" 3
"crash" 4
"moved" 5
The MSID field contains one of the following: IMSI, MSISDN or IMEI. Their values
are represented as shown in Section 2.1.2.
The MSID identifier (number) will be translated into 7-byte binary number:
Type code
IMEI 1
MSISDN 2
IMSI 3
Type code is included into the first byte (b0) using 5 bits (bit3-bit7).
12
Example:
Input: IMEI identifier "001234567890123".
=> in binary format:
00000000 00000001 00011111 01110001 11111011 00000100 11001011
where bytes b0 b1 b2 b3 b4 b5 and b6.
Input:
Example:
latitude = 60.123456
longitude = -24.123456
(-24.123456+180)*(2^24-1)/360 = 1124234
=> 00010001 00100111 10001010
13
References
1. eSafety Forum eCall DG: Recommendations for the introduction of the pan-
European eCall (published April 2006).
14