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.
PhotonVPS 服务商我们是不是已经很久没有见过?曾经也是相当的火爆的,我们中文习惯称作为饭桶VPS主机商。翻看之前的文章,在2015年之前也有较多商家的活动分享的,这几年由于服务商太多,乃至于有一些老牌的服务商都逐渐淡忘。这不有看到PhotonVPS商家发布促销活动。PhotonVPS 商家七月份推出首月半价Linux系统VPS主机,首月低至2.5美元,有洛杉矶、达拉斯、阿什本机房,除提供普...
青果网络QG.NET定位为高效多云管理服务商,已拥有工信部颁发的全网云计算/CDN/IDC/ISP/IP-VPN等多项资质,是CNNIC/APNIC联盟的成员之一,2019年荣获国家高薪技术企业、福建省省级高新技术企业双项荣誉。那么青果网络作为国内主流的IDC厂商之一,那么其旗下美国洛杉矶CN2 GIA线路云服务器到底怎么样?官方网站:https://www.qg.net/CPU内存系统盘流量宽带...
BuyVM商家属于比较老牌的服务商,早年有提供低价年付便宜VPS主机还记得曾经半夜的时候抢购的。但是由于这个商家风控非常严格,即便是有些是正常的操作也会导致被封账户,所以后来陆续无人去理睬,估计被我们风控的抢购低价VPS主机已经手足无措。这两年商家重新调整,而且风控也比较规范,比如才入手他们新上线的流媒体优化VPS主机也没有不适的提示。目前,BuyVM商家有提供新泽西、迈阿密等四个机房的VPS主机...
xyq.163.cbg.com为你推荐
站酷zcool有什么很好的平面设计如ZCOOL这种的好网站?今日油条天天吃油条,身体会怎么样psbc.com怎样登录wap.psbc.compsbc.comwap.psbc.com网银激活xyq.163.cbg.com『梦幻西游』那藏宝阁怎么登录?百度关键词工具如何利用百度关键词推荐工具选取关键词porntimesexy time 本兮 MP3地址ip在线查询我要用eclipse做个ip在线查询功能,用QQwry数据库,可是我不知道怎么把这个数据库放到我的程序里面去,高手帮忙指点下,小弟在这谢谢了www.78222.com我看一个网站.www.snw58.com里面好有意思呀,不知道里面的信息是不是真实的www.ca800.comPLC好学吗
什么是域名 域名服务dns的主要功能为 中国域名交易中心 westhost 便宜域名 kdata 512av 20g硬盘 宕机监控 轻博 中国电信测速112 柚子舍官网 1g内存 美国免费空间 搜索引擎提交入口 能外链的相册 in域名 监控服务器 什么是web服务器 photobucket 更多