您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 项目/工程管理 > the-ONE-simulation机会网络仿真工具教程及帮助
OpportunisticNetworkEnvironmentsimulatorAriKeranenari.keranen@tkk.HelsinkiUniversityofTechnologyDepartmentofCommunicationsandNetworkingSpecialassignmentSupervisor:ProfessorJorgOttMay29,2008Contents1Introduction12Background33TheOpportunisticNetworkEnvironmentsimulator63.1Mobilitymodeling........................73.2Routingsimulation........................93.3Externaleventandreportingframeworks...........113.4Runningsimulations.......................123.4.1GraphicalUserInterfacemode.............123.4.2Batchmode........................143.4.3Post-processing......................153.4.4Conguringscenarios..................163.5Softwarearchitecture.......................173.5.1Movementmodels....................183.5.2Routingmodules.....................193.5.3Extendingthesimulator.................213.6Limitations............................233.7Results...............................244Conclusions25ATheONEReadMeIIAcronymsAPIApplicationProgrammingInterfaceASCIIAmericanStandardCodeforInformationInterchangeDTNDelayTolerantNetworkingGISGeographicInformationSystemGPLGNUGeneralPublicLicenseGPSGlobalPositioningSystemGUIGraphicalUserInterfaceMACMediaAccessControlMANETMobileAd-hocNETworkONEOpportunisticNetworkEnvironmentsimulatorPOIPointOfInterestRAMRandomAccessMemoryRWPRandomWayPointTTLTimeToLiveWKTWellKnownTextWLANWirelessLocalAreaNetworkIIChapter1IntroductionTodaymanypersonalmobiledevicesincludecapabilitiestocommunicatewithinfrastructurenetworksbutalsowitheachother.Thelattercanbeusedtoformad-hocnetworkswherecommoninfrastructureisnolongerneededforcommunicationamonghostsparticipatinginthenetwork.Ad-hocnetworkscanalsohelpmobilenodestoreachinfrastructureifsomenodeinthenetworkisableandwillingtoactasagatewayandpossiblyothernodesasrelaysforthetrac.Networkscanbeformedthiswayaslongasthenodedensityislargeenoughsothatthereexistspossibleend-to-endpathsbetweenallnodeswantingtocommunicate.However,ifthenodedensitydecreasesortheconnectivitybreaksforsomeotherreason(e.g.,theradiosareswitchedooccasionally),traditionalnetworkcommunicationprotocolsarenolongerabletoprovidemeansformulti-hopcommunication.DelayTolerantNetworking(DTN)[10,4]isacommunicationnetworkingparadigmthatenablescommunicationinenvironmentswheretheremaybenoend-to-endpaths,communicationopportunitiescomeandgoandtheirintervalcanbeverylongandnotevenknownbeforehand.Routingmessagesinthiskindofenvironmentscanbequitedierentcomparedtotraditionalnetworks.Thishascreatedaneedtondnewroutingprotocolsthattakeecientlyintoaccountthedistinctnatureofthesenetworks.Dierentap-proachescanbetestedandevaluatedbysimulation,butthesimulationresultsarereallyusefulonlyiftheyarearesultofsomewhatcrediblesimu-lationscenarios.1ThegoalofthisstudyistoaddmorerealismtothesimulationsofDelayTolerantNetworks.Forthispurposewecreatedanewsimulationenviron-mentcalledOpportunisticNetworkEnvironmentsimulator(ONE).UnlikeotherDTNsimulators,whichusuallyfocusonlyonroutingsimulation,theONEcombinesmobilitymodeling,DTNroutingandvisualizationinonepackagethatiseasilyextensibleandprovidesarichsetofreportingandanalyzingmodules.2Chapter2BackgroundOnehindranceforresearchonDTNsisthelackofgoodsimulators.ManysimulatorsexistforMANETs(e.g.,ns2[19]andOMNeT++[27])andalsoforDTNrouting(e.g.,dtnsim[13]anddtnsim2[20])buttheformerlackgoodDTNsupportandthelatterconcentratesolelyonroutingsimulation.TheDTNroutingsimulatorshavealsoseenlittleevolutionsincetheirrstpublicreleaseandimplementationsofrecentroutingprotocolsdon'texistorarenotpubliclyavailable.Anotherproblemforasimulatorthatconsidersonlyroutingisthatitneedsinputdatathattellstheroutingprotocolswhenanetworklinkbe-tweentwoDTNnodesisupandwhenitisdown.Thisdatacanbegen-eratedbasedonsomerandomprocess(e.g.,justdrawingcontactdurationsandendpointsfromapseudorandomnumbergenerator),itcanbederivedfromreal-worldtrace(e.g.,usingCRAWDAD[5]data)oritcanbederivedfrommobilitysimulation.Theproblemwiththerstapproachisthatval-uesfromsomerandomdistributionarehardtoprovetohavesomevaliditybehindthem.Forexample,evenifhumaninteractionsmayseemsome-whatrandom,humansusuallydohavesomepurposefortheiractionsandformeetingcertainpeopleandvisitingsomeplacesmoreoftenthanothers.Capturingthisinasimple,orevencomplex,randomnumberdistributionwouldbechallenging,tosaytheleast.Thereal-worldtracesobviouslycapturerealhumanbehaviorwellbuttheyhaveotherkindsofproblems.Thenumberofusabletraceshasbeen3loweventhoughtheCRAWDADprojectisbringingsomereliefintothis.Unfortunately,theexistingtraceshavelowspatialandtemporalgranularity.Tosavebatterylifeofthemobiledevicesthatareusedtotrackpeople,theintervalthedevicesscanforothershasbeenkeptlow[7].Thisresultsinmissingpossiblecontactsbutalsointhatwedon'tknowhowlongtheactualcontactslasted|wejustknowhowmanyscanningintervalstheywereincontactwitheachother.Thisinformationcanbeofcourseusedformanysimulations,butifweareinterestedinutilizingeventheshortestcontacts,orwanttoexperimentwithdierentscanningintervals,thesetracesarenotthatusefulanymore.Ifwehadtracesofthenodes'exactlocations,wecouldderivecontactti
本文标题:the-ONE-simulation机会网络仿真工具教程及帮助
链接地址:https://www.777doc.com/doc-5633571 .html