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.
RackNerd今天补货了3款便宜vps,最便宜的仅$9.49/年, 硬盘是SSD RAID-10 Storage,共享G口带宽,最低配给的流量也有2T,注意,这3款补货的便宜vps是intel平台。官方网站便宜VPS套餐机型均为KVM虚拟,SolusVM Control Panel ,硬盘是SSD RAID-10 Storage,共享G口带宽,大流量。CPU:1核心内存:768 MB硬盘:12 ...
TMThosting发布了一个2021 Summer Sale活动,针对西雅图VPS主机提供月付7折优惠码,年付65折优惠码,独立服务器提供95折优惠码,本轮促销活动到7月25日。这是一家成立于2018年的国外主机商,主要提供VPS和独立服务器租用业务,数据中心包括美国西雅图和达拉斯,其中VPS基于KVM架构,都有提供免费的DDoS保护,支持选择Windows或者Linux操作系统。Budget ...
virmach送来了夏季促销,价格低到爆炸,而且在低价的基础上还搞首年8折,也就是说VPS低至7.2美元/年。不过,这里有一点要说明:你所购买的当前的VPS将会在09/30/2021 ~ 04/30/2022进行服务器转移,而且IP还会改变,当前的Intel平台会换成AMD平台,机房也会变动(目前来看以后会从colocrossing切换到INAP和Psychz),采取的是就近原则,原来的水牛城可能...
xyq.163.cbg.com为你推荐
京沪高铁上市首秀京沪高铁怎么老是出问题?高铁的核心技术是中国自己的吗?网红名字被抢注谁知道这个网红叫什么名字?求帮助!陈嘉垣大家觉得陈嘉桓漂亮还是钟嘉欣漂亮?百度关键词工具常见百度关键词挖掘方法分别是什么请列举?m.kan84.net那里有免费的电影看?www.6vhao.com有哪些电影网站www.ijinshan.com桌面上多了一个IE图标,打开后就链接到009dh.com这个网站,这个图标怎么删掉啊?yinrentangWeichentang正品怎么样,谁知道?bk乐乐BK乐乐和沈珂什么关系?175qq.com查询QQ登录地址
西安虚拟主机 shopex虚拟主机 重庆域名注册 vps是什么意思 美国主机评论 pccw 私服服务器 香港新世界电讯 realvnc xen 私有云存储 免费ftp站点 网站挂马检测工具 华为网络硬盘 智能骨干网 京东商城0元抢购 怎么测试下载速度 已备案删除域名 129邮箱 100m独享 更多