基于单片机GPRS通信系统的计基于单片机GPRS通信系统的计-I-摘要GPRS(通用分组无线电业务)是利用包交换的概念发展的一套无线传输方式,GPRS网络是基于现有的GSM(全球移动通信系统)网络实现的,在现有的GSM网络中需要增加一些节点,如GGSN(GPRS网关支持节点)和SGSN(GPRS服务支持节点)。SGSN的主要作用是记录移动终端的当前位置信息,并且在移动终端与GGSN之间完成移动分组数据的发送和接受。GGSN主要起网关作用,可以与多种不同的数据网络连接,如ISDM(综合业务数字网)、PSPDN(包交换公用数据网)和LAN(局域网)等。GGSN可以把GSM网中的GPRS分组数据包进行协议转换。从而把这些分组数据包传送到远端的TCP/IP或X.25网络。GPRS网不但具有覆盖范围广、数据传输速度快、通信质量高、永远在线和按流量计费等有点,而且其本身就是一个分组性数据网,支持TCP/IP协议,可以直接与Internet互通。因此,GPRS在无线上网、环境监测便携型、交通监控、移动办公等行业中具有无可比拟的性价比优势。关键词:数据传输与接收单片机GPRS通信系统基于单片机GPRS通信系统的计-II-AbstractGPRS(generalpacketradioservice)istousetheconceptofpacketswitchingthedevelopmentofawirelesstransmission,aGPRSnetworkisbasedonexistingGSM(globalsystemformobilecommunications)networkrealization,intheexistingGSMnetworkofsomenodesneedtoincrease,suchasGGSN(GPRSgatewaysupportnode)andSGSN(GPRSservicesupportnode).ThemainFunctionistorecordSGSNmobileterminalcurrentpositioninformation,andinthemobileterminalandGGSNcompletedofmobilegroupdatatosendandreceive.GGSNmainupgatewayfunction,andcanbewithavarietyofdifferentdatanetwork,suchasISDM(integratedservicesdigitalnetwork),PSPDN(packetswitchingpublicdatanetworks)andLAN(localareanetwork),etc.GGSNcanputtheGSMnetworkpacketsofGPRSgroupforprotocolconversion.SothegroupsentpacketstoaremoteTCP/IPorX.25network.GPRSnetsnotonlyhastocoverrange,datatransmissionspeed,highquality,andalwaysonlinecommunicationaccordingtoflowbilling,andabit,anditsitselfisagroupsexdatanetworks,supporttheTCP/IPprotocol,canbedirectlyandInternetcommunication.Therefore,GPRSisinwirelessInternetandenvironmentalmonitoringportabletype,trafficmonitoring,mobileoffice,andotherindustrieswithanunmatchedpriceadvantage.Keywords:DatatransmissionandreceptionSingle-chip,microcomputer,GPRScommunicationsystem基于单片机GPRS通信系统的计-III-目录摘要................................................................................................................IAbstract.......................................................................................................II目录..............................................................................................................III前言................................................................................................................11GPRS通信.................................................................................................21.1国内外的研究现状..........................................................................21.2课题研究的背景和意义..................................................................32GPRS通信无线网络的介绍.....................................................................52.1什么是GPRS无线通讯网络..........................................................52.1.1为什么要有GPRS....................................................................52.2GPRS的网络结构...........................................................................52.2.1GPRS协议栈............................................................................62.2.2基于GPRS的TCP/IP协议.....................................................72.2.3GPRS究竟是什么....................................................................82.2.4GPRS有什么优点....................................................................82.3中国移动发展GPRS的市场定位是什么......................................92.4.3G先锋—GPRS..........................................................................93GPRS通信系统的整体设计方案...........................................................113.1GPRS通信系统的方案论证.........................................................113.2GPRS通信系统的硬件设计方案.................................................133.2.1系统总体功能概述.................................................................143.2.2单片机的用途和使用.............................................................143.2.3单片机STC89C51简介.........................................................153.2.4GPRS模块简介及应用..........................................................163.2.5CTM900-CGPRS模块简介...................................................173.3GPRS通信系统的软件设计方案.................................................173.3.1连接的建立.............................................................................17基于单片机GPRS通信系统的计-IV-3.3.2数据处理.................................................................................243.3.3主程序流程.............................................................................253.3.4设计实物图.............................................................................26结论..............................................................................................................27致谢..............................................................................................................28参考文献......................................................................................................29附录1电路原理图.....................................................................................30附录2系统程序.........................................................................................31基于单片机GPRS通信系统的计-1-前言近年来,通信技术和网络技术的迅速发展,特别是无线通信技术的发展,使得电力系统的自动化程度进一步提高。GSM网络出现后,技术人员很快把GSM模块嵌入到各种仪表仪器中,如多功能电能表、故障测录仪、抄表系统和用电负荷监控等,从而使这些仪表仪器