WO2011131132A1 - 光网络中实现组播预览控制的方法及系统 - Google Patents
光网络中实现组播预览控制的方法及系统 Download PDFInfo
- Publication number
- WO2011131132A1 WO2011131132A1 PCT/CN2011/073101 CN2011073101W WO2011131132A1 WO 2011131132 A1 WO2011131132 A1 WO 2011131132A1 CN 2011073101 W CN2011073101 W CN 2011073101W WO 2011131132 A1 WO2011131132 A1 WO 2011131132A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- multicast
- preview
- template
- user
- duration
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1863—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast comprising mechanisms for improved reliability, e.g. status reports
- H04L12/1877—Measures taken prior to transmission
Definitions
- the present invention relates to a multicast preview control technology, and in particular, to a method and system for implementing multicast preview control in an optical network. Background technique
- GPON Gigabit-Capable Passive Optical Network
- GEM GPON Encapsulation Method
- ONT optical line terminal
- ONU optical network unit
- ODN optical distribution network
- the GEM port is a logical channel carried by the GPON service.
- the GEM port has multiple mapping modes, which can be associated with user ports, virtual local area network (VLAN), Ethernet priority, and so on.
- An ONU can support multiple GEM ports, including unicast GEM ports and multicast GEM ports.
- the multicast GEM port can be assigned to a multicast group under a passive optical network (PON, Passive Optical Network). All the ONUs send information, and the uplink multicast protocol packets are sent through the unicast GEM port identifier.
- the downlink multicast data packets are sent to all ONUs through the multicast GEM port and single copy broadcast (SCB).
- SCB single copy broadcast
- the control method defined by the existing GPON international standard ITU-T G984.4 is a distributed protocol control method pre-issued by the permission table. That is, 0LT passes through the optical network terminal (ONT, Optical Network)
- the OMCI ONT Management and Control Interface
- the ONU sets the multicast permission control table of the ONU device, that is, the multicast channel list that the user can access, and associates it with the user port to perform service configuration.
- the ONU runs the Internet Group Management Protocol (IGMP) Snooping.
- IGMP Internet Group Management Protocol
- G984.4 standard defines multicast authority control table, i.e., dynamic access defined in a multicast operation template (Multicast operation profile) 1 J bad control table (Dynamic access control list table), the lack of preview of multicast related information set, Only basic viewing license control can be implemented, and business applications are subject to greater restrictions.
- the main object of the present invention is to provide a method and system for implementing multicast preview control in an optical network, which can implement corresponding preview control on multicast requested by a user.
- a method for implementing multicast preview control in an optical network where the OLT sets a multicast preview template and configures it to the ONU; and sets information associated with the multicast preview template in the multicast operation template configured for the ONU; the method includes:
- the ONU After receiving the multicast request, the ONU determines, according to the multicast operation template, that the access permission of the requested multicast is a preview, and performs preview control on the requested multicast according to the multicast preview template associated with the multicast operation template. .
- the multicast preview template includes a maximum preview number and a preview duration; or includes a maximum preview number, a preview duration, and a preview minimum time interval.
- the multicast preview template further includes the identifier information of the multicast preview template.
- the information that is associated with the multicast preview template in the multicast operation template configured for the ONU is: In the multicast operation template configured for the ONU, the identification information of the multicast preview template is set.
- the identifier information of the multicast preview template is set in a reserved field in the multicast operation template.
- the method further includes:
- a new field is added to the multicast operation template, and the identifier of the multicast preview template is set in a new field in the multicast operation template.
- the reserved field or the newly added field is further used to indicate a viewing right or an associated default multicast operation template.
- the previewing of the requested multicast according to the multicast preview template associated with the multicast operation template is:
- the multicast forwarding entry of the user port is deleted, the multicast data is stopped from being forwarded to the user, and the multicast leaving request is sent to the OLT.
- the multicast preview template when the multicast preview template includes a maximum preview number, a preview duration, and a preview minimum time interval, the multicast preview template associated with the multicast operation template performs preview control on the requested multicast. For:
- the multicast forwarding entry of the user port is deleted, and the user is stopped. Forwarding the multicast data, and sending a multicast leave request to the OLT, starting a minimum interval timer, and discarding the multicast request received in the minimum interval timer; wherein the duration of the minimum interval timer is the preview Minimum time interval.
- a system for implementing multicast preview control in an optical network comprising an OLT and an ONU, the system further comprising a setting and configuration unit, a determining unit and a preview control unit, wherein the setting and configuration unit is disposed in the OLT, the determining unit And the preview control unit is disposed in the ONU; wherein: a setting and configuration unit, configured to set a multicast preview template and configured to the optical network unit ONU; and, in the multicast operation template configured to the ONU, set the association to the group Broadcast preview template information;
- a determining unit configured to: after receiving the multicast request, determine, according to the multicast operation template, that the access permission of the requested multicast is a preview, triggering a preview control unit;
- a preview control unit configured to perform preview control on the requested multicast according to the multicast preview template associated with the multicast operation template.
- the multicast preview template includes a maximum preview number and a preview duration; or includes a maximum preview number, a preview duration, and a preview minimum time interval.
- the multicast preview template further includes the identifier information of the multicast preview template.
- the setting and configuration unit sets the identifier information of the multicast preview template in the multicast operation template configured for the ONU.
- the identifier information of the multicast preview template is set in a reserved field in the multicast operation template
- a new field is added to the multicast operation template, and the identifier information of the multicast preview template is set in a new field in the multicast operation template.
- the reserved field or the newly added field is also used to indicate viewing rights or associated default multicast operation templates.
- the preview control unit determines whether the multicast requesting user reaches the maximum number of previews, and discards the multicast request, and sets a multicast forwarding entry for the user, and forwards the requested multicast data to the user, and Forwarding the multicast request to the OLT, adding the current number of previews by the user, and starting the preview timer; wherein the duration of the preview timer is the preview duration;
- the multicast forwarding entry of the user port is deleted, the multicast data is stopped from being forwarded to the user, and the multicast leaving request is sent to the OLT.
- the preview control unit determines whether the multicast request user reaches the maximum preview number, and discards the group when Broadcast request, set the multicast forwarding entry for the user, forward the requested multicast data to the user, forward the multicast request to the OLT, add the current preview number of the user, and start the preview timer.
- the duration of the preview timer is the preview duration
- the multicast forwarding entry of the user port is deleted, the multicast data is not forwarded to the user, and the multicast leaving request is sent to the OLT, and the minimum interval timer is started, and the minimum interval timer is discarded.
- the received multicast request wherein, the duration of the minimum interval timer is the preview minimum time interval.
- the multicast preview template is set, and the multicast operation template is associated with the corresponding multicast preview template.
- the multicast operation template is used to perform multicast control on the multicast request of the user, the user is determined.
- the multicast requested by the user is preview controlled according to the multicast preview template corresponding to the multicast operation module.
- the invention can formulate multiple multicast preview templates according to network policy requirements, so that different levels of preview control can be implemented for multicast. The invention achieves better control of user multicast preview under the condition that the existing protocol is changed little.
- FIG. 1 is a flowchart of a method for implementing multicast preview control in an optical network according to the present invention
- FIG. 2 is a schematic structural diagram of a system for implementing multicast preview control in an optical network according to the present invention. detailed description
- the OLT needs to configure the channel preview permission and related preview parameters on the ONU, and can specify access rights (view or preview) for each multicast channel in the multicast rights control table, and Configure preview parameters related to preview permissions, including preview times, preview maximum duration, preview minimum interval, and more.
- the ONU performs preview control according to the issued multicast permission control table.
- a management object (ME, Management Entity) of the multicast preview profile is configured, and the ME is configured to configure a multicast preview template of the ONU, which can be created and deleted by the OLT.
- the attributes in the ME are defined as follows:
- Managed entity id if set to 2 bytes, uniquely defines an instance of a multicast preview template that can be associated with other ME references.
- the maximum preview count (Preview count), if set to 2 bytes, defines the maximum number of times the user is allowed to preview.
- Preview duration set to 2 bytes, defines the duration that the user is allowed to preview once, in seconds.
- Preview blackout if set to 2 bytes, defines the minimum interval between two previews by the user, in seconds.
- the association between the multicast operation template and the multicast preview template is implemented by extending the ME of the multicast operation profile.
- the fields of the dynamic access control list are defined in the G.984.4 standard as follows:
- Oxffff indicating the default preview parameter template
- the other value indicates a pointer to the Multicast preview profile. Specifically, the value is the same as the Multicast preview profile identifier.
- 0LT creates a multicast preview template and configures it on the ONU. Moreover, 0LT creates a multicast operation template and associates it between the multicast channel and the multicast preview template. Specifically, the above may be in the reserved field or the newly added field. Set the character corresponding to the multicast preview template identifier to implement; configure the multicast permission control table containing the preview parameters to the ONU.
- the existing GPON 0MCI standard management interface definition is used, and the multicast permission control table is still issued by the 0LT, and the 0NU autonomously performs the multicast protocol control mode.
- the broadcast preview template is still configured on the ONU using the GPON OMCI standard management interface.
- FIG. 1 is a flowchart of a method for implementing multicast preview control in an optical network according to the present invention. As shown in FIG. 1, a method for implementing multicast preview control in an optical network according to the present invention includes the following steps:
- Step 101 After receiving the IGMP request message of the user, the ONU determines that the user accesses the multicast permission as a preview, first determines whether the user reaches the maximum preview number, and starts the preview timer when not reached, and multicasts The data is forwarded to the user port to forward IGMP request packets to the OLT.
- the ONU After receiving the IGMP Request message from the user, the ONU searches for the local multicast permission table. If the requesting multicast group is the preview permission, the ONU first checks the current user's preview number for the multicast, and the maximum defined in the multicast preview template. The number of previews is compared. When the maximum number of previews defined in the multicast preview template is reached, the user's IGMP request packet is discarded. When the maximum number of previews defined in the multicast preview template is not reached, the ONU sets the multicast forwarding entry of the user port, forwards the multicast data to the user port, and forwards the IGMP request to the OLT. The number of previews is increased once; at the same time, the ONU starts the preview timer of the multicast member, and the duration of the preview timer is set according to the preview duration defined in the preview template.
- Step 102 The OLT receives the IGMP request packet forwarded by the ONU, and establishes a multicast forwarding entry on the OLT.
- Step 103 When the preview timer of the ONU multicast member expires, the user port multicast forwarding entry is deleted, the multicast data is not forwarded to the user port, and the IGMP leave message is sent to the OLT, and the ONU starts the blackout timer at the same time.
- the timer time is set according to the preview blackout defined in the preview template.
- Step 104 The ONU directly discards the IGMP request message of the preview channel in the blackout timing period.
- the multicast VLAN is 100 and the multicast IP address is 224.1.1.1.
- the permission is preview.
- the preview parameter in the multicast preview template is set for each user under the ONU.
- the multicast preview template mppO is configured on the ONU through the Multicast preview profile OMCI interface.
- the multicast operation template mopO is configured on the ONU through the Multicast operation profile OMCI interface defined by the G984.4 standard.
- the multicast operation template mopO is applied to the ONU user port 1 on the OLT, and is configured on the ONU through the multicast subscriber configuration information (Multicast subscriber config info) defined by the G984.4 standard.
- the ONU receives the IGMP force-input packet with the multicast address 224.1.1.1 on port 1, and finds the dynamic access control list of the multicast operation template.
- the dynamic access control list of the multicast operation template exists.
- the multicast address, and the permissions of the corresponding entry are previews, and the following hardware forwarding entry settings are made.
- VID 100
- MAC 01 :00:5e:01 :01 :01
- port l.
- the above-mentioned MAC address is related to the related MAC address in the specific ONU.
- a specific example is given for the convenience of the description, and is not intended to be limiting.
- the preview timer is started at the same time as the forwarding entry is set, the duration of the preview timer is 300 seconds, and the IGMP message requested by the user is sent to the OLT.
- the hardware forwarding entry is deleted and an IGMP Leave message is sent to the OLT.
- the blackout timer is started at the same time.
- the duration of the blackout timer is set to 60 seconds.
- the ONU receives the IGMP request message from the user to the preview channel again within 60 seconds of the blackout timing period. When it is time, discard it directly.
- the system for implementing multicast preview control in the optical network of the present invention includes an OLT and an ONU.
- FIG. 2 is a schematic structural diagram of a system for implementing multicast preview control in an optical network according to the present invention. As shown in FIG. 2, the system further includes setting and configuring.
- the unit 20, the determining unit 21 and the preview control unit 22, the setting and configuration unit 20 is disposed in the OLT, and the determining unit 21 and the preview control unit 22 are disposed in the ONU; wherein:
- the setting and configuration unit 20 is configured to set a multicast preview template and configure it to the optical network unit ONU; and set the information associated with the multicast preview template in the multicast operation template configured for the ONU;
- the determining unit 21 is configured to: after receiving the multicast request, determining, according to the multicast operation template, that the access permission of the requested multicast is a preview, triggering the preview control unit 22;
- the preview control unit 22 is configured to perform preview control on the requested multicast according to the multicast preview template associated with the multicast operation template.
- the above multicast preview template contains the maximum number of previews and the preview duration; or contains the maximum number of previews, the preview duration, and the preview minimum interval.
- the multicast preview template further includes the identifier information of the multicast preview template.
- the setting and configuration unit 20 sets the identifier information of the multicast preview template in the multicast operation template configured for the ONU. Further, the multicast The identification information of the preview template is set in the reserved field in the multicast operation template.
- a new field is added to the multicast operation template, and the identifier information of the multicast preview template is set in a new field in the multicast operation template.
- the reserved field or the newly added field is also used to indicate viewing rights or associated default multicast operation templates.
- the preview control unit 22 determines whether the multicast request user reaches the maximum preview number, and discards the The multicast request is set, the multicast forwarding entry is set for the user, the requested multicast data is forwarded to the user, and the multicast request is forwarded to the OLT, the current preview number of the user is incremented by one, and the preview timer is started; The duration of the preview timer is the preview duration;
- the multicast forwarding entry of the user port is deleted, the multicast data is stopped from being forwarded to the user, and the multicast leaving request is sent to the OLT.
- the preview control unit 22 determines whether the multicast request user reaches the maximum preview number, and discards the multicast request, if not Setting a multicast forwarding entry for the user, forwarding the requested multicast data to the user, and forwarding the multicast request to the OLT, adding one of the current preview times of the user, and starting a preview timer; wherein, the preview timer is The duration is the preview duration;
- the multicast forwarding entry of the user port is deleted, the multicast data is not forwarded to the user, and the multicast leaving request is sent to the OLT, and the minimum interval timer is started, and the minimum interval timer is discarded.
- the received multicast request wherein, the duration of the minimum interval timer is the preview minimum time interval.
- the system for implementing multicast preview control in the optical network shown in FIG. 2 is designed to implement the method for implementing multicast preview control in the foregoing optical network.
- the implementation functions of the various processing units can be understood with reference to the related description of the foregoing methods.
- the functions of the various processing units in the system shown in Figure 2 can be implemented by a program running on the processor or by a specific logic circuit.
- the present invention can easily implement the control of the user preview behavior when the user previews the multicast, thereby appropriately allocating network resources to all users under the ONU, thereby ensuring that each user can enjoy a good multicast service.
- the invention can formulate multiple multicast preview templates according to network policy requirements, so that different levels of preview control can be implemented for multicast.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
光网络中实现组播预览控制的方法及系统 技术领域
本发明涉及组播预览控制技术, 尤其涉及一种光网络中实现组播预览 控制的方法及系统。 背景技术
吉比特无源光网络( GPON , Gigabit-Capable Passive Optical Network ) 是一种利用点到多点网络结构以及无源光纤传输方式, 并基于 GPON封装 模式(GEM, GPON Encapsulation Method )进行帧封装, 能够提供多种综 合业务的宽带接入。 GPON 由局端设备一光线路终端 (OLT, Optical Line Terminal ), 用户端设备一光网络单元( ONU, Optical Network Unit ) 以及 光分配网络(ODN, Optical Distribute Network )三部分组成。 近年来随着 GPON技术的大规模应用, 在 GPON上如何开展可控组播业务成为一个值 得研究的课题。
GEM封装端口( GEM port )是 GPON业务承载的一个逻辑通道。 GEM port有多种映射方式, 可以与用户端口、虚拟局域网(VLAN, Virtual Local Area Network )标识、 以太网优先级等关联。 一个 0NU可以支持配置多个 GEM port, 包括单播 GEM port和组播 GEM port两种类型, 其中组播 GEM port可以向一个无源光网络( PON , Passive Optical Network )口下组播组所 属的所有 0NU发送信息,上行组播协议报文通过单播 GEM port标识发送, 下行组播数据报文通过组播 GEM port釆用单拷贝广播( SCB, Single Copy Broadcast )方式发送给所有 ONU, 组播业务分发控制点位于 ONU设备上。
目前现有 GPON国际标准 ITU-T G984.4定义的控制方式是权限表预先 下发的分布式协议控制方式。即 0LT通过光网络终端( ONT, Optical Network
Terminal )管理和控制接口( OMCI, ONT Management and Control Interface ) 设置 ONU设备的组播权限控制表即用户可以访问的组播频道列表,并关联 到用户端口上,进行业务配置。 ONU运行互联网组管理协议( IGMP, Internet Group Management Protocol ) Snooping , 当用户请求的组播组在组播权限控 制表中, 允许用户加入, 否则, 拒绝用户加入, 从而达到过滤非法组播数 据的目的。
G984.4 标准定义的组播权限控制表, 即在组播操作模板(Multicast operation profile ) 中定义的动态访问控制歹1 J表 ( Dynamic access control list table ), 缺乏组播预览相关的信息设置, 只能实现基本的观看许可控制, 业 务应用上受到较大的限制。 发明内容
有鉴于此, 本发明的主要目的在于提供一种光网络中实现组播预览控 制的方法及系统, 能够实现对用户所请求组播进行相应的预览控制。
为达到上述目的, 本发明的技术方案是这样实现的:
一种光网络中实现组播预览控制的方法, OLT设置组播预览模板并配 置到 ONU中; 在配置给 ONU的组播操作模板中设置关联到组播预览模板 的信息; 所述方法包括:
ONU接收到组播请求后, 根据所述组播操作模板确定所请求组播的访 问权限为预览时, 根据与所述组播操作模板关联的组播预览模板对所请求 的组播进行预览控制。
优选地, 所述组播预览模板中包含最大预览次数以及预览持续时间; 或包含最大预览次数、 预览持续时间以及预览最小时间间隔。
优选地, 所述组播预览模板中还包含该组播预览模板的标识信息; 所述在配置给 ONU 的组播操作模板中设置关联到组播预览模板的信 息为:
在配置给 ONU的组播操作模板中, 设置有组播预览模板的标识信息。 优选地, 所述组播预览模板的标识信息设置于组播操作模板中保留字 段中。
优选地, 所述方法还包括:
在组播操作模板中新增字段, 所述组播预览模板的标识信息设置于组 播操作模板中的新增字段中。
优选地, 所述保留字段或新增字段还用于指示观看权限或关联缺省组 播操作模板。
优选地, 所述组播预览模板中包含最大预览次数以及预览持续时间时, 所述根据与所述组播操作模板关联的组播预览模板对所请求的组播进行预 览控制为:
判断组播请求用户是否达到最大预览次数, 是时丟弃所述组播请求, 否时为用户设置组播转发表项, 将请求的组播数据转发给用户, 并向 OLT 转发组播请求, 将用户当前的预览次数加一, 并启动预览定时器; 其中, 所述预览定时器的时长为所述预览持续时间;
所述预览定时器超时时, 删除用户端口的组播转发表项, 停止向用户 转发组播数据, 并向 OLT发送组播离开请求。
优选地, 所述组播预览模板中包含最大预览次数、 预览持续时间以及 预览最小时间间隔时, 所述根据与所述组播操作模板关联的组播预览模板 对所请求的组播进行预览控制为:
判断组播请求用户是否达到最大预览次数, 是时丟弃所述组播请求, 否时为用户设置组播转发表项, 将请求的组播数据转发给用户, 并向 OLT 转发组播请求, 将用户当前的预览次数加一, 并启动预览定时器; 其中, 所述预览定时器的时长为所述预览持续时间;
所述预览定时器超时时, 删除用户端口的组播转发表项, 停止向用户
转发组播数据, 并向 OLT发送组播离开请求, 启动最小间隔定时器, 丟弃 所述最小间隔定时器内接收到的组播请求; 其中, 所述最小间隔定时器的 时长为所述预览最小时间间隔。
一种光网络中实现组播预览控制的系统, 包括 OLT及 ONU, 所述系统 还包括设置及配置单元、 确定单元和预览控制单元, 所述设置及配置单元 设置于 OLT中, 所述确定单元和所述预览控制单元设置于 ONU中; 其中: 设置及配置单元, 用于设置组播预览模板并配置到光网络单元 ONU 中; 以及, 在配置给 ONU的组播操作模板中设置关联到组播预览模板的信 息;
确定单元, 用于在接收到组播请求后, 根据所述组播操作模板确定所 请求组播的访问权限为预览时, 触发预览控制单元;
预览控制单元, 用于根据与所述组播操作模板关联的组播预览模板对 所请求的组播进行预览控制。
优选地, 所述组播预览模板中包含最大预览次数以及预览持续时间; 或包含最大预览次数、 预览持续时间以及预览最小时间间隔。
优选地, 所述组播预览模板中还包含该组播预览模板的标识信息; 所述设置及配置单元在配置给 ONU的组播操作模板中,设置有组播预 览模板的标识信息。
优选地, 所述组播预览模板的标识信息设置于组播操作模板中保留字 段中;
或者, 在组播操作模板中新增字段, 所述组播预览模板的标识信息设 置于组播操作模板中的新增字段中;
对应地, 所述保留字段或新增字段还用于指示观看权限或关联缺省组 播操作模板。
优选地, 所述组播预览模板中包含最大预览次数以及预览持续时间时,
所述预览控制单元, 进一步判断组播请求用户是否达到最大预览次数, 是 时丟弃所述组播请求, 否时为用户设置组播转发表项, 将请求的组播数据 转发给用户, 并向 OLT转发组播请求, 将用户当前的预览次数加一, 并启 动预览定时器; 其中, 所述预览定时器的时长为所述预览持续时间;
所述预览定时器超时时, 删除用户端口的组播转发表项, 停止向用户 转发组播数据, 并向 OLT发送组播离开请求。
优选地, 所述组播预览模板中包含最大预览次数、 预览持续时间以及 预览最小时间间隔时, 所述预览控制单元, 进一步判断组播请求用户是否 达到最大预览次数, 是时丟弃所述组播请求, 否时为用户设置组播转发表 项, 将请求的组播数据转发给用户, 并向 OLT转发组播请求, 将用户当前 的预览次数加一, 并启动预览定时器; 其中, 所述预览定时器的时长为所 述预览持续时间;
所述预览定时器超时时, 删除用户端口的组播转发表项, 停止向用户 转发组播数据, 并向 OLT发送组播离开请求, 启动最小间隔定时器, 丟弃 所述最小间隔定时器内接收到的组播请求; 其中, 所述最小间隔定时器的 时长为所述预览最小时间间隔。
本发明中, 通过设置组播预览模板, 并将组播操作模板与相应的组播 预览模板相关联, 这样, 利用组播操作模板实现对用户的组播请求进行组 播控制时, 确定用户的权限为预览时, 根据该组播操作模块所对应的组播 预览模板对用户所请求的组播进行预览控制。 本发明通过设置组播预览模 板, 在用户对组播进行预览时, 能够很容易地实现对用户预览行为的控制, 从而能合理地向 ONU下的所有用户分配网络资源,保证每个用户都能享受 到较好的组播服务。 本发明能根据网络策略需要, 制定多个组播预览模板, 从而能对组播实现不同级别的预览控制。 本发明在对现有协议改动较小的 情况下, 实现了对用户组播预览的较佳控制。
附图说明
图 1为本发明光网络中实现组播预览控制的方法的流程图;
图 2为本发明光网络中实现组播预览控制的系统的组成结构示意图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚明白, 以下举实施例并 参照附图, 对本发明进一步详细说明。
为了支持完善的 ONU组播预览功能, OLT需要将频道的预览权限和相 关预览参数配置到 ONU上,可以在组播权限控制表中为每个组播频道指定 访问权限(观看或预览), 并配置预览权限相关的预览参数, 包括预览次数、 预览最大持续时间、 预览最小间隔时间等。 ONU根据下发的组播权限控制 表进行预览控制。
具体的,增设播预览模板 ( Multicast preview profile )的管理对象( ME, Management Entity ) , 该 ME用于配置 ONU的组播预览模板, 可以由 OLT 创建和删除。 ME中属性定义如下:
管理实体标识(Managed entity id ), 如设置为 2字节, 唯一定义了一个 组播预览模板的实例, 可以被其它 ME引用进行关联。
最大预览次数(Preview count ), 如设置为 2字节, 定义了允许用户预 览的最大次数。
预览持续时间 (Preview duration ), 如设置为 2字节, 定义了允许用户 一次预览的持续时间, 单位可为秒。
预览最小间隔时间 (Preview blackout ), 如设置为 2字节, 定义了用户 两次预览的最小间隔时间, 单位可为秒。
本发明中, 通过扩展组播操作模板 ( Multicast operation profile )的 ME, 实现组播操作模板与组播预览模板的关联。
在 G.984.4标准定义的 Multicast operation profile的 ME中,对 Dynamic
access control list table的条目属性进行扩展, 利用其中的保留 ( Reserved ) 字段, 实现与组播预览模板的关联。
动态访问控制列表的各字段在 G.984.4标准中定义如下:
0—表索引 (2字节);
1— GEM 端口标识( 2字节);
2— VLAN 号 (2字节);
3—源 IP地址(4字节);
4一起始目的 IP地址 ( 4字节);
5—中止目的 IP地址(4字节);
6—组带宽 (4字节);
7—保留 (2 字节);
本发明中, 对保留字段在定义如下:
0x0000, 表示观看权限;
Oxffff, 表示缺省的预览参数模板;
其它值, 表示指向 Multicast preview profile的指针, 具体的, 该值与 Multicast preview profile标识相同。
当然, 如果不考虑协议兼容性及实现复杂度等因素, 也可以在组播操 作模板中增设新的字段, 专门用于指示组播操作模板与组播预览模板的关 联关系。
0LT创建组播预览模板并配置到 0NU上; 并且, 0LT创建组播操作模 板, 并在组播频道与组播预览模板之间建立关联, 具体的, 可通过上述在 保留字段或新增字段中设置与组播预览模板标识相应的字符来实现; 将包 含预览参数的组播权限控制表配置到 0NU上。
本发明中, 沿用现有 GPON 0MCI标准管理接口定义, 仍然利用 0LT 下发组播权限控制表, 0NU自主进行组播协议控制的方式。 本发明中的组
播预览模板, 仍然釆用 GPON OMCI标准管理接口配置到 ONU上。
图 1为本发明光网络中实现组播预览控制的方法的流程图, 如图 1所 示, 本发明光网络中实现组播预览控制的方法包括以下步骤:
步骤 101 , ONU接收到用户的 IGMP请求报文后, 确定出用户访问该 组播的权限为预览时, 首先判断用户是否达到最大预览次数, 并在未达到 时启动预览定时器, 并将组播数据转发到用户端口, 向 OLT转发 IGMP请 求报文。
ONU接收到用户的 IGMP请求报文后, 查找本地组播权限表, 如果请 求组播组是预览权限, 则首先检查当前用户对该组播的预览次数, 并与组 播预览模板中定义的最大预览次数进行比较, 在达到组播预览模板中定义 的最大预览次数时, 丟弃用户的 IGMP请求报文。 在未达到组播预览模板 中定义的最大预览次数时, ONU设置用户端口组播转发表项, 将组播数据 转发到用户端口, 向 OLT转发 IGMP请求 4艮文, 并将当前对用户所统计的 预览次数增加一次; 同时 ONU启动该组播成员的预览定时器, 预览定时器 的时长按照预览模板中定义的 preview duration进行设置。
步骤 102, OLT接收到 ONU转发的 IGMP请求报文,建立 OLT上的组 播转发表项。
步骤 103 , 当 ONU组播成员的预览定时器到期时, 删除用户端口组播 转发表项,停止向用户端口转发组播数据,并向 OLT发送 IGMP离开报文, ONU同时启动 blackout定时器; 其中, 定时器时间按照预览模板中定义的 preview blackout进行设置。
步骤 104, ONU在 blackout定时周期内, 接收到用户对该预览频道的 IGMP请求 文时, 直接将其丟弃。
以下以一具体的示例, 进一步阐明本发明技术方案的实质。
假设组播 VLAN为 100 , 组播 IP地址为 224.1.1.1 , 权限为预览。
在 OLT上创建组播预览模板 mppO, 其模板 ID为 1 , 设置最大预览次 数为 10, 预览最大持续时间为 300秒, 预览最小间隔时间为 60秒。 本发明 中,组播预览模板中的预览参数是针对 ONU下的每个用户设置的,该 ONU 下的所有用户访问组播时, 均受该组播预览模板的预览控制。 配置完组播 预览模板后, 将该组播预览模板 mppO通过 Multicast preview profile OMCI 接口配置到 ONU上。
在 OLT上创建组播操作模板 mopO , 将 224.1.1.1加入到动态访问控制 列表中(即允许访问该组播), Reserve字段设置为 1 (即组播预览模板 mppO 的 ID 值)。 并将组播操作模板 mopO 通过 G984.4 标准定义的 Multicast operation profile OMCI接口配置到 ONU上。
在 OLT上将组播操作模板 mopO应用在 ONU用户端口 1上, 并通过 G984.4 标准定义的组播用户配置信息 (Multicast subscriber config info ) OMCI接口配置在 ONU上。
配置完毕后, ONU在端口 1上接收到组播地址为 224.1.1.1的 IGMP力口 入报文, 通过查找组播操作模板的动态访问控制列表, 组播操作模板的动 态访问控制列表中存在该组播地址, 且对应条目的权限为预览, 进行如下 的硬件转发条目设置。
VID=100, MAC=01 :00:5e:01 :01 :01 , port=l。
上述的 MAC地址与具体的 ONU中相关 MAC设置有关, 这里只是为 说明的便利示意性地给出一具体实例而已, 并非用于限定。
设置转发条目的同时启动预览定时器, 将预览定时器的时长为 300秒, 并将用户请求的 IGMP ^艮文发送到 OLT。
当预览定时器到期,删除硬件转发条目,并发送 IGMP离开报文到 OLT。 同时启动 blackout定时器, blackout定时器的时长设置为 60秒, ONU在该 blackout定时周期 60秒内, 再次接收到用户对该预览频道的 IGMP请求报
文时, 直接将其丟弃。
本发明光网络中实现组播预览控制的系统包括 OLT及 ONU,图 2为本 发明光网络中实现组播预览控制的系统的组成结构示意图, 如图 2所示, 该系统还包括设置及配置单元 20、 确定单元 21和预览控制单元 22, 设置 及配置单元 20设置于 OLT中,确定单元 21和预览控制单元 22设置于 ONU 中; 其中:
设置及配置单元 20,用于设置组播预览模板并配置到光网络单元 ONU 中; 以及, 在配置给 ONU的组播操作模板中设置关联到组播预览模板的信 息;
确定单元 21 , 用于在接收到组播请求后, 根据所述组播操作模板确定 所请求组播的访问权限为预览时, 触发预览控制单元 22;
预览控制单元 22, 用于根据与所述组播操作模板关联的组播预览模板 对所请求的组播进行预览控制。
上述组播预览模板中包含最大预览次数以及预览持续时间; 或包含最 大预览次数、 预览持续时间以及预览最小时间间隔。
上述组播预览模板中还包含该组播预览模板的标识信息; 设置及配置 单元 20在配置给 ONU的组播操作模板中, 设置有组播预览模板的标识信 息; 进一步地, 所述组播预览模板的标识信息设置于组播操作模板中保留 字段中;
或者, 在组播操作模板中新增字段, 所述组播预览模板的标识信息设 置于组播操作模板中的新增字段中;
对应地, 所述保留字段或新增字段还用于指示观看权限或关联缺省组 播操作模板。
上述组播预览模板中包含最大预览次数以及预览持续时间时, 预览控 制单元 22, 进一步判断组播请求用户是否达到最大预览次数, 是时丟弃所
述组播请求, 否时为用户设置组播转发表项, 将请求的组播数据转发给用 户, 并向 OLT转发组播请求, 将用户当前的预览次数加一, 并启动预览定 时器; 其中, 所述预览定时器的时长为所述预览持续时间;
所述预览定时器超时时, 删除用户端口的组播转发表项, 停止向用户 转发组播数据, 并向 OLT发送组播离开请求。
上述组播预览模板中包含最大预览次数、 预览持续时间以及预览最小 时间间隔时, 预览控制单元 22 , 进一步判断组播请求用户是否达到最大预 览次数, 是时丟弃所述组播请求, 否时为用户设置组播转发表项, 将请求 的组播数据转发给用户, 并向 OLT转发组播请求, 将用户当前的预览次数 加一, 并启动预览定时器; 其中, 所述预览定时器的时长为所述预览持续 时间;
所述预览定时器超时时, 删除用户端口的组播转发表项, 停止向用户 转发组播数据, 并向 OLT发送组播离开请求, 启动最小间隔定时器, 丟弃 所述最小间隔定时器内接收到的组播请求; 其中, 所述最小间隔定时器的 时长为所述预览最小时间间隔。
本领域技术人员应当理解, 本领域技术人员应当理解, 图 2所示的光 网络中实现组播预览控制的系统是为实现前述光网络中实现组播预览控制 的方法而设计的, 图中的各处理单元的实现功能可参照前述方法的相关描 述而理解。 图 2 所示的系统中各处理单元的功能可通过运行于处理器上的 程序而实现, 也可通过具体的逻辑电路而实现。
本发明通过设置组播预览模板, 在用户对组播进行预览时, 能够很容 易地实现对用户预览行为的控制,从而能合理地向 ONU下的所有用户分配 网络资源, 保证每个用户都能享受到较好的组播服务。 本发明能根据网络 策略需要, 制定多个组播预览模板, 从而能对组播实现不同级别的预览控 制。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。
Claims
1、 一种光网络中实现组播预览控制的方法, 其特征在于, 光线路终端 OLT设置组播预览模板并配置到光网络单元 ONU中; 在配置给 ONU的组 播操作模板中设置关联到组播预览模板的信息; 所述方法包括:
ONU接收到组播请求后, 根据所述组播操作模板确定所请求组播的访 问权限为预览时, 根据与所述组播操作模板关联的组播预览模板对所请求 的组播进行预览控制。
2、 根据权利要求 1所述的方法, 其特征在于, 所述组播预览模板中包 含最大预览次数以及预览持续时间; 或包含最大预览次数、 预览持续时间 以及预览最小时间间隔。
3、 根据权利要求 1所述的方法, 其特征在于, 所述组播预览模板中还 包含该组播预览模板的标识信息;
所述在配置给 ONU 的组播操作模板中设置关联到组播预览模板的信 息为:
在配置给 ONU的组播操作模板中, 设置有组播预览模板的标识信息。
4、 根据权利要求 3所述的方法, 其特征在于, 所述组播预览模板的标 识信息设置于组播操作模板中保留字段中。
5、 根据权利要求 3所述的方法, 其特征在于, 所述方法还包括: 在组播操作模板中新增字段, 所述组播预览模板的标识信息设置于组 播操作模板中的新增字段中。
6、 根据权利要求 4或 5所述的方法, 其特征在于, 所述保留字段或新 增字段还用于指示观看权限或关联缺省组播操作模板。
7、 根据权利要求 2所述的方法, 其特征在于, 所述组播预览模板中包 含最大预览次数以及预览持续时间时, 所述根据与所述组播操作模板关联 的组播预览模板对所请求的组播进行预览控制为: 判断组播请求用户是否达到最大预览次数, 是时丟弃所述组播请求, 否时为用户设置组播转发表项, 将请求的组播数据转发给用户, 并向 OLT 转发组播请求, 将用户当前的预览次数加一, 并启动预览定时器; 其中, 所述预览定时器的时长为所述预览持续时间;
所述预览定时器超时时, 删除用户端口的组播转发表项, 停止向用户 转发组播数据, 并向 OLT发送组播离开请求。
8、 根据权利要求 2所述的方法, 其特征在于, 所述组播预览模板中包 含最大预览次数、 预览持续时间以及预览最小时间间隔时, 所述根据与所 述组播操作模板关联的组播预览模板对所请求的组播进行预览控制为: 判断组播请求用户是否达到最大预览次数, 是时丟弃所述组播请求, 否时为用户设置组播转发表项, 将请求的组播数据转发给用户, 并向 OLT 转发组播请求, 将用户当前的预览次数加一, 并启动预览定时器; 其中, 所述预览定时器的时长为所述预览持续时间;
所述预览定时器超时时, 删除用户端口的组播转发表项, 停止向用户 转发组播数据, 并向 OLT发送组播离开请求, 启动最小间隔定时器, 丟弃 所述最小间隔定时器内接收到的组播请求; 其中, 所述最小间隔定时器的 时长为所述预览最小时间间隔。
9、 一种光网络中实现组播预览控制的系统, 包括 OLT及 ONU, 其特 征在于, 所述系统还包括设置及配置单元、 确定单元和预览控制单元, 所 述设置及配置单元设置于 OLT中, 所述确定单元和所述预览控制单元设置 于 ONU中; 其中:
设置及配置单元, 用于设置组播预览模板并配置到光网络单元 ONU 中; 以及, 在配置给 ONU的组播操作模板中设置关联到组播预览模板的信 息;
确定单元, 用于在接收到组播请求后, 根据所述组播操作模板确定所 请求组播的访问权限为预览时, 触发预览控制单元;
预览控制单元, 用于根据与所述组播操作模板关联的组播预览模板对 所请求的组播进行预览控制。
10、 根据权利要求 9所述的系统, 其特征在于, 所述组播预览模板中 包含最大预览次数以及预览持续时间; 或包含最大预览次数、 预览持续时 间以及预览最小时间间隔。
11、 根据权利要求 9 所述的系统, 其特征在于, 所述组播预览模板中 还包含该组播预览模板的标识信息;
所述设置及配置单元在配置给 ONU的组播操作模板中,设置有组播预 览模板的标识信息。
12、 根据权利要求 11所述的系统, 其特征在于, 所述组播预览模板的 标识信息设置于组播操作模板中保留字段中;
或者, 在组播操作模板中新增字段, 所述组播预览模板的标识信息设 置于组播操作模板中的新增字段中;
对应地, 所述保留字段或新增字段还用于指示观看权限或关联缺省组 播操作模板。
13、 根据权利要求 12所述的系统, 其特征在于, 所述组播预览模板中 包含最大预览次数以及预览持续时间时, 所述预览控制单元, 进一步判断 组播请求用户是否达到最大预览次数, 是时丟弃所述组播请求, 否时为用 户设置组播转发表项, 将请求的组播数据转发给用户, 并向 OLT转发组播 请求, 将用户当前的预览次数加一, 并启动预览定时器; 其中, 所述预览 定时器的时长为所述预览持续时间;
所述预览定时器超时时, 删除用户端口的组播转发表项, 停止向用户 转发组播数据, 并向 OLT发送组播离开请求。
14、 根据权利要求 12所述的系统, 其特征在于, 所述组播预览模板中 包含最大预览次数、 预览持续时间以及预览最小时间间隔时, 所述预览控 制单元, 进一步判断组播请求用户是否达到最大预览次数, 是时丟弃所述 组播请求, 否时为用户设置组播转发表项, 将请求的组播数据转发给用户, 并向 OLT转发组播请求,将用户当前的预览次数加一,并启动预览定时器; 其中, 所述预览定时器的时长为所述预览持续时间;
所述预览定时器超时时, 删除用户端口的组播转发表项, 停止向用户 转发组播数据, 并向 OLT发送组播离开请求, 启动最小间隔定时器, 丟弃 所述最小间隔定时器内接收到的组播请求; 其中, 所述最小间隔定时器的 时长为所述预览最小时间间隔。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010156897.9 | 2010-04-23 | ||
CN2010101568979A CN102238015A (zh) | 2010-04-23 | 2010-04-23 | 光网络中实现组播预览控制的方法及系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2011131132A1 true WO2011131132A1 (zh) | 2011-10-27 |
Family
ID=44833718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/073101 WO2011131132A1 (zh) | 2010-04-23 | 2011-04-20 | 光网络中实现组播预览控制的方法及系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102238015A (zh) |
WO (1) | WO2011131132A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107124672A (zh) * | 2017-05-05 | 2017-09-01 | 烽火通信科技股份有限公司 | TWDM‑PON系统中ONU高效管理profile消息的方法 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801541A (zh) * | 2012-09-05 | 2012-11-28 | 上海斐讯数据通信技术有限公司 | 一种可控组播预览权限实现方法 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007033553A1 (fr) * | 2005-09-19 | 2007-03-29 | Huawei Technologies Co., Ltd. | Procede de gestion de multidiffusion et son dispositif correspondant dans un systeme pon |
CN101414920A (zh) * | 2007-10-17 | 2009-04-22 | 中兴通讯股份有限公司 | 一种点到多点光网络中实现组播预览的方法 |
CN101877803A (zh) * | 2010-06-29 | 2010-11-03 | 中兴通讯股份有限公司 | 一种实现组播预览的方法、系统及装置 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1852119A (zh) * | 2006-02-28 | 2006-10-25 | 华为技术有限公司 | 对组播节目进行按次计费的方法 |
CN100536399C (zh) * | 2007-06-06 | 2009-09-02 | 中兴通讯股份有限公司 | 一种无源光网络分布式可控组播系统及其实现方法 |
CN101150425B (zh) * | 2007-11-15 | 2010-10-13 | 中国电信股份有限公司 | 组播业务权限控制方法及以太网无源光网络系统 |
CN102098165B (zh) * | 2009-12-14 | 2015-06-17 | 中兴通讯股份有限公司 | 一种吉比特无源光网络系统组播预览控制的方法与系统 |
-
2010
- 2010-04-23 CN CN2010101568979A patent/CN102238015A/zh active Pending
-
2011
- 2011-04-20 WO PCT/CN2011/073101 patent/WO2011131132A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007033553A1 (fr) * | 2005-09-19 | 2007-03-29 | Huawei Technologies Co., Ltd. | Procede de gestion de multidiffusion et son dispositif correspondant dans un systeme pon |
CN101414920A (zh) * | 2007-10-17 | 2009-04-22 | 中兴通讯股份有限公司 | 一种点到多点光网络中实现组播预览的方法 |
CN101877803A (zh) * | 2010-06-29 | 2010-11-03 | 中兴通讯股份有限公司 | 一种实现组播预览的方法、系统及装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107124672A (zh) * | 2017-05-05 | 2017-09-01 | 烽火通信科技股份有限公司 | TWDM‑PON系统中ONU高效管理profile消息的方法 |
Also Published As
Publication number | Publication date |
---|---|
CN102238015A (zh) | 2011-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100536399C (zh) | 一种无源光网络分布式可控组播系统及其实现方法 | |
JP4919859B2 (ja) | パッシブ光ネットワークにおけるiptv業務のチャンネル切換システムと方法 | |
EP1976197B9 (en) | A multicast flow control method,device and system in passive optical network | |
US20100067910A1 (en) | Pon system and optical network unit | |
WO2008122173A1 (fr) | Procédé de commande de multidiffusion dans un réseau optique passif ethernet | |
WO2009049461A1 (fr) | Procédé et appareil de commande du trafic de multidiffusion vers l'amont | |
WO2005119968A1 (en) | A method for transmitting the policy information between the network devices | |
WO2009039791A1 (fr) | Système de communication à diffusion de groupe de réseau optique passif, procédé de gestion de diffusion de groupe et dispositif correspondant | |
JP2007274694A (ja) | 受動光ネットワークシステムにおけるipパケットのサービス品質を制御する方法とシステム | |
US8335217B2 (en) | Method and apparatus for filtering multicast port identifier in gigabit-capable passive optical network (GPON) system | |
JP2004343243A (ja) | Ponシステムにおけるマルチキャスト通信方法および局側装置 | |
WO2011026335A1 (zh) | 一种广播包/组播控制报文处理方法和装置 | |
WO2013086808A1 (zh) | 千兆无源光网络业务发放的方法及装置 | |
CN102202001A (zh) | 用户带宽动态调整的方法、系统和宽带网络网关 | |
WO2007033553A1 (fr) | Procede de gestion de multidiffusion et son dispositif correspondant dans un systeme pon | |
CN102098166A (zh) | 一种吉比特无源光网络系统及其可控组播实现方法 | |
CN101808256B (zh) | 具有组播认证和控制功能的无源光网络系统及其实现方法 | |
CN102098165B (zh) | 一种吉比特无源光网络系统组播预览控制的方法与系统 | |
WO2011006339A1 (zh) | 一种组播处理方法和装置 | |
WO2009062449A1 (fr) | Procédé, dispositif et système de contrôle d'accès multidiffusion dans un réseau optique passif | |
WO2011131132A1 (zh) | 光网络中实现组播预览控制的方法及系统 | |
WO2012100620A1 (zh) | 连接接纳控制方法、装置及无源光网络系统 | |
KR100617725B1 (ko) | 기가 비트 수동형 광 가입자망의 gem모드에서 멀티캐스트 전송 장치 및 방법 | |
WO2011095023A1 (zh) | 一种组播实现方法和系统 | |
WO2012027980A1 (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: 11771585 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: 11771585 Country of ref document: EP Kind code of ref document: A1 |