Research and design of short message service system based on arm and gprs

4
Research and Design of Short Message Service System Based on ARM and GPRS Rui Yang 1 1 School of Electronic Engineering Huaihai Institute of Technology Lian yungang; China [email protected] Hong Cai 2 ,Ming zhang 1 2 School of Computer Engineering Huaihai Institute of Technology Lian yungang; China [email protected] Abstract—In recent years, data service has been gaining popularity in embedded system and general packet radio service (GPRS). In this paper, we first analysis the embedded system theory, short message service (SMS),and combine with the latest computer technology, network technology, communication technology and GPRS technology, then propose an method to design the short message service system based on ARM and GPRS. We put forward the system principle block diagram and the hardware circuit of GPRS. At the same time, we give the software process flow and specific algorithm, namely, GPRS initialization module, port 1 receiving interruption module, GPRS communicate with S3C2410’s port 1 module and sending message module. This proposed technique is well suited for various applications and has good prospects. Keywords- Embedded system; short message service(SMS); general packet radio Service(GPRS); advanced RISC machine (ARM). I. INTRODUCTION Embedded systems have become a centrally important aspect in a wide variety of applications, such as studying environmental phenomena, mapping and managing large-scale systems, aiding security, data services and other fields [1] . Embedded controllers are said to have a market share of 98%or more of the global processor market, implying that less than 2%of all processors are employed in traditional computers [2] .The ever decreasing costs and form factor of digital ‘‘intelligence’’ together with increased capabilities have led to a world of pervasive computing. A widely shared view is that pervasive computing is the next major evolutionary step in information technology, merging the notions of networks and computers with everyday devices [3] .One aspect of this evolution is the rise of new, and partially unique, data service issues [4] . At the same time, data services have been gaining popularity in cellular networks since they were first introduced through the circuit-switched connection [5] . As cellular carriers, however, start deploying the packet data service such as General Packet Radio Service (GPRS) [6] , carriers can provide data services in a more bandwidth-efficient way over the cellular network, thereby increasing the radio resource utilization. In the data service, one of important application is short message service (SMS), namely, using the GSM capability to send alphabetic/numeric data in order to improve paging service [7] . GSM leverages the control channel to send out SMS data while allowing users to continue their voice conversations. If the user is talking, slow associated control channel (SACCH) will be used to achieve SMS sending. If the user is not talking, then the user can receive the SMS data using standalone dedicated control channel(SDCCH).With both scenarios, the SMS is always using a low power transmission channel [8] . So in this paper, we analysis the embedded system theory, short message service (SMS),and combine with the latest computer technology, network technology, communication technology and GPRS technology, then propose an method to design the short message service system based on ARM and GPRS. We put forward the system principle block diagram and the hardware circuit of GPRS. At the same time, we give the software process flow and specific algorithm, namely, GPRS initialization module, port 1receiving interruption module, GPRS communicate with S3C2410’s port 1 module and sending message module. This proposed technique is well suited for various applications and has good prospects. II. SYSTEM WORKING PRINCIPLE AND DESIGN ELEMENTS The General Packet Radio Service (GPRS) is one of GSMPhase2+standard realization contents and can provide fast data transmission speed [9] . Theoretically, this service is ten times faster than the current circuit switched data services on GSM networks. GPRS uses the same frequency range, bandwidth, wireless modulation standard, frequency-hopping rule and TDMA frame structure as GSM [10] . GPRS network is composed of GPRS new business nodes in GSM base stations and interconnects with Internet through GPRS gateway. During the system design, the data terminal which interconnect with Internet first go on wireless communicate with the GPRS business nodes in GSM base stations and enter GPRS network, then achieve the short message service. 2009 Second International Symposium on Computational Intelligence and Design 978-0-7695-3865-5/09 $26.00 © 2009 IEEE DOI 10.1109/ISCID.2009.204 229 2009 Second International Symposium on Computational Intelligence and Design 978-0-7695-3865-5/09 $26.00 © 2009 IEEE DOI 10.1109/ISCID.2009.204 229

description

for more projects visit @ www.nanocdac.com

Transcript of Research and design of short message service system based on arm and gprs

Page 1: Research and design of short message service system based on arm and gprs

Research and Design of Short Message Service System Based on ARM and GPRS

Rui Yang1 1School of Electronic Engineering Huaihai Institute of Technology

Lian yungang; China [email protected]

Hong Cai2 ,Ming zhang1 2School of Computer Engineering Huaihai Institute of Technology

Lian yungang; China [email protected]

Abstract—In recent years, data service has been gaining popularity in embedded system and general packet radio service (GPRS). In this paper, we first analysis the embedded system theory, short message service (SMS),and combine with the latest computer technology, network technology, communication technology and GPRS technology, then propose an method to design the short message service system based on ARM and GPRS. We put forward the system principle block diagram and the hardware circuit of GPRS. At the same time, we give the software process flow and specific algorithm, namely, GPRS initialization module, port 1 receiving interruption module, GPRS communicate with S3C2410’s port 1 module and sending message module. This proposed technique is well suited for various applications and has good prospects.

Keywords- Embedded system; short message service(SMS); general packet radio Service(GPRS); advanced RISC machine (ARM).

I. INTRODUCTION Embedded systems have become a centrally important

aspect in a wide variety of applications, such as studying environmental phenomena, mapping and managing large-scale systems, aiding security, data services and other fields [1]. Embedded controllers are said to have a market share of 98%or more of the global processor market, implying that less than 2%of all processors are employed in traditional computers[2].The ever decreasing costs and form factor of digital ‘‘intelligence’’ together with increased capabilities have led to a world of pervasive computing. A widely shared view is that pervasive computing is the next major evolutionary step in information technology, merging the notions of networks and computers with everyday devices [3].One aspect of this evolution is the rise of new, and partially unique, data service issues [4].

At the same time, data services have been gaining popularity in cellular networks since they were first introduced through the circuit-switched connection [5]. As cellular carriers, however, start deploying the packet data service such as General Packet Radio Service (GPRS) [6], carriers can provide data services in a more bandwidth-efficient way over the

cellular network, thereby increasing the radio resource utilization.

In the data service, one of important application is short message service (SMS), namely, using the GSM capability to send alphabetic/numeric data in order to improve paging service [7]. GSM leverages the control channel to send out SMS data while allowing users to continue their voice conversations. If the user is talking, slow associated control channel (SACCH) will be used to achieve SMS sending. If the user is not talking, then the user can receive the SMS data using standalone dedicated control channel(SDCCH).With both scenarios, the SMS is always using a low power transmission channel[8].

So in this paper, we analysis the embedded system theory, short message service (SMS),and combine with the latest computer technology, network technology, communication technology and GPRS technology, then propose an method to design the short message service system based on ARM and GPRS. We put forward the system principle block diagram and the hardware circuit of GPRS. At the same time, we give the software process flow and specific algorithm, namely, GPRS initialization module, port 1receiving interruption module, GPRS communicate with S3C2410’s port 1 module and sending message module. This proposed technique is well suited for various applications and has good prospects.

II. SYSTEM WORKING PRINCIPLE AND DESIGN ELEMENTS The General Packet Radio Service (GPRS) is one of

GSMPhase2+standard realization contents and can provide fast data transmission speed [9]. Theoretically, this service is ten times faster than the current circuit switched data services on GSM networks. GPRS uses the same frequency range, bandwidth, wireless modulation standard, frequency-hopping rule and TDMA frame structure as GSM [10].

GPRS network is composed of GPRS new business nodes in GSM base stations and interconnects with Internet through GPRS gateway. During the system design, the data terminal which interconnect with Internet first go on wireless communicate with the GPRS business nodes in GSM base stations and enter GPRS network, then achieve the short message service.

2009 Second International Symposium on Computational Intelligence and Design

978-0-7695-3865-5/09 $26.00 © 2009 IEEE

DOI 10.1109/ISCID.2009.204

229

2009 Second International Symposium on Computational Intelligence and Design

978-0-7695-3865-5/09 $26.00 © 2009 IEEE

DOI 10.1109/ISCID.2009.204

229

Page 2: Research and design of short message service system based on arm and gprs

As shown in Figure 1, ARM microprocessor chip connect to GPRS modem through the serial interface, then by sending AT commands to communicate with GPRS modem and achieve SMS communication by the corresponding function.

A. System hardware platform

We use SamSung company’s S3C2410X chip as microprocessor, it is based on the ARM7TDMI core which has 32-bit high-speed processors, high-performance, high real-time, low-cost, etc character. At the same time, we configure a SST39VF160 (8MB FLASH) and a HY57V641620 (8MB SDRAM) for S3C2410X chip, which respectively were used to store procedures and system memory [11].

We use Siemens Company’s MC35i as GPRS modem. This module has 40-pin and supply 9-pin normal RS-232 interface which can satisfy the system requirement, in order to full duplex, it should connect MAX3232 to S3C2410 UART1 port through level conversion chip. The system hardware platform is illustrates in Fig.2.

B. SMS SMS is an improved paging service using the GSM

capability to send alphabetic/numeric data.Fig.3 illustrates the SMS network architecture [8],When a handset sends out an SMS, the short message service center (SMSC) will relay this data to the SMS–gateway mobile switching center (SMS–GMSC).The SMS–GMSC will then access the home location register (HLR), search to locate the cellular phone address at the end point, and send route information to the mobile switching center (MSC).After receiving this data, the MSC will determine which SMSC to contact for this end point. If the caller is on roaming mode, SMS–interworking mobile switching center (SMS–IWMSC) will be the message’s next stop [7].

C. MC35i We select the new generation wireless communications

GPRS module which produced by Siemens as GPRS modem, MC35i modules mainly have six parts: GSM baseband processor, GSM RF module, power supply module (ASIC), FLASH, ZIF connector, and antenna interface. Through a unique 40-pin ZIF connector to achieve power, connecting instructions, data, voice signals and control signals of the two-way transmission. Through the ZIF connector and 50 ohm antenna connector can respectively connect to SIM card connector and the antenna.

MC35i should combine with the external circuit to ensure the operation is normal, through the 40-pin ZIF connector,MC35i respectively connect to the power circuit, start and shutdown circuits, data communication circuits, voice communications circuitry, SIM card circuit, state indicator circuit etc. As shown in Figure 4.

D. GPRS hardware circuit We use Siemens Company’s MC35i as GPRS modem.

This module supply 9-pin normal RS-232 interface, in order to full duplex, it should connect MAX3232 to S3C2410 UART1 port through level conversion chip. GSM baseband processor is the core part of MC35i and deal with the AT command which send from serial port.U211 is the GPRS’s SIM card. The diagram of GPRS hardware circuit is illustrates in Fig.5.

230230

Page 3: Research and design of short message service system based on arm and gprs

III. SOFTWARE DESIGN MODULE

A. SMS trigger control In this system, we use GPRS technology and embedded

technology to achieve short message service, there are three methods to control sending and receiving message: Block mode; based on AT commands Text mode; based on the A command PDU mode. Block mode has been little used; Since Text mode is text only, so the predefined data format was required for coding and decoding of data between the FMP and HCP, however, the domestic mobile phone does not support this model, so we use PDU mode to send and receive message.

PDU not only contain information which can be shown, also includes many other information, such as: SMS service center number (SMSC), target number, back number, encoding method and services time.

Transmission Control orders are as follows:

• Call number command: Command code is 30H, no data. In initialization, send from the host to the module and prompt SMS sending and receiving module to send SMS's call number and do not need to save the parameters.

• Terminal number command: Command code is 31H, no data. In initialization, send from the host to the module and prompt SMS sending and receiving module to receive SMS's local numbers and need to save the parameters.

• SMS command: Command code is 32H, have data. Sending from the host to the module and prompt SMS sending and receiving module to send the receiving data as message method to the call numbers, then the host waiting for response.

B. Alogithm description We first go on initialization :system initialization, MMU

initialization; system clock initialization; setup Nand Flash register; S3C2410’s GPIO initialization; selection serial port 1; setup baud rate is 115 200; then respectively call GPRS module initialization; port 1 receiving interruption function ; GPRS command function and GPRS sending message function etc.

• GPRS module initialization: after system started, it need to initialize, such as: serial port 1 initialization; enable serial port 1 receiving interrupt, The specific description is as following.

• GPRS command function: GPRS communicate with

S3C2410’s port 1, send AT command char to GPRS through port 1 and show through port 1.The specific description is as following.

231231

Page 4: Research and design of short message service system based on arm and gprs

• Port 1 receiving interruption function: open port 1 and receive interruption signal. The specific description is as following.

• GPRS sending message function: send a message to *

mobile phone whose number is *number, parameter explanation: *number is the destinations number which will receive message; *text is the sending message content. The specific description is as following.

IV. CONCLUSIONS In this paper, we analysis the embedded system theory,

short message service (SMS),and combine with the latest computer technology, network technology, communication technology and GPRS technology, then propose an method to design the short message service system based on ARM and GPRS. We put forward the system principle block diagram and the hardware circuit of GPRS. At the same time, we give the software process flow and specific algorithm, namely, GPRS

initialization module, port 1receiving interruption module, GPRS communicate with S3C2410’s port 1 module and sending message module. This proposed technique is well suited for various applications and has good prospects.

REFERENCES [1] Fei Xie, Guowu Yang , Xiaoyu Song, Component-based

hardware/software co-veri cation for building trustworthy embedded systems, The Journal of Systems and Software,2007, 80,pp: 643–654

[2] Estrin D,Govindan R,Heidemann J. Embedding the Internet Communications of the ACM May 2000;43(5):39–41.

[3] Weiser M.The computer for the 21st century.Scientific American, September 1991.p.66–75.

[4] Christof Paar,Andre Weimerskirch. Embedded security in a pervasive world. Information Security Technical Report,2007,12,155-161

[5] Jaewon Kang,Badri Nath, A study on switching voice traffic seamlessly between GSM and GPRS cellular networks, Computer Communications , 2006,29,1079–1093

[6] G.Brasche,B.Walke,Concepts,services and protocols of the new,gsm phase 2C general packet radio service,IEEE Communications, Magazine(1997)94–104.

[7] Chwan-Lu Tseng,Joe-Air Jiang,etc. Feasibility study on application of GSM–SMS technology to field data acquisition, Computers and Electronics in Agriculture,2006,53,45–59

[8] Peersman,C.,Cvethovic,S.,Griffiths,P.,Spear,H,The global system for mobile communication short message service. 2000,7,15–23.

[9] GU Qing-hua,,LU Cai-wu,LI Fa-ben,WAN Chang-yong, Monitoring dispatch information system of trucks and shovels in an open pit based on GIS/GPS/GPRS.Journal of China University of Mining &Technology,2008,18,288-292.

[10] Yang G M,General wireless grouping service(GPRS), summary. Acoustics and Electronic Engineering,2002 (2):17–22.

[11] GENG Xin-min, SUN Jin-zhong, Design ofW ireless Communication System Based on ARM and GPRS, Instrumentation Technology, 2009, 1: 44-45

232232