PDP

The data connection is divided into two steps GPRS Attach and Packet Data Protocol (PDP) Context Activation.

GPRS Attach

The GPRS Attach is a process during which the mobile device informs the network about its presence in the network. The device usually initiates the GPRS attach after power on. The message sent to the new Serving GPRS Support Node (SGSN) contains the last assigned Temporary Mobile Subscriber Id (TMSI), location area information, etc. The new SGSN queries the old SGSN (used lat time) for the identity the this mobile device. Then the new SGSN requests more information from the mobile device to authenticate the itself against the new SGSN. Authentication is based on the secret information saved on SIM card and in the AUC.

The AUS generate authentication triplet AT(RAND, SRES, Kc), where

  • RAND is random value
  • SRES (Signed RESult) is result of A3 operation SRES = A3(RAND, Ki), where Ki is secret key shared by SIM and AUC
  • Kc (Cipher key) is result of A8 operation Kc = A8(RAND, Ki)

The RAND is resend to the mobile device, which perform exactly the same operation and generate SRES', which is send back to the SGSN. If SRES' = SRES, SIM is authenticated. Kc is used later for ciphering in GSM.

Figure 1. GPRS attach SIM authentication Image:PDP_SIM_authentication.GIF


After SIM card is authenticated SGSN updates location records in HLR database. Once registered, the network has knowledge of the location of the mobile device at a Routing Area level.

Figure 2. GPRS attach overview Image:PDP_GRPS_attach.GIF

After the SGSN accepts the attachment, it keeps track of the mobile device in the coverage area. SGSN needs to know where the mobile is for the case when data arrive and need to be routed to the device.

 

Packet Data Protocol (PDP) Context Activation

After the GPRS Attach procedure (i.e. terminal is attached to SGSN and it was authorized, which means that it can access GPRS services and the identity was checked - authentication) is over, the terminal is pre-prepared for the data communication. In the most common situation the terminal wants to communicate with the server in the Internet or in other external network (called PDN - Packet Data Networks) accessed through operator's backbone. Some data services (MMS) are also provided by operator itself. Mobile device must establish the data connection and the PDP address (currently IPv4 or IPv6) from the accessed network rank must be assigned to the terminal.

So when terminal wants to start the communication it initiates establishing of Packet Data Protocol Context (PDP context). Saying with other words: After GPRS attach, when is the terminal attached to an SGSN, it must activate a PDP address (in this case, an IP address) when it wishes to begin a packet data communication. This is usually done on application request, but in some situations user could decide to be 'on-line' for the whole time and then the data connection is established during the phone boot sequence (e.g., registration into IMS). Symbian devices (from OS 8.0a, i.e., S60 2nd Edition, FP2) can request to activate more than one PDP contexts (multihoming), where each context specifies one PDN it wants to access. It which means that a PDP context activation procedure is initiated for each data connection to different PDN.

Figure 3. Multihoming Image:PDP_multihoming.gif


Terminal must specify the network service access point - the Access Point Name (APN) of the PDN it wants to connect to. This is usually provisioned by BIO message or entered manually by us

er. The SGSN identifies the corresponding GGSN for requested PDN and make it aware of the mobile device Then two way point-to-point tunnel is established between the SGSN and the GGSN. In other words activating a PDP address sets up an association between the terminal's current SGSN and the GGSN that anchors the PDP address. A record is kept regarding the associations made between the GGSN and SGSN. This record is known as a PDP context. PDP context is describing the characteristic of the connection: network and address type, APN, QoS, priorities, billing, etc.

Figure 4. Configuring APN on device Image:PDP_configuring_APN.jpg

On the figure below is the packet flow taken on the Gn interface (SGSN-GGSN). There is PDP context request and response and then the SIP communication is started between terminal (which receives the IP (192.168.183.1) address from the IMS PDN address rank) and the P-CSCF. All SIP data packet traffic send between those endpoints go through SGSN and GGSN. GGSN hides the mobility of the terminal. As displayed on figure, all data send to between SGSN and GGSN are encapsulated in the GPRS tunneling protocol (GTP).

Figure 5. GTP on Gn interface Image:PDP_GTP_flow_graph_Gn_interface.gif

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
引用:为了支持网络请求的PDP上下文激活,GGSN必须具有关于PDP地址的静态PDP信息。为了确定是否支持针对特定PDP地址的网络请求PDP上下文激活,GGSN会检查是否存在该PDP地址的静态PDP信息。 引用:当收到PDP PDU时,GGSN会确定是否需要启动网络请求的PDP上下文激活过程。GGSN可以存储接收到的同一PDP地址的后续PDP PDU。 引用:网络请求的PDP上下文激活过程允许GGSN启动PDP上下文的激活。当收到PDP PDU时,GGSN会检查是否已为该PDP地址建立了PDP上下文。如果之前没有建立PDP上下文,GGSN可以尝试通过启动网络请求的PDP上下文激活过程来传递PDP PDU。GGSN用来确定是否尝试将PDP PDU传递给移动设备的标准可能基于订阅信息,并不在GPRS标准化的范围内。 根据引用的内容,PDP连接是指通过PDP上下文来建立移动设备与GGSN之间的通信连接。当GGSN收到PDP PDU时,它会检查是否已为该PDP地址建立了PDP上下文。如果之前没有建立PDP上下文,GGSN可以尝试通过启动网络请求的PDP上下文激活过程来传递PDP PDU。这一过程需要GGSN具有关于PDP地址的静态PDP信息,并且可以存储接收到的同一PDP地址的后续PDP PDU。标准化并不规定确定是否尝试将PDP PDU传递给移动设备的具体标准,可能会基于订阅信息来确定。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [9.2 PDP Context Activation, Modification, and Deactivation Functions](https://blog.csdn.net/maimang1001/article/details/106011614)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值