WO2014194725A1 - 报文控制方法和装置 - Google Patents

报文控制方法和装置 Download PDF

Info

Publication number
WO2014194725A1
WO2014194725A1 PCT/CN2014/075885 CN2014075885W WO2014194725A1 WO 2014194725 A1 WO2014194725 A1 WO 2014194725A1 CN 2014075885 W CN2014075885 W CN 2014075885W WO 2014194725 A1 WO2014194725 A1 WO 2014194725A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
message
configuration rule
rule
control method
Prior art date
Application number
PCT/CN2014/075885
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 中兴通讯股份有限公司
Priority to EP14808281.1A priority Critical patent/EP2978173A4/en
Priority to RU2015143017A priority patent/RU2623897C2/ru
Publication of WO2014194725A1 publication Critical patent/WO2014194725A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • 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
    • 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

  • the present invention relates to the technical field of Gigabit Passive Optical Network (GPON), and particularly relates to a packet control method for implementing OMCI (Optical Network Termination Management and Control Interface) And equipment.
  • GPON Gigabit Passive Optical Network
  • OMCI Optical Network Termination Management and Control Interface
  • GPON is a broadband access technology that uses a point-to-multipoint network structure, a passive optical fiber transmission method, a GPON Encapsulation Method (GEM) frame encapsulation, and a variety of integrated services.
  • the GPON consists of three parts: the Optical Line Terminal (OLT), the Optical Network Unit (ONU) and the Optical Distribute Network (ODN).
  • OLT Optical Line Terminal
  • ONU Optical Network Unit
  • ODN Optical Distribute Network
  • the GPON standard G984.4/G988 is bound to the actions of the upstream and downstream packets, and the downlink rules are generated according to the bound uplink rules.
  • the uplink and the downlink need to be separately controlled.
  • the ONU discards the report of the downlink specified Ethernet type/tag protocol identifier (TPID)/virtual local area network (VLAN).
  • TPID Ethernet type/tag protocol identifier
  • VLAN virtual local area network
  • N:1 VLAN the downlink uses different standard definition ranges for different service flows.
  • the present invention provides a message control method and apparatus, which solves the problem that the existing message control method cannot meet the requirements of actual operation.
  • a message control method includes:
  • the OMCI message carrying the configuration rule sent by the OLT through the management entity, the configuration rule It contains the processing of 4 ⁇ text in different directions.
  • the OMCI message that is sent by the receiving OLT and sent by the management entity and carries the configuration rule is:
  • the ONU or the optical network terminal receives the OMCI message carried by the OLT through the management entity and carries the configuration rule.
  • the management entity includes an extended VLAN tagging operation configuration data entity.
  • the configuration rule includes a filter condition part and an action part.
  • the filtering condition includes a direction parameter extension field, where the parameter indicates a packet direction to which the packet processing rule applies, and the packet direction includes: an uplink and downlink direction, an uplink direction, and a downlink direction.
  • the method further includes:
  • Parsing the configuration rule obtaining a filter condition part and an action part of the configuration rule; and configuring the configuration rule.
  • the method further includes:
  • the matching filter condition When the matching filter condition is matched, the corresponding action of the filter condition is selected to process the certificate.
  • the parameter of the packet includes a packet direction of the packet.
  • the invention also provides a message control device, comprising:
  • the receiving module is configured to: receive an OMCI message that is sent by the OLT to be sent by the management entity and that carries the configuration rule, where the configuration rule includes the processing manner of the packet in different directions.
  • the device further comprises:
  • the rule parsing module is configured to: parse the configuration rule, and obtain a filtering condition part and an action part of the configuration rule;
  • the rule configuration module is set to: Configure the configuration rule.
  • the device further comprises:
  • the packet receiving module is configured to: receive a packet, and search for a filtering condition that matches a parameter of the packet;
  • the message processing module is configured to: when matching the matched filtering conditions, select the corresponding action of the filtering condition to process the text.
  • the embodiment of the present invention provides a message control method and device.
  • the ONU or the ONT receives an OMCI message that is sent by the management entity and carries the configuration rule, and the configuration rule includes a packet processing rule for the packet in different directions.
  • the configuration rule the ONU performs different control on the packets in different directions, and implements separate control of the uplink and downlink packets, and solves the problem that the packet control method cannot meet the actual operation requirements.
  • FIG. 1 is a schematic structural diagram of a Received frame VLAN tagging operation table according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a packet control method according to Embodiment 1 of the present invention.
  • FIG. 3 is a flowchart of a packet control method according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic structural diagram of a message control apparatus according to Embodiment 3 of the present invention. Preferred embodiment of the invention
  • the GPON standard G984.4/G988 binds the actions of the upstream and downstream packets, and the downlink rules are generated according to the bound uplink rules.
  • the uplink and downlink need to be separately controlled.
  • the ONU discards the downlink specified Ethernet type/tag protocol identifier (TPID)/virtual local area network (VLAN).
  • TPID Ethernet type/tag protocol identifier
  • VLAN virtual local area network
  • N:1 VLAN the downlink uses different standard definition ranges for different service flows.
  • the embodiment of the invention provides a message control method for separately controlling messages in different directions.
  • the extended VLAN tagging operation configuration data entity is expanded by the Received frame VLAN tagging operation table, and the extended Received frame VLAN tagging operation table is shown in FIG. 1 , and the extended field is added.
  • Direction, Direction is 2 bits in size, which is used to indicate the application direction of the 4 ⁇ ⁇ processing rule.
  • 0 represents processing in accordance with G984.4/G988;
  • 1 represents the upstream (upstream), indicating that the message processing rule is applicable to the message in the uplink direction; and 2 represents the downstream (downstream), indicating that the message processing rule is applicable to the message in the downlink direction.
  • the 'down' mode is valid when the Direction value is 0, and is invalid when the Direction is other values.
  • the process of implementing the packet control method provided by the embodiment of the present invention to implement the separate control process of the uplink and downlink packets is as shown in FIG. 2, and includes:
  • Step 201 The ONU receives the OMCI message of the extended VLAN tagging operation configuration data entity configuration rule.
  • an extended VLAN tagging operation configuration data entity is used as a management entity.
  • Step 202 Parsing the filtering condition part of the configuration rule (including filtering conditions such as VLAN/TPID/Ethernet type information) and the action part (such as discarding, transparently transmitting, and modifying the message).
  • Step 203 Parse the value of the extended field Direction.
  • Step 204 to step 206 Determine the value of Direction (equal to 0/1 (upstream) 12 (downstream)).
  • Step 207 Filtering conditions and actions (downlink rules) for the downlink packet parsed according to the attribute Downstream mode.
  • the filter condition is that the packet direction is uplink and downlink).
  • Step 209 Configure a downlink rule for the downlink packet (that is, the filtering condition is that the packet direction is downlink).
  • Step 210 Configure an uplink rule for the uplink packet (that is, the filtering condition is that the packet direction is uplink).
  • the configuration process ends. Then, according to the configuration rules, the messages in different directions can be distinguished.
  • ⁇ ⁇ are on the same port of the ONU to give three examples of processing messages in different directions:
  • Example 1 The packets of the upstream VLAN 100 are transparently transmitted. The packets of the downlink VLAN 200 and VLAN 300 are translated into VLAN 100.
  • Table 1 lists the configuration rules:
  • the VLAN 200 is translated into VLAN 500 (with a priority of 1), and the VLAN 300 is converted to VLAN 500 (with a priority of 2).
  • the action of the packet in the downlink direction is that the packet of the downstream VLAN 100 (any priority) is stripped of a tag, and the packet of the VLAN 500 (with priority 1) is converted into VLAN 200 and the packet of VLAN 500 (with a priority of 2) is converted. Into VLAN300.
  • Example 3 The action of the packet in the upstream direction is to discard the packet of VLAN 100.
  • the action of the packet in the downlink direction is to discard the packet of VLAN 100.
  • the OMCI message of the extended VLAN tagging operation configuration data entity configuration rule may be received by the ONT, and the configuration rule is configured to perform corresponding operations on the packet.
  • the implementation principle is the same as that when the ONU is the main body, and the description will not be repeated.
  • the embodiment of the invention provides a message control method, which implements separate control of messages in different directions.
  • the process of separately controlling the packets in different directions by using the packet control method provided by the embodiment of the present invention is as shown in FIG. 3, and includes:
  • Step 301 The ONU or the ONT receives an OMCI message that is sent by the OLT and carries the configuration rule by using the management entity.
  • the configuration rule includes a method for processing packets in different directions, where the management entity includes extended virtual local area network label operation configuration data (Extended VLAN). Tagging operation configuration data ) entity.
  • the configuration rule includes a filter condition part and an action part, and the filter condition part includes at least one filter condition, and each filter condition has a corresponding action in the action part.
  • An action corresponding to the filter condition can also be regarded as a sub-rule of the configuration rule, and the configuration rule can include multiple sub-rules.
  • the filter condition includes a Direction parameter extension field, where the parameter indicates a packet direction to which the packet processing rule applies, and the message direction includes: an uplink and downlink direction, an uplink direction, and a downlink direction.
  • Step 302 The 0NU or 0NT parses the configuration rule, and obtains a filtering condition part and an action part of the configuration rule.
  • Step 303 Configure the configuration rule.
  • the text can be processed.
  • Step 304 The ONU or the OTU receives the packet, and searches for a filtering condition that matches the parameter of the packet.
  • the parameter of the packet includes the packet direction of the packet. In this step, it is determined whether the packet direction matches the content of the Direction parameter extension field of the filtering condition.
  • Step 305 When matching the matched filtering conditions, select an action corresponding to the filtering condition, and process the text.
  • An embodiment of the present invention provides a packet control apparatus, which is configured as shown in FIG. 4, and includes: a configuration receiving module 401, configured to be used by an OLT to send an OMCI message carrying a configuration rule by using a management entity, where the configuration rule includes How to handle messages in different directions.
  • a configuration receiving module 401 configured to be used by an OLT to send an OMCI message carrying a configuration rule by using a management entity, where the configuration rule includes How to handle messages in different directions.
  • the device further comprises:
  • the rule parsing module 402 is configured to parse the configuration rule, and obtain a filtering condition part and an action part of the configuration rule;
  • the rule configuration module 403 is configured to configure the configuration rule.
  • the device further comprises:
  • a message receiving module 404 configured to receive a message, and search for a filtering condition that matches a parameter of the packet;
  • the message processing module 405 is configured to: when the matched filter condition is matched, select a corresponding action of the filter condition to process the file.
  • control device can be integrated into the ONU or the ONT, and the extended VLAN tagging operation configuration data entity is used as a management entity to perform the corresponding functions.
  • the specific implementation may extend the definition of the undefined portion in the Extended VLAN tagging operation configuration data entity attribute, but is not limited thereto, and is implemented by other methods. Extensions are also within the scope of the invention.
  • all or part of the steps of the foregoing embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the invention is not limited to any particular combination of hardware and software.
  • the various devices/function modules/functional units in the above embodiments may be implemented using a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • Each device/function module/functional unit in the above embodiments can be stored in a computer readable storage medium when implemented in the form of a software function module and sold or used as a standalone product.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • An embodiment of the present invention provides a packet control method and apparatus.
  • the ONU receives an OMCI message that is sent by a management entity and carries a configuration rule, where the configuration rule includes a packet processing rule for packets in different directions.
  • the configuration rule includes a packet processing rule for packets in different directions.
  • the ONU performs different control on the packets in different directions, and implements separate control of the uplink and downlink packets, and solves the problem that the existing packet control method cannot meet the actual operation requirements.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种报文控制方法和装置。涉及GPON领域;解决了报文控制方法不能满足实际操作的需求的问题。该方法包括:ONU或ONT接收OLT通过管理实体发送的携带有配置规则的OMCI消息,所述配置规则中包含对不同方向上报文的处理方式。本发明实施例提供的技术方案适用于GPON报文处理,实现了对上下行报文的分开控制。

Description

报文控制方法和装置
技术领域
本发明涉及吉比特无源光网络( GPON , Gigabit Passive Optical Network ) 技术领域, 尤其涉及实现上下行 文分开控制 OMCI ( Optical network termination Management and Control Interface , 光网络终端管理和控制接口) 的报文控制方法和装置。 背景技术
GPON是一种釆用点到多点网络结构、 无源光纤传输方式、 基于 GPON 封装方法(GPON Encapsulation Method, 简称 GEM )帧封装、 提供多种综合 业务的宽带接入技术。 GPON由局端设备光线路终端( Optical Line Terminal, 简称 OLT ) 、 用户端设备光网络单元( Optical Network Unit, 简称 ONU )和 连接线路光分配网络( Optical Distribute Network, 简称 ODN )三部分组成。
GPON标准 G984.4/G988对上下行报文的动作是绑定在一起的, 下行规 则是根据绑定的上行规则生成的。 在某些实际应用中, 上下行是需要分开控 制, 比如, ONU丟弃下行指定以太网类型 /标签协议标识 (Tag Protocol Identifier,简称 TPID )/虚拟局域网 ( Virtual Local Area Network,简称 VLAN ) 的报文, 下行 VLAN 汇聚功能(N:1 VLAN ) , 下行对不同的业务流釆用不 标准定义范围。
综上, 相关的报文控制方法不能满足实际操作的需求。 发明内容
本发明提供了一种报文控制方法和装置, 解决了现有的报文控制方法不 能满足实际操作的需求的问题。
一种报文控制方法, 包括:
OLT通过管理实体发送的携带有配置规则的 OMCI消息,所述配置规则 中包含对不同方向上 4艮文的处理方式。
优选的, 所述接收 OLT通过管理实体发送的携带有配置规则的 OMCI 消息为:
ONU或光网络终端 ( ONT )接收 OLT通过管理实体发送的携带有配置 规则的 OMCI消息。
优选的,所述管理实体包括扩展虚拟局域网标签操作配置数据 ( Extended VLAN tagging operation configuration data ) 实体。
优选的, 所述配置规则包括过滤条件部分和动作部分。
优选的, 所述过滤条件包含方向 (Direction )参数扩展字段, 该参数指 示所述报文处理规则所适用的报文方向, 所述报文方向包括: 上下行方向、 上行方向和下行方向。
优选的, 接收 OLT通过管理实体发送的携带有配置规则的 OMCI消息 的步骤之后, 还包括:
解析所述配置规则, 获取该配置规则的过滤条件部分和动作部分; 配置所述配置规则。
优选的, 该方法还包括:
接收报文, 查找与所述报文的参数匹配的过滤条件;
当匹配到符合的过滤条件时, 选择所述过滤条件相应的动作, 对所述才艮 文进行处理。
优选的, 所述报文的参数包括所述报文的报文方向。
本发明还提供了一种报文控制装置, 包括:
配置接收模块,设置为:接收 OLT通过管理实体发送的携带有配置规则 的 OMCI消息, 所述配置规则中包含对不同方向上报文的处理方式。
优选的, 该装置还包括:
规则解析模块, 设置为: 解析所述配置规则, 获取该配置规则的过滤条 件部分和动作部分; 规则配置模块, 设置为: 配置所述配置规则。
优选的, 该装置还包括:
报文接收模块, 设置为: 接收报文, 查找与所述报文的参数匹配的过滤 条件;
报文处理模块, 设置为: 当匹配到符合的过滤条件时, 选择所述过滤条 件相应的动作, 对所述 文进行处理。
本发明实施例提供了一种报文控制方法和装置, ONU或 ONT接收 OLT 通过管理实体发送的携带有配置规则的 OMCI消息, 所述配置规则中包含对 不同方向上报文的报文处理规则, ONU根据该配置规则,对不同方向的报文 进行不同的控制, 实现了对上下行报文分开控制, 解决了报文控制方法不能 满足实际操作的需求的问题。 附图概述
图 1 为本发明的实施例一提供的一种 Received frame VLAN tagging operation table的结构示意图;
图 2为本发明的实施例一提供的一种报文控制方法的流程图;
图 3为本发明的实施例二提供的一种报文控制方法的流程图;
图 4为本发明的实施例三提供的一种报文控制装置的结构示意图。 本发明的较佳实施方式
GPON标准 G984.4/G988对上下行报文的动作是绑定在一起的, 下行规 则是根据绑定的上行规则生成的。 在某些实际应用中, 上下行是需要分开控 制, 比如, ONU丟弃下行指定以太网类型 /标签协议标识 (Tag Protocol Identifier ,简称 TPID )/虚拟局域网 ( Virtual Local Area Network ,简称 VLAN ) 的报文, 下行 VLAN 汇聚功能(N:1 VLAN ) , 下行对不同的业务流釆用不 标准定义范围。 为了解决上述问题, 本发明的实施例提供了一种报文控制方法和装置。 下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在不冲 突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。
首先结合附图, 对本发明的实施例一进行说明。
本发明实施例提供了一种报文控制方法, 对不同方向的报文分开控制。 本发明实施例中 , 对 Extended VLAN tagging operation configuration data实体 属' 1"生 Received frame VLAN tagging operation table进行了扩展, 扩展后的 Received frame VLAN tagging operation table 口图 1所示, 添力口了扩展字段 Direction, Direction的大小为 2 bits, 用来表明 4艮文处理规则的应用方向。
本发明实施例中, 以方向 Direction参数有三种取值(0、 1、 2 ) 为例进 行说明, 各个数值代表的意见如下:
0代表按照 G984.4/G988规定处理;
1代表上行( upstream ) , 表示该报文处理规则适用于上行方向的报文; 2代表下行( downstream ) , 表示该报文处理规则适用于下行方向的报 文。
Other values: Reserved
属'! "生 Downstream mode在 Direction值为 0时有效, 在 Direction为其他 值时无效。
使用本发明实施例提供的报文控制方法, 实现上下行报文分开控制处理 的流程如图 2所示, 包括:
步骤 201: ONU接收 Extended VLAN tagging operation configuration data 实体配置规则的 OMCI消息。
本发明实施例中 , 以 Extended VLAN tagging operation configuration data 实体作为管理实体。 步骤 202: 解析配置规则的过滤条件部分(包括 VLAN/TPID/以太网类 型信息等过滤条件)以及动作部分(如对报文进行丟弃、透传、修改等动作)。 步骤 203: 解析扩展字段 Direction的值。
步骤 204到步骤 206: 判断 Direction的值(等于 0/1 (上行 ) 12 (下行 ) )。 步骤 207: 根据属性 Downstream mode解析出的针对下行报文的过滤条 件以及动作 (下行规则) 。 过滤条件为报文方向是上行及下行) 。
步骤 209: 配置针对下行方向报文的下行规则 (即过滤条件为报文方向 是下行) 。
步骤 210: 配置针对上行方向报文的上行规则 (即过滤条件为报文方向 是上行) 。
至此, 配置过程结束。 然后, 就可以根据配置规则, 对不同方向上的报 文进行区分处理了。
下面^ ^于 ONU的同一个端口举 3个对不同方向上报文分别处理的例 子:
例 1 : 上行 VLAN 100的报文透传, 下行 VLAN 200, VLAN300的报文 都转换成 VLAN 100。
表 1为配置规则表:
表 1
Figure imgf000007_0001
上 行 15 409 8 10 0 0 1 15 N/ 15 N/
VLAN 6 0 A A
100 透
下行 15 Piitrory 409 8 20 0 1 2 15 N/ 0 10
VLAN2 6 0 A 0
00 转
VLAN1
00 Piitrory 下行 15 409 8 30 0 1 2 15 N/ 0 10
VLAN3 6 0 A 0
00 转 丄|31 θθ J3Lΐλ
VLAN1
00 T tagso remoev
Diitrecon
Piitrory
VLAN 200的 ^艮文转换成 VLAN500 (优先级为 1 ) , VLAN300的^艮文转换 成 VLAN 500 (优先级为 2 ) ,
针对下行方向报文的动作为下行 VLAN100 (任意优先级) 的报 Piitrory文剥一 层 tag, VLAN500 (优先级为 1 ) 的报文转换成 VLAN200 , VLAN 500 (优 先级为 2 ) 的报文转换成 VLAN300。
其于以上规则的配置规则表如表 2
表 2
Filter Treatment
Outer Inner Outer Inner
Q Q Q Q
> > > > 上 行 15 4096 15 4096 0 0 1 1 5 N/A 0 00 UNTAG 力口
VLAN100
上行 15 4096 8 200 0 1 1 15 N/A 1 500
VLAN200
VLAN500
(优先级为
1 )
上行 15 4096 8 300 0 1 1 15 N/A 2 500
VLAN300
VLAN500
(优先级为
2 )
下行 15 4096 8 100 0 1 2 15 N/A N/A
VLAN100 5 剥 tag
下行 15 4096 1 500 0 1 2 15 N/A 0 200
VLAN500
(优先级为
1 ) 转
VLAN200
下行 15 4096 2 500 0 1 2 15 N/A 0 300
VLAN500
(优先级为
2 ) 转
VLAN300
例 3: 针对上行方向的报文的动作是丟弃 VLAN100的报文, 针对下行 方向的报文的动作是丟弃 VLAN100的报文。
其于以上规则的配置规则表如表 3: 表 3
Figure imgf000010_0001
本发明实施例中, 亦可以由 ONT收 Extended VLAN tagging operation configuration data实体配置规则的 OMCI消息, 并配置该配置规则, 对报文 执行相应的操作。 其实现原理与以 ONU作为主体时的实现原理相同, 在些 不再重复说明。
下面结合附图, 对本发明的实施例二进行说明。
本发明实施例提供了一种报文控制方法, 实现了对不同方向报文的分开 控制。 使用本发明实施例提供的报文控制方法完成对不同方向报文分别控制 的流程如图 3所示, 包括:
步骤 301、 ONU或 ONT接收 OLT通过管理实体发送的携带有配置规则 的 OMCI消息;
本发明实施例中,在所述配置规则中包含对不同方向上报文的处理方式, 所述管理实体包括扩展虚拟局域网标签操作配置数据 (Extended VLAN tagging operation configuration data ) 实体。
所述配置规则包括过滤条件部分和动作部分, 所述过滤条件部分包括至 少一个过滤条件, 各过滤条件在所述动作部分均有一对应的动作。 亦可将一 个过滤条件与该过滤条件对应的动作看作该配置规则的一条子规则, 配置规 则可包含多条子规则。
所述过滤条件包含一 Direction参数扩展字段,该参数指示所述报文处理 规则所适用的报文方向, 所述报文方向包括: 上下行方向、 上行方向和下行 方向。
步骤 302、 所述 0NU或 0NT析所述配置规则, 获取该配置规则的过滤 条件部分和动作部分;
步骤 303、 配置所述配置规则。
在完成配置后, 即可对 文进行处理。
步骤 304、 所述 ONU或 OTU接收报文, 查找与所述报文的参数匹配的 过滤条件;
所述报文的参数包括所述报文的报文方向, 本步骤中, 判断该报文方向 与过滤条件的 Direction参数扩展字段的内容是否相匹配。
步骤 305、 当匹配到符合的过滤条件时, 选择所述过滤条件相应的动作, 对所述 文进行处理。
下面结合附图, 对本发明的实施例三进行说明。
本发明实施例提供了一种报文控制装置, 其结构如图 4所示, 包括: 配置接收模块 401 , 用于 OLT 通过管理实体发送的携带有配置规则的 OMCI消息, 所述配置规则中包含对不同方向上报文的处理方式。
优选的, 该装置还包括:
规则解析模块 402, 用于解析所述配置规则, 获取该配置规则的过滤条 件部分和动作部分;
规则配置模块 403 , 用于配置所述配置规则。 优选的, 该装置还包括:
报文接收模块 404, 用于接收报文, 查找与所述报文的参数匹配的过滤 条件;
报文处理模块 405 , 用于当匹配到符合的过滤条件时, 选择所述过滤条 件相应的动作, 对所述 文进行处理。
上述 4艮文控制装置可集成于 ONU或 ONT中,由 Extended VLAN tagging operation configuration data实体作为管理实体, 完成相应功能。
需要说明的是, 本发明实施例的技术方案中, 具体实现可以对 Extended VLAN tagging operation configuration data实体属性 Received frame VLAN tagging operation table中的未定义部分进行扩展定义,但不限于此,通过其他 方式的扩展也在本发明范围之内。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计 算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中, 所述计算机程序在相应的硬件平台上(如系统、 设备、 装置、 器件等)执行, 在执行时, 包括方法实施例的步骤之一或其组合。
可选地, 上述实施例的全部或部分步骤也可以使用集成电路来实现, 这 些步骤可以被分别制作成一个个集成电路模块, 或者将它们中的多个模块或 步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬 件和软件结合。
上述实施例中的各装置 /功能模块 /功能单元可以釆用通用的计算装置来 实现, 它们可以集中在单个的计算装置上, 也可以分布在多个计算装置所组 成的网络上。
上述实施例中的各装置 /功能模块 /功能单元以软件功能模块的形式实现 并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。 上述提到的计算机可读取存储介质可以是只读存储器, 磁盘或光盘等。
任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想 到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范 围应以权利要求所述的保护范围为准。
工业实用性 本发明的实施例提供了一种报文控制方法和装置, ONU接收管理实体发 送的携带有配置规则的 OMCI消息, 所述配置规则中包含对不同方向上报文 的报文处理规则, ONU根据该配置规则,对不同方向的报文进行不同的控制, 实现了对上下行报文分开控制, 解决了现有的报文控制方法不能满足实际操 作的需求的问题。

Claims

权 利 要 求 书
1、 一种报文控制方法, 包括:
接收光线路终端 (OLT )通过管理实体发送的携带有配置规则的光网络 终端管理和控制接口 (OMCI ) 消息, 所述配置规则中包含对不同方向上报 文的处理方式。
2、 根据权利要求 1所述的报文控制方法, 其中, 所述接收 OLT通过管 理实体发送的携带有配置规则的 OMCI消息为: 光网络单元(ONU )或光网络终端 (ONT )接收 OLT通过管理实体发 送的携带有配置规则的 OMCI消息。
3、根据权利要求 1所述的报文控制方法, 其中, 所述管理实体包括扩展 虚拟局域网标签操作配置数据 ( Extended VLAN tagging operation configuration data ) 实体。
4、根据权利要求 1所述的报文控制方法, 其中, 所述配置规则包括过滤 条件部分和动作部分。
5、根据权利要求 4所述的报文控制方法, 其中, 所述过滤条件包含方向
( Direction )参数扩展字段, 该参数指示所述报文处理规则所适用的报文方 向, 所述才艮文方向包括: 上下行方向、 上行方向和下行方向。
6、 根据权利要求 4或 5所述的报文控制方法, 其中, 接收 OLT通过管 理实体发送的携带有配置规则的 OMCI消息的步骤之后, 还包括:
解析所述配置规则, 获取该配置规则的过滤条件部分和动作部分; 配置所述配置规则。
7、 根据权利要求 6所述的报文控制方法, 其中, 该方法还包括: 接收报文, 查找与所述报文的参数匹配的过滤条件;
当匹配到符合的过滤条件时, 选择所述过滤条件相应的动作, 对所述才艮 文进行处理。
8、根据权利要求 7所述的报文控制方法, 其中, 所述报文的参数包括所 述报文的报文方向。
9、 一种报文控制装置, 包括:
配置接收模块,设置为:接收 OLT通过管理实体发送的携带有配置规则 的 OMCI消息, 所述配置规则中包含对不同方向上报文的处理方式。
10、 根据权利要求 9所述的报文控制装置, 其中, 该装置还包括: 规则解析模块, 设置为: 解析所述配置规则, 获取该配置规则的过滤条 件部分和动作部分;
规则配置模块, 设置为: 配置所述配置规则。
11、 根据权利要求 10所述的报文控制装置, 其中, 该装置还包括: 报文接收模块, 设置为: 接收报文, 查找与所述报文的参数匹配的过滤 条件;
报文处理模块, 设置为: 当匹配到符合的过滤条件时, 选择所述过滤条 件相应的动作, 对所述 文进行处理。
PCT/CN2014/075885 2013-06-07 2014-04-22 报文控制方法和装置 WO2014194725A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP14808281.1A EP2978173A4 (en) 2013-06-07 2014-04-22 PACKET MANAGEMENT METHOD AND DEVICE
RU2015143017A RU2623897C2 (ru) 2013-06-07 2014-04-22 Способ и устройство для управления пакетами

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310224979.6 2013-06-07
CN201310224979.6A CN104243298A (zh) 2013-06-07 2013-06-07 报文控制方法和装置

Publications (1)

Publication Number Publication Date
WO2014194725A1 true WO2014194725A1 (zh) 2014-12-11

Family

ID=52007517

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/075885 WO2014194725A1 (zh) 2013-06-07 2014-04-22 报文控制方法和装置

Country Status (4)

Country Link
EP (1) EP2978173A4 (zh)
CN (1) CN104243298A (zh)
RU (1) RU2623897C2 (zh)
WO (1) WO2014194725A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506246A (zh) * 2016-12-28 2017-03-15 瑞斯康达科技发展股份有限公司 光网络单元、其动态扩展管理功能的方法及gpon系统

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302233A (zh) * 2015-06-02 2017-01-04 中兴通讯股份有限公司 虚拟局域网vlan过滤处理方法及装置
CN107666627A (zh) * 2016-07-28 2018-02-06 上海诺基亚贝尔股份有限公司 一种pon网络中数据转发控制方法及其装置
CN108964944B (zh) * 2017-05-18 2022-06-17 中兴通讯股份有限公司 远程管理操作的执行策略下发方法、处理方法及装置
CN113630668B (zh) * 2018-10-22 2023-01-13 中国移动通信有限公司研究院 一种设备管控方法、装置及存储介质
CN113068085B (zh) * 2020-01-02 2022-11-01 中国移动通信有限公司研究院 一种onu管理方法、装置、设备及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043352A (zh) * 2006-03-22 2007-09-26 华为技术有限公司 一种对GPON系统配置Native VLAN以及处理以太网报文的方法
CN101252522A (zh) * 2008-04-02 2008-08-27 中兴通讯股份有限公司 介质访问控制地址过滤配置的方法及系统
CN101924649A (zh) * 2010-08-03 2010-12-22 中兴通讯股份有限公司 一种无源光网络系统中光网络单元的远程管理方法和系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064682B (zh) * 2006-04-29 2010-08-04 华为技术有限公司 光网络终端及其报文处理方法
CN101582877B (zh) * 2008-05-13 2012-08-29 工业和信息化部电信传输研究所 一种gpon系统中实现帧过滤的远程管理装置
US20100061729A1 (en) * 2008-09-02 2010-03-11 Weeber William B Method and system for optical transmission

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043352A (zh) * 2006-03-22 2007-09-26 华为技术有限公司 一种对GPON系统配置Native VLAN以及处理以太网报文的方法
CN101252522A (zh) * 2008-04-02 2008-08-27 中兴通讯股份有限公司 介质访问控制地址过滤配置的方法及系统
CN101924649A (zh) * 2010-08-03 2010-12-22 中兴通讯股份有限公司 一种无源光网络系统中光网络单元的远程管理方法和系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506246A (zh) * 2016-12-28 2017-03-15 瑞斯康达科技发展股份有限公司 光网络单元、其动态扩展管理功能的方法及gpon系统
CN106506246B (zh) * 2016-12-28 2019-09-17 瑞斯康达科技发展股份有限公司 光网络单元、其动态扩展管理功能的方法及gpon系统

Also Published As

Publication number Publication date
RU2015143017A (ru) 2017-05-31
RU2623897C2 (ru) 2017-06-29
EP2978173A4 (en) 2016-04-20
EP2978173A1 (en) 2016-01-27
CN104243298A (zh) 2014-12-24

Similar Documents

Publication Publication Date Title
WO2014194725A1 (zh) 报文控制方法和装置
CN101860771B (zh) 家庭网关识别入网的方法及系统
CN101317377B (zh) 在无源光网络中配置以太网业务的装置、方法及系统
WO2018020317A1 (en) Method and apparatus for controlling data forwarding in pon
US20070223399A1 (en) Method of Configuring Native VLAN and Processing Ethernet Messages for a GPON System
CN105471603B (zh) 一种远程配置光网络单元ptp业务的方法、装置和系统
US10523562B2 (en) Method for processing packet in access network and network device
EP2763355B1 (en) Method for transmitting data in passive optical network, user-side equipment, and system
WO2017181757A1 (zh) 报文转发方法及装置
WO2012139453A1 (zh) 一种dpoe系统及基于该系统业务自动配置方法和网络
US9900100B2 (en) Optical line terminal, communication control method, and communication control program
TW200841643A (en) Communication system, terminating apparatus, and PON virtualization method for use therein
CN104113792A (zh) 一种OpenFlow控制通道建立方法及系统
WO2012000242A1 (zh) 一种实现组播预览的方法、系统及装置
WO2016101525A1 (zh) 光网络单元dpu设备管理方法、装置及系统
KR20160122226A (ko) 통신 시스템, 제어 장치, 통신 제어 방법 및 프로그램
EP2728797B1 (en) Message processing method, device and system
CN104796340A (zh) 一种组播数据传输方法和设备
WO2016184227A1 (zh) Onu模板生成方法及装置
WO2012000248A1 (zh) 一种实现业务限速的系统及方法
WO2015074275A1 (zh) 光线路终端、分配点单元、系统及数据流调度方法
WO2014121600A1 (zh) 一种光电混合系统中下行报文的发送方法及光同轴单元
CN103200064A (zh) 跨vlan组播的实现方法、系统以及组播业务模型
CN104168124B (zh) 分布式系统的灵活QinQ规则的配置方法
WO2014146397A1 (zh) 一种光接口逻辑链路与铜缆接口映射的方法和装置

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: 14808281

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: IDP00201506895

Country of ref document: ID

Ref document number: 2014808281

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2015143017

Country of ref document: RU

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE