WO2009129721A1 - 一种业务数据的发送、接收方法、装置和系统 - Google Patents

一种业务数据的发送、接收方法、装置和系统 Download PDF

Info

Publication number
WO2009129721A1
WO2009129721A1 PCT/CN2009/071247 CN2009071247W WO2009129721A1 WO 2009129721 A1 WO2009129721 A1 WO 2009129721A1 CN 2009071247 W CN2009071247 W CN 2009071247W WO 2009129721 A1 WO2009129721 A1 WO 2009129721A1
Authority
WO
WIPO (PCT)
Prior art keywords
gem frame
domain
service data
payload
inner layer
Prior art date
Application number
PCT/CN2009/071247
Other languages
English (en)
French (fr)
Inventor
郑若滨
埃芬博格·弗兰克
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2009129721A1 publication Critical patent/WO2009129721A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0064Arbitration, scheduling or medium access control aspects

Definitions

  • FIG. 3 is a flowchart of a first embodiment of a method for transmitting service data according to the present invention
  • 4 is a structural diagram of a first embodiment of a service data transmitting apparatus according to the present invention
  • FIG. 5 is a flowchart of a first embodiment of a service data receiving method according to the present invention
  • Step 502 Read the outer GEM frame header, determine whether the PTI field in the GEM frame header indicates that the GEM frame carries the extended domain, and if yes, go to step 503, if no, go to 504;
  • the receiving apparatus in this embodiment includes a receiving unit 601, a decapsulating unit 602, and a first service processing unit. 603 and the second service processing unit 604, the internal structure and the connection relationship are further described below in conjunction with the working principle of the device.
  • the decapsulating unit 602 is configured to decapsulate the GEM frame received by the receiving unit 601 to obtain a type of service data and service data.
  • Step 902 Send the encapsulated GEM frame to the optical fiber for transmission.
  • the transmitting apparatus in this embodiment includes a packaging unit 1001 and a transmitting unit 1002, and the working principle of the apparatus is combined below. Further introduce its internal structure and connection relationship.
  • the encapsulating unit 1001 is configured to encapsulate the service data to be sent into a GEM frame, where the GEM frame includes an outer GEM frame header, an inner layer GEM frame header, an extended domain, and a payload domain, and the extended domain carries the indication service data type.
  • the GEM frame includes an outer GEM frame header, an inner layer GEM frame header, an extended domain, and a payload domain, and the extended domain carries the indication service data type.
  • Business type identifier and Ex-port ID
  • the sending unit 1002 is configured to send the GEM frame encapsulated by the encapsulating unit to the optical fiber for transmission; where the encapsulating unit 1001 includes:
  • a payload domain bearer unit 1003, configured to put service data to be sent into a payload domain
  • the header adding unit 1005 is configured to add a GEM frame header based on the payload domain.
  • Step 1102 Read the outer GEM frame header, determine whether the PTI field in the outer GEM frame header indicates that the GEM frame carries the inner layer GEM frame header, and if yes, go to step 1103, if no, go to step 1105;
  • Step 1103 Read an inner GEM frame header, and determine whether the PTI field in the inner GEM frame header refers to The GEM frame carries the extended domain, if yes, go to step 1104, if no, go to step 1105;
  • Step 1104 Read the extended domain of the GEM frame, obtain the service type identifier of the service data, and proceed to step 1106;
  • Step 1106 Identify the service type of the service data according to the service type identifier, read the payload domain of the GEM frame, obtain the service data, and perform the service processing corresponding to the service type on the service data, and end the process.
  • the receiving unit 1201 is configured to receive a GEM frame, where the GEM frame includes an outer GEM frame header, an inner GEM frame header, an extended domain, and a payload domain, and the extended domain carries the service type identifier and the Ex-port ID indicating the service data type. ;
  • the first service processing unit 1203 is configured to identify a service type that identifies the service data according to the service type identifier, and perform service processing corresponding to the service type on the service data.
  • the decapsulation unit 1202 includes:
  • the inner layer GEM frame header reading unit 1206 is configured to read the inner layer GEM frame header
  • the outer GEM frame header determining unit 1209 is configured to determine whether the PTI field of the outer GEM frame header read by the outer GEM frame header reading unit indicates that the GEM frame carries the inner layer GEM frame header; if yes, Notifying the inner layer GEM frame header determining unit 1210; if not, notifying the second service processing unit 1204; wherein, when the GEM frames received by the receiving device all carry the inner layer GEM frame header, it is not excluded whether the non-headed PTI field indicates the GEM The frame carries the inner GEM frame header.
  • the inner layer GEM frame header determining unit 1210 is configured to determine whether the PTI field of the inner layer GEM frame header read by the inner layer GEM frame header reading unit indicates that the GEM frame carries the inner layer GEM frame header; if yes, notify the extension The domain reading unit 1207; if not, notifying the second service processing unit 1204;
  • a third embodiment of the service data transmission system including the aforementioned transmitting device and receiving device, which have been described in detail above, and will not be described herein.
  • the extended domain in this embodiment may not include the Ex-port ID.
  • the GEM frame includes an outer GEM frame header, an inner GEM frame header and a payload domain, and an inner GEM frame header and an outer GEM frame header. Carrying the port ID, and jointly identifying the port information of the service data.
  • a method for encapsulating service data which includes the following steps:
  • Step 1 Put the service data to be sent into a payload domain
  • Step 2 Add an inner layer GEM frame header based on the payload domain, and the inner layer GEM frame header carries a port
  • Step 3 Add an outer GEM frame header to the inner GEM frame header, where the outer GEM frame header carries the port ID, and the outer region of the outer GEM frame header indicates that the GEM frame carries the inner GEM frame header.
  • the encapsulating apparatus in this embodiment includes a payload domain carrying unit 1401 and an inner layer GEM header adding.
  • the unit 1402 and the outer GEM frame header adding unit 1403 further describe the internal structure and the connection relationship in conjunction with the working principle of the device.
  • a payload area carrying unit 1401 configured to put the service data to be sent into a payload domain
  • an inner layer GEM header adding unit 1402 configured to add an inner GEM frame header based on the payload domain
  • the frame header adding unit 1403 is configured to add an outer GEM frame header to the inner layer GEM frame header, and the PTI field in the outer GEM frame header indicates that the GEM frame carries the inner layer GEM frame header.
  • the GEM frame includes an outer GEM frame header, an inner layer extension domain, and a payload domain, where the inner-layer extension domain carries an Ex-port ID.
  • the port ID carried in the outer GEM frame header together identifies the port information of the service data.
  • a method for encapsulating service data which includes the following steps:
  • Step 1 Put the service data to be sent into a payload domain
  • a payload area bearer unit 1601 configured to put service data to be sent into a payload domain
  • the inner layer extension field adding unit 1602 is configured to add an inner layer extension field on the basis of the payload domain;
  • the outer GEM frame header adding unit 1603 is configured to add an outer GEM frame header to the inner layer extension domain, and the outer GEM
  • the PTI field in the frame header indicates that the GEM frame carries an inner layer extension field.
  • the GEM frame includes an outer GEM frame header, an inner GEM frame header, an inner layer extension domain, and a payload domain, and the Ex-layer extended domain carries Ex- The port ID and the port ID carried in the inner GEM frame header and the outer GEM frame header together identify the end of the service data. Information.
  • a method for encapsulating service data which includes the following steps:
  • Step 1 Put the service data to be sent into a payload domain
  • Step 2 Add an inner extension field to the payload domain, where the inner extension domain carries an Ex-port ID.
  • Step 3 Add an inner GEM frame header based on the inner layer extension domain, where the inner layer GEM header carries Port ID, the PTI field in the inner GEM frame header indicates that the GEM frame carries the inner layer extension field;
  • Step 4 Add an outer GEM frame header based on the inner layer GEM frame header, where the outer GEM frame header carries the Port ID, and the ⁇ field in the outer GEM frame header indicates that the GEM frame carries the inner layer GEM frame header.
  • the encapsulating device in this embodiment includes a payload domain carrying unit 1801 and an inner layer extended domain adding unit. 1802. An inner layer GEM frame header adding unit 1803 and an outer layer GEM frame header adding unit 1804. The internal structure and the connection relationship are further described below in conjunction with the working principle of the device.
  • a payload area carrying unit 1801, configured to put service data to be sent into a payload domain
  • the inner layer extension field adding unit 1802 is configured to add an inner layer extension field on the basis of the payload domain; and the inner layer GEM frame header adding unit 1803 is configured to add an inner layer GEM frame header to the inner layer extended domain.
  • the PTI field is used to indicate that the GEM frame carries an extended domain or/and inner layer
  • the GEM frame header can be implemented by using coding.
  • the specific implementation manner is shown in Tables 1 and 2.
  • Table 1 An encoding implementation
  • PTI bit 1 indicates carrying the inner layer GEM frame header

Description

一种业务数据的发送、 接收方法、 装置和系统
本申请要求于 2008 年 4 月 23 日提交中国专利局、 申请号为 200810095026.3、 发明名称为"一种业务数据的发送、 接收方法、 装置和系统" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明涉及无源光网络领域, 特别是一种业务数据发送、接收方法、 装置 和系统。
背景技术
随着因特网的持续快速发展和个人电脑的普及, 各种增值的多媒体和 IP 业务激增, 已存在的接入技术无法满足巨大的带宽需求, 成为整个网络发展的
"瓶颈"。 主干网光纤化带来的巨大带宽资源驱使人们考虑将接入网实现光纤 化、 宽带, 进而逐渐形成了 GPON ( Gigabit Passive Optical Network, 千兆位 无源光网络)。
GPON协议分层模型结构包括 GPM ( GPON Physical Media Dependent Layer , 千兆位无源光网络物理介质相关层) 和 GTC(GPON Transmission Convergence Layer,千兆位无源光网络传输汇聚层)。
GPON的 GTC层能够提供两种业务数据的封装模式,即 ATM封装模式和 GEM封装模式。 其中, ATM封装模式是将业务数据封装在 53个字节的 ATM 信元中传输, ATM封装模式是定长封装模式; GEM封装模式是将业务数据封 装在 GEM帧中。
请参阅图 1 , 其为现有技术中 GPON系统对业务数据进行发送的示意图。 A 系统的端口只能支持对 TDM报文的封装, B系统端口只能支持对 SDH报 文的封装, 对于 A、 B系统来说, 它们每个端口的 GEM封装模式都是已经预 先配置好的, 系统固定的同时, 所封装的业务数据也随之固定, 这种封装模式 是一种静态的封装模式。 相对应的, 接收端对 GEM帧的解封装模式也是静态 配置的。
由此可以看出, 现有的这种业务数据的传输方法, 只能支持一个固定类型 的业务数据的传输, 不能够满足用户对多业务的需求,使得用户应用起来不够 灵活。 此外, 目前 GPON支持的 GEM端口地址空间为 4K, 随着用户数量和 通信业务种类的日益增加,特别当釆用 IP承载于 GEM的技术时, 4K的 GEM 端口地址空间已远不能满足对用户和通信业务的精细化分类和控制的要求,如 何扩展 GPON的 GEM端口地址空间成为一个技术难题。
发明内容
本发明实施例提供一种业务数据的发送、接收方法、 装置和系统, 能够动 态地支持多种业务数据的发送、 接收或传输。
本发明实施例还提供一种业务数据的封装方法和装置,能够扩展装置的端 口数量, 可以更好的支持多种业务数据的传输。
本发明实施例公开了一种业务数据的发送方法, 包括: 将待发送的业务数 据封装成无源光网络封装模式 GEM帧, 所述 GEM帧中包括指示所述业务数 据类型的业务类型标识; 将所述封装后的 GEM帧发送到光纤上进行传输。
本发明实施例公开了一种业务数据的接收方法, 包括: 接收 GEM帧, 所 述 GEM帧包括 GEM帧头、 扩展域和净荷域; 对所述 GEM帧解封装, 得到 业务数据和所述业务数据的业务类型标识;根据所述业务类型标识识别出所述 业务数据的业务类型, 对所述业务数据进行与所述业务类型对应的业务处理。
本发明实施例公开了一种业务数据的传输方法, 包括: 发送端将待发送的 业务数据封装成 GEM帧, 所述 GEM帧中包括指示所述业务数据类型的业务 类型标识; 将所述封装后的 GEM帧发送到光纤上进行传输; 接收端接收所述 GEM帧, 所述 GEM帧包括 GEM帧头、 扩展域和净荷域; 对所述 GEM帧解 封装得到所述业务数据和所述业务类型标识;才艮据所述业务类型标识识别出所 述业务数据的业务类型, 对所述业务数据进行与所述业务类型对应的业务处 理。
本发明实施例公开了一种业务数据的发送装置, 包括: 封装单元, 用于将 待发送的业务数据封装成 GEM帧, 其中, 所述 GEM帧中包括指示所述业务 数据类型的业务类型标识; 发送单元, 用于将所述封装单元封装后的 GEM帧 发送到光纤上进行传输。
本发明实施例公开了一种业务数据的接收装置, 包括: 接收单元, 用于 接收 GEM帧, 所述 GEM帧包括 GEM帧头、 扩展域和净荷域; 解封装单元, 用于对所述接收单元接收到的 GEM帧解封装, 得到业务数据和所述业务数据 的业务类型标识; 第一业务处理单元,用于根据所述业务类型标识识别出所述 业务数据的业务类型, 对所述业务数据进行与所述业务类型对应的业务处理。
本发明实施例公开了一种业务数据的传输系统, 包括发送装置和接收装 置。
本发明实施例还公开了一种业务数据的封装方法, 包括: 将待发送的业务 数据放入净荷域; 在所述净荷域基础上添加携带端口标识的内层域; 在所述内 层域基础上添加携带端口标识的外层 GEM帧头, 所述外层 GEM帧头携带的 端口标识和所述内层域携带的端口标识共同标识所述业务数据的端口信息。
本发明实施例还公开了一种业务数据的封装装置,包括:净荷域承载单元, 用于将所述待发送的业务数据放入净荷域; 内层域添加单元, 用于在所述净荷 域基础上添加携带端口标识的内层域; 外层 GEM帧头添加单元, 用于在所述 内层域基础上添加携带端口标识的外层 GEM帧头, 所述外层 GEM帧头携带 的端口标识和所述内层域携带的端口标识共同标识所述业务数据的端口信息。
从上述本发明的一个实施例中可以看出, 在发送端对业务数据进行 GEM 封装的同时, 为业务数据添加业务类型标识, 从而区分不同类型的业务数据, 进而可以动态支持多种业务数据的发送;相应的,接收端在解封装 GEM帧时, 按照解封装出的业务数据类型标识识别出的业务类型,可以对业务数据进行与 该业务类型对应的业务处理, 进而可以支持对多种业务数据的接收, 满足了用 户对多业务的需求, 有利于提高 GPON的实际应用。
从上述本发明的另外一个实施例可以看出, 由于在 GEM帧中添加了携带 端口标识的内层域,进而通过所述内层域中的端口标识和该 GEM帧外层 GEM 帧头中的端口标识共同标识业务数据的端口信息,因此相对现有技术中只通过 外层 GEM帧头标识业务数据端口信息相比,显然扩展了装置可用的端口数量, 可以更好的支持多种业务数据的传输, 解决了现有技术中 GPON支持的 GEM 端口地址空间短缺的问题。
附图说明
图 1为现有技术中 GPON系统对业务数据进行发送的示意图;
图 2为本发明 GEM帧第一实施例的结构图;
图 3为本发明一种业务数据发送方法的第一实施例的流程图; 图 4为本发明一种业务数据发送装置的第一实施例的结构图; 图 5为本发明一种业务数据接收方法的第一实施例的流程图;
图 6为本发明一种业务数据接收装置的第一实施例的结构图;
图 7为本发明 GEM帧第二实施例的结构图;
图 8为本发明 GEM帧第三实施例的结构图;
图 9为本发明一种业务数据发送方法的第三实施例的流程图;
图 10为本发明一种业务数据发送装置的第三实施例的结构图;
图 11为本发明一种业务数据接收方法的第三实施例的流程图;
图 12为本发明一种业务数据接收装置的第三实施例的结构图;
图 13为本发明 GEM帧第四实施例的结构图;
图 14为本发明一种业务数据封装装置的第一实施例的结构图;
图 15为本发明 GEM帧第五实施例的结构图;
图 16为本发明一种业务数据封装装置的第二实施例的结构图;
图 17为本发明 GEM帧第六实施例的结构图;
图 18为本发明一种业务数据封装装置的第三实施例的结构图。
具体实施方式
下面结合附图对本发明实施例进行详细描述。
请参阅图 2, 其为本发明 GEM帧第一实施例的结构图, 包括外层 GEM 帧头, 扩展域和净荷域, 扩展域中携带指示业务数据类型的业务类型标识。
针对上述帧结构, 在本发明的发送第一实施例中,提供了一种业务数据的 发送方法, 请参阅图 3 , 包括以下步骤:
步骤 301 :将待发送的业务数据放入净荷域,在净荷域基础上添加扩展域, 在扩展域中携带指示业务数据类型的业务类型标识,在净荷域基础上添加外层 GEM帧头, 完成 GEM封装;
例如, 在从 GEM Client收到业务数据后, 将其分段形成 GEM数据块, 然后把 GEM数据块放入 GEM帧结构中的净荷域内。 然后, 在承载有业务数 据的净荷域外层添加扩展域,在该扩展域中携带指示业务数据类型的业务类型 标识。此后,还要为承载有业务数据的净荷域添加外层 GEM帧头, 一般而言, 可以在扩展域外层添加外层 GEM帧头。 经过上述处理后, 就完成了对业务数 据的 GEM封装。
其中, 外层 GEM帧头包括 PLI ( PDU Length Indicator, 净荷长度指示)、 Port ID ( Port Identification, 端口标识)、 PTI ( PDU Type Indicator, 净荷类型 指示)和 HEC(Header Error Control, 头错误控制) 四个部分。
步骤 302: 将封装后的 GEM帧发送到光纤上进行传输。
与上述所提供的方法相对应,还提供了一种业务数据发送装置的第一实施 例, 请参见图 4, 本实施例中的发送装置包括封装单元 401和发送单元 402, 下面结合该装置的工作原理进一步介绍其内部结构以及连接关系。
封装单元 401 , 用于将待发送的业务数据封装成 GEM帧, 其中, 该 GEM 帧包括外层 GEM帧头, 扩展域和净荷域, 扩展域中携带指示业务数据类型的 业务类型标识;
发送单元 402, 将从封装单元封装后的 GEM帧发送到光纤上进行传输; 其中, 封装单元包括:
净荷域承载单元 403 , 用于将待发送的业务数据放入净荷域;
扩展域添加单元 404, 用于在净荷域的基础上添加扩展域, 在扩展域中携 带指示业务数据类型的业务类型标识;
帧头添加单元 405, 用于在净荷域的基础上添加外层 GEM帧头。 在本发明的接收第一实施例中, 实现一种业务数据接收的方法,请参阅图 5, 包括以下步骤:
步骤 501 : 接收 GEM帧, 该 GEM帧包括外层 GEM帧头, 扩展域和净荷 域, 扩展域中携带指示业务数据类型的业务类型标识;
步骤 502: 读取外层 GEM帧头, 判定该 GEM帧头中的 PTI域是否指示 GEM帧携带扩展域, 如果是, 进入步骤 503 , 如果否, 进入 504;
步骤 503: 读取 GEM帧的扩展域, 获得业务数据的业务类型标识, 进入 步骤 505;
步骤 504: 对业务数据进行与预先静态配置的业务数据类型对应的业务处 理, 结束本流程;
步骤 505: 根据业务类型标识识别出业务数据的业务类型, 读取 GEM帧 的净荷域, 获得业务数据, 对业务数据进行与业务类型对应的业务处理, 结束 本流程。
与上述所提供的方法相对应,还提供了一种业务数据接收装置的第一实施 例, 参见图 6, 本实施例中的接收装置包括接收单元 601、 解封装单元 602、 第一业务处理单元 603和第二业务处理单元 604, 下面结合该装置的工作原理 进一步介绍其内部结构以及连接关系。
接收单元 601, 用于接收 GEM帧, 该 GEM帧包括外层 GEM帧头, 扩展 域和净荷域, 扩展域中携带指示业务数据类型的业务类型标识;
解封装单元 602,用于将接收单元 601接收的 GEM帧解封装, 得到业务数 据和业务数据的类型;
第一业务处理单元 603, 用于根据业务类型标识识别出业务数据的业务类 型, 对业务数据进行与业务类型对应的业务处理;
第二业务处理单元 604, 用于对业务数据进行与预先静态配置的业务数据 类型对应的业务处理。
其中, 解封装单元包括:
帧头读取单元 605 , 用于读取外层 GEM帧头;
判定单元 606, 用于判定帧头读取单元 605读取的外层 GEM帧头的 PTI 域是否指示 GEM帧携带扩展域; 如果是, 则通知扩展域读取单元 607; 如果 否, 则通知第二业务处理单元 604;
其中, 当接收装置接收的 GEM帧全部携带扩展域时, 不排除不使用判定 单元判定帧头读取单元读取的外层 GEM帧头的 PTI域是否指示 GEM帧携带 扩展域。
扩展域读取单元 607, 用于读取 GEM帧的扩展域, 获得业务数据的业务 类型标识;
净荷域读取单元 608, 用于读取 GEM帧的净荷域, 获得业务数据。 在本发明的传输第一实施例中, 实现一种业务数据的传输方法, 包括前述 的发送方法和接收方法, 因前面已经对其进行了详细的介绍, 故不赘述。
与上述所提供的方法相对应 ,本发明还提供了一种业务数据传输系统的第 一实施例, 包括前述的发送装置和接收装置, 因前面已经对其进行了详细的介 绍, 这里故不赘述。 请参阅图 7, 为本发明 GEM帧第二实施例结构图, 包括外层 GEM帧头、 扩展域和净荷域, 扩展域中携带指示业务数据类型的业务类型标识和 Ex-port ID ( Expanded Port Identification, 扩展端口标识), Ex-port ID用于扩展 GPON 系统的端口。
针对上述帧结构, 在本发明提供了发送方法、 装置的第二实施例。 本实施 例与第一实施例不同之处在于, GEM帧的扩展域中除了携带业务类型标识外 还携带有 Ex-port ID。
同样, 针对上述帧结构, 在本发明提供了接收方法、 装置的第二实施例。 本实施例与第一实施例不同之处在于, GEM帧的扩展域中除了携带业务类型 标识外还携带有 Ex-port ID。
在本发明的传输第二实施例中, 实现一种业务数据的传输方法, 包括前述 的发送方法和接收方法, 因前面已经对其进行了详细的介绍, 故不赘述。
与上述所提供的方法相对应,本发明还提供了一种业务数据传输系统的第 二实施例, 包括前述的发送装置和接收装置, 因前面已经对其进行了详细的介 绍, 这里故不赘述。 请参阅图 8, 其为本发明 GEM帧第三实施例结构图, 包括外层 GEM帧 头, 内层 GEM帧头、 扩展域和净荷域, 扩展域中携带指示业务数据类型的业 务类型标识和 Ex-port ID, 内层 GEM帧头携带了用于扩展 GPON系统端口的 Port ID。
针对上述帧结构, 在本发明的发送第三实施例中,提供了一种业务数据的 发送方法, 请参阅图 9, 包括以下步骤:
步骤 901 :将待发送的业务数据放入净荷域,在净荷域基础上添加扩展域, 在该扩展域中携带指示业务数据类型的业务类型标识和 Ex-port ID, Ex-port ID 用于扩展 GPON系统的端口,在净荷域基础上添加外层 GEM帧头和内层 GEM 帧头, 完成 GEM封装; 其中, 外层 GEM帧头和内层 GEM帧头结构与发送第一实施例中的帧头 结构相同。
步骤 902: 将封装后的 GEM帧发送到光纤上进行传输。
与上述所提供的方法相对应, 还提供了一种业务数据发送装置第三实施 例, 参见图 10, 本实施例中的发送装置包括封装单元 1001和发送单元 1002, 下面结合该装置的工作原理进一步介绍其内部结构以及连接关系。
封装单元 1001 ,用于将待发送的业务数据封装成 GEM帧,其中,该 GEM 帧包括外层 GEM帧头、 内层 GEM帧头、 扩展域和净荷域, 扩展域中携带指 示业务数据类型的业务类型标识和 Ex-port ID;
发送单元 1002, 将从封装单元封装后的 GEM帧发送到光纤上进行传输; 其中, 封装单元 1001包括:
净荷域承载单元 1003 , 用于将待发送的业务数据放入净荷域;
扩展域添加单元 1004, 用于在净荷域的基础上添加扩展域, 在扩展域中 携带指示业务数据类型的业务类型标识和扩展端口的 Ex-port ID;
帧头添加单元 1005, 用于在净荷域的基础上添加 GEM帧头。
其中, 帧头添加单元 1005包括:
外层 GEM帧头添加单元 1006,用于在所述净荷域的基础上添加外层 GEM 帧头。
内层 GEM帧头添加单元 1007,用于在所述净荷域的基础上添加内层 GEM 帧头。
在本发明的接收第三实施例中, 实现一种业务数据的接收方法,请参阅图 11 , 包括以下步骤:
步骤 1101 : 接收 GEM帧, 该 GEM帧包括外层 GEM帧头, 内层 GEM帧 头、 扩展域和净荷域, 扩展域中携带指示业务数据类型的业务类型标识和 Ex-port ID;
步骤 1102: 读取外层 GEM帧头, 判定外层 GEM帧头中的 PTI域是否指 示 GEM帧携带内层 GEM帧头, 如果是, 进入步骤 1103,如果否, 进入步骤 1105;
步骤 1103: 读取内层 GEM帧头, 判定内层 GEM帧头中的 PTI域是否指 示 GEM帧携带扩展域, 如果是, 进入步骤 1104,如果否, 进入步骤 1105; 步骤 1104: 读取 GEM帧的扩展域, 获得业务数据的业务类型标识, 进入 步骤 1106;
步骤 1105: 对业务数据进行与预先静态配置的业务数据类型对应的业务 处理, 结束本流程。
步骤 1106: 根据业务类型标识识别出业务数据的业务类型, 读取 GEM帧 的净荷域, 获得业务数据, 对业务数据进行与业务类型对应的业务处理, 结束 本流程。
与上述所提供的方法相对应,还提供了一种业务数据接收装置的第三实施 例,请参阅图 12,本实施例中的接收装置包括接收单元 1201、解封装单元 1202、 第一业务处理单元 1203和第二业务处理单元 1204, 下面结合该装置的工作原 理进一步介绍其内部结构以及连接关系。
接收单元 1201, 用于接收 GEM帧, 该 GEM帧包括外层 GEM帧头, 内 层 GEM帧头、 扩展域和净荷域, 扩展域中携带指示业务数据类型的业务类型 标识和 Ex-port ID;
解封装单元 1202,用于对接收单元接收到的 GEM帧解封装, 得到业务数 据和业务数据的业务类型标识;
第一业务处理单元 1203,用于根据业务类型标识识别出业务数据的业务类 型, 对业务数据进行与业务类型对应的业务处理。
第二业务处理单元 1204, 用于对业务数据进行与预先静态配置的业务数 据类型对应的业务处理。
其中, 解封装单元 1202包括:
外层 GEM帧头读取单元 1205 , 用于读取外层 GEM帧头;
内层 GEM帧头读取单元 1206 , 用于读取内层 GEM帧头;
扩展域读取单元 1207, 用于读取 GEM帧的扩展域, 获得业务数据的业务 类型标识;
净荷域读取单元 1208, 用于读取 GEM帧的净荷域, 获得业务数据。
外层 GEM帧头判定单元 1209, 用于判定外层 GEM帧头读取单元读取的 外层 GEM帧头的 PTI域是否指示 GEM帧携带内层 GEM帧头; 如果是, 则 通知内层 GEM帧头判定单元 1210; 如果否, 则通知第二业务处理单元 1204; 其中, 当接收装置接收的 GEM帧全部携带内层 GEM帧头时, 不排除不 头的 PTI域是否指示 GEM帧携带内层 GEM帧头。
内层 GEM帧头判定单元 1210, 用于判定内层 GEM帧头读取单元读取的 所述内层 GEM帧头的 PTI域是否指示 GEM帧携带内层 GEM帧头; 如果是, 则通知扩展域读取单元 1207; 如果否, 则通知第二业务处理单元 1204;
其中, 当接收装置接收的 GEM帧全部携带扩展域时, 不排除不使用内层 域是否指示 GEM帧携带扩展域。 在本发明的传输第三实施例中, 实现一种业务数据传输的方法, 包括前述 的发送方法和接收方法, 因前面已经对其进行了详细的介绍, 故不赘述。
与上述所提供的方法相对应,还提供了一种业务数据传输系统的第三实施 例, 包括前述的发送装置和接收装置, 因前面已经对其进行了详细的介绍, 这 里故不赘述。 在上述实施例中, 如果 GPON 系统的端口数目满足实际需要, 本实施例 中的扩展域可以不包含 Ex-port ID。
请参阅图 13 , 为本发明 GEM帧第四实施例的结构图, 该 GEM帧包括外 层 GEM帧头, 内层 GEM帧头和净荷域, 内层 GEM帧头和外层 GEM帧头都 携带 Port ID, 共同标识所述业务数据的端口信息。
针对上述帧结构, 在本发明的封装第一实施例中,提供了一种业务数据的 封装方法, 包括以下步骤:
步骤 1 , 将待发送的业务数据放入净荷域;
步骤 2,在净荷域基础上添加内层 GEM帧头,该内层 GEM帧头携带 Port
ID;
步骤 3 , 在内层 GEM帧头基础上添加外层 GEM帧头, 该外层 GEM帧头 携带 Port ID, 外层 GEM帧头中的 ΡΉ域指示 GEM帧携带内层 GEM帧头。 与上述所提供的方法相对应,还提供了一种业务数据封装装置的第一实施 例,请参阅图 14,本实施例中的封装装置包括净荷域承载单元 1401、内层 GEM 帧头添加单元 1402和外层 GEM帧头添加单元 1403 , 下面结合该装置的工作 原理进一步介绍其内部结构以及连接关系。
净荷域承载单元 1401 , 用于将所述待发送的业务数据放入净荷域; 内层 GEM帧头添加单元 1402 ,用于在净荷域基础上添加内层 GEM帧头; 外层 GEM帧头添加单元 1403 , 用于在内层 GEM帧头基础上添加外层 GEM帧头, 外层 GEM帧头中的 PTI域指示 GEM帧携带内层 GEM帧头。
请参阅图 15, 为本发明 GEM帧第五实施例的结构图, 该 GEM帧包括外 层 GEM帧头, 内层扩展域和净荷域, 其中, 内层扩展域所携带的 Ex-port ID 和外层 GEM帧头携带的 Port ID共同标识业务数据的端口信息。
针对上述帧结构, 在本发明的封装第二实施例中,提供了一种业务数据的 封装方法, 包括以下步骤:
步骤 1 , 将待发送的业务数据放入净荷域;
步骤 2, 在净荷域基础上添加内层扩展域, 该内层扩展域携带 Ex-port ID; 步骤 3 , 在内层扩展域基础上添加外层 GEM帧头, 该外层 GEM帧头携 带 Port ID, 外层 GEM帧头中的 PTI域指示 GEM帧携带内层扩展域。 与上述所提供的方法相对应,还提供了一种业务数据封装装置的第二实施 例, 请参阅图 16, 本实施例中的封装装置包括净荷域承载单元 1601、 内层扩 展域添加单元 1602和外层 GEM帧头添加单元 1603 , 下面结合该装置的工作 原理进一步介绍其内部结构以及连接关系。
净荷域承载单元 1601 , 用于将待发送的业务数据放入净荷域;
内层扩展域添加单元 1602, 用于在净荷域基础上添加内层扩展域; 外层 GEM帧头添加单元 1603 , 用于在内层扩展域基础上添加外层 GEM 帧头, 外层 GEM帧头中的 PTI域指示 GEM帧携带内层扩展域。
请参阅图 17, 为本发明 GEM帧第六实施例结构图, 该 GEM帧包括外层 GEM帧头, 内层 GEM帧头、内层扩展域和净荷域, 内层扩展域携带的 Ex-port ID与内层 GEM帧头和外层 GEM帧头携带的 Port ID,共同标识业务数据的端 口信息。
针对上述帧结构, 在本发明的封装第三实施例中,提供了一种业务数据的 封装方法, 包括以下步骤:
步骤 1 , 将待发送的业务数据放入净荷域;
步骤 2, 在净荷域基础上添加内层扩展域, 该内层扩展域携带 Ex-port ID; 步骤 3 , 在内层扩展域基础上添加内层 GEM帧头, 该内层 GEM帧头携 带 Port ID, 内层 GEM帧头中的 PTI域指示 GEM帧携带内层扩展域;
步骤 4, 在内层 GEM帧头基础上添加外层 GEM帧头, 该外层 GEM帧头 携带 Port ID, 外层 GEM帧头中的 ΡΉ域指示 GEM帧携带内层 GEM帧头。
与上述所提供的方法相对应,还提供了一种业务数据封装装置的第三实施 例, 请参阅图 18, 本实施例中的封装装置包括净荷域承载单元 1801、 内层扩 展域添加单元 1802、 内层 GEM帧头添加单元 1803和外层 GEM帧头添加单 元 1804, 下面结合该装置的工作原理进一步介绍其内部结构以及连接关系。
净荷域承载单元 1801 , 用于将待发送的业务数据放入净荷域;
内层扩展域添加单元 1802, 用于在净荷域基础上添加内层扩展域; 内层 GEM帧头添加单元 1803 , 用于在内层扩展域基础上添加内层 GEM 帧头。
外层 GEM帧头添加单元 1804, 用于在内层 GEM帧头基础上添加外层 GEM帧头。
在本发明的各个实施例中,利用 PTI域指示 GEM帧携带扩展域或 /和内层
GEM帧头可以釆用编码的方式实现, 具体的实施方式如表 1、 2所示。 表 1 一种编码实施方式
PTI比特 功能
PTI第 1比特 指示携带内层 GEM帧头
PTI第 2比特 指示携带 GEM帧扩展域
PTI第 3比特 同现有技术,指示 GEM帧是否为分段处
理时的最后一个分段 另一种编码实施方式
Figure imgf000015_0001
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通 技术人员来说, 在不脱离本发明原理的前提下, 还可以做出若干改进和润饰, 这些改进和润饰也应该视为本发明的保护范围。

Claims

权 利 要 求
1、 一种业务数据的发送方法, 其特征在于, 包括:
将待发送的业务数据封装成无源光网络封装模式 GEM帧, 所述 GEM帧 中包括指示所述业务数据类型的业务类型标识;
将所述封装后的 GEM帧发送到光纤上进行传输。
2、 根据权利要求 1所述的方法, 其特征在于, 所述将待发送的业务数据 封装成 GEM帧包括:
将所述待发送的业务数据放入净荷域;
在所述净荷域基础上添加扩展域,在所述扩展域中携带指示业务数据类型 的业务类型标识;
在所述净荷域基础上添加 GEM帧头。
3、 根据权利要求 2所述的方法, 其特征在于, 所述 GEM帧头包括净荷 类型指示 PTI域, 通过所述 PTI域指示所述 GEM帧携带所述扩展域。
4、 根据权利要求 2所述的方法, 其特征在于, 所述在净荷域基础上添加 GEM帧头包括:
在所述净荷域基础上添加外层 GEM 帧头和内层 GEM 帧头, 所述外层 GEM帧头和所述内层 GEM帧头都包括端口标识。
5、 根据权利要求 2所述的方法, 其特征在于, 还包括:
在所述扩展域中携带扩展端口标识。
6、 一种业务数据的接收方法, 其特征在于, 包括:
接收 GEM帧, 所述 GEM帧包括 GEM帧头、 扩展域和净荷域; 对所述 GEM帧解封装, 得到业务数据和所述业务数据的业务类型标识; 根据所述业务类型标识识别出所述业务数据的业务类型 ,对所述业务数据 进行与所述业务类型对应的业务处理。
7、 根据权利要求 6所述的方法, 其特征在于, 对所述 GEM帧解封装, 得到业务数据和所述业务数据的业务类型标识包括:
读取所述 GEM帧头;
读取所述 GEM帧的扩展域, 获得所述业务数据的业务类型标识; 读取所述 GEM帧的净荷域, 获得所述业务数据。
8、 根据权利要求 7所述的方法, 其特征在于, 还包括:
判定所述 GEM帧头中的 PTI域是否指示所述 GEM帧携带扩展域; 如果是, 则执行所述读取 GEM帧的扩展域步骤, 如果否, 则对所述业务 数据进行与预先静态配置的业务数据类型对应的业务处理。
9、 一种业务数据的发送装置, 其特征在于, 包括:
封装单元, 用于将待发送的业务数据封装成 GEM帧, 其中, 所述 GEM 帧中包括指示所述业务数据类型的业务类型标识;
发送单元,用于将所述封装单元封装后的 GEM帧发送到光纤上进行传输。
10、 根据权利要求 9所述的装置, 其特征在于, 所述封装单元包括: 净荷域承载单元, 用于将所述待发送的业务数据放入净荷域;
扩展域添加单元, 用于在所述净荷域的基础上添加扩展域,在所述扩展域 中携带指示业务数据类型的业务类型标识;
帧头添加单元, 用于在所述净荷域的基础上添加 GEM帧头。
11、 根据权利要求 9或 10所述的装置, 其特征在于, 所述 GEM帧头包 括净荷类型指示 PTI域, 通过所述 PTI域指示所述 GEM帧携带所述扩展域。
12、 一种业务数据的接收装置, 其特征在于, 包括:
接收单元, 用于接收 GEM帧 , 所述 GEM帧包括 GEM帧头、扩展域和净 荷域;
解封装单元,用于对所述接收单元接收到的 GEM帧解封装,得到业务数据 和所述业务数据的业务类型标识;
第一业务处理单元,用于根据所述业务类型标识识别出所述业务数据的业 务类型, 对所述业务数据进行与所述业务类型对应的业务处理。
13、 根据权利要求 12所述的装置, 其特征在于, 所述解封装单元包括: 帧头读取单元 , 用于读取所述 GEM帧头;
扩展域读取单元, 用于读取所述 GEM帧的扩展域, 获得所述业务数据的 业务类型标识;
净荷域读取单元, 用于读取所述 GEM帧的净荷域, 获得所述业务数据。
14、 根据权利要求 13所述的装置, 其特征在于, 还包括: 否指示所述 GEM帧携带扩展域; 如果是, 则通知所述扩展域读取单元; 如果 否, 则通知第二业务处理单元;
所述第二业务处理单元,用于对所述业务数据进行与预先静态配置的业务 数据类型对应的业务处理。
15、 一种业务数据的传输系统, 其特征在于, 包括权利要求 9所述的发送 装置和权利要求 12所述的接收装置。
16、 一种业务数据的封装方法, 其特征在于, 包括:
将待发送的业务数据放入净荷域;
在所述净荷域基础上添加携带端口标识的内层域;
在所述内层域基础上添加携带端口标识的外层 GEM帧头,所述外层 GEM 帧头携带的端口标识和所述内层域携带的端口标识共同标识所述业务数据的 端口信息。
17、 根据权利要求 16所述的方法, 其特征在于, 所述在净荷域基础上添 加携带端口标识的内层域包括:
在所述净荷域基础上添加携带端口标识的内层 GEM帧头;
和 /或,
在所述净荷域基础上添加携带扩展端口标识的内层扩展。
18、 根据权利要求 17所述的方法, 其特征在于,
所述在净荷域基础上添加携带端口标识的内层域包括:在所述净荷域基础 上添加携带端口标识的内层 GEM帧头, 所述外层 GEM帧头中的 PTI域指示 所述 GEM帧携带所述内层 GEM帧头;
或者,
所述在净荷域基础上添加携带端口标识的内层域包括:在所述净荷域基础 上添加携带扩展端口标识的内层扩展, 所述外层 GEM帧头中的 PTI域指示所 述 GEM帧携带所述内层扩展;
或者,
所述在净荷域基础上添加携带端口标识的内层域包括:在所述净荷域基础 上添加携带端口标识的内层 GEM帧头和内层扩展, 所述外层 GEM帧头中的 PTI域指示所述 GEM帧携带所述内层 GEM帧头, 所述内层 GEM帧头中的 PTI域指示所述 GEM帧携带所述内层扩展。
19、 一种业务数据的封装装置, 其特征在于, 包括:
净荷域承载单元, 用于将所述待发送的业务数据放入净荷域;
内层域添加单元, 用于在所述净荷域基础上添加携带端口标识的内层域; 外层 GEM帧头添加单元, 用于在所述内层域基础上添加携带端口标识的 外层 GEM帧头, 所述外层 GEM帧头携带的端口标识和所述内层域携带的端 口标识共同标识所述业务数据的端口信息。
20、 根据权利要求 19所述的装置, 其特征在于, 内层域添加单元包括: 内层 GEM帧头添加单元, 用于在所述净荷域基础上添加携带端口标识的 内层 GEM帧头;
和 /或,
内层扩展添加单元,用于在所述净荷域基础上添加携带扩展端口标识的内 层扩展。
PCT/CN2009/071247 2008-04-23 2009-04-13 一种业务数据的发送、接收方法、装置和系统 WO2009129721A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008100950263A CN101567842B (zh) 2008-04-23 2008-04-23 一种业务数据的发送、接收方法、装置和系统
CN200810095026.3 2008-04-23

Publications (1)

Publication Number Publication Date
WO2009129721A1 true WO2009129721A1 (zh) 2009-10-29

Family

ID=41216426

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/071247 WO2009129721A1 (zh) 2008-04-23 2009-04-13 一种业务数据的发送、接收方法、装置和系统

Country Status (2)

Country Link
CN (1) CN101567842B (zh)
WO (1) WO2009129721A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8909044B2 (en) 2009-11-12 2014-12-09 Zte Corporation Method for transmitting data and gigabit-capable passive optical network system

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102056029B (zh) * 2009-11-10 2013-06-05 中兴通讯股份有限公司 一种gpon系统中实现以太网包重组的方法和装置
CN101924648B (zh) * 2010-07-22 2015-05-13 中兴通讯股份有限公司 一种业务单板的自适应方法及装置
CN102820946B (zh) * 2011-06-07 2017-11-14 邳州高新区城市矿产研究院有限公司 一种传输设备及其主动发布自身信息的方法
CN102255771A (zh) * 2011-06-12 2011-11-23 中山爱科数字科技有限公司 一种跨区域综合业务识别装置
CN102497265B (zh) * 2011-11-24 2014-03-12 飞天诚信科技股份有限公司 一种脉冲光信号识别的方法及装置
CN105323720A (zh) * 2014-06-30 2016-02-10 中兴通讯股份有限公司 集群通信业务处理方法、集群核心网设备及用户设备
CN110752979B (zh) * 2019-10-30 2021-09-17 迈普通信技术股份有限公司 报文的隧道传输方法、装置及网络设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536812A (zh) * 2003-04-10 2004-10-13 三星电子株式会社 千兆无源光网络封装方法帧结构及其数据处理方法
US20040218534A1 (en) * 2003-04-30 2004-11-04 Jae-Yeon Song GEM OAM frame transmission method in gigabit-capable passive optical network
CN101102158A (zh) * 2006-08-16 2008-01-09 华为技术有限公司 在无源光网络中传输同步数字体系业务的方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536812A (zh) * 2003-04-10 2004-10-13 三星电子株式会社 千兆无源光网络封装方法帧结构及其数据处理方法
US20040218534A1 (en) * 2003-04-30 2004-11-04 Jae-Yeon Song GEM OAM frame transmission method in gigabit-capable passive optical network
CN101102158A (zh) * 2006-08-16 2008-01-09 华为技术有限公司 在无源光网络中传输同步数字体系业务的方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8909044B2 (en) 2009-11-12 2014-12-09 Zte Corporation Method for transmitting data and gigabit-capable passive optical network system

Also Published As

Publication number Publication date
CN101567842A (zh) 2009-10-28
CN101567842B (zh) 2012-07-04

Similar Documents

Publication Publication Date Title
WO2009129721A1 (zh) 一种业务数据的发送、接收方法、装置和系统
US7751433B2 (en) Switching apparatus having universal transport of data packet frames
USRE42788E1 (en) Method and apparatus for synchronization between MAC and physical layers in a wireless communication system
US6771660B1 (en) Method and apparatus for synchronization between MAC and physical layers in a wireless communication system when transporting ATM cells
US20040008728A1 (en) Packet data processing apparatus in packet data communication system
CN112422679B (zh) 一种通信方法及装置
WO2010034255A1 (zh) 数据传输方法及网络节点和数据传输系统
CA2440814A1 (en) Method and apparatus for providing multiple quality of service levels in a wireless packet data services connection
WO2010031324A1 (zh) 数据传输的方法、装置和系统
JP2009502059A5 (zh)
JP4422175B2 (ja) パケット転送装置
WO2014183281A1 (zh) 一种数据传输方法、装置、通信设备及通信系统
JP2010512707A5 (zh)
WO2009132559A1 (zh) 一种均衡流量的方法、装置及系统
WO2008080315A1 (fr) Procédé, équipement et système de transmission de données
WO2009015608A1 (fr) Procédé, dispositif et système pour le portage d'un message ip dans un réseau optique passif
WO2011079785A1 (zh) 一种传输数据包的方法及装置
WO2014032574A1 (zh) 报文处理的装置、方法及系统
JP2006262477A (ja) レジデンシャルイーサネットシステムにおける、サブフレームを用いたスーパーフレームの生成方法
WO2009146631A1 (zh) 数据传输的方法、装置和系统
WO2011012022A1 (zh) 基站接口控制器、基站级联传输系统及级联传输方法
CN101022423A (zh) 一种atm网络与ip网络数据交换的方法和系统
KR20020096048A (ko) 무선 네트워크를 통한 등시성 데이터 전송 방법
US20050249247A1 (en) Methods and apparatus for multiplexing multiple signal sources over a single full duplex ETHERNET link
US11902172B2 (en) Device and method for transferring identification and/or data flow control information between devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09734518

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09734518

Country of ref document: EP

Kind code of ref document: A1