Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

How SMS are sent from internet/ websites to mobile phones

By Ashutosh Bhatt

Since the invention of the Internet, a new era of convergence of technologies has ushered, bringing close distant technologies which could not have been thought to be related at all. Sure, we can send a mail from our GPRS activated cellular device, but is the reverse true? Can we send a text message from the Internet? The answer is yes and we all have used free online SMS sending websites either on a regular basis or just for testing if it works or is merely faking. The best and the most attractive part is the word ‘free’ and sometimes, ‘unlimited’ too. But have you ever wondered how this is made possible? We’re going to cruise along the path an online SMS would follow in the whole process in the next few pages.

 

 

The first and foremost requirement is a terminal with an internet browser and internet access.  We visit any website offering free SMS service, say www.xyz.com and register for a free account (Some websites allow sending SMS as guest users too). This would be sufficient on the end users part to get started. To send an online SMS, an interface is presented to the user which allows them to enter the destination mobile number and the Text Message. Usually, the service is offered on a national basis through an Aggregator Gateway adopting Local Termination model, i.e. we are allowed to send messages on numbers from the same country only, but a few premium sites may offer international messaging too.
How Online SMS are sent
The life of an online SMS commences in the network jungle the moment you click on the send button. And that is where the user can cross fingers and hope it reaches the intended recipient while waiting for a delivery report. The internet is a quagmire of various protocols which help us to navigate through the World Wide Web. One of the most common formats adopted is the HTTP (Hyper Text Transfer Protocol), which does an effective cross-linking and navigation of various nodes of the webspace. The message entered by the user may travel the web in various protocols like HTTP, HTTPS (HTTP + SSL encryption), XML over HTTP / HTTPS, SMTP (email to SMS), and FTP. A simple HTTP request can be like:
How websites send SMS to mobile phones
How websites send SMS to mobile phones
The block diagram of the message flow is shown above.
 
1.      The website server makes an entry of all the SMS details in its database record before it injects the message into the network. This may include the IP address of the user, user details, the time of login, message sent, destination number, time of sending message etc.
 
2.      For a message to be accepted as a valid SMS in the mobile networks, it must have a few necessary parameters. These are Header (this identifies the type of message to be sent), Service Centre Timestamp, phone number of the sender, protocol identifier, data coding scheme, length of the message and the message itself. The message is input to a SMS gateway which handles the necessary protocol conversion. This protocol conversion is necessary because the internet request coming from a web server is generally in the form of an http request(Hyper Text Transfer Protocol), while the mobile networks make use of the SS7 signalling protocols. Thus, an SMS gateway acts as a bridge between the two network formats. For illustration, the message sent above as an http request may look like this in the CIMD protocol after conversion:
 

How SMS are sent by Websites

 
A SMS Gateway can be an application API written in programming languages like C/C++, Java etc. implemented in the server backend, or it can be a readymade solution provided by the software companies in the form of SaaS (Software as a Service). Websites usually employ Direct-to-SMSC gateway type of gateways to achieve this kind of conversion. Such Gateways are directly connected to the Mobile Operators SMS Centers (SMSC) through internet or via leased lines. It is the SMS centers which store the messages sent by a user and deliver it to the intended recipient when they are available.
 

SMS Gateway

 
3.      All the SMS transactions on the mobile network are handled by SMS Centers (SMSCs) which can work on various protocols. It is necessary to convert the requests into the suitable protocols for successful communication as they do not understand the internet protocols. For example, Nokia uses CIMD protocol, CMG uses EMI while many others use SNPP protocol.
 

SMS centers

 
After going through a succession of steps of internal processing, the local GMSC sends an appeal to the HLR (Home Location Register) and gets the information required to route the message to the receiver. This includes the network information of the recipient so that it can be sent to Main Switching Center of the respective provider via the home MSC. The GMSC is the window of any network to the rest of the mobile networks.
 
4.      The target MSC checks the receiver information using the VLR (Visitor Location Register) and does the necessary authentication and validation. The HLR and VLR are databases that keep entries of all the registered users in their specified coverage areas. The SMS uses a store and forward service. The MSC of the recipient forwards the message to the mobile server unit and stores the message there until received by the recipient or the maximum storage time expires, whichever comes first. If successful, the text is put on the internal memory of the SIM card until it is deleted by the user.
 
5.      The MSC of the recipient then provides a form of acknowledgement to the SMS centre which would be reported back to the original sender as a delivery report if such service has been provided by the website.
 
In this way, a website can be used to send SMS to a valid mobile number.
 

 


Filed Under: How to

 

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • Introduction to Brain Waves & its Types (Part 1/13)
  • Understanding NeuroSky EEG Chip in Detail (Part 2/13)
  • Performing Experiments with Brainwaves (Part 3/13)
  • Amplification of EEG Signal and Interfacing with Arduino (Part 4/13)
  • Controlling Led brightness using Meditation and attention level (Part 5/13)
  • Control Motor’s Speed using Meditation and Attention Level of Brain (Part 6/13)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • What is a loop calibrator? 
  • What are the battery-selection criteria for low-power design?
  • Key factors to optimize power consumption in an embedded device
  • EdgeLock A5000 Secure Authenticator
  • How to interface a DS18B20 temperature sensor with MicroPython’s Onewire driver

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • Measure AC current accurateley (100mA to 10A)
  • 74HC595 creating Fake output
  • What was before microcontrollers ?
  • NEED HELP FOR OP-AMP IN BGR
  • Check undesired substrate mode...

RSS Electro-Tech-Online.com Discussions

  • Control Bare LCD With ATmega328p
  • Need a ducted soldering fan for solder smoke extraction
  • Sla ir li ion
  • Question about ultrasonic mist maker
  • Best way to reduce voltage in higher wattage system?
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering