Research and design of short message service system based on arm and gprs
Upcoming SlideShare
Loading in...5
×
 

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

on

  • 723 views

for more projects visit @ www.nanocdac.com

for more projects visit @ www.nanocdac.com

Statistics

Views

Total Views
723
Views on SlideShare
723
Embed Views
0

Actions

Likes
0
Downloads
12
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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 Document Transcript

  • Research and Design of Short Message ServiceSystem Based on ARM and GPRSRui Yang11School of Electronic EngineeringHuaihai Institute of TechnologyLian yungang; Chinalyg690916@163.comHong Cai2,Ming zhang12School of Computer EngineeringHuaihai Institute of TechnologyLian yungang; Chinazhangming@hhit.edu.cnAbstract—In recent years, data service has been gainingpopularity in embedded system and general packet radio service(GPRS). In this paper, we first analysis the embedded systemtheory, short message service (SMS),and combine with the latestcomputer technology, network technology, communicationtechnology and GPRS technology, then propose an method todesign the short message service system based on ARM andGPRS. We put forward the system principle block diagram andthe hardware circuit of GPRS. At the same time, we give thesoftware process flow and specific algorithm, namely, GPRSinitialization module, port 1 receiving interruption module,GPRS communicate with S3C2410’s port 1 module and sendingmessage module. This proposed technique is well suited forvarious applications and has good prospects.Keywords- Embedded system; short message service(SMS);general packet radio Service(GPRS); advanced RISC machine(ARM).I. INTRODUCTIONEmbedded systems have become a centrally importantaspect in a wide variety of applications, such as studyingenvironmental phenomena, mapping and managing large-scalesystems, aiding security, data services and other fields [1].Embedded controllers are said to have a market share of 98%ormore of the global processor market, implying that less than2%of all processors are employed in traditionalcomputers[2].The ever decreasing costs and form factor ofdigital ‘‘intelligence’’ together with increased capabilities haveled to a world of pervasive computing. A widely shared view isthat pervasive computing is the next major evolutionary step ininformation technology, merging the notions of networks andcomputers with everyday devices [3].One aspect of thisevolution is the rise of new, and partially unique, data serviceissues [4].At the same time, data services have been gainingpopularity in cellular networks since they were first introducedthrough the circuit-switched connection [5]. As cellular carriers,however, start deploying the packet data service such asGeneral Packet Radio Service (GPRS) [6], carriers can providedata services in a more bandwidth-efficient way over thecellular network, thereby increasing the radio resourceutilization.In the data service, one of important application is shortmessage service (SMS), namely, using the GSM capability tosend alphabetic/numeric data in order to improve pagingservice [7]. GSM leverages the control channel to send out SMSdata 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 standalonededicated control channel(SDCCH).With both scenarios, theSMS 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 latestcomputer technology, network technology, communicationtechnology and GPRS technology, then propose an method todesign the short message service system based on ARM andGPRS. We put forward the system principle block diagram andthe hardware circuit of GPRS. At the same time, we give thesoftware process flow and specific algorithm, namely, GPRSinitialization module, port 1receiving interruption module,GPRS communicate with S3C2410’s port 1 module andsending message module. This proposed technique is wellsuited for various applications and has good prospects.II. SYSTEM WORKING PRINCIPLE AND DESIGN ELEMENTSThe General Packet Radio Service (GPRS) is one ofGSMPhase2+standard realization contents and can provide fastdata transmission speed [9]. Theoretically, this service is tentimes faster than the current circuit switched data services onGSM networks. GPRS uses the same frequency range,bandwidth, wireless modulation standard, frequency-hoppingrule and TDMA frame structure as GSM [10].GPRS network is composed of GPRS new business nodesin GSM base stations and interconnects with Internet throughGPRS gateway. During the system design, the data terminalwhich interconnect with Internet first go on wirelesscommunicate with the GPRS business nodes in GSM basestations and enter GPRS network, then achieve the shortmessage service.2009 Second International Symposium on Computational Intelligence and Design978-0-7695-3865-5/09 $26.00 © 2009 IEEEDOI 10.1109/ISCID.2009.2042292009 Second International Symposium on Computational Intelligence and Design978-0-7695-3865-5/09 $26.00 © 2009 IEEEDOI 10.1109/ISCID.2009.204229
  • As shown in Figure 1, ARM microprocessor chip connectto GPRS modem through the serial interface, then by sendingAT commands to communicate with GPRS modem andachieve SMS communication by the corresponding function.A. System hardware platformWe use SamSung company’s S3C2410X chip asmicroprocessor, it is based on the ARM7TDMI core which has 32-bithigh-speed processors, high-performance, high real-time, low-cost,etc character. At the same time, we configure a SST39VF160 (8MBFLASH) 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-232interface which can satisfy the system requirement, in order tofull duplex, it should connect MAX3232 to S3C2410 UART1port through level conversion chip. The system hardwareplatform is illustrates in Fig.2.B. SMSSMS is an improved paging service using the GSMcapability to send alphabetic/numeric data.Fig.3 illustrates theSMS network architecture [8],When a handset sends out anSMS, the short message service center (SMSC) will relay thisdata to the SMS–gateway mobile switching center (SMS–GMSC).The SMS–GMSC will then access the home locationregister (HLR), search to locate the cellular phone address atthe end point, and send route information to the mobileswitching center (MSC).After receiving this data, the MSC willdetermine which SMSC to contact for this end point. If thecaller is on roaming mode, SMS–interworking mobileswitching center (SMS–IWMSC) will be the message’s nextstop [7].C. MC35iWe select the new generation wireless communicationsGPRS module which produced by Siemens as GPRS modem,MC35i modules mainly have six parts: GSM basebandprocessor, GSM RF module, power supply module (ASIC),FLASH, ZIF connector, and antenna interface. Through aunique 40-pin ZIF connector to achieve power, connectinginstructions, data, voice signals and control signals of the two-way transmission. Through the ZIF connector and 50 ohmantenna connector can respectively connect to SIM cardconnector and the antenna.MC35i should combine with the external circuit to ensurethe operation is normal, through the 40-pin ZIFconnector,MC35i respectively connect to the power circuit,start and shutdown circuits, data communication circuits, voicecommunications circuitry, SIM card circuit, state indicatorcircuit etc. As shown in Figure 4.D. GPRS hardware circuitWe use Siemens Company’s MC35i as GPRS modem.This module supply 9-pin normal RS-232 interface, in order tofull duplex, it should connect MAX3232 to S3C2410 UART1port through level conversion chip. GSM baseband processoris the core part of MC35i and deal with the AT commandwhich send from serial port.U211 is the GPRS’s SIM card.The diagram of GPRS hardware circuit is illustrates in Fig.5.230230
  • III. SOFTWARE DESIGN MODULEA. SMS trigger controlIn this system, we use GPRS technology and embeddedtechnology to achieve short message service, there are threemethods to control sending and receiving message: Blockmode; based on AT commands Text mode; based on the Acommand PDU mode. Block mode has been little used; SinceText mode is text only, so the predefined data format wasrequired for coding and decoding of data between the FMP andHCP, however, the domestic mobile phone does not supportthis 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 servicecenter number (SMSC), target number, back number, encodingmethod and services time.Transmission Control orders are as follows:• Call number command: Command code is 30H, nodata. In initialization, send from the host to the moduleand prompt SMS sending and receiving module tosend SMSs call number and do not need to save theparameters.• Terminal number command: Command code is 31H,no data. In initialization, send from the host to themodule and prompt SMS sending and receivingmodule to receive SMSs local numbers and need tosave the parameters.• SMS command: Command code is 32H, have data.Sending from the host to the module and prompt SMSsending and receiving module to send the receivingdata as message method to the call numbers, then thehost waiting for response.B. Alogithm descriptionWe first go on initialization :system initialization, MMUinitialization; system clock initialization; setup Nand Flashregister; S3C2410’s GPIO initialization; selection serial port 1;setup baud rate is 115 200; then respectively call GPRS moduleinitialization; port 1 receiving interruption function ; GPRScommand function and GPRS sending message function etc.• GPRS module initialization: after system started, itneed to initialize, such as: serial port 1 initialization;enable serial port 1 receiving interrupt, The specificdescription is as following.• GPRS command function: GPRS communicate withS3C2410’s port 1, send AT command char to GPRSthrough port 1 and show through port 1.The specificdescription is as following.231231
  • • Port 1 receiving interruption function: open port 1 andreceive interruption signal. The specific description isas following.• GPRS sending message function: send a message to *mobile phone whose number is *number, parameterexplanation: *number is the destinations number whichwill receive message; *text is the sending messagecontent. The specific description is as following.IV. CONCLUSIONSIn this paper, we analysis the embedded system theory,short message service (SMS),and combine with the latestcomputer technology, network technology, communicationtechnology and GPRS technology, then propose an method todesign the short message service system based on ARM andGPRS. We put forward the system principle block diagram andthe hardware circuit of GPRS. At the same time, we give thesoftware process flow and specific algorithm, namely, GPRSinitialization module, port 1receiving interruption module,GPRS communicate with S3C2410’s port 1 module andsending message module. This proposed technique is wellsuited for various applications and has good prospects.REFERENCES[1] Fei Xie, Guowu Yang , Xiaoyu Song, Component-basedhardware/software co-veri cation for building trustworthy embeddedsystems, The Journal of Systems and Software,2007, 80,pp: 643–654[2] Estrin D,Govindan R,Heidemann J. Embedding the InternetCommunications 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 pervasiveworld. Information Security Technical Report,2007,12,155-161[5] Jaewon Kang,Badri Nath, A study on switching voice traffic seamlesslybetween GSM and GPRS cellular networks, Computer Communications ,2006,29,1079–1093[6] G.Brasche,B.Walke,Concepts,services and protocols of the new,gsmphase 2C general packet radio service,IEEE Communications,Magazine(1997)94–104.[7] Chwan-Lu Tseng,Joe-Air Jiang,etc. Feasibility study on application ofGSM–SMS technology to field data acquisition, Computers andElectronics in Agriculture,2006,53,45–59[8] Peersman,C.,Cvethovic,S.,Griffiths,P.,Spear,H,The global system formobile communication short message service. 2000,7,15–23.[9] GU Qing-hua,,LU Cai-wu,LI Fa-ben,WAN Chang-yong, Monitoringdispatch information system of trucks and shovels in an open pit basedon 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 CommunicationSystem Based on ARM and GPRS, Instrumentation Technology, 2009, 1:44-45232232