OMCI协议 介绍 中文版.docx_第1页
OMCI协议 介绍 中文版.docx_第2页
OMCI协议 介绍 中文版.docx_第3页
OMCI协议 介绍 中文版.docx_第4页
OMCI协议 介绍 中文版.docx_第5页
已阅读5页,还剩9页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

OMCI协议(1)1、OMCI协议栈的结构 GPON 系统的协议栈,主要由物理媒质相关(PMD)层和GPON 传输汇聚(GTC)层组成。GTC 层从结构层次来分可以分成两个子层:GTC 成帧子层和TC 适配子层。从功能层次可以分为C/M平面和U平面。GTC 层可分为两种封装模式:ATM 模式和GEM 模式,目前GPON 设备基本都采用GEM 模式。GEM 模式的GTC 层可为其客户层提供3 种类型的接口:ATM 客户接口、GEM客户接口和ONT 管理和控制接口(OMCI) 2、PMD层 GPON 的PMD 层对应于OLT 和ONU 之间的光传输接口(也称为PON 接口),其具体参数值决定了GPON 系统的最大传输距离和最大分路比。OLT 和ONU 的发送光功率、接收机灵敏度等关键参数主要根据系统支持的ODN 类型来进行划分。根据允许衰减范围的不同,ODN 类型主要分为A、B、C 三大类,结合目前实际应用需求和光收发模块的实际能力工业界还定义了B+类,扩展了GPON 系统支持的最大分路比。目前B+类ODN 是主流。 ODN 类型 衰减范围 光通道损耗差 A 类 520dB 15dB B 类 1025dB B+类 1328dB C 类 1530dBGPON 的标称线路速率(下行/上行)有多种,具体包括: 1244.16 Mbit/s/155.52 Mbit/s; 1244.16 Mbit/s/622.08 Mbit/s; 1244.16 Mbit/s/1244.16 Mbit/s; 2488.32 Mbit/s/155.52 Mbit/s; 2488.32 Mbit/s/622.08 Mbit/s; 2488.32 Mbit/s/1244.16 Mbit/s; 2488.32 Mbit/s/2488.32 Mbit/s。 目前主流厂家的GPON 产品均支持2488.32Mbit/s/1244.16Mbit/s,并且在20km 传输距离下支持1:64 分路比。OMCI协议(2)1、GTC层 TC 层(也称为GTC 层)是GPON 的核心层,主要完成上行业务流的媒质接入控制和ONU 注册这两个关键功能。GTC 层包括两个子层:GTC 成帧子层和TC 适配子层。 1)GTC帧子层 GTC 成帧子层包括3个功能: 复用和解复用。PLOAM 和GEM 部分根据帧头指示的边界信息复用到下行TC 帧中,并可以根据帧头指示从上行TC 帧中提取出PLOAM 和GEM 部分。 帧头生成和解码。下行帧的TC 帧头按照格式要求生成,上行帧的帧头会被解码。此外还要完成嵌入式OAM。 基于Alloc-ID 的内部路由功能。基于Alloc-ID 的内部标识为来自/送往GEM TC 适配器的数据进行路由。 a、GTC framing sub-layer 下行(OLTONU)复合帧结构如下: Frame header (PCBd) Payload for downstream US BW map 下行流的物理控制块PCBd是由多个域组成的,OLT以广播的方式发送完PCBd后,ONU根据收到的PCBd进行相关处理。 Frame header (PCBd) Psync4 Byte Ident4 Byte PLOAMd13 Byte BIP1 Byte Plend4 Byte Plend4 Byte US BW mapN*8 BytePsync为同步域,编码为0XB6AB31E0。 Ident:最高位指示下行流中是否使用FEC,第二位保留,下三十位用做超帧记数器。 Ident FEC(1bit) Reserved(1bit) Super-frame counter(30bit)PLOAMd:ONU ID标记特定的ONU,从0到253。Message ID标记的是消息的类型。Message Data传送GTC的PLOAM的消息净荷。CRC是CRC-8的校验序列。 PLOAMd ONU ID1 Byte Message ID1 Byte Message (Data)10 Byte CRC1 ByteBIP:比特间插的奇偶校验。 Plend:指定的是下行Bandwidth map和ATM块的长度。BW Map实际长度为BLEN值的8倍。ATM块的实际长度是ALEN值的53倍。 PLEN Field BLEN12 bit ALEN12 bit CRC8bitUS BW Map为8字节的结构的数组。AllocID:用来识别特定的T-CONT。SStart:表示所分配的开始时间。SStop:表示所分配的停止时间。 Access AllocID12 bit SPLSu1 bit SPLOAMu1 bit FEC1 bit SDBRu2 bit Reserved7 bit SStart2 Byte SStop2 Byte CRC1 BytePayload:ATM块,根据Plend中的ALEN来决定长度。GEM块包括任意数量的GEM帧。 Payload ATMK*53 Byte GEM fragmentOMCI协议(3)上行(ONUOLT)复合帧结构如下: PLOu PLOAMu PLSu DBRu X Payload X DBRu Y Payload Y PLOu DBRu Z Payload ZPLOu是上行流物理层开销。Preamble和Delimiter用于突发接收。BIP用于测量链路BER。ONU-ID标识ONU。Ind提供ONU的实时状态。 PLOu Preamblea Byte Delimiterb Byte BIP1 Byte ONU-ID1 Byte Ind1 BytePLOAMu和下行流中的PLOAMu的结构相同。由Flags决定是否发送 PLSu:长度为120字节,用于ONU的光功率的测量,由Flags决定是否发送。 DBRu:上行动态带宽报告,由Flags决定是否发送。DBA域包括T-CONT的业务量状态。CRC校验对DBRu使用CRC-8的校验方式。 DBRu DBA 1/2/4 Byte CRC 1 BytePayload上行流的净核。ATM上行净核:OLT尽量使ATM净核为53字节的整数倍。否则在最后进行碎片填写。GEM上行净核:包括若干GEM帧。DBA上行净核:包括所查询ONU的DBA报告。 Payload ATM信元 ATM信元 ATM信元 ATM信元 填充(需要) 帧分片 GEM帧头 完整帧 GEM帧头 帧分片 DBA报告 填充(需要)OMCI协议(4)1)TC适配子层 适配子层提供了3 个TC 适配器,即ATM TC 适配器、GEM TC 适配器和OMCI适配器。ATM/GEM TC 适配器生成来自GTC 成帧子层各ATM/GEM 块的PDU,并将这些PDU 映射到相应的块。 a、GEM TC adapter GEM adapter中的帧格式: GEMHeader(5 bytes) TransactionCorrelationIdentifier(2 bytes) MessageType(1 byte) DeviceIdentifier(1 byte) MessageIdentifier(4 bytes) MessageContents(32 bytes) OMCITrailer(8 bytes)其中GEM header的格式为: PLI12 bit Port-ID12 bit PTI3 bit HEC13 bitPLI指示的是该头部后面净负荷段的长度。Port-ID指示的是端口标识。PTI指示净负荷段的内容类型和相应的处理方式。HEC为头部的检错和纠错功能。 b、ATM TC adapter ATM adapter中的帧格式: ATMHeader(5 bytes) TransactionCorrelationIdentifier(2 bytes) MessageType(1 byte) DeviceIdentifier(1 byte) MessageIdentifier(4 bytes) MessageContents(32 bytes) OMCITrailer(8 bytes)c、OMCI adapter OMCI的净核: TransactionCorrelationIdentifier(2 bytes) MessageType(1 byte) DeviceIdentifier(1 byte) MessageIdentifier(4 bytes) MessageContents(32 bytes) OMCITrailer(8 bytes)Transaction Correlation Identifier的最高位表示该Message的优先级的高低,1表示高优先级,0表示低优先级。 Message Type的结构是这样的: 8 7 6 5 4 3 2 1 DB AR AK MTDB用做目的比特在OMCI里常为0,AR是回答请求位,当需要确认信息时AR为1,当不需要确认信息是AR为0。AK指示的是这条Message是否为确认信息。如果是则为1,不是为0。MT表示的是Message的类型03和2931用做保留,其余的428如下表OMCI协议(5)MT Type Purpose AK Inc MIBdata sync. 4 Create Create a managed entity instance with its attributes yes yes 5 Create complete connection Create an instance of ATM VP/VC Cross-Connection ME and two associated instances of VP Network CTP-G or VC Network CTP-G ME. yes yes 6 Delete Delete a managed entity instance yes yes 7 Delete complete connection Delete an instance of ATM VP/VC Cross-Connection ME and two associated instances of VP Network CTP-G or VC Network CTP-G ME yes yes 8 Set Set one or more attributes of a managed entity yes yes 9 Get Get one or more attributes of a managed entity yes no 10 Get complete connection Get all attributes of an instance of ATM VP/VC Cross-Connection ME and the attributes of the associated instances of VP Network CTP-G or VC Network CTP-G yes no 11 Get all alarms Latch the alarm statuses of all managed entities and reset the alarm message counter yes no 12 Get all alarms next Get the active alarm status of the next managed entity yes no 13 MIB upload Latch the MIB yes no 14 MIB upload next Get latched attributes of a managed entity instance yes no 15 MIB reset Clear the MIB and re-initialise it to its default and reset the MIB data sync counter to 0 yes no 16 Alarm Notification of an alarm no no 17 Attribute value change Notification of an autonomous attribute value change no no 18 Test Request a test on a specific managed entity yes no 19 Start software download Start a software download action yes yes 20 Download section Download a section of a software image yes/no noOMCI协议(6)21 End software download End of a software download action yes yes 22 Activate software Activate the downloaded software image yes yes 23 Commit software Commit the downloaded software image yes yes 24 Synchronize Time Synchronize the time between OLT and ONT yes no 25 Reboot Reboot ONT, Circuit Pack or PON IF Line Card yes no 26 Get next Get the latched attribute values of the managed entity within the current snapshot yes no 27 Test result Notification of test result that is initiated by “Test” no no 28 Get current data Get current counter value associated with one or more attributes of a managed entity yes no NOTE The “Download section” action is only acknowledged for the last section within a window. SeeAppendix I.2.15/G.983.2.OMCI协议(7)Device Identifier根据984.3的规定为0X0A,表示的是OMCI。 Message Identifier的高2位指示的是目标实体,后2位指示的是实体状态,如下表: Managed entity class value Managed entity 1 -(intentionally left blank) 2 ONT Data 3 PON IF Line Cardholder 4 -(intentionally left blank) 5 Cardholder 6 Circuit Pack 7 Software Image 8 UNIB-PON 9 TC Adapter B-PON 10 Physical Path Termination Point ATM UNI 11 Physical Path Termination Point Ethernet UNI 12 Physical Path Termination Point CES UNI 13 Logical Nx64kbit/s Sub-port Connection Termination Point 14 -(intentionally left blank) 15 AAL1 Profile B-PON 16 AAL5 Profile B-PON 17 AAL1 Protocol Monitoring History Data B-PON 18 AAL5 Protocol Monitoring History Data B-PON 19 AAL2 Profile 20 -(intentionally left blank) 21 CES Service Profile B-PON 22 (Reserved) 23 CES Physical Interface Monitoring History Data 24 Ethernet Performance Monitoring History Data 25 -(intentionally left blank)OMCI协议(8)26 ATM VP Cross-Connection 27 -(intentionally left blank) 28 DBR/CBR Traffic Descriptor 29 UBR Traffic Descriptor 30 SBR1/VBR1 Traffic Descriptor 31 SBR2/VBR2 Traffic Descriptor 32 SBR3/VBR3 Traffic Descriptor 33 ABR Traffic Descriptor 34 GFR Traffic Descriptor 35 ABT/DT/IT Traffic Descriptor 36 UPC Disagreement Monitoring History Data B-PON 37 -(intentionally left blank) 38 -(intentionally left blank) 39 -(intentionally left blank) 40 PON Physical Path Termination Point 41 TC Adapter Protocol Monitoring History Data 42 -(intentionally left blank) 43 Operator Specific 44 Vendor Specific 45 MAC Bridge Service Profile 46 MAC Bridge Configuration Data 47 -(intentionally left blank) 48 MAC Bridge Port Designation Data 49 MAC Bridge Port Filter Table Data 50 MAC Bridge Port Bridge Table Data 51 MAC Bridge PM History Data 52 MAC Bridge Port PM History Data 53 Physical Path Termination Point POTS UNI 54 Voice CTP 55 Voice PM History Data 56 AAL2 PVC ProfileB-PON 57 AAL2 CPS Protocol Monitoring History DataB-PON 58 Voice Service Profile AAL 59 LES Service Profile 60 AAL2 SSCS Parameter Profile1 61 AAL2 SSCS Parameter Profile2 62 VP PM History Data 63 -(intentionally left blank) 64 -(intentionally left blank) 65 UBR+ Traffic Descriptor 66 AAL2 SSCS Protocol Monitoring History DataB-PON 67 IP Port Configuration Data 68 IP Router Service Profile 69 IP Router Configuration Data 70 IP Router PM History Data 1 71 IP Router PM History Data 2 72 ICMP PM History Data1 73 ICMP PM History Data 2 74 IP Route Table 75 IP Static RoutesOMCI协议(9)76 ARP Service Profile 77 ARP Configuration Data 78 VLAN Tagging Operation Configuration Data 79 MAC Bridge Port Filter Pre-assign Table 80 Physical Path Termination Point ISDN UNI 81 (Reserved) 82 Physical Path Termination Point Video UNI 83 Physical Path Termination Point LCT UNI 84 VLAN Tagging Filter Data 85 -(intentionally left blank) 86 ATM VC Cross-Connection 87 -(intentionally left blank) 88 VC PM History Data 89 Ethernet Performance Monitoring History Data 2 90 Physical Path Termination Point Video ANI 91 Physical Path Termination Point 802.11 UNI 92 802.11 Station Management data 1 93 802.11 Station Management data 2 94 802.11 General Purpose Object 95 802.11 MAC&PHY Operation and Antenna Data 96 802.11 Counters 97 802.11 PHY FHSS DSSS IR Tables 98 Physical Path Termination Point ADSL UNI Part 1 99 Physical Path Termination Point ADSL UNI Part 2 100 ADSL Line Inventory and Status Data Part 1 101 ADSL Line Inventory and Status Data Part 2 102 ADSL Channel Downstream Status Data 103 ADSL Channel Upstream Status Data 104 ADSL Line Configuration Profile Part 1 105 ADSL Line Configuration Profile Part 2 106 ADSL Line Configuration Profile Part 3 107 ADSL Channel Configuration Profile 108 ADSL Subcarrier Mask Downstream Profile 109 ADSL Subcarrier Mask Upstream Profile 110 ADSL Downstream PSD Mask Profile 111 ADSL Downstream RFI Bands Profile 112 ADSL ATU-C Performance Monitoring History Data 113 ADSL ATU-R Performance Monitoring History Data 114 ADSL ATU-C Channel Performance Monitoring History Data 115 ADSL ATU-R Channel Performance Monitoring History Data 116 TC Adaptor Performance Monitoring History Data ADSL 117 Physical Path Termination Point VDSL UNI 118 VDSL VTU-O Physical Data 119 VDSL VTU-R Physical Data 120 VDSL Channel Data 121 VDSL Line Configuration ProfileOMCI协议(10)122 VDSL Channel Configuration Profile 123 VDSL Band Plan Configuration Profile 124 VDSL VTU-O Physical Interface Monitoring History Data 125 VDSL VTU-R Physical Interface Monitoring History Data 126 VDSL VTU-O Channel Performance Monitoring History Data 127 VDSL VTU-R Channel Performance Monitoring History Data 128 Video Return Path Service Profile 129 Video Return Path Statistics 130 802.1p Mapper Service Profile 131 OLTB-PON 132 Multicast Interworking VCC Termination Point 133 ONT Power Shedding 134 IP Host Config Data 135 IP Host Monitoring Data 136 TCP/UDP Config Data 137 Network Address 138 VoIP Config Data 139 VoIP Voice CTP 140 Call Control PM History Data 141 VoIP Line Status 142 VoIP Media Profile 143 RTP Profile Data 144 RTP Monitoring Data 145 Network Dial Plan Table 146 VoIP Application Service Profile 147 VoIP Feature Access Codes 148 Authentication Security Method 149 SIP Config Portal 150 SIP Agent Config Data 151 SIP Agent Monitoring Data 152 SIP Call Initiation Performance Monitoring History Data 153 SIP User Data 154 MGC Config Portal 155 MGC Config Data 156 MGC Monitoring Data 157 LargeString 158 ONT Remote Debug 159 Equipment protection profile 160 Equipment extension package 161 Port mapping package 162 Physical Path Terminations Point MoCA UNI 163 MoCA Ethernet PM History Data 164 MoCA Interface PM History Data 3162.239 Reserved for future B-PON managed entities 240-255 Reserved for vendor-specific managed entitiesOMCI协议(11)256 ONT-G 257 ONT2-G 258 ONU-G 259 ONU2-G 260 PON IF Line Card-G 261 PON TC Adapter-G 262 T-CONT 263 ANI-G 264 UNI-G 265 ATM Interworking VCC Termination Point 266 GEM Interworking Termination Point 267 GEM Port Protocol Monitoring History Data 268 GEM Port Network CTP 269 VP Network CTP-G 270 VC Network CTP-G 271 GAL TDM Profile 272 GAL Ethernet Profile 273 Threshold Data1 274 Threshold Data2 275 GAL TDM Protocol Monitoring History Data 276 GAL Ethernet Protocol Monitoring History Data 277 Priority Queue-G 278 Traffic Scheduler-G 279 Protection Data 280 GEM Traffic Descriptor 281 Multicast GEM Interworking Termination Point 282 MAC Bridge Port Configuration Data-G 283.65280 Reserved for future GPON managed entities 65281.65535 Reserved for vendor-specific GPON managed

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论