You are on page 1of 9

Skip to Content Sun

Java

Solaris

Communities My SDN Account

search tips

APIs Downloads Products Support Training Participate

SDN Home > Mobility > Reference > Technical Articles and Tips > Article

SMS -- Short but Sweet


Print-friendly Version by Tom Clements February 2003 Short Message Service (SMS) is on the verge of becoming a big-time player in the wireless marketplace. Originally envisioned as a niche technology - as a way to squeeze more capacity out of under-utilized networks and marginally increase carrier profitability in the bargain - SMS has grown in popularity far beyond anyone's initial expectations. While chat has been the driving force behind this upsurge, there's more to SMS than transient teenage talk. In this article, I'll describe the evolution of SMS as a wireless technology and point out both the promise and the pitfalls of SMS for location-based services and wireless enterprise apps. SMS exists as a subset of the larger wireless domains such as GSM, TDMA, GPRS, and CDMA. Being small, it acts like a mouse in the wireless woodwork, peeking its head out periodically to see if the network coast is clear, scurrying quickly across the radio frequency floor, then disappearing back behind the wall of the frequency band when the analog big boys (circuit-switched voice) rumble through. It's so small, the network hardly knows it's there, and that's the beauty of the technology: it's small, cheap, and readily available across-the-air interface. Generation after Generation Because SMS exists within the larger context of second- and third-generation wireless technologies, it's instructive to take a quick look at where these technologies came from, where they're headed, and what they represent. Table 1 lists the key features and technical capabilities of the major carrier-dependent technologies.

Note: 2G and 2.5G networks like TDMA, CDMA, and GSM are inherently hybrid structures, with digital capabilities modulated over an analog network. For a more complete discussion of these technologies, see my article Making Sense of Cellular. Gen Freq 800 MHz range 800 900 1900 MHz range ~ Kbps Technology Emphasis Circuit-switched wireless analog voice. No data. Circuit-switched wireless digital voice and data Better security and higher capacity Remarks Limited system capacity and little protection against fraud More support for data communications SMS enabled

9.6

AMPS

9.6 to 14.4

TDMA CDMA GSM

GPRS 2.5 1900 MHz range 56 to 144 CDMA20001X EDGE

circuit-switched wireless digital voice + new packetMigration path to 3G switched data services. SMS and EMS enabled GPRS is an "always on" air interface to the Internet packet-switched wireless voice and data services, encryption, highspeed multi-media SMS, EMS, MMS enabled True 3G platforms expected 2003--2005

3G

144 vehicle, 384 2 GHz outside, 2 Mbps indoors

WCDMA CDMA2000MX UMTS

Table 1. Generation Gaps As you can see from the Remarks column in Table 1, SMS evolves across these "generation gaps" from short messages to enhanced messages (EMS) to multimedia messages (MMS). EMS and MMS go well beyond the transmission of simple text-based messages and are expected to grow in importance and popularity as wireless networks evolve. Of more immediate concern to us in this article, however, is where SMS came from originally and why it's become so important. Note: This chart omits Bluetooth and 802.11b (aka Wi-Fi) because they're local, ad hoc,

and carrier-independent interfaces. For an imaginative (and somewhat startling) take on how 802.11b may make carrier-dependent networks obsolete, see Nicholas Negroponte's article in the October 2002 issue of Wired magazine. SMS - Where, When, and Why Europeans saw as early as 1982 that a single, transnational wireless telephone system was the only way to ensure seamless roaming of subscribers among countries. While America tried to wrap analog technology in a digital blanket - first TDMA, and later, in the 90s, CDMA - Europe cut to the chase and designed GSM (Global System for Mobile communications) from the ground up as a system for analog voice with modulated digital capabilities built in. SMS took full advantage of these digital data capabilities to send short bursts of textbased messages across the GSM (and later TDMA and CDMA) networks. SMS is consequently characterized by out-of-band packet delivery and low-bandwidth message transfer. It provides a point-to-point (and broadcast-to-point) mechanism for transmitting short messages (up to 160 text characters) from wireless handsets. Interestingly enough, SMS was initially bundled into GSM as a sop to network carriers, promising them a way to increase marginally the carrying capacity of a network. SMS messages traverse the less-populated, higher-frequency bands of the network (the wireless woodwork, to return to my earlier analogy) and therefore allow carriers to make full use of available bandwidth. No one, however, anticipated the huge volumes of calls that would eventually characterize the service. SMS Applications So, who's using SMS today, and why? The first and foremost answer to this question is: kids, for chat. Especially in Europe but increasingly in the United States, SMS is the main medium for short, pithy messages sent by teens and even twenty-somethings to their wireless counterparts: "Meet me backstage after the concert." "C U L8R." "Dude, where's my car!" That's the sort of thing that's interspersed (out-of-band, as they say, since that's the nature of SMS) on the wireless airwaves today. But what about tomorrow? Here are a few of the more sophisticated, enterprise-style applications either already in play or soon to be enabled:

Games People Play

Starting out with portfolios of primitive games like hangman and tic-tac-toe, European companies like Digital Bridges have had huge success creating and distributing titles such as Big Brother and Men in Black II to an ever-expanding group of wireless

consumers. Games are the digital pastime of the new wireless youth.

Notification services

On the corporate front, SMS messages from business applications inform users of voice mail, email, or faxes that await their attention. "You have mail!" is typical: a small message announces the existence of one or more larger ones. Calendar services like reminders of meetings and business appointments fall into this category. Busy working parents may find themselves the recipient of an SMS alert: "You have kids! Don't forget to pick them up at day care tonight."

Email and paging internetwoking

In addition to notifying you of waiting email, some applications promise to integrate SMS and existing email services. For example, SMS could be used to scan streaming email headers to determine whether any messages demand immediate attention. Paging, whose very existence is threatened by the SMS upsurge, may instead find its life extended by integration with SMS services.

Information services

SMS is perfect for applications offering quick bursts of information on a periodic basis, such as weather reports and financial information - stock quotes, for example.

Location-based services

SMS is an ideal medium for many location-based services. Instant advisories of local traffic problems, pointers to films playing nearby, restaurant suggestions, telematicsrelated vehicle alerts ("Your car has moved beyond the specified geo-fence area"), and other short location-related messages may well be killer apps for SMS. SMS Network Components SMS applications are only as good as the networks that transport them. Following are the four crucial nodes that enable the transmission of SMS messages across the air interface. Cell Tower or Base Station A base station is the cellular relay station (or cell tower) that a cell phone talks to when initiating or receiving a wireless call. The base station's primary responsibility is to transmit voice and data traffic between mobile devices and a mobile switching center (described next). All transmissions are managed by the base station, which acts as a kind of clearinghouse for wireless communications.

MSC A Mobile Switching Center (MSC) is the electronic field office of a cellular carrier, a computer-controlled switch for managing automated network operations. An MSC automatically coordinates and controls call setup and routing between mobile phones in a given service area. MSCs are connected to base stations by T1 landlines or microwave channels, and by landlines to the Public Service Telephone Network (PSTN). MSCs maintain individual subscriber records, current status of subscribers, and information on call routing and billing in two subscriber databases called the Home Location Register (HLR) and the Visitor Location Register (VLR). The HLR contains subscriber profiles, while the VLR provides information relevant to roamers. SMSC SMS makes use of a Short Message Service Center (SMSC), which acts as a store-andforward system for relaying short messages. Similar to an MSC, the SMSC guarantees delivery of text messages by the network. Messages are stored in the network until the destination cell phone becomes available, so a user can receive or transmit an SMS message at any time, whether a voice call is in progress or not. GMSC SMSCs communicate with TCP/IP networks via a Gateway Mobile Switching Center (GMSC). A GMSC is an MSC capable of receiving short messages from an SMSC. The GMSC interrogates the Home Location Register (HLR) for subscriber routing information and delivers the short message to the home MSC or roaming MSC of the destination mobile unit. SMS Network Diagram The following diagram shows the various components that make up the SMS cellular network. Notice that gateways provide mobile devices access to the Internet across TCP/IP lines:

Figure 1. SMS Cellular Network SMS Subscriber Services The "short" in Short Message Services extends to the technology, which comprises two basic point-to-point (or broadcast-to-point subscriber services:

Mobile-terminated short messages (MT-SM) Mobile-originated short messages (MO-SM)

MT-SMs are transported from the SMSC to the handset or from the SMSC to other sources on, for example, TCP/IP networks. A report is always returned to the SMSC, either confirming the message delivery or informing the SMSC of the SMS failure, along with the reason for the failure. MO-SMs are transported from the handset to the SMSC, destined for other mobile users or for subscribers on fixed networks. As with MT-SMs, a report is also always returned to the handset. For messages requiring immediate delivery, only one message delivery attempt is made per service request. For messages not requiring immediate delivery, one or more delivery attempts are made until an acknowledgment is received. Currently, MO-SM messages are the weak link in the enterprise SMS value chain. Sending messages to handsets from an SMSC is a relatively staightforward process, but - from an application point of view - receiving messages that originate from a mobile device is an order of magnitude more difficult. Here's why: Not to belabor the obvious but, when you want to contact a person by phone, you key in the person's phone number. The same is true when an application sends an SMS message to a mobile phone. The phone number targets the cell phone for which the

mobile-terminated message is intended. But think about this from the other way around. How does a mobile device contact an application hosted on a server? What's the phone number for the app? The short answer is: There isn't any! To get around this problem, carriers create and allocate short codes. According to Eddie Gonzales, an innovative engineer for an up-and-coming location-based startup called Telcontar, a short code is essentially a carrier-specific (and therefore carrier-dependent) phone number for applications routed through an SMSC. To send mobile-originated SMS messages to an application, your phone or handset must know its carrier-approved short code. The downside of short codes is that developers can easily find themselves locked into the services of a specific carrier. The alternative is to work with a so-called consolidator or SMS broker. SMS Brokers An SMS broker is a kind of virtual network operator for short messages. SMS brokers negotiate deals with carriers, obtain thick pipe connections and provide an interface between SMS messages and the provider best prepared to deliver them to their intended destination. Consolidators help developers get around carrier dependency by cutting deals with multiple carriers. This is an emerging market, however, and there are lots of "holes" in the network as consolidators struggle to ensure SMS developers ubiquitous coverage across disparate carriers. So far, no one consolidator has stepped up to meet this challenge with a sufficiently robust offering; therefore, mobile-originated messaging remains an iffy proposition. Rather than reinvent the wheel, companies supporting wireless applications written in the Java programming language will most likely want to interact with an SMS broker, and call into a custom Java API for sending and receiving messages. Here's a short list of companies who broker SMS: Simplewire, Quios, CMG, Annyway, Diax, Dr. Mantera, Inphomatch, NovelSoft, wapMX.com, MobileSys, Mobileway, and Winbox.com. SMS Message Structure As you might expect, SMS message packets are fairly simple in design. Each packet has the following structure:

You might also like