RESEARCHONADISTRIBUTEDARCHITECTUREOFMOBILEGISBASEDONWAPWangFangxionga,JiangZhiyongbaResearchCentreofSpatialInformationandDigitalEngineering,WuhanUniversity,129LuoyuRoad,Wuhan430079,China.
wfxwhu@163.
combStateKeyLaboratoryofInformationEngineeringinSurveying,MappingandRemoteSensing,WuhanUniversity,129LuoyuRoad,Wuhan430079,China.
houyingzi@sohu.
comCommissionVI,WGVI/4KEYWORDS:MobileGIS,Architecture,J2EE,WAP,MobileInternetABSTRACT:MobileGeographicalInformationSystem(MobileGIS)isaGeographicalInformationSystembasedonmobilecomputingandmobileInternet.
ItisnotaconventionalGISmodifiedtooperateonasmallercomputer,butanextensionofWebGIStomobileInternetincludingwirelessInternet/Intranetandmobilecommunicationnetwork.
ButarchitecturesofWebGISareunsuitableforMobileGIS,becauseofseveralbottleneckssuchasthelow-bandwidthofwirelessnetwork,thediversityofmobiledevices,limitedprocessingpowerandscreendisplaylimitationofmobiledevicesandthediversityofmobilesystemplatform.
SotheresearchonthearchitectureofMobileGISishotintheGISfield.
WAP-basedMobileGIScanbedescribedasmobileuserscanperformthealmostsamefunctionalityasofWebGISbutinamobileenvironmentatanytime,anyplaceandwithoutthelimitationofoperatingsystemandwiredlink.
Inthispaper,adistributedarchitectureforWAP-basedMobileGISisproposed.
UsingJavaServletEnginetechnologyandspatialinformationWebcachingmechanismatthefatserverside,thearchitecturebasedonJ2EEiscomposedoffourlogictiers:presentationtier,WAPservicetier,applicationtieranddataservicetier.
Aprototypesystembasedonthearchitecturehasbeendeveloped.
ItcansuccessfullyworkonWAPphones,whichprovesthatthearchitectureisfeasible.
1.
INTRODUCTIONSince1990,geospatialinformationtechnologiesandmobilewirelessInternethavebeenrapidlydeveloped.
ItiseasytoseethattheintegrationofgeospatialinformationandmobileInternetisinevitable,whichissimultaneitydrivenbymarketdemandsandtechnologies(LiDeren,etal,2002).
Theintegratedsystemisdesignedtoworkonmobileintelligentterminals,andbringsnewdimension-atanytime,anyplace-toaccessgeospatialandattributeinformationinGIS.
ItiscalledMobileGeographicInformationSystem(MobileGIS).
MobileGISoffersanothernewperspectivefortheuseofGISandfurtherextendsthe"office"GISworksinmobileenvironment(ShiWenzhongandKwanKawai,2002).
MobileGISwasearlyappliedtoassistofficeandcollectdatainthefield(NessS.
T.
Lee,1993;K.
North,1997).
ItisnotaconventionalGISmodifiedtooperateonasmallercomputer,butasystembuildusingafundamentallynewparadigm(DavidMaguire,2001).
ItextendsunlimitedinformationontheInternetandpowerfulservicefunctionsofGIStomobiledevices,andcanprovidemobileuserswithgeospatialinformationservices.
MobileGIScreatesanewchannelofbusinesspractice,andthousandsofpotentialapplicationsandservicescanalsobedeveloped.
Hence,itisexploringaneweraofmobilegeographicinformationservices.
Therestthispaperisarrangedasfollow:WAP-basedMobileGISanditssuperioritytoSMS/MMS-basedMobileGISarebrieflyintroducedinSection2.
ThreemainstreamarchitecturesolutionsfordistributedsystemsarepresentedinSection3.
AdistributedarchitectureforWAP-basedMobileGISbasedonJ2EEisproposedinSection4.
AndaprototypesystemimplementedbasedonJ2EEispresentedinSection5.
Finally,theconclusionisdrawnandoutlookofWAP-basedMobileGISarediscussed.
2.
MOBILEGISBASEDONWAPMobileGIScanbesimplydividedintotwocategories,accordingtocurrentlypopularsolutionsaccessingtotheMobileInternet.
TheoneisbasedonShortMessageService(SMS)/MultimediaMessageService(MMS),theotherisbasedonWirelessApplicationProtocol(WAP).
SMS/MMS-basedMobileGIS(MaLingbin,etal,2002;WeiZhongya,etal,2002;ZhangJianqunandLiangJuanzhu,2003)canonlybesuitableformobilephoneswithsamplesystemfunctions,unfriendlygraphicaluserinterface(GUI),poorinformationpresentationandtherestrictedapplicationfields,becauseofthelimitationsofSMS/MMSsuchasrestrictedcarryinginformation,timelag,unfriendlyinteractivemode,andsoon.
Onthecontrary,WAPisabear-independentinternationalstandardprotocolthathasoptimizedformobiledeviceswithlimiteddisplayandsmallkeyboardsofmobilehandsetsandlowbandwidthsofwirelessnetworks,andpermitsapplicationsandservicestooperateoverallexistingandforeseeablewirelessnetworkssuchasGSM,CDMA,PHS,TDMAandWCDMA(WAPForum,2002).
TheWAPspecificationencompassesarelativelysimpleandcompactversionofXML(eXtendableMarkupLanguage)calledWML(WirelessMarkupLanguage),whichmakesitpossibletomakerequeststoamobileservicefromamobileterminalandreturnamapintheformofanembeddedbitmap(e.
g.
WBMP).
SoWAP-basedMobileGIShasricherinformationpresentation,friendlierGUI,moresystemfunctionsandmoreapplicationfieldsthantheformer.
Moreover,itcanworkonawiderangeofmobiledeviceswithaWAPmicrobrowseronly,fromPersonalDigitalAssistants(PDAs),mobilephones,andin-carcomputerstoothersmallmobiledevices,andkeepsthestandardbrowsingstyle.
WAP-basedMobileGIScanbedescribedasmobileusers(withaWAPmobileterminalonly)canperformthealmostsamefunctionalityasofInternetGISbutinamobileenvironmentatanytime,anyplaceandwithoutthelimitationofoperatingsystemandwiredlink.
Altogether,itisbecauseoftheadvantagesofWAPthatwebelieveWAP-basedMobileGISwillplayaleadingroleinourmobileinformationservicesmarkets.
Theframeworkandsoulofadistributedsystemisthesystemarchitecturedecidingthedistributionofsystemfunctionsanddata.
WAP-basedMobileGIS,asanewdevelopmenttoInternetGIS,isstillinapreliminarystage,whoseresearchissuesneedbedealwith.
However,thearchitecturesolutiontoWAP-basedMobileGISisthekeyandcoreofitswholeresearches.
AlthoughLiDeren,etal(2002)andLiLuqun,etal(2002)usedtopresentanarchitectureforMobileGISrespectively,thearchitectureswereconceptualonesandhaddifficultyplayingasubstantiallydirectiveroletobuildingaMobileGISsystem,letaloneWAP-basedMobileGIS.
3.
ARCHITECTURESOLUTIONSWAP-basedMobileGISisa"thinclient"distributedsystemviamobileInternet.
Itmustbeanopen,extendable,stableandcross-platformdistributedsystem,becauseoftheincreasingapplicationdemandsandthediversityofmobileterminals.
Currently,popularsystemarchitecturesolutionsfordistributedsystemsareallbasedondistributedobjecttechnologies.
Therearethreemainstreamindustrystandards:Microsoft'sWindowsDistributedNetworkArchitecture(WindowsDNA)/.
NETArchitecture,ObjectManagementGroup'sCommonObjectRequestBrokerArchitecture(CORBA),Sun'sJava2EnterpriseEdition(J2EE)Architecture.
AsystembasedonWindowsDNA/.
NETArchitecturesolutioncanonlyuseMicrosoft'splatformsfromdevelopment,deploymenttorunning,includingdevelopingplatformsandoperatingsystem.
Itcannotcrossoperatingsystemplatformespecially,whichisthefatalweaknessofWindowsDNA/.
NETArchitecture.
CORBAistoohugeandcomplicated.
Anditstechnologiesandstandardsareupdatedrelativelyslowly.
J2EEisaspecificationandstandardcreatedbySunandherindustrypartners,anditevolvesquickly.
J2EEprovidessupportforthetechnologiessuchasEnterpriseJavaBeans(EJB),JavaServletsAPIandJavaServerPagers(JSP),andsoon.
J2EEsolutionreducesthecostandcomplexityofdevelopingamulti-tierdistributedsystemwhichcanberapidlydevelopedanddeployed,andcanenhancetheportability,security,loadbalancingandextensibilityofadistributedsystem.
TherearethefollowingadvantagestobuilddistributedGISbasedonJ2EE(MaoHaifeng,2004):(1)cross-platform;(2)multi-tierseparatingtocomplicatedtasks;(3)componentreusingand(4)moduledeveloping.
Thus,J2EEsolutioncansatisfythesystemrequirementsofWAP-basedMobileGIS.
BasedonJ2EE,thispaperproposesadistributedarchitectureforWAP-basedMobileGIS.
4.
ADISTRIBUTEDARCHITECTUREAsshowedonFigure1,theJ2EE-baseddistributedarchitectureiscomposedoffourlogictiersfromtheclientsidetotheserverside:presentationtier,WAPservicetier,applicationtieranddataservicetier.
Atthefatserverside,GeospatialinformationWebcachingmechanismisusedtooptimizetheperformancecapabilityandreducingtheaccessdelayoftheclient.
Functionsandcomponentsofeachlogictierandthestatementaboutthedistributionofpresentationlogic,businesslogicandgeospatialdatainthearchitecturearedetailedlystatedasfollow.
MobileClientWAPMicroBrowserJ2MEApplicationPDA/phone/in-carPCWAPGatewayWMLEncoderWMLScriptDecoderWebServerJSPPresentingServletIdentifyingServletServletEngineWebContainerApplicationServerGISSessionBeansGISEntityBeansEJBContainerSDE+RDBMSDatabaseServerLegacysystemWAPHTTPRMIJDBCJMSMobilePositionCentreMLPWirelessnetworkInternetIntranetFigure1:AdistributedarchitectureofWAP-basedMobileGIS4.
1PresentationTierPresentationtierisacarrieroftheclientofWAP-basedMobileGIS,andismainlyresponsibleforimplementingthepresentationlogicofGISdata.
Generally,theclientwithoutlocal-storagedataisaWAPmicrobrowserthatcontrolstheGUIandisanalogoustoastandardWebbrowser.
TheWAPmicrobrowserneedn'tperformanyGISbusinesslogic,don'tdirectlyconnecttoaback-enddatabaseserver,anddon'tstoreitselfstateinformation,soitisareally"ThinClient".
TheclientalsomaybeaJ2ME(Java2MicroEdition)application.
4.
2WAPServiceTierWAPservicetierincludesaWAPProxy(oftenreferredtoasaWAPGateway)andaWebServer.
TheWAPGatewaywasrequiredtohandletheprotocolinterworkingbetweentheclientandtheWebServer.
AsdepictedinFigure1,theWAPGatewayconsistsofWMLencodersandWMLScriptdecoders.
TheWAPGatewaycanoptimizethecommunicationprocessandmayoffermobileserviceenhancements,suchaslocation,privacy,andpresencebasedservices.
TheWAPGatewaycommunicateswiththeclient(WAPmicrobrowser)usingtheWAPprotocols,anditcommunicateswiththeWebServerusingthestandardInternetprotocolssuchasHTTP/HTTPS.
OncetheWAPGatewayreceivesWAPrequestsfromtheclient,ittranslatestherequeststoHTTPrequests,andthensendsthemtotheWebServer.
OncetheWAPGatewayreceivesHTTPresponses(webcontents)fromtheWebServer,ittranslatesthewebcontentstocompactencodedbinaryformatsforreducingthesizeandnumberofpacketstravelingoverthewirelessnetworktotheclientfordisplayingand/orprocessing.
TheWebServerincludesaWebContainerandWebprotocolssupport,securitysupport,andsoon.
WebcachingmechanismforGeospatialInformationTheWebContainerisresponsibleformanagingaJavaServletEngineandJavaServerPagers(JSP).
AnInternetGISsystembasedonJavaoftenusesJavaAppletsand/orServletstoextendthedynamicallydisplayingfunctionalityfortheWebbrowser.
ThispaperusesaServletEngineinsteadofrunningAppletsand/orServletsinsidetheWebServer,whichhasseveraladvantagesasfollow:1TheServletEnginerunsitselfinsidetheWebServer.
ButappletsinsidetheWebServermustbedynamicallydownloadedtotheclientforprocessing,whichwouldincreasetheloadofwirelessandmobiledevices(Especially,aWAPphonehasnotthecapabilityofrunningapplets.
).
2TheServletEnginecanhostServletsandprovidethemwithstandardJavaServletAPIs.
3TheServletEnginedecouplesServletsprocessingfromspecificimplementationdetailsoftheWebServer.
Thisincreasestheflexibilityofthesystemarchitecture,asitallowstheWebServertochangewithoutimpactingontheoverallsystem.
TheServletEnginecanalsoprovidevariousmanagementfeaturesthathelptoshifttheloadofServletsprocessingawayfromtheWebServer.
TheclientdevicesofWAP-basedMobileGIShaveseveraltypes(e.
g.
PDAandWAPphone)whosedisplayingandpresentingcapabilitiesaredifferent.
Sotheremusthasamechanismattheserverside,thatis,theWebServermaydeterminethetypeoftheclientdeviceandgeneratecorrespondingpresentationlogicfortheclient.
Fortunately,theServletEnginecansolvetheproblemeffectively.
TheServletEnginemayprovidetwokindsofServlets:theoneispresentingServletwhichisresponsibleforgeneratingcorrespondingpresentationlogicaccordingtothetypeoftheclientdevicefortheclient;theortherisidentifyingServletwhichisresponsiblefordeterminingthetypeoftheclientdevice(throughtheonlyIDoftheclientdeviceaccessingmobilenetworks)andthennotifypresentingServlet.
TheServletEngineisresponsibleformanageServletsandprovidesupportforJSP.
SinceServletsruninsidetheWebServer,everyonedoesnotneedaGUI.
Servletsinthesameservletenginecanshareresourcesandchaintogether.
SotheWebServercangeneratedynamicalWebcontentsbyrunningServlets(i.
e.
presentingServlets)toresponseforclientrequestslikeCGI.
AndServletsaremoreefficientthantheCGIapproachandtheFast-CGIapproach.
ThroughServletsand/orJSP,theclientsidemayindirectlyperformEJBcomponentsinsidetheApplicationServertoimplementGISbusinesslogic,suchasspatialanalysis,spatialandattributequerying,routeplanning,geocodingandgazetteer,andsoon.
4.
3ApplicationTierApplicationtieristhecoreofthearchitecture.
ItcorrespondsGISApplicationServersthatcommunicatewiththeWebServerinWAPservicetierthroughRemoteMethodInvocation(RMI).
AnEJBcontaineratanApplicationServeristheruntimeenvironmentofEJBcomponentsincludingGISSessionBeansandGISEntityBeans,andcontrolsthesecomponentstobeperformedandtransferred.
Atthesametime,thecontaineralsoprovidesthesecomponentswithallrequiredservicesfordistributedcomputingenvironments.
Thus,theseEJBcomponentscouldmoreefficientlyexecuteintheApplicationServer.
TheEJBcomponentscanuseJDBC(JavaDatabaseConnection)technologytoaccesstodatabaseservers,anduseJMS(JavaMessageService)technologytoconnecttoback-endlegacysystems.
TheApplicationServerhasaspecialLocatingEntityBeantocommunicatetheMobilePositionCentre(MPC),aServerprovidinggeographiclocationinformation,withMobileLocationProtocol(MLP)(LocationInteroperabilityForum,2002).
Themobilepositiontechnologiesforreal-timecapturingthelocationinformationofmobileusersgenerallyareGPS,CellOfOrigin(COO),TimeOfArrival(TOA),AngleOfArrival(AOA),EnhancedObservedTimeDifference(E-OTD)andsoon.
4.
4DataServiceTierDataservicetiercorrespondsDatabaseServersthatareusedtomanageandstoregeospatialandattributedataofthewholesystem.
Objectorienteddatabasemanagementsystem(OODBMS)isthemostdesireddatabaseserverforaGISsystem,butOODBMSisimmatureandverycostlycurrently,soitisnotpopularandtobeusedcommonly(GongJianya,2001).
Atpresent,themainstreamsolutionisthatlargeobject-relationdatabasesystemssuchasDB2,Oracle,Sybase,SQLServer,andsoonareusedtomanageandstoreGISdata,atthesametime,spatialdataengine(SDE)alsocanbedevelopedtobuildthecommunicationbetweendataservicetierandapplicationtier.
SDEisanopenstandards-basedmiddlewaresuchasArcSDE,SpatialWareandOracleSpatial.
5.
J2EE-BASEDPROTOTYPESYSTEMUsingthe100%PureJavaJ2EEsolution,theabovearchitectureisopenandcross-platform,andhasthecharacteristicssuchasextensibility,stabilityandreliability,whichcouldsatisfysystemrequirementsofWAP-basedMobileGIS.
Basedonthearchitecture,aprototypesystemofWAP-basedMobileGIShasbeendeveloped.
Intheprototypesystem,theserversideusesApacheTomcat5asthewebserver,BEAWebLogic8.
1astheapplicationserver,Oracle8iandESRIArcSDEasthedatabaseserver,anditprovidesarangeofbasicGISfunctions(e.
g.
spatialandattributequerying,routeplanning,geocoding,mapping,etc.
)toaMobileGISuserusingtheServletEngineandEJBcomponentstogainandprocessspatialgeometryobjectinback-endspatialdatabases.
TheclientsideusesWAPphonewithaWAPmicrobrowserandmayobtainmapsinWBMPformatfromtheserverside,andithasthebasicmapbrowsingfunctionssuchaszoomingout,zoomingin,moving(up,down,leftandright).
TherunningresultsareshowedinFigure2.
Figure2:AprototypesystemofWAP-basedMobileGIS6.
CONCLUSIONANDPROSPECTWAP-basedMobileGISisaverynewstudyfieldofGeoinformatics.
Aboveall,thearchitectureissolved,becauseitisthekeyandcoreofthedistributedsystem.
Inthispaper,basedonJ2EE,anopendistributedarchitectureisproposedforWAP-basedMobileGIS.
Andaprototypesystemisdesignedanddevelopedbasedonthearchitecturewhichiscomposedoffourlogictiers.
TheprototypesystemcansuccessfullyworkonWAPphones,whichprovesthatthearchitectureisfeasible.
Atpresent,lowbandwidthsarestillthemainbottleneckofallmobileapplications(WeiZhongya,XuSunxinandWuLun,2003).
Soresearchesontheorganizationofgeospatialdataatthefatserversideandonthepresentationofgeospatialinformationatthethinclientsideshouldbedonefarther.
Fortunately,themobilenetworkistowardsthedevelopmentof3G.
In3Gage,whenthemobileterminalmovesatthesamespeedasvehicle,thetransmissionspeedis144kbps,whenthemobileterminalmovesatthewalkingspeedorun-movesinoutdoor,thetransmissionspeedis384kbps,whenthemobileterminalisintheroom,thetransmissionspeedisupto2Mbps.
The3Gbandwidthswillsatisfywiththerequirementsofgeospatialinformationwirelesstransmission.
Therefore,itisnothardtounderstandthatWAP-basedMobileGISwillhavebetterdevelopmentandapplicationperspectivesandconsiderablebusinessvalue.
REFERENCESLiDeren,LiQingquan,XieZhiying,ZhuXinyan,2002.
TheTechniqueIntegrationoftheSpatialInformationandMobileCommunication.
GeomaticsandInformationScienceofWuhanUniversity,27(1):1-6.
ShiWenzhong,Ka-waiKwan,2002.
:AReviewandAnalysisofMobileGISDevelopment.
TheInternationalWorkshoponMobileandInternetGIS.
Wuhan,2002.
NessS.
T.
Lee,1993.
SingleLineStreetNetwork:TheFoundationofMobileGIS.
IEEE-IEEVehicleNavigationandInformationSystemsConference.
Ottawa-VNIS'93,34-37.
K.
North,1997.
FieldInformationSystemsforManagingYourAssets.
EngineeringtheBenefitsofGeographicalInformationSystems.
IEEEColloquium,1997,6/1-6/7.
DavidMaguire,2001.
MobileGeographicServicesComeofAge.
Geoinformatics,March,6-9.
MaLinbing,GongJianya,ZhangChunSen,2002.
ResearchonApplicationSolutionandKeyTechnologyofMobileGIS.
ISPRS,VolumeXXXIV,Part2,CommissionII:323-326.
WeiZhongya,XuSuning,WuLun,2002.
AModelofMobileGeographicInformationService.
ISPRS,VolumeXXXIV,Part2,CommissionII:525-529.
ZhangJianqun,LiangJuanzhu,2003.
ImplementationofMobileSpatialInformationServiceByMMS.
GeomaticsandInformationScienceofWuhanUniversity,28(1):115-119.
WAPForum,2002.
WAP2.
0TechnicalWhitePaper.
http://www.
wapforum.
org/what/WAPWhite_Paper1.
pdf(accessed28Nov.
2003)LiLuqun,LiChengmingandLinZongjian,2002.
InvestigationontheConceptModelofMobileGIS.
ISPRS,Vol.
XXXIV,part4,CommissionIV.
http://www.
isprs.
org/commission4/proceedings/pdfpapers/415.
pdf(accessed18May2003)MaoHaifeng,2004.
DistributedGISforAgricultureBasedonJ2EE.
GeomaticsandInformationScienceofWuhanUniversity,29(2):142-143.
LocationInteroperabilityForum,2002.
MobileLocationProtocolSpecification.
http://www.
openmobilealliance.
org/lifdownload/LIF-TS-101-v3.
0.
0.
zip(accessed18May2003)GongJianya,2001.
ConceptandDevelopmentTrendofSpatialDatabaseManagementSystem.
ScienceofSurveyingandMapping,26(3):4-9.
WeiZhongya,XuSuning,WuLun,2003.
AWAP-basedGeographicInformationMobileService.
CommunicationTechnologyProceedings,ICCT2003.
InternationalConferenceon,Vol2:1455-1460.
数脉科技六月优惠促销发布了!数脉科技对香港自营机房的香港服务器进行超低价促销,可选择30M、50M、100Mbps的优质bgp网络。更大带宽可在选购时选择同样享受优惠,目前仅提供HKBGP、阿里云产品,香港CN2、产品优惠码续费有效,仅限新购,每个客户可使用于一个订单。新客户可以立减400元,或者选择对应的机器用相应的优惠码,有需要的朋友可以尝试一下。点击进入:数脉科技官方网站地址数脉科技是一家成...
SugarHosts糖果主机商我们较早的站长们肯定是熟悉的,早年是提供虚拟主机起家的,如今一直还在提供虚拟主机,后来也有增加云服务器、独立服务器等。数据中心涵盖美国、德国、香港等。我们要知道大部分的海外主机商都只提供Linux系统云服务器。今天,糖果主机有新增SugarHosts夏季六折的优惠,以及新品Windows云服务器/云VPS上线。SugarHosts Windows系统云服务器有区分限制...
如何低价香港服务器购买?想要做一个个人博客,想用香港服务器,避免繁琐备案,性能不需要多高,只是记录一些日常而已,也没啥视频之类的东西,想问问各位大佬有没有低价的香港服务器推荐?香港距大陆近,相比美国服务器最大的优势在于延迟低,ping值低,但是带宽紧张,普遍都是1M,一般戏称其为“毛细血管”。同时价格普遍高,优质稳定的一般价格不菲。大厂云梯队阿里云、腾讯云两家都有香港服务器,要注意的是尽量不要选择...
xyq.163.cbg.com为你推荐
在线教育平台适合在校教师的在线教育平台有哪些neworientalbecoming什么么意思甲骨文不满赔偿公司倒闭员工不满一年怎么赔偿比肩工场命比肩多 是什么意思啊?地陷裂口山崩地裂的意思陈嘉垣陈浩民狼吻陈嘉恒是什么时候的事罗伦佐娜维洛娜毛周角化修复液治疗毛周角化有用吗?谁用过?能告诉我吗?同ip站点同IP网站具体是什么意思,能换独立的吗www.vtigu.com初三了,为什么考试的数学题都那么难,我最多也就135,最后一道选择,填空啊根本没法做,最后几道大题倒m.kan84.net那里有免费的电影看?
买虚拟主机 国外免费vps 已备案域名出售 vmsnap3 免费博客空间 最好的空间 蜗牛魔方 世界测速 河南移动网 绍兴电信 免费dns解析 idc查询 东莞服务器 双线asp空间 海外空间 登陆qq空间 中国联通宽带测试 netvigator 德国代理 日本小学生 更多