中国联通WCDMA MR测量报告数据结构说明书——华为.doc
中国联通移动通信网升级改造项目WCDMA MR测量报告数据格式说明书华为技术有限公司2009年6月 Catalog 目 录1简介42MR文件结构描述42.1MR文件名称42.2MR文件内容43MR包数据结构描述53.1Measurement Results53.2Intra-freq neighbour cell measured results73.3Inter-freq neighbour cell measured results83.4GSM neighbour cell measured results94ASN.1文本描述95参考资料清单10 WCDMA MR测量报告数据结构说明书Keywords 关键词:WCDMA MR 数据结构Abstract 摘 要:本文主要描述了WCDMA MR的数据结构、以及相关说明。List of abbreviations 缩略语清单: Abbreviations缩略语Full spelling 英文全名Chinese explanation 中文解释CN Core Network核心网络DPCHDedicated Physical Channel专用物理信道MPMandantory Present IE必选信元MRMeasurement Report测量报告OMOperation and Maintenance操作维护OPOptional Present IE可选信元OSOperation System操作系统RRMRadio Resource Management无线资源管理SFNSystem Frame Number系统无线帧号SPUSignalling Processing Unit信令处理单元UEUser Equipment用户设备UTRANUniversal Terrestrial Radio Access Network全球陆地无线接入网络1 简介本文描述了WCDMA MR的文件结构、MR报告数据结构、以及相应的MR ASN1编解码文本。2 MR文件结构描述2.1 MR文件名称原始MR文件名称:RNC0005_2009041707355_20090417105950.mr.zip(采用通用文件压缩方式,可用WinRar等通用软件解压缩);解压缩之后的MR文件名称:RNC0005_2009041707355_20090417105950.mr。其中,0005为RNC ID,其余为MR的起始和结束日期、时间。2.2 MR文件内容MR文件内容包括“MR文件头”和多个“MR包”组成,如下图所示。最多20条MR报告File header0xCDCDLengthMR (asn1)0xCDCDLengthMR (asn1)0xCDCDLengthMR (asn1)MR包MR包分隔符MR包长度MR包内容Intra /Inter /GsmCommon InfoIntra /Inter /GsmIntra /Inter /GsmIntra /Inter /Gsm2.2.1 MR文件头待添加的隐藏文字内容2MR文件头结构,如下表所示。NameLength(byte)TypeDescriptionnoExplain256CharReserved,缺省填 0ucLogFileCheck8Char日志文件校验标识,填写:TT_TOOLucProductName12Char产品名称,填写:WCDMA RNCucMainVersion12Char主版本号,如:RNCV200R010ucSubVersion12Char子版本号,如:C01B061wCheckByte2WORD字节序检测字,填写:0x1234bCheckBit1BYTE位域序检测字ucResv5BYTE保留,缺省填 0dwLogCount4DWORD保留,缺省填 0wYear2WORD年ucMonth1BYTE月ucDay1BYTE日a_ucCfgFileName32Char配置文件名,填写:WCDMA RNC MRucReserved8BYTE保留,缺省填 02.2.2 MR包“MR包”包括如下内容:l MR包之间的分隔符:固定填写为0xCDCD,用于区分两个连续的MR包(可属于同一个UE,也可以属于同一个RNC管理的不同UE)。l MR包长度:是经过ASN1编码的“MR包内容”的实际bit长度,可用于ASN1解码;l MR包内容:每个MR包仅属于同一个UE。包含一个Common Info信息,以及最多包含20条MR记录(可以是同频测量报告、异频测量报告、或者异系统测量报告)。由于某些UE的通话时长有可能会比较长,因此,同一个UE的同一次通话过程,有可能会存在多个MR包。 由于某些UE的通话时长有可能会比较短,因此,一个MR包中MR记录个数,也可能会少于20条。MR包作为一个整体,会被进行ASN1编码处理,用以减小RNC前后台的数据流量、以及减小最终的MR文件大小。本文的第3章会对MR包的内容进行详细的数据结构描述。关于ASN1编解码,是通信业界的行业标准,不属于本文的描述范畴。3 MR包数据结构描述3.1 Measurement ResultsMR报告的数据结构。一个MR报告(包)最多包含20条MR记录,每条MR记录包含一次同频(周期测量、或者事件测量)、或异频(事件测量)、或异系统(事件测量)报告(三选一)。Information Element/Group nameNeedMultiType and referenceSemantics descriptionCommon InfoMPMR的公共信息> IMSIOPOCTET STRING (SIZE (3.8)- digits 0 to 9, encoded 0000 to 1001,- 1111 used as filler digit,two digits per octet,- bit 4 to 1 of octet n encoding digit 2n-1- bit 8 to 5 of octet n encoding digit 2n-Number of decimal digits shall be from 6 to 15 starting with the digits from the PLMN identity.When the IMSI is made of an odd number of digits, the filler digit shall be added at the end to make an even number of digits of length 2N. The filler digit shall then be consequently encoded as bit 8 to 5 of octet N.来自25.413协议。如果CN没有携带,该信元可以不存在。通常情况下,该信元在CELL_DCH下,应该是存在的。> U-RNTIMP用于拼接同一UE、同一次通话产生的多个不同MR报告。也可以用于与其他日志、或信令跟踪拼接。>> SRNC identitybit string(12)The SRNC identity bits are numbered b20 to b31, where b20 is the least significant bit.>> S-RNTIbit string(20)The S-RNTI bits are numbered b0 to b19, where b0 is the least significant bit.> RAB infoMPBitstring (8)UE的业务类型标识(可多选)。用户后处理程序区分不同的业务,进行不同的分析、以及网规网优应用。bit0:AMR;对应最右位置。bit1:VP;bit2:BE;bit3:其他。其他bit预留。> Propagation DelayOPInterger (0 1023)NODEB上报给RNC的“UE到NODEB的单向传播时延值”,占用10bits。其定义来自25.435协议,如下:6.2.7.5Propagation Delay FDDDescription: One-way radio interface delay as measured during RACH access. If the measured value exceeds the range of this information element, the information element shall be set to its maximum value, and the Ext Propagation Delay IE shall be used to represent the measured value, see subclause 6.2.7.5A.Value range: 0.765 chips.Granularity: 3 chips.Field length: 8 bits.6.2.7.5AExt Propagation Delay FDDDescription: One-way radio interface delay as measured during RACH access, extended value part. This IE shall be present only if the range of the Propagation Delay IE is insufficient to represent the measured value. Value range: 0 - 3069 chips.Granularity: 3 chips.Field length: 10 bits.> Time stampMP测量报告的绝对时间时戳>> yearInterger (0 255)2000年:0;2001年:1;2002年:2;>> monthInterger (1 12)>> dayInterger (1 31)>> hourInterger (0 23)>> minuteInterger (0 59)>> secondInterger (0 59)>> tickInterger (0 99)Tick的单位是10ms,与WCDMA SFN的帧长相同。Measurement results list1 to < maxMeasNum >maxMeasNum:20。是同频、异频、异系统测量的总MR记录个数。> CHOICE Measurement MP>> Intra-freq neighbour cell measured resultsIntra-freq neighbour cell measured results 3.2同频测量信息>> Inter-freq neighbour cell measured resultsInter-freq neighbour cell measured results 3.3异频测量信息>> GSM neighbour cell measured resultsGSM neighbour cell measured results 3.4异系统测量信息3.2 Intra-freq neighbour cell measured resultsUE的同频测量报告信息。Information Element/Group nameNeedMultiType and referenceSemantics descriptionBest cell infoMP> UTRAN cell IDBIT STRING (SIZE(28)当前活动集最好小区信息,是RNC外部小区ID。来自:25.331协议Intra-freq event resultsOP该信元可选,如果该信元存在(即:同频事件测量结果存在),则本次MR的如下记录就是同频事件报告内容;否则,本次MR的如下记录就是同频周期报告内容。> Intra-freq event IDMPEnumerated (1A, 1B, 1C, 1D, 1E, 1F, 1G, 1I, 1J)同频测量事件类型。其中,1E, 1G, 1I在华为的现有版本并未使用。> Primary CPICH info1 to <maxCellMeas>maxCellMeas:6根据25.331协议,最多同时支持32个小区的事件报告。>> Primary scrambling codeMPInteger(0.511)小区的主扰码来自25.331协议。Intra-frequency cell measurement results listMP1 to < maxIntraFreqCellMeas >maxIntraFreqCellMeas:6。含活动集、监视集、以及监测集所有小区。> Intra-freq cell IDMPBIT STRING (SIZE(32)同频测量报告中的同频小区ID,通常由高4bit的小区类型,加28bit的UTRAN cell ID组成(例外情况在下方说明)。其中,高4bit的小区类型含义如下:0000 活动集小区 0001 监视集小区0010 检测集小区0011 活动集的最优小区1111 小区ID无效例外:如果高4bit的小区类型是0010(即:检测集小区),则后28bit就不是UTRAN cell ID,而是该小区的主扰码。> CPICH Ec/N0MPInteger(0.63)来自25.331协议> CPICH RSCPMPInteger(0.127)来自25.331协议Relative time stampMP> SecondInterger (0 1279)最长表示时间为:1280s。相对于Common Info中的绝对时间。假设:最大同频测量周期是64s,最多存贮20个测量报告。3.3 Inter-freq neighbour cell measured resultsUE的异频测量报告信息。Information Element/Group nameNeedMultiType and referenceSemantics descriptionBest cell infoMP> UTRAN cell IDBIT STRING (SIZE(28)当前活动集最好小区信息,是RNC外部小区IDInter-freq measurement event typeMPEnumerated (2A, 2B, 2C, 2D, 2E, 2F)异频测量事件类型。其中,2A,2E在华为的现有版本并未使用。Inter-frequency cell measurement results listOP0 to < maxInterFreqCellMeas >maxInterFreqCellMeas: 4。当异频测量事件类型取值为2D, 2F时,该信元不存在(即:个数为0)。否则,该信元存在。> Inter-freq neighbour cell IDMPBIT STRING (SIZE(28)异频邻区ID,是RNC外部小区ID> CPICH Ec/N0MPInteger(0.63)来自25.331协议> CPICH RSCPMPInteger(0.127)来自25.331协议Relative time stampMP> SecondInterger (0 1279)最长表示时间为:1280s。相对于Common Info中的绝对时间。假设:最大同频测量周期是64s,最多存贮20个测量报告。3.4 GSM neighbour cell measured resultsUE的异系统测量报告信息。Information Element/Group nameNeedMultiType and referenceSemantics descriptionBest cell infoMP> UTRAN cell IDBIT STRING (SIZE(28)当前活动集最好小区信息,是RNC外部小区IDInter-RAT measurement event typeMPEnumerated(3A, 3B, 3C, 3D)异系统测量事件类型。其中,3B,3D事件在华为目前版本并未使用。Inter-RAT cell measurement results listMP1 to < maxInterRatCellMeas >maxInterRatCellMeas: 4。> GSM neighbour cell IDMPInteger(0 . 4294967295)GSM小区ID,是外部小区ID> GSM carrier RSSIMPbit string(6)RXLEV is mapped to a value between 0 and 63, refer to 3GPP TS 45.008. When mapping the RXLEV value to the RSSI bit string, the first/leftmost bit of the bit string contains the most significant bit.Relative time stampMP> SecondInterger (0 1279)最长表示时间为:1280s。相对于Common Info中的绝对时间。假设:最大同频测量周期是64s,最多存贮20个测量报告。4 ASN.1文本描述5 参考资料清单1 3GPP TS 25.331, “Radio Resource Control(RRC)Protocol Specification”.2 3GPP TS 25.433, ”UTRAN Iub interface NBAP signaling”.3 3GPP TS 25.413, ”UTRAN Iu interface RANAP signaling”.4 3GPP TS 25.215, “Physical layer - Measurements (FDD)”.5 ITU-T Recommendation X.691 (07/2002): "Information technology - ASN.1 encoding rules: Specification of Packed Encoding Rules (PER)".6 ITU-T Recommendation X.680 (07/2002): "Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notation".7 ITU-T Recommendation X.681 (07/2002): "Information technology - Abstract Syntax Notation One (ASN.1): Information object specification".