Concatenated SMS

Concatenated SMS

In the cellular phone industry, mobile phones and their networks sometimes support concatenated short message service (or concatenated SMS) to overcome the limitation on the number of characters that can be sent in a single SMS text message transmission (which is usually 160). Using this method, long messages are split into smaller messages by the sending device and recombined at the receiving end. Each message is then billed separately. When the feature works properly, it is nearly transparent to the user, appearing as a single long text message. Previously, due to incompatibilities between providers and lack of support in some phone models, there was not widespread use of this feature.

In recent years, this feature has been adopted more widely. Not only do many handsets support this feature, but support for the feature also exists amongst SMS gateway providers. The way concatenation works in GSM and UMTS networks is specified in SMS Point to Point specification, 3GPP TS 23.040 [1].

PDU Mode SMS

In technical terms, the concatenated SMS could also be referred to as a PDU Mode SMS. The number of parts that a multi-part or PDU mode SMS message may contain depends technically upon a header message but mostly upon the device sending or receiving the SMS and also upon the service provider.

In theory, the concatenated SMS may consist of up to 255 separate SMS messages that are concatenated in order to create a single long SMS message. Because of the nature of the SMS, the chance that these parts of the SMS message arrive in order is slim and therefore a strategy is implemented in order for the original long message to be reconstructed.

Sending a concatenated SMS using a User Data Header

One way of sending concatenated SMS (CSMS) is to split the message into 153 7-bit character parts (134 octets), and sending each part with a User Data Header (UDH) tacked onto the beginning. A UDH can be used for various purposes and its contents and size varies accordingly, but a UDH for concatenating SMSes look like this:

  • Field 1 (1 octet): Length of User Data Header, in this case 05.
  • Field 2 (1 octet): Information Element Identifier, equal to 00 (Concatenated short messages, 8-bit reference number)
  • Field 3 (1 octet): Length of the header, excluding the first two fields; equal to 03
  • Field 4 (1 octet): 00-FF, CSMS reference number, must be same for all the SMS parts in the CSMS
  • Field 5 (1 octet): 00-FF, total number of parts. The value shall remain constant for every short message which makes up the concatenated short message. If the value is zero then the receiving entity shall ignore the whole information element
  • Field 6 (1 octet): 00-FF, this part's number in the sequence. The value shall start at 1 and increment for every short message which makes up the concatenated short message. If the value is zero or greater than the value in Field 5 then the receiving entity shall ignore the whole information element. [ETSI Specification: GSM 03.40 Version 5.3.0: July 1996]

It is possible to use a 16 bit CSMS reference number in order to reduce the probability that two different concatenated messages are sent with identical reference numbers to a receiver. In this case, the User Data Header shall be:

  • Field 1 (1 octet): Length of User Data Header (UDL), in this case 6.
  • Field 2 (1 octet): Information Element Identifier, equal to 08 (Concatenated short messages, 16-bit reference number)
  • Field 3 (1 octet): Length of the header, excluding the first two fields; equal to 04
  • Field 4 (2 octets): 0000-FFFF, CSMS reference number, must be same for all the SMS parts in the CSMS
  • Field 5 (1 octet): 00-FF, total number of parts. The value shall remain constant for every short message which makes up the concatenated short message. If the value is zero then the receiving entity shall ignore the whole information element
  • Field 6 (1 octet): 00-FF, this part's number in the sequence. The value shall start at 1 and increment for every short message which makes up the concatenated short message. If the value is zero or greater than the value in Field 5 then the receiving entity shall ignore the whole information element. [ETSI Specification: GSM 03.40 Version 5.3.0: July 1996]

Example of the UDH for an sms split into two parts:

05 00 03 CC 02 01 [ message ] 
05 00 03 CC 02 02 [ message ]

Note. if a UDH is present and the data encoding is the default 7-bit alphabet, the user data must be 7-bit word aligned after the UDH[2]. This means up to 6 bits of zeros need to be inserted at the start of the [message].

E.g. with a UDH containing a single part,

05 00 03 CC 01 01

the UDH is a total of (number of octets x bit size of octets) 6 x 8 = 48 bits long. Therefore a single bit of padding has to be prepended to the message. The UDH is therefore (bits for UDH / bits per septet) = (48 + 1)/7 = 7 septets in length.

With a message of "hello world", the [message] is encoded as

D0 65 36 FB 0D BA BF E5 6C 32

whereas without padding, the [message] would be

E8 32 9B FD 06 DD DF 72 36 19

and the UDL is 7 (header septets) + 11 (message septets) = 18 septets.

References

  1. ^ SMS Point to Point specification, 3GPP TS 23.040 [1]
  2. ^ http://mobiletidings.com/2009/02/18/combining-sms-messages/

Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • SMS — This article is about the communication protocol technology. For information about text messaging, see Text messaging. For other uses, see SMS (disambiguation). An SMS message being received …   Wikipedia

  • Short Message Service — (engl. für „Kurznachrichtendienst“, Abk. SMS) ist ein Telekommunikationsdienst zur Übertragung von Textnachrichten. Er wurde zuerst für den GSM Mobilfunk entwickelt und ist nun in verschiedenen Ländern auch im Festnetz als Festnetz SMS verfügbar …   Deutsch Wikipedia

  • Smart Messaging — Graphical Smart MessagesPicture MessageA monchrome picture that can be sent between handsets as a series of SMS messages. The typical size of a picture message is 72x28 pixels, which is sent as three separate SMS messages.Most Monochrome Nokia… …   Wikipedia

  • Concatenation (disambiguation) — Concatenation may refer to: Concatenation, a computer programming operation that joins strings together Concatenation (mathematics), a mathematical operation that combines two vectors Concatenated SMS, a way of combining multiple SMS text… …   Wikipedia

  • OTA bitmap — is a specification designed by Nokia for black and white images for mobile phones. Contents 1 Introduction 2 Basic format description 3 Format copyright 4 The data header …   Wikipedia

  • Cell Broadcast — (CB) messaging is a mobile technology feature defined by the ETSI’s GSM committee and is part of the GSM standard. It is also known as Short Message Service Cell Broadcast (SMS CB).Cell Broadcast is designed for simultaneous delivery of messages… …   Wikipedia

  • Hayes command set — The Hayes command set is a specific command language originally developed for the Hayes Smartmodem 300 baud modem in 1981. The command set consists of a series of short text strings which combine together to produce complete commands for… …   Wikipedia

  • Tag (metadata) — For other uses, see Tag. A tag cloud with terms related to Web 2.0 In online computer systems terminology, a tag is a non hierarchical keyword or term assigned to a piece of information (such as an Internet bookmark, digital image, or computer… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”