1、PS IE 流程详解PS 业务全过程介绍 2一、RRC 连接过程 3二、PS ATTACH 过程 .25四、RB 建立 .34五、RB 重配置 48六:物理信道重配 .57七、PDP 去激活 62八、RB 释放 .64九、RRC 释放 72PS 业务全过程介绍一、RRC 连接过程当 RNC 接收到 UE 的 RRC CONNECTION REQUEST 消息,由其无线资源管理模块 RRM 根据特定的算法确定是接受还是拒绝该RRC 连接建立请求,如果接受,则再判决是建立在专用信道还是公共信道。主要参数:Initial UE Identity:初始的 UE 标识,如IMSI, TMSI 等参数,用
2、来让网络识别发送该建立请求消息的UE; Establishment cause:建立原因,有多种类型,PS 业务为registration。 Protocol Error Indicator:协议错误标识,用来标明是否Comment l1: 标注 UE TMSI和 LAI,经验证 LAI为手机储存的有协议错误发生。测量 IE:给出在 Uu接口上的测量结果;Initial UE Capability:UE 能力;RRC Connection Request IE 如下:value UL-CCCH-Message := message rrcConnectionRequest : initialU
3、E-Identity tmsi-and-LAI : tmsi 01100000 10001110 00100011 00001110B,Comment l2: 建立原因:注册,如果不需要 ATTACH,就为交互类Comment l3: 传输信道是 RACHComment l4: 当前主服务小区PCCPCH 接收码功率 29-116=-87Comment l5: 邻小区 1的扰码Comment l6: 邻小区 1的接受码功率 22-116=-94Comment l7: 邻小区 2的扰码Comment l8: 邻小区 2的接受码功率 21-116=-95lai plmn-Identity mcc
4、4,6,0,mnc 0,0,lac 10100101 00001011B,establishmentCause registration,protocolErrorIndicator noError,measuredResultsOnRACH currentCell modeSpecificInfo tdd : primaryCCPCH-RSCP 29,monitoredCells modeSpecificInfo tdd : cellParametersID 24,primaryCCPCH-RSCP 22,modeSpecificInfo tdd : cellParametersID 119
5、,primaryCCPCH-RSCP 21Comment l9: 邻小区 3的扰码Comment l10: 邻小区 3的接受码功率 9-116=-107Comment l11: R4版本Comment l12: 同 RRC Connection Request 标注 UE TMSI 和 LAI,modeSpecificInfo tdd : cellParametersID 53,primaryCCPCH-RSCP 9,v3d0NonCriticalExtensions rRCConnectionRequest-v3d0ext uESpecificBehaviourInformation1idl
6、e 0000B,v4b0NonCriticalExtensions rrcConnectionRequest-v4b0ext accessStratumReleaseIndicator rel-4RRC Connection Setup IE 如下:value DL-CCCH-Message := message rrcConnectionSetup : later-than-r3 : initialUE-Identity tmsi-and-LAI : tmsi 01100000 10001110 00100011 00001110B,lai plmn-Identity Comment l13
7、: UE IDComment l14: 从 RACH 转入 DCHComment l15: cn域不连续接收因子 6Comment l16: 配置 3.4K SRB信令承载,分别为 4条流,RB1,RB2,RB3,RB4Comment l17: RB1Comment l18: RB1 上下行为 UM-RLC模式mcc 4,6,0,mnc 0,0,lac 10100101 00001011B,rrc-TransactionIdentifier 0,criticalExtensions r4 : rrcConnectionSetup-r4 new-U-RNTI srnc-Identity 0011
8、1111 0100B,s-RNTI 01101000 01010011 0000B,rrc-StateIndicator cell-DCH,utran-DRX-CycleLengthCoeff 6,capabilityUpdateRequirement ue-RadioCapabilityFDDUpdateRequirement-FDD FALSE,ue-RadioCapabilityTDDUpdateRequirement-TDD384 FALSE,ue-RadioCapabilityTDDUpdateRequirement-TDD128 TRUE,srb-InformationSetupL
9、ist rb-Identity 1,rlc-InfoChoice rlc-Info : ul-RLC-Mode ul-UM-RLC-Mode : ,dl-RLC-Mode dl-UM-RLC-Mode : NULL,Comment l19: RB映射方式两种:DCH或 RACH/FACHComment l20: RB2rb-MappingInfo ul-LogicalChannelMappings oneLogicalChannel : ul-TransportChannelType dch : 1,logicalChannelIdentity 1,rlc-SizeList configure
10、d : NULL,mac-LogicalChannelPriority 4,dl-LogicalChannelMappingList dl-TransportChannelType dch : 1,logicalChannelIdentity 1,ul-LogicalChannelMappings oneLogicalChannel : ul-TransportChannelType rach : NULL,logicalChannelIdentity 1,rlc-SizeList explicitList : rlc-SizeIndex 1,mac-LogicalChannelPriorit
11、y 4,dl-LogicalChannelMappingList dl-TransportChannelType fach : NULL,logicalChannelIdentity 1,rb-Identity 2,rlc-InfoChoice rlc-Info : Comment l21: 是否采用丢弃模式,不采用。40 为最大重传次数Comment l22: 发送端发送窗口的大小对应了发送窗可以容纳的以发送但还没有收到确认的 PDU的最大数目,此处为 64字节。Comment l23: 该定时器用于触发RESET PDU 重传 此处为 500msComment l24: 发送 RESET
12、PDU的最大次数,当等于该值时将向上层上报不可恢复的错误,此处为 32次。Comment l25: 接受窗口大小,一般情况下接受窗口大小应设置为等于发送窗口大小Comment l26: RB映射方式两种:DCH或 RACH/FACHul-RLC-Mode ul-AM-RLC-Mode : transmissionRLC-Discard noDiscard : dat40,transmissionWindowSize tw64,timerRST tr500,max-RST rst32,pollingInfo timerPoll tp200,poll-SDU sdu1,lastTransmissi
13、onPDU-Poll TRUE,lastRetransmissionPDU-Poll TRUE,pollWindow pw70,dl-RLC-Mode dl-AM-RLC-Mode : inSequenceDelivery TRUE,receivingWindowSize rw64,dl-RLC-StatusInfo missingPDU-Indicator TRUE,rb-MappingInfo ul-LogicalChannelMappings oneLogicalChannel : ul-TransportChannelType dch : 1,logicalChannelIdentit
14、y 2,rlc-SizeList configured : NULL,mac-LogicalChannelPriority 1,dl-LogicalChannelMappingList dl-TransportChannelType dch : 1,logicalChannelIdentity 2,Comment l27: RB3 ul-LogicalChannelMappings oneLogicalChannel : ul-TransportChannelType rach : NULL,logicalChannelIdentity 2,rlc-SizeList explicitList
15、: rlc-SizeIndex 1,mac-LogicalChannelPriority 1,dl-LogicalChannelMappingList dl-TransportChannelType fach : NULL,logicalChannelIdentity 2,rb-Identity 3,rlc-InfoChoice rlc-Info : ul-RLC-Mode ul-AM-RLC-Mode : transmissionRLC-Discard noDiscard : dat40,transmissionWindowSize tw64,timerRST tr500,max-RST r
16、st32,pollingInfo timerPoll tp200,poll-SDU sdu1,lastTransmissionPDU-Poll TRUE,lastRetransmissionPDU-Poll TRUE,pollWindow pw70,dl-RLC-Mode dl-AM-RLC-Mode : inSequenceDelivery TRUE,receivingWindowSize rw64,dl-RLC-StatusInfo missingPDU-Indicator TRUE,rb-MappingInfo ul-LogicalChannelMappings oneLogicalCh
17、annel : ul-TransportChannelType dch : 1,logicalChannelIdentity 3,rlc-SizeList configured : NULL,mac-LogicalChannelPriority 2,dl-LogicalChannelMappingList dl-TransportChannelType dch : 1,logicalChannelIdentity 3,ul-LogicalChannelMappings oneLogicalChannel : ul-TransportChannelType rach : NULL,logical
18、ChannelIdentity 3,rlc-SizeList explicitList : rlc-SizeIndex 1,mac-LogicalChannelPriority 2,dl-LogicalChannelMappingList dl-TransportChannelType fach : NULL,logicalChannelIdentity 3Comment l28: RB4 ,rb-Identity 4,rlc-InfoChoice rlc-Info : ul-RLC-Mode ul-AM-RLC-Mode : transmissionRLC-Discard noDiscard
19、 : dat40,transmissionWindowSize tw64,timerRST tr500,max-RST rst32,pollingInfo timerPoll tp200,poll-SDU sdu1,lastTransmissionPDU-Poll TRUE,lastRetransmissionPDU-Poll TRUE,pollWindow pw70,dl-RLC-Mode dl-AM-RLC-Mode : inSequenceDelivery TRUE,receivingWindowSize rw64,dl-RLC-StatusInfo missingPDU-Indicat
20、or TRUE,rb-MappingInfo ul-LogicalChannelMappings oneLogicalChannel : ul-TransportChannelType dch : 1,logicalChannelIdentity 4,rlc-SizeList configured : NULL,mac-LogicalChannelPriority 3,dl-LogicalChannelMappingList dl-TransportChannelType dch : 1,logicalChannelIdentity 4,ul-LogicalChannelMappings on
21、eLogicalChannel : ul-TransportChannelType rach : NULL,logicalChannelIdentity 4,rlc-SizeList explicitList : rlc-SizeIndex 1,mac-LogicalChannelPriority 3,dl-LogicalChannelMappingList dl-TransportChannelType fach : NULL,logicalChannelIdentity 4,ul-CommonTransChInfo modeSpecificInfo tdd : individualUL-C
22、CTrCH-InfoList ul-TFCS-Identity tfcs-ID 1,sharedChannelIndicator FALSE,Comment l29: 专用传输信道格式Comment l30: TTI:10msComment l31: 传输块数目ul-TFCS normalTFCI-Signalling : complete : ctfcSize ctfc2Bit : ctfc2 0,powerOffsetInformation gainFactorInformation computedGainFactors : 0,ctfc2 1,powerOffsetInformatio
23、n gainFactorInformation signalledGainFactors : modeSpecificInfo tdd : NULL,gainFactorBetaD 15,tfc-Subset fullTFCS : NULL,ul-AddReconfTransChInfoList ul-TransportChannelType dch,transportChannelIdentity 1,transportFormatSet dedicatedTransChTFS : tti tti10 : rlc-Size octetModeType1 : sizeType1 : 16,nu
24、mberOfTbSizeList zero : NULL,one : NULLComment l32: 信道编码为 1/3卷积码,logicalChannelList allSizes : NULL,semistaticTF-Information channelCodingType convolutional : third,rateMatchingAttribute 160,crc-Size crc16,dl-CommonTransChInfo modeSpecificInfo tdd : individualDL-CCTrCH-InfoList dl-TFCS-Identity tfcs
25、-ID 1,sharedChannelIndicator FALSE,tfcs-SignallingMode explicit-config : normalTFCI-Signalling : complete : ctfcSize ctfc2Bit : ctfc2 0,powerOffsetInformation gainFactorInformation computedGainFactors : 0,ctfc2 1,powerOffsetInformation gainFactorInformation signalledGainFactors : modeSpecificInfo td
26、d : NULL,gainFactorBetaD 15,dl-AddReconfTransChInfoList dl-TransportChannelType dch,dl-transportChannelIdentity 1,tfs-SignallingMode explicit-config : dedicatedTransChTFS : tti tti10 : rlc-Size octetModeType1 : sizeType1 : 16,numberOfTbSizeList zero : NULL,one : NULL,logicalChannelList allSizes : NU
27、LL,semistaticTF-Information channelCodingType convolutional : third,rateMatchingAttribute 160,crc-Size crc16,dch-QualityTarget bler-QualityValue -20,frequencyInfo Comment l33: 当前服务小区频点Comment l34: 上行最大发射功率Comment l35: 闭环功控上行目标信噪比Comment l36: 闭环上行功控步长Comment l37: 基站 PCCPCH信道上最大容许发射功率Comment l38: 上行内环
28、同步的控制信息modeSpecificInfo tdd : uarfcn-Nt 10070,maxAllowedUL-TX-Power 33,ul-ChannelRequirement ul-DPCH-Info : ul-DPCH-PowerControlInfo tdd : ul-TargetSIR 21,ul-OL-PC-Signalling individuallySignalled : tddOption tdd128 : tpc-StepSize 1,primaryCCPCH-TX-Power 33,modeSpecificInfo tdd : ul-TimingAdvance en
29、abled : tddOption tdd128 : ul-SynchronisationParameters stepSize 1,frequency 1,ul-CCTrCHList tfcs-ID 1,ul-TargetSIR 21,timeInfo ,commonTimeslotInfo secondInterleavingMode frameRelated,Comment l39: 标示上行使用的时隙Comment l40: 标示使用上行时隙对应的 MIDAMBLE 码Comment l41: 标示使用上行时隙的码道为 SF=8 的第 8个码道tfci-Coding tfci-bits
30、-8,puncturingLimit pl0-64,repetitionPeriodAndLength repetitionPeriod1 : NULL,tddOption tdd128 : ul-CCTrCH-TimeslotsCodes dynamicSFusage FALSE,firstIndividualTimeslotInfo timeslotNumber 1,tfci-Existence TRUE,midambleShiftAndBurstType midambleAllocationMode defaultMidamble : NULL,midambleConfiguration
31、 4,modulation mod-QPSK,ss-TPC-Symbols one,ul-TS-ChannelisationCodeList cc8-8,moreTimeslots noMore : NULL,dl-CommonInformation dl-DPCH-InfoCommon cfnHandling initialise : ,modeSpecificInfo tdd : dl-DPCH-PowerControlInfo Comment l42: 标示使用闭环功控的步长为 1dbmodeSpecificInfo tdd : tpc-StepSizeTDD 1,modeSpecifi
32、cInfo tdd : tddOption tdd128 : tstd-Indicator FALSE,defaultDPCH-OffsetValue 0,dl-InformationPerRL-List modeSpecificInfo tdd : tdd : tddOption tdd128 : tstd-Indicator FALSE,sctd-Indicator FALSE,dl-DPCH-InfoPerRL tdd : dl-CCTrChListToEstablish tfcs-ID 1,timeInfo ,commonTimeslotInfo secondInterleavingM
33、ode frameRelated,tfci-Coding tfci-bits-8,puncturingLimit pl0-64,repetitionPeriodAndLength repetitionPeriod1 : NULL,tddOption tdd128 : Comment l43: 标示使用的下行时隙Comment l44: 标示使用下行时隙对应的 MIDAMBLE 码Comment l45: 标示使用下行时隙的码道为 SF=16 的第 5、6 码道Comment l46: UE工作频点dl-CCTrCH-TimeslotsCodes firstIndividualTimeslotI
34、nfo timeslotNumber 6,tfci-Existence TRUE,midambleShiftAndBurstType midambleAllocationMode defaultMidamble : NULL,midambleConfiguration 4,modulation mod-QPSK,ss-TPC-Symbols one,dl-TS-ChannelisationCodesShort codesRepresentation bitmap : chCode6-SF16, chCode5-SF16 ,moreTimeslots noMore : NULL,v4d0NonC
35、riticalExtensions rrcConnectionSetup-r4-add-ext CONTAININGrrcConnectionSetup-r4-TDD128-add-ext frequencyInfo modeSpecificInfo tdd : uarfcn-Nt 10079,Comment l47: 给出了 CS域和 PS域的初始 START值,此值是用于完整性保护算法的参数Comment l48: 给出了 UE的 PDCP能力:支持 2507算法Comment l49: 以上给出了 RLC层的处理能力upPCHpositionInfo 0RRC Connection Co
36、mplete IE 如下:value UL-DCCH-Message := message rrcConnectionSetupComplete : rrc-TransactionIdentifier 0,startList cn-DomainIdentity cs-domain,start-Value 00000000 00000000 0000B,cn-DomainIdentity ps-domain,start-Value 00000000 00000000 0100B,ue-RadioAccessCapability pdcp-Capability losslessSRNS-Reloc
37、ationSupport TRUE,supportForRfc2507 supported : by8192,rlc-Capability totalRLC-AM-BufferSize kb150,maximumRLC-WindowSize mws2047,maximumAM-EntityNumber am30,transportChannelCapability dl-TransChCapability maxNoBitsReceived b8960,Comment l50: 以上给出了 UE上下行传输信道的处理能力Comment l51: 以上给出了 UE 的射频能力Comment l52
38、: 以上给出了 UE对多模多载波支持的能力maxConvCodeBitsReceived b8960,turboDecodingSupport supported : b8960,maxSimultaneousTransChs e8,maxSimultaneousCCTrCH-Count 1,maxReceivedTransportBlocks tb32,maxNumberOfTFC tfc128,maxNumberOfTF tf64,ul-TransChCapability maxNoBitsTransmitted b5120,maxConvCodeBitsTransmitted b2560
39、,turboEncodingSupport supported : b2560,maxSimultaneousTransChs e8,modeSpecificInfo tdd : maxSimultaneousCCTrCH-Count 1,maxTransmittedBlocks tb16,maxNumberOfTFC tfc64,maxNumberOfTF tf32,rf-Capability tddRF-Capability ue-PowerClass 2,radioFrequencyTDDBandList a,chipRateCapability mcps1-28,physicalCha
40、nnelCapability ,ue-MultiModeRAT-Capability multiRAT-CapabilityList supportOfGSM FALSE,supportOfMulticarrier FALSE,multiModeCapability tdd,Comment l53: 以上给出了 UE 对加密和完整性保护算法的支持Comment l54: 以上给出了 UE的定位能力securityCapability cipheringAlgorithmCap uea0 ,integrityProtectionAlgorithmCap uia1 ,ue-positioning-
41、Capability standaloneLocMethodsSupported TRUE,ue-BasedOTDOA-Supported TRUE,networkAssistedGPS-Supported noNetworkAssistedGPS,supportForUE-GPS-TimingOfCellFrames FALSE,supportForIPDL FALSE,v370NonCriticalExtensions rrcConnectionSetupComplete-v370ext ,v380NonCriticalExtensions rrcConnectionSetupComple
42、te-v380ext dl-PhysChCapabilityFDD-v380ext ,v3a0NonCriticalExtensions rrcConnectionSetupComplete-v3a0ext ,laterNonCriticalExtensions v3g0NonCriticalExtensions rrcConnectionSetupComplete-v3g0ext ,v4b0NonCriticalExtensions rrcConnectionSetupComplete-v4b0ext ue-RadioAccessCapability-v4b0ext Comment l55:
43、 给出了 UE 的物理信道能力pdcp-Capability-r4-ext supportForRfc3095 notSupported : NULL,tdd-CapabilityExt rf-Capability tddRF-Capability ue-PowerClass 2,radioFrequencyBandTDDList a,chipRateCapability mcps1-28,physicalChannelCapability-LCR tdd128-PhysChCapability downlinkPhysChCapability maxTS-PerSubFrame 3,maxP
44、hysChPerFrame 48,minimumSF sf1,supportOfPDSCH FALSE,maxPhysChPerTS 16,supportOf8PSK FALSE,uplinkPhysChCapability maxTS-PerSubFrame 3,maxPhysChPerTimeslot ts2,minimumSF sf1,supportOfPUSCH FALSE,supportOf8PSK FALSE,measurementCapability-r4-ext downlinkCompressedMode-LCR ,uplinkCompressedMode-LCR 二、PS
45、ATTACH 过程PS 附着过程目的是建立 GMM 上下文(UE 和网络相互协商 PS 登记有关信息) ,UE 收到 ATTACH ACCEPT 消息后,将分析附着的结果,保存相关的信息,并作相应的处理。如果 ATTACH ACCEPT 消息中包含有 P-TMSI 或者 TMSI,则 UE 将会向网络发送消息 ATTACH COMPLETE。这实际上是一种隐性的 P-TMSI/TMSI 重分配过程。如果附着类型为组合附着,则 GMM 将把相关的信息通知 MM。这一过程由终端发起,GPRS 附着过程有三种类型:GPRS ATTACH ONLY ,IMSI 附着的 GPRS 附着,组合的 GPRS
46、 附着.空闲模式下的 PS 附着过程,如是连接模式下的附着过程,不需随机机接入过程,仅需初始直传/上下行直传过程。Comment l56: 表明业务类型:CS域还是 PS域初始直传/上下行直传。ATTACH IE如下:value UL-DCCH-Message := message initialDirectTransfer : cn-DomainIdentity ps-domain,intraDomainNasNodeSelector version release99 : cn-Type gsm-Map-IDNNS : Comment l57: 路由参数号码?。CS和 PS都有Commen
47、t l58: 消息名称:附着请求Comment l59: 附着类型:GPRS 附着Comment l60: UE身份呢标示用户TMSI(CS 域)或 PTMSI(PS域)SGSM提供Comment l61: 配对的路由标识routingbasis tMSIofsamePLMN : routingparameter 11000101 00B,dummy FALSE,nas-Message 080102758009080305F4F9C53D7A64F00024F6010603E302201100H,v3a0NonCriticalExtensions initialDirectTransfer-v3a0ext start-Value 00000000 00000000 0000Bprotocol discriminator: 8message type: 1message name: ATTACH REQUESTCiphering key sequence number: 0Attach type: GPRS attachDRX parameter: non-DRX timer: max. 4 sec non-DRX mode after transfer stateCN Spec