《爱立信mgw软件结构及故障处理ppt课件.ppt》由会员分享,可在线阅读,更多相关《爱立信mgw软件结构及故障处理ppt课件.ppt(50页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、20112011年年3 3月月黄景生黄景生MGWMGW的子系统的子系统MGWMGW的的 软件结构软件结构MGWMGW的命令的命令MGWMGW的维护的维护 MGWMGW的功能的功能 MGWMGW的软件结构的软件结构MGW的软件结构的软件结构 MGW的功能的功能M-MGw supports five main features which are dependent on each other:1、GCP controlled traffic handling which is considered as the main purpose of M-MGw 2、SS7 Signalling inc
2、luding SGw, STP and SRP functionality3、AAL2 transit switching4、ATM cross connection on VC level 5、O&M for all above features MGW的软件结构的软件结构User Plane Traffic Control FunctionMedia Stream ProcessingOperation & MaintenanceMGw Alarm and Control UnitCPPCPP ProxiesTCMSPOaMMACUMGW applications SWACPP platf
3、orm SWA MGW的软件结构的软件结构 MGW的软件结构的软件结构 MGW的软件结构的软件结构 M-MGw application SW can be mainly categorised into following System AreasTraffic ControlUser PlaneSignalling ApplicationsOperation and Maintenance Each System area may contain one or several Subsystem areas. Each Subsystem consists of several functi
4、onal entities called Function blocks.MGWMGW的子系统的子系统MGWMGW的的 软件结构软件结构MGWMGW的命令的命令MGWMGW的维护的维护 TCTC子系统子系统 TCTC子系统中的运行过程子系统中的运行过程 其他子系统其他子系统MGW的子系统的子系统 Traffic Controled Subsystem(TC子系统)子系统) MSC Server uses Gateway Control Protocol (GCP) to control the MGw. Traffic Control (TC) subsystem takes care of
5、GCP communication with MSC Server. TC creates a logical view of the functionalities that are requested by MSC Server. TC then maps this GCP view to User Plane view to fulfill the requested functionality. TC also controls the devices and services that are executed on Media Stream Boards. Traffic Cont
6、roled Subsystem TC Subsystem consists of the following Function blocks:Signaling Transport Converter (STC)Controller Handler (CH)Media Stream Control (MESC)UPCF Database (UPCF DB)Configuration Manager (ConfMgr)Resource Access Adapter (RAA)Generic Resource Access (GRA)Media Stream Manager (MSM)Intera
7、ctive Messaging Resource Access (IM RA)UMTS Multi Function Device (UMTS MFD) Signalling Transport Converter (STC) STC controls all lower level signalling and extracts the higher level signalling (GCP), which is then parsedto the upper levels. STC communicates with Controller Handlers (upper level) a
8、nd the signalling services from CPP such as MTP3b, M3UA and SCTP (lower level). Its main purpose is to hide the signalling requirements from the upper levels so GCP protocol can work seamlessly with all signalling types. Signalling Transport Converter (STC) Controller Handler (CH)1、CH decodes and En
9、codes GCP messages in ASN1 format. It verifies that requested features are licensed and valid.2、CH negotiates the GCP profile with the MSC-S. It also negotiates Load Control with the MSC-S.3、CH distributes the GCP commands to MeSCs using round robin algorithm during creation of a context. 4、 forward
10、s decoded messages to appropriate MeSC.5、CH transfers encoded messages to STC for further delivery to MSC servers.Media Stream Control (MeSC)1、MeSCs process GCP actions2、MeSC has both GCP (logical) and User Plane views3、MeSCs manage these logical views - context and termination4、Also maps logical vi
11、ew into User Plane view actual device and Connection End Point (CEP)5、Each VMGw uses all available MeSCs for fault-tolerant and load distribution.6、Software licensing feature is also implemented in MeSCs. When an external media stream is seized/released MeSCs increase/decrease the counters in UPCF_D
12、B.UPCF DB1、UPCF DB keeps the dynamic GCP view consistent with the MSC Server and performs services to CH, MeSC and Configuration Manager. 2、Following data is stored in DB1)VMGw data VMGw Id, GCP profile version, Administrative state2)TDM Group data - TDM Group Id and last TDM service change sent3)Te
13、rmination data - Termination Id, VMGw Id, Context Id, type of the last GCP Service Change sent and load control percentage.4)Software licensing data5)Static and Dynamic IP Admission Control dataConfiguration Manager The Configuration Manager co-ordinates and configures the Traffic Control functions,
14、 fault handling reporting and ceasing towards O&M. Configuration Manager has communication with all components of the TC except STC, which goes via CH. Configuration Manager has state information about CHs, MeSCs, STC & DB. Virtual Media Gateway (VMGw) Handling1、VMGw is a logical representation of a
15、 part of an MGw which is controlled by a single MSC-SIn theory:1)Each CH is on a different GPB board2) One VMGw is only handled by one CH, but each CH can have several VMGws3) MeSCs are shared by all the VMGws 2、There is n+1 redundancy on CH, MeSC and STC in case of hardware or software failure3、Onl
16、y first failure will be created on redundant board, subsequence one will be queued Virtual Media Gateway (VMGw) HandlingCH1CH2STCAP1AP2AP3MSC1MSC2MSC3MeSC1MeSC2MeSC3MeSCnVMGw1VMGw3VMGw2VMGw1VMGw2CH_PASSIVEVMGw3n+1 redundancyStandby processorMeSC_PASSIVESTC_PASSIVECH1CH2STCAP1AP2AP3MSC1MSC2MSC3MeSC1M
17、eSC2MeSC3MeSCnVMGw1VMGw3VMGw2VMGw1VMGw2CH_PASSIVEVMGw3n+1 redundancyStandby processorMeSC_PASSIVESTC_PASSIVEVMGw handling and CH distribution Resource Access Adapter (RAA)1、RAA is a resource broker.2、It keeps track of a number of distributed device handlers referred as Resource Accesses (RA).3、RA ke
18、eps a list of configured device type and services4、When a request for a specific device type is received from MeSC, RAA will select an RA that has been configured with the requested device type.5、RA then selects the device.6、RAA provides Performance counters relate to device usageResource Access (RA
19、) 1、RA is the most important component for the device and resource handling in the Traffic Control subsystem2、RA is the owner of the distributed Device Type Pool, the Device set, the Device and the service Resource Objects3、The Device Type Pool must provide fast search and access to devices, Device
20、Sets and associated Root Devices, which are configured in the RA.4、RA keep tack of the available idle processing capacity of every Root Device5、When a device reservation request is received, RA locates an Enabled and IDLE device in the Root Device with highest available IDLE processing capacity.Reso
21、urce Access (RA) 1、Two types of RA1)Generic RA (GRA)2)Interactive Message RA (IMRA)2、IMRA handles the IM device types for playing Interactive messages and GRA handles all other device types that are configured in the MGw.3、All Device type except IM is possible to configure a percentage of processing
22、 capacity exclusive for priority resource reservation or modification request from TCGeneric Resource Access (GRA) 1、GRA handles resource handling for all the devices (discrete and multifunction), except Interactive Messaging.2、GRA uses a generic resource interface (MsfResP) for communication with a
23、ll the devices, except for CSD modem, CSD Digital, CSD GSM Media Frame Handler (MFH).3、More than one GRA can be configured to run inside the same subrack4、The GRA does load distribution towards the Dsps. Gra is the owner for the device poolInteractive Messaging Resource Access (IM RA) 1、The Interact
24、ive Messaging Resource Access (IM RA) handles all incoming requests for IM. It allocates the needed resources, maintains a message model, and forwards further handling to IM Streamers. 2、IM RA is part of IM application, which consists of IM RA, IM Streamer, IM Cache and IM Player. IM RA is the owner
25、 for the IM device poolMedia Stream Manager (MSM) 1、MSM implements a resource broker pattern for devices.2、MSM provides a device configuration interface towards O&M.3、This interface is used for sending fault indications and retrieval of performance data from TC subsystem.4、MSM also provides an inter
26、face towards UPCF DB for retrieval of performance data. 5、A major role of the MSM is to distribute requests to create Device Sets, received from O&M, so that all RA.s get as equal load as possible. TCTC子系统子系统 其他子系统其他子系统 TCTC子系统中的运行过程子系统中的运行过程MGW的子系统的子系统Framing and Speech Processing Subsystem 1、Frami
27、ng and Speech Processing (FSP) contains media stream functions which enables establishing speech and WCDMA data calls. 2、Following algorithms are implemented in MFDs:1)Framing (Iu, Nb, VoIP)2)Voice Encoding and Decoding (AMR2, AMR-WB, EFR, G.729, PCM)3)Speech improvement services: Improve speech qua
28、lity such as echo cancelling, noise reduction4)Tone Detection and Generation (DTMF, CC, TSR)5)Teletext (GTT)6)Tandom Free operation (TFO)7)Jitter CompensationFraming and Speech Processing Subsystem 3、FSP also contains the following algorithms that are implemented as discrete devices:1)Multi Party Ca
29、ll : enables multi party calls2)IMPlayer : inserts announcement messages into the user plane 3)IM Streamer : retrieves announcement file content from IMCache and feeds the information to the IMPlayer4)IMCache: stores announcement speech files5)Inmarsat : performs speech coding using the Inmarsat voc
30、oderCircuit Switched Data (CSD) Processing Subsystem 1、CSD is a media stream function that enables establishing CSD data calls. 2、Following CSD functionalities are implemented as discrete device:CSD Digital : UANT, FTM & MANTCSD Modem : MANT, MAT, MST, M-MSTCSD FaxGSM Media Frame Handler (MFH-GSM) M
31、edia Stream Equipment (MSE) Subsystem 1、MSE Consists of MSB board and Firmware on the boardLM for Board Processor Media stream Processor Platform (BP-MPP)LM for Board Processor Basis (BP-BAS)Library for DSP Media stream Processor Platform (DSP-MPP)Library for DSP Basis (DSP-BAS)2、Basic functions:Pro
32、vide service to MSB boardsSelf test of main componentLoad DSPHandle fault & errorDSP memory dump (in /c/usr/dsp_dump/)Thermal protection (MSB3 only)Signalling Applications SubsystemSignalling Application subsystem is introduced in M-MGw R5.1 It implements the following two applications:Primary Rate
33、Access (PRA)MSC Pool Proxy for GSMPrimary Rate Access (PRA)1、PRA contains the following two function units:Link Access Protocol on D-channel (LAPD)ISDN User Adaptation (IUA) protocol2、M-MGw and the PABXs exchanges the DSS1 (Q.931) protocol information over the standard ISDN access interface based on
34、 LAPD.3、M-MGw and the MSC-S exchanges the DSS1 protocol information over IUA.4、M-MGw backhauls DSS1 protocol information between PABXs and the MSC-S.5、B-channels are switched by MSC-S by using GCP.MSC Pool Proxy for GSM (MPPxy)1、MPPxy implements the RAN related MSC in Pool functionality in M-MGw2、Th
35、is allows to connect MSC Pool to the BSCs that are not supporting MSC Pool function.3、M-MGw takes care of signal routing and MSC selection. TCTC子系统子系统 其他子系统其他子系统 TCTC子系统中的运行过程子系统中的运行过程MGW的子系统的子系统Call Flow in M-MGw MGWMGW的子系统的子系统MGWMGW的的 软件结构软件结构MGWMGW的命令的命令MGWMGW的维护的维护MGW的三种指令的三种指令 MGW存在上中指令系统,还有视图界
36、面,目前我们更多通过node manager界面方式进行操作,但是再处理一些如果软件模块及呼叫流程的数据统计的时候,使用指令来操作会更加直观。 目前MGW存在三种指令系统,COLI、NCLI、MO SHELL等三种: Command Line Interface(COLI):直接通过telnet方式登录,COLI指令是直接在CPP平台上使用的指令,比较麻烦,需要登录各个板进行处理。 NCLI:目前很少用 MO Shell:通过cygllin来登录,MO shell对COLI指令进行封装,是一批跳出爱立信的人员开发的,然后又被爱立信收购的,该指令系统兼容COLI指令且比起COLI指令智能且方便很
37、多。 STC模块的命令模块的命令stc_gcp_buffer : Buffers GCP messagesstc_info: Displays information about MTP3B/SCTP clientsFollowing options are available with “stc_gcp_buffer” lhsh 00 xx00 stc_gcp_bufferlhsh 00 xx00 stc_gcp_buffer -on 100000lhsh 00 xx00 stc_gcp_buffer -off lhsh 00 xx00 stc_gcp_buffer -log /c/”fil
38、e name”lhsh 00 xx00 stc_gcp_buffer clearlhsh 00 xx00 stc_gcp_buffer vmgwId : buffers messages for a specific M-MGw onlySTC模块的命令模块的命令1. Where the STC is located ?In the R4/R5 hardware the load module STC is normally executed in Central Processor Module on GPB 001300 and as a stanby on GPB 001200. Tip
39、: in order to get where stc is active use by moshell the coli command “All stc_info” (other way are sma, rpu,uniter or.)2. On the STC board you can see the status of the GCP Buffer with command:lhsh 001300 stc_gcp_buffer3. Activate the GCP Buffer with following command:lhsh 001300 stc_gcp_buffer on
40、100000 (300000) Now the GCP tracing is active and all GCP messages will be copied to memory of the STC. If 40 MB memory limit is reached or 100000 GCP messages are resident in the memory, the oldest GCP message is overwritten automatically./ Check how many GCP messages have been captured with comman
41、d:/ lhsh 00 xx00 stc_gcp_buffer4. The GCP Buffer can be stopped with following command:lhsh 001300 stc_gcp_buffer offNow the GCP Buffer is not active any more, but the buffered GCP messages remain in the memory of the STC.5. Before logging the GCP messages to file verify with vols-command thatthere
42、is enough disk space:lhsh 001300 volsvolume total used free/p001300 781M 4M 0% 776M 99%6. If you had enough disk space, you can write the GCP messages frommemory to file with following command:lhsh 001300 stc_gcp_buffer -log /c/mrb_1.log7. Then fetch this file with FTP or execute cat from node for d
43、ecoding.lhsh 001300 cat /c/mrb_1.log 8. Delete the log file from the node:lhsh 001300 rm /c/mrb_1.log9. The GCP Buffer can be cleared with following command:lhsh 001300 stc_gcp_buffer clearCaution: Make sure always before logging the GCP Buffer to a file, that youhave enough space on the file system
44、 (see step 5). Also remove the file logfile always afterwards from the M-MGw file system (see step 8).CH模块的命令模块的命令ch_counters_command: Prints information on number of send/received GCP messagesch_counters_gcp: Prints the number of GCP rejections and where it was rejected fromch_info_db_vmgw: Shows V
45、MGw data stored in DB CH Clientch_info_db_tdm: Prints tdm group data which is stored in DB CH Clientch_info_vmgw: Prints VMGw informationch_info_tdm: Prints TdmGroup related signal historych_info_mesc: Prints status of all MeSCsch_info_links: Prints GCP link and STC related informationch_info_loadco
46、ntrol: Prints how many load control notifies have been sent per VMGwMeSC模块的命令模块的命令mesc_counters: MeSC Counters and VMGw stats.mesc_counters_gcp : GCP stats including rejectionsmesc_counters_device : Device statisticsmesc_counters_aal : AAL statistics including rejectionsmesc_counters_ip: IP statisti
47、csmesc_command_block: Block/deblock a MeSC for new callsmesc_info_ctx: Context Informationmesc_info_im: IM Rejections including codesmesc_info_tdm: TDM Informationmesc_info_vmgw: VMGw statisticsUPCF_DB模块的命令模块的命令db_info_license: Prints software licensing related informationdb_info_vmgw: Prints inform
48、ation about VMGws that are stored in UPCF DBdb_info_term : Prints information about terminations stored in UPCF DBdb_info_tdm : Prints information about terminations stored in UPCF DBdb_info_network: Prints information about IP remote sites and defined IP network.RAA & GRA CommandsGPBGPBGPBGPBGPBGPB
49、GPBGPBRAA1GRA1MESC1RAA2MESC2GPBGPBRAA3MESC3RAA4MESC4GRA2GRA3GRA4GRA5GRA6Subrack1Subrack2MSBDSP1MSBDSP2MSBDSP3MSBDSP4MSBDSP5MSBDSP6RAA & GRA CommandsRAAraaral : Print the RA listraapmd: Print PM countersGRAgradsl: Prints GRA Device Set lists grafault: Prints the fault history list for one DSPgrapmd:
50、Prints GRA PM countersgramsb: Prints information about the MSBs and cashed CEPs on a GRAgrapool: Prints info about resources in GRA poolMGWMGW的子系统的子系统MGWMGW的的 软件结构软件结构MGWMGW的命令的命令MGWMGW的维护的维护MGW的维护的维护1、GPB单板故障等引起通知音,呼损等单板故障等引起通知音,呼损等1)查看CH状态ch_info_vmgwch_counters_commandch_counters_gcp2)查看mesc状态mes