爱立信MGW软件结构及故障处理2011年3月黄景生MGW的子系统爱立信MGW软件结构及故障处理MGW的软件结构MGW的命令MGW的维护□MGW的功能□MGW的软件结构MGW的软件结构MGW的功能M-MGwsupportsfivemainfeatureswhicharedependentoneachother:1、GCPcontrolledtraffichandlingwhichisconsideredasthemainpurposeofM-MGw2、SS7SignallingincludingSGw,STPandSRPfunctionality3、AAL2transitswitching4、ATMcrossconnectiononVClevel5、O&MforallabovefeaturesMGW的软件结构UserPlaneTrafficControlFunctionMediaStreamProcessingOperation&MaintenanceMGwAlarmandControlUnitCPPCPPProxiesTCMSPOaMMACUMGWapplicationsSWACPPplatformSWAMGW的软件结构MGW的软件结构Toprightcornerforfield-mark,customerorpartnerlogotypes.SeeBestpracticeforexample.Slidetitle40ptSlidesubtitle24ptText24ptBulletslevel2-520ptGCPControlledTrafficControlSWblocksHDSS7stackSTCCHMESCGRA/IMRAAAL2_CPS-RCAAL2_APAAL2_NCCAAL2AdmBP-BASDSPdevicesRAAATM-ETAAL1_NCCTDM-ETET-MFGIM-StreamerIM-CacheUPCF_DBIP_hostagent_msbIPCPIPAdmMSMFPGA,AlbinAAL5_NCCAAL5DynAdmAAL5TermQ.AAL2GCP(IPBCP)Ds0BundleMpUPCF_FRO,ConfMGW的软件结构M-MGwapplicationSWcanbemainlycategorisedintofollowingSystemAreasTrafficControlUserPlaneSignallingApplicationsOperationandMaintenanceEachSystemareamaycontainoneorseveralSubsystemareas.EachSubsystemconsistsofseveralfunctionalentitiescalledFunctionblocks.MGW的子系统爱立信MGW软件结构及故障处理MGW的软件结构MGW的命令MGW的维护□TC子系统□TC子系统中的运行过程□其他子系统MGW的子系统TrafficControledSubsystem(TC子系统)MSCServerusesGatewayControlProtocol(GCP)tocontroltheMGw.TrafficControl(TC)subsystemtakescareofGCPcommunicationwithMSCServer.TCcreatesalogicalviewofthefunctionalitiesthatarerequestedbyMSCServer.TCthenmapsthisGCPviewtoUserPlaneviewtofulfilltherequestedfunctionality.TCalsocontrolsthedevicesandservicesthatareexecutedonMediaStreamBoards.TrafficControledSubsystemTCSubsystemconsistsofthefollowingFunctionblocks:SignalingTransportConverter(STC)ControllerHandler(CH)MediaStreamControl(MESC)UPCFDatabase(UPCFDB)ConfigurationManager(ConfMgr)ResourceAccessAdapter(RAA)GenericResourceAccess(GRA)MediaStreamManager(MSM)InteractiveMessagingResourceAccess(IMRA)UMTSMultiFunctionDevice(UMTSMFD)SignallingTransportConverter(STC)STCcontrolsalllowerlevelsignallingandextractsthehigherlevelsignalling(GCP),whichisthenparsedtotheupperlevels.STCcommunicateswithControllerHandlers(upperlevel)andthesignallingservicesfromCPPsuchasMTP3b,M3UAandSCTP(lowerlevel).ItsmainpurposeistohidethesignallingrequirementsfromtheupperlevelssoGCPprotocolcanworkseamlesslywithallsignallingtypes.SignallingTransportConverter(STC)ControllerHandler(CH)1、CHdecodesandEncodesGCPmessagesinASN1format.Itverifiesthatrequestedfeaturesarelicensedandvalid.2、CHnegotiatestheGCPprofilewiththeMSC-S.ItalsonegotiatesLoadControlwiththeMSC-S.3、CHdistributestheGCPcommandstoMeSCsusingroundrobinalgorithmduringcreationofacontext.4、forwardsdecodedmessagestoappropriateMeSC.5、CHtransfersencodedmessagestoSTCforfurtherdeliverytoMSCservers.MediaStreamControl(MeSC)1、MeSCsprocessGCPactions2、MeSChasbothGCP(logical)andUserPlaneviews3、MeSCsmanagetheselogicalviews-contextandtermination4、AlsomapslogicalviewintoUserPlaneview–actualdeviceandConnectionEndPoint(CEP)5、EachVMGwusesallavailableMeSC’sforfault-tolerantandloaddistribution.6、SoftwarelicensingfeatureisalsoimplementedinMeSCs.Whenanexternalmediastreamisseized/releasedMeSCsincrease/decreasethecountersinUPCF_DB.UPCFDB1、UPCFDBkeepsthedynamicGCPviewconsistentwiththeMSCServerandperformsservicestoCH,MeSCandConfigurationManager.2、FollowingdataisstoredinDB1)VMGwdata–VMGwId,GCPprofileversion,Administrativestate2)TDMGroupdata-TDMGroupIdandlastTDMservicechangesent3)Terminationdata-TerminationId,VMGwId,ContextId,typeofthelastGCPServiceChangesentandloadcontrolpercentage.4)Softwarelicensingdata5)StaticandDynamicIPAdmissionControldataConfigurationManagerTheConfigurationManagerco-ordinatesandconfigurestheTrafficControlfunctions,faulthandlingreportingandceasingtowardsO&M.ConfigurationManagerhascommunicationwithallcomponentsoftheTCexceptSTC,whichgoesviaCH.ConfigurationManagerhasstateinformationaboutCHs,MeSCs,STC&DB.VirtualMediaGateway(VMGw)Handling1、VMGwisalogicalrepresentationofapartofanMGwwhichiscontrolledbyasingleMSC-SIntheory:1)EachCHisonadifferentGPBboard2)OneVMGwisonlyhandledbyoneCH,buteachCHcanhaveseveralVMGw’s3)MeSCsaresharedbyalltheVMGws2、Thereisn+1redundancyonCH,MeSCandSTCincaseofhardwareorsoftwarefailure3、Onlyfirstfailurewillbecreatedonredundantboard,subsequenceonewillbequeuedVirtualMediaGateway(VMGw)HandlingCH1CH2STCAP1AP2AP3MSC1MSC2MSC3MeSC1MeSC2MeSC3MeSCnVMGw1VMGw3VMGw2VMGw1VMGw2CH_PASSIVEVMGw3n+1redundancyStandbyprocessorMeSC_PASSIVESTC_PASSIVECH1CH2STCAP1AP2AP3MSC1MSC2MSC3MeSC1MeSC2MeSC3MeSCnVMGw1VMGw3VMGw2VMGw1VMGw2CH_PASSIVEVMGw3n+1redundancyStandbyprocessorMeSC_PASSIVESTC_PASSIVEVMGwhandlingandCHdistributionResourceAccessAdapter(RAA)1、RAAisaresourcebroker.2、ItkeepstrackofanumberofdistributeddevicehandlersreferredasResourceAccesses(RA).3、RAkeepsalistofconfigureddevicetypeandservices4、WhenarequestforaspecificdevicetypeisreceivedfromMeSC,RAAwillselectanRAthathasbeenconfiguredwiththerequesteddevicetype.5、RAthenselectsthedevice.6、RAAprovidesPerformancecountersrelatetodevic