MAP(Mobile Application Part) Notes(1)

 1.MAP will only use Connectionless Class 0/1 of SCCP

2.Inter-PLMN addressing:
  1)Called Part Address:
    SSN Ind == 1, GTI == 0100, TT =="00000000", RI ==0
  2)Calling Part Address:
    SSN Ind == 1 ,PC Ind == 0,GTI == 0100,NP == 0001,TT =="00000000",RI == 0

3.Abbrevation:
- the Mobile-services Switching Centre (MSC);
- the Home location Register (HLR);
- the Visitor Location Register (VLR);
- the Gateway Mobile-services Switching Centre (GMSC);
- the GSM Service Control Function (gsmSCF);
- the Interworking Mobile-services Switching Centre (IWMSC);
- the Serving GPRS Support Node (SGSN);
- the Gateway GPRS Support Node (GGSN);
- the Gateway Mobile Location Centre (GMLC).   

4.Called  Part Address  :SCCP address,implicitedly associated with SAP which the Primitive is issued
  Called  Part Reference:This parameter is a reference that refines the identification of the called process.
                         It may be identical to Destination address but its value is to be carried at MAP level.
  Calling Part Address  :SCCP address,implicitedly associated with SAP which the Primitive is issued
  Calling Part Reference:This parameter is a reference that refines the identification of the called process.
                         It may be identical to Destination address but its value is to be carried at MAP level.
  there are different service allowed to use Reference                        

5.Common MAP Service:
  MAP-OPEN 
  MAP-CLOSE
  MAP-DELIMITER
  MAP-U-ABORT
  MAP-P-ABORT
  MAP-SECURE-TRANSPORT-CLASS-1-SERVICE
  MAP-SECURE-TRANSPORT-CLASS-2-SERVICE
  MAP-SECURE-TRANSPORT-CLASS-3-SERVICE
  MAP-SECURE-TRANSPORT-CLASS-4-SERVICE
 
6.Sequence of Service:
  Opening   : MAP-OPEN + MAP-SERVICE + MAP-DELIMITER
  Continuing: MAP-SERVICE + MAP-DELIMITER
  Closing   : MAP-CLOSE
  Aborting  : MAP-U-ABORT

7.Mapping of MAP user Service Primitive:
  MAP-XX request   ==> TC Invoke request
  MAP-XX response  ==> TC Result-L,TC U-ERROR,TC U-Reject..
  If RESULT-NL components are present they are mapped onto the same MAP-xx confirm.
  
8.MAP PM(MAP Protocol Machine)
  |
  |----DSM1(Dialogue State Machine)      
  |     |
        |----SSM(service state machine)
        |
9.Handle Unknown operation:
  1)Unknown Operation:
    standard operation introduced in the later version or private operation
  2)basically it will not affect the dialogue as the unknown operation is not received. the
    receiver will send a TC_reject("Unknown Operation")
  3)standard MAP diaglogue will not be affected by the unknown operation.
    如果这个会话只包括begin和end,那么begin发起端不会用一条continue消息来传Unknown的operation
  4)standard MAP diaglogue may be affected by the unknown operation.  
   如果这个会话只包括begin和end,unknown operation的接收端可能在end之前发一条continue,continue
   携带TC-rejection("unknown operation")
10.Behaviour at the initiating side:
   1)MAP PM(protocol machine) 根据MAP OPEN request中的ACN,以及responser identity,决定是否使用
     secure transportation,
   2)如果使用Secure Transportation,也可以选择"No protection" mode,这样和unsecured transportation一致
   3)如果secure transportation,PM创建一个protected dialogue portion(ACN,user info in MAP OPEN request
     打包成dialogue portion的userinfo)
   4)如果要求使用secure transportation,每一个MAP service request将会被保存起来,用以drop-back的unsecured
     transportation
   5)如果MAP dialogue state machine 处于 waiting for response from responding identity,收到END,END echo了 Begin 的ACN,表示dialogue被接收;secure transportation的时候,要对比protected dialogue portion的 info信息;如果ACN不一致,dialogue openning failure
   6)如果dialogue被接受,End中的component被送给MAP user; MAP close传给MAP user时,dialogue结束
   7)dialogue terminated以后,将会将所有的active Requesting_MAP_SSM,Secure_Requesting_MAP_SSM的终止;
   8)运营商可以决定在网元间,如果secure transport不支持,可否转而使用unsecured transport
   9)TC-P-Abort(incorrect transaction portion) indicates that response don't support MAP version higher that 1;
     如果不需要secure transport,那么这个时候就会trigger一个map open confirm 给MAP user,表示dialogue被拒绝;MAP user可以使用version 1重试;如果需要secure transport,而fallback to unsecured transport也是可以接受的,那么dialogue machine使用unsecured transport重试;如果需要secure transport,而fallback到unsecured transport是不被接受的,那么这个时候triger一个map open confirm给MAP user表示dialogue被拒绝(reason secure transport not possible),
     这种情况下,不再需要降低版本重试.
   10)如果收到TC-U-Abort(AC not supported and secure transport is required),说明secure transport is not possible.
      如果fallback到unsercured tranport是可接受的,那么diaglogue machine将会使用unsecure transport来
   11)如果收到TC-U-Abort(encapsulated AC not supported),意味着responser支持secure transport,但是AC不满足protected Mode的要求。这样trigger一个MAP OPEN CONFIRM给MAP user(AC not supported),MAP user 可以选择降低AC版本重试,采用secure transport。如果APDU中带的refuse reason是Transport protection not adequate,意味着responding identity不准备接受initiating identity的传输保护模式:unsecured transport or secure tranport with an inadequate mode
   12)如果initiating identity的MAP dialogue state machine处在等待responding identity响应,收到了TC-CONTINUE,且携带的AC等于TC-Begin中的AC,表示dialogue接受;如果需要secure transport,那么TC-continue中的encapsuated AC应该和TC-begin中的一致,表示接受在secure tranport下发起的dialogue openning request;不一致者表示dialogue open failure
    13)如果dialogue被接受,那么TC-continue中的component将会被传到MAP user,dialogue进入建立状态

11.Behaviour at the responding side
   1)if no ACN in dialogue portion in the TC-begin,it means that it's MAP version 1 dialogue.显式地说明version1被认为是异常行为
   2)如果运营商协调好dialogue的发起和响应端使用 unsecured transport,"Unsecured_tranport_permitted"测试将为真退出;会要求 responding端保存这个会话的传输决策;
   3)Extract_user_info,如果加密保护,包括解密出的user info,
   4)根据dialogue initiating identity和encapsulated 的AC,响应端决定是否接受secure transport
   5)V1 AC which corresponds to V1 MAP operation is derived from a table. can't be derived directly from dialogue portion
   6)如果发起端的AC表示需要secure transport,接受方将检查该AC是否支持secure transport,如果支持那么dialogue被接受;如果不支持那么将回TC-U-Abort(refuse reason为encapsulated AC is not supported)
   7)如果dialogue被接受,TC-begin中的component将会被发送给MAP user
   8)如果MAP dialogue state machine收到了open confirm(result accepted),就会等待MAP specific service/response/MAP delimiter 
   9)当dialogue被终止,那么所有Requesting_MAP_SSM,Secure_Requesting_MAP_SSM,

      Performing_MAP_SSM,Secure_Performing_MAP_SSMActive的实例将会被终止
   10)MAP Delimiter将会trigger一条TC-continue接受该dialogue,dialogue state machin进入建立状态 
12.Load Control
   1)如果一个响应MAP open request的entity overload,它将使用AC来判断是否discard这个request
   2)如果是secure transport,会根据encapsulated AC
13.the MAP procedures for MAP specific services. These procedures are driven by the following types of event:
- a MAP specific request or a MAP specific response primitive;
- a component handling primitive from TC.
A Service State Machine is activated when of one of the following signals is received:
- a MAP request primitive, which activates a requesting SSM;
- a TC-INVOKE indication primitive without a linked identifier, which activates a performing SSM.
For component handling primitives there are two types of event:
- events which activate a Service State Machine or which can be related to an existing one;
- events which cannot be related to a Service State Machine

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值