WO2009033341A1 - System and method for implementing multicast service and internet protocol television (iptv) service by the communication network cell - Google Patents

System and method for implementing multicast service and internet protocol television (iptv) service by the communication network cell Download PDF

Info

Publication number
WO2009033341A1
WO2009033341A1 PCT/CN2007/003752 CN2007003752W WO2009033341A1 WO 2009033341 A1 WO2009033341 A1 WO 2009033341A1 CN 2007003752 W CN2007003752 W CN 2007003752W WO 2009033341 A1 WO2009033341 A1 WO 2009033341A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
multicast
iptv service
iptv
user
Prior art date
Application number
PCT/CN2007/003752
Other languages
French (fr)
Chinese (zh)
Inventor
Yan Xie
Original Assignee
Zte Corporation
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 Zte Corporation filed Critical Zte Corporation
Publication of WO2009033341A1 publication Critical patent/WO2009033341A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/64322IP

Definitions

  • the present invention relates to a multicast service and an IPTV service, and more particularly to a communication network element, particularly on a network element of an access network. , System and method for realizing the group ⁇ ! business and network TV business.
  • BACKGROUND OF THE INVENTION With the increasing popularity of Group 4 and IPTV (Internet Protocol Television, Internet Protocol Television) services, communication devices, especially broadband access devices, generally provide support for multicast and IPTV services.
  • the multicast service and the IPTV service are handled by two services, but there is a close relationship between the two.
  • the multicast service is a relatively basic service and does not depend on IPTV.
  • the IPTV service is based on the multicast service and implements more complex management functions, such as program management, user rights authentication, and log management. Implemented in the multicast service.
  • the common ways for the access NE to provide service support are as follows: 1) Only a simple multicast service is implemented, and the access network element only provides support for the multicast service. .
  • IPTV service is implemented, but the IPTV function is not implemented on the access network, and the access network element only needs to provide support for the multicast service.
  • the access network element needs to provide support for the multicast service and the IPTV service. Therefore, the access network element sometimes only needs to provide multicast services, and sometimes it needs to provide both multicast services and IPTV services. Therefore, in order to meet the needs of different application modes, the access network element should be able to flexibly realize the cooperation of the two services: group and ⁇ .
  • some access network element devices can only provide multicast service support and cannot support IPTV services. Some access network element devices support multicast services and IPTV services, but in service configuration. It is not flexible enough to enable multicast services and IPTV services at the same time. Some access network elements can not enable IPTV services, but only disable IPTV-related functions, IPTV service modules.
  • An object of the present invention is to provide a system and method for implementing a multicast service and a network television service by using a communication network element, as a method for coordinating a multicast service and an IPTV service, which can flexibly configure different service application models; When not turned on, system resources are saved.
  • the technical solution of the present invention is as follows: - A system for implementing a multicast service and a network television service by a communication network element, the communication network element includes a multicast service module and an IPTV service module; and the multicast service module is configured to implement multicast protocol messages and data.
  • the IPTV service module is used for IPTV service management and user authentication.
  • the system further includes: a multicast service switch, configured to enable or disable a multicast service module, and an IPTV service switch, configured to enable or disable an IPTV service module.
  • the IPTV service module further includes a program management unit, a user rights management unit, and a log management unit: a group of 4 program management units for managing group programs; a user rights management unit for managing user rights; and log management The unit is used to manage logs.
  • the communication network element is an access network element.
  • a communication network element implements a group of "service and network television service methods, which includes the steps of: Al, starting a multicast service; A2, selecting an IPTV service mode; A3, the IPTV service mode is an authentication mode, and then using the multicast service to start IPTV Service, create IPTV service related tasks, provide IPTV service service; A4, IPTV service mode is non-authentication mode, then close IPTV service, stop IPTV service and release system resources occupied by IPTV service.
  • step A3 The IPTV service is provided, which includes: managing the IPTV service and authenticating the user.
  • managing the IPTV service includes: managing the multicast program, user rights, and logs.
  • step A3 the related tasks of the IPTV service are created, including: initializing the data structure, adding the IPTV service related configuration, creating a timer, notifying the group, and the service module reconfiguring the related data or doing Consistency check and processing of related data.
  • step A4 the system resources occupied by the IPTV service are released, which specifically includes: releasing a timer and a semaphore occupied by the IPTV service.
  • step A4 the system resources occupied by the IPTV service are released, which specifically includes the steps of: clearing the IPTV service related data; and deleting the IPTV service related task.
  • the step A3 specifically includes the following at least one operation: the multicast service performs user authentication of the IPTV service when receiving the user join/leave request, and determines whether to accept or reject the user request according to the authentication result;
  • the multicast service receives the multicast join request, it checks the validity of the request. If the check passes, the authentication of the IPTV service is invoked. If the authentication fails, the request is rejected. If the authentication succeeds, the multicast is continued.
  • the process behind the service sets the hardware multicast forwarding table.
  • the IPTV service triggers the authentication by the multicast service, it records the related information of the user.
  • the multicast service receives the group ⁇ leave request, it notifies the IPTV service, and then continues the group.
  • the processing flow of the service if the departure condition is satisfied, the corresponding forwarding order is deleted in the hardware group.
  • the IPTV service module after receiving the user leaving notification, the related user record information is processed; when the multicast service determines that the user needs to leave the group ⁇ !
  • the IPTV service is enabled or disabled independently.
  • FIG. 1 is a schematic diagram of networking for providing group and IPTV services on an access network element according to the present invention
  • 2 is a schematic diagram of a relationship between a multicast service and an IPTV service according to the present invention
  • Figure 3 is a flow chart of the method of the present invention.
  • the present invention provides a system for implementing a multicast service and a network television service by a communication network element, where the method includes a multicast service module, an IPTV service module, and an IPTV service switch; The multicast protocol packet and data are forwarded; the IPTV service module is used for service management and user authentication.
  • the ⁇ service module may further include a group program management unit, a user rights management unit, a log management unit, and the like, for implementing management functions of multicast programs, user rights, logs, and the like.
  • the group service and the IPTV service are implemented as two independent modules, and the division of the two is as follows:
  • Group "Service Module implements IGMP protocol (Internet Group Management Protocol), MVR) (Multicast VLAN Registration, multicast virtual LAN registration) management function, responsible for multicast protocol packet processing, and setting the driver group forwarding entry to implement group "protocol packet and data forwarding;
  • IGMP protocol Internet Group Management Protocol
  • MVR Multicast VLAN Registration, multicast virtual LAN registration
  • the IPTV service module implements functions such as multicast program management, user rights management, and log management, and provides functional interfaces such as user authentication and logging for the multicast service module.
  • the multicast service module specifically includes: a management submodule, which is responsible for overall control of the multicast module. It also provides data initialization and configuration management interface; IGMP-SNOOPING (Internet Group Management Protocol Listening) protocol module for implementing IGMP-SNOOPING protocol; MVR protocol module for implementing inter-VLAN multicast function according to MVR protocol.
  • the IPTV service module specifically includes: a management sub-module corresponding to an IPTV management task (iptvMgr), which is responsible for overall control of the IPTV module, and provides a data initialization and configuration management interface; an authentication sub-module corresponding to the IPTV authentication task (iptvAc:) responsible for IPTV user rights management; the log sub-module, corresponding to the IPTV log task (iptvCdr), responsible for establishing a TCP/IP link with the network management server, and responsible for creating, maintaining, and reporting IPTV user logs, thus, by collecting, By collecting and analyzing the user's access log, the system can collect and count various information such as CPU, bandwidth, and user access.
  • iptvMgr an IPTV management task
  • iptvAc an authentication sub-module corresponding to the IPTV authentication task
  • iptvCdr the log sub-module, corresponding to the IPTV log task responsible for establishing a TCP/IP link with the
  • the IPTV service switch is configured between the multicast service module and the IPTV service module, and is configured to enable or disable the IPTV service module. That is, the IPTV service switch is used to switch the IPTV service between "non-authentication mode" and "authentication mode”. The details are as follows. When the IPTV service is switched from the "non-authentication mode" to the "authentication mode", it is necessary to create an IPTV service-related task.
  • Including initializing the data structure, and adding configuration data related to the IPTV service which may be added from the configuration file or from the network management server according to the implementation method; creating resources such as semaphores, and starting service related timers, for example, for performing on the user The timer of the service timing, etc.; notifies the multicast service module to reconfigure part of the relevant data or ⁇ (so the consistency of the related data is checked and processed.
  • the following processes are required: stopping and releasing system resources such as service-related timers and semaphores; clearing IPTV service-related data; deleting IPTV service-related tasks, etc.
  • the system may further include a multicast service switch for starting or shutting down The multicast service module.
  • the system may further include an enable switch of the multicast service module.
  • the system When enabled, the system may receive and process the multicast protocol packet, and set the hardware multicast forwarding table to control the forwarding of the multicast stream. ; Do not receive the processing multicast protocol packet when disabled, even if the IPTV service is in the authentication mode, it will not The interface is not called.
  • the IPTV is set to the "non-authentication mode". At this time, the IPTV is not called according to the processing flow of the multicast service.
  • the IPTV service module does not work.
  • the IPTV Under the application model of the IPTV service provided by the network element, the IPTV is set to the "authentication mode". At this time, the IPTV service module enters the normal working state; The IPTV service module is authenticated by the IPTV service module.
  • the multicast service module invokes the interface of the IPTV service module when the multicast user joins or leaves the multicast group, and decides to accept or reject the IPTV service based on the authentication result of the IPTV service.
  • the user requests, and the IPTV module also performs operations such as service control and log recording, and in some cases, notifies the multicast service module to leave the user.
  • the IPTV service module In the "authentication mode” and “non-authentication mode” switching, Enable/disable the IPTV service module; that is, apply/release the related tasks, timers, and Socket interfaces in the IPTV service module. Add/unload the service data in the memory, etc.
  • the group join request When the group join request is received, the legality of the request is checked according to the configuration of IGMP, MVR, etc. If it is acceptable, the corresponding forwarding entry is set in the hardware multicast forwarding table.
  • receive the multicast leave request check whether the leave condition is met. If yes, delete the corresponding forwarding entry in the hardware multicast forwarding table.
  • the IPTV service module enters the normal working state; when receiving the user join/leave request, the multicast service invokes the interface of the IPTV service module for authentication. And according to the authentication result of the IPTV service, it is decided to receive or reject the user request.
  • the multicast service module checks the validity of the request according to the configuration of IGMP and MVR. If the check passes, the authentication interface of the IPTV service module is invoked; if the authentication fails, the request is rejected. If the authentication succeeds, the process following the multicast service is continued, and the hardware multicast forwarding table is set.
  • the IPTV service module when the authentication is triggered by the multicast service module, the related information of the user is recorded, so as to manage the user behavior and generate a log.
  • the multicast service module When receiving the multicast leave request, the multicast service module notifies the IPTV service module; and then continues the processing flow of the multicast service. If the leave condition is met, the corresponding forwarding entry is deleted in the hardware multicast forwarding table.
  • the related user record information is processed, such as modifying the status of the user, generating a user browsing log, and the like.
  • the multicast service module When the multicast service module detects that a user port needs to leave the multicast group due to aging timeout, it first notifies the IPTV service module; then, it continues the processing process of the multicast service. If the leave condition is met, the multicast multicast forwarding table is deleted. Forward the entry accordingly. For the IPTV service module, after receiving the user timeout notification, the related user record information is processed. When the IPTV service module detects that a user port that has joined the multicast group no longer meets the joining conditions, such as the preview time, the user is forced to leave. While recording the user information and generating the log, the IPTV service module also notifies the multicast service module to delete the corresponding entry from the hardware forwarding table. Moreover, as shown in FIG.
  • the present invention also provides a method for a communication network element to implement a multicast service and a network television service, including the steps of: Al, select the IPTV service mode; the user can select the IPTV service as the "authentication mode" or the "non-authentication mode". For example, the IPTV service may be switched from the "authentication mode” to the "non-authentication mode", or the IPTV service may be switched from the "non-authentication mode” to the “authentication mode.”
  • Steps A1 may also include steps: The multicast service is started. As mentioned above, when the multicast service function is disabled, the system does not receive the multicast protocol packet. At this time, even if the IPTV service is in the authentication mode, it will not work and its interface will not be called.
  • step A2 It is determined whether the IPTV service mode after the handover is an authentication mode, if yes, step A3 is performed; otherwise, step A4 is performed.
  • the related tasks for creating an IPTV service may include the following steps: initializing a data structure, adding configuration data related to the IPTV service, creating a timer, notifying the multicast service module to reconfigure part of related data, or performing consistency check on related data. And processing and so on.
  • the providing the IPTV service may specifically include the steps of: managing the IPTV service and authenticating the user.
  • the managing the IPTV service may specifically include the following steps: a management group, a program, a user, a log, and the like.
  • the releasing the system resources occupied by the IPTV service may specifically include the steps of: releasing a timer and a semaphore occupied by the IPTV service.
  • the system resources occupied by the IPTV service may include the following steps: clearing IPTV service related data, deleting IPTV service related tasks, and the like. In this way, the system can control the enabling and disabling of the IPTV service by setting the "authentication mode", thereby creating the task of the IPTV service, providing the IPTV service or stopping the IPTV service and releasing the system resources occupied by the IPTV service.
  • the following is a detailed description of the related data and resources of the IPTV service according to the present invention.
  • the data related to the IPTV service mainly includes: global configuration, channel data, and number of user rights. According to the package configuration data, etc. These data may occupy a large amount of memory, and the specific value is affected by the capacity of the access network user and the channel and user subscription status of the IPTV service. Taking an access network element with a capacity of several hundred users as an example, depending on the total number of channels and the number of programs opened by the user, the memory space required to store the data may reach several megabytes or even ten or twenty megabytes. On the other hand, IPTV user logs can also consume a lot of memory. The service data can be saved on the network element. In this case, the network element's hard disk or FLASH storage space is also consumed. When the network element IPTV service is started, it can be pushed from the network management to the network element. CPU processing time and bandwidth of the network management channel.
  • IPTV service management needs to periodically monitor the running of the service, a timer needs to be used, and the timing processing itself also takes up the processing time of the CPU.
  • Data access operations use semaphore protection.
  • the method of the present invention is applied to a broadband access device, and the related functions can be conveniently implemented under several multicast or IPTV application models.

Abstract

A system and method for implementing multicast service and internet protocol television (IPTV) service by the communication network cell, wherein the network cell includes a multicast service module and an IPTV service module; the multicast service module is used to implement forwarding of the multicast protocol packet and data; IPTV service module is used to IPTV service management and user authentication. The multicast service cooperates with the IPTV service , so as to independently control the IPTV service to start or close.

Description

一种通讯网元实现组播业务和网络电视业务的系统和方法 技术领域 本发明涉及组播业务和 IPTV业务,尤其涉及的是,一种在通讯网元上, 特别是在接入网的网元上, 实现组 ·!番业务和网络电视业务的系统和方法。 背景技术 随着组 4番及 IPTV ( Internet Protocol Television, 互联网络协议电视, 即 网络电视) 业务日益流行, 通讯设备, 尤其是宽带接入设备通常会提供对组 播及 IPTV业务的支持。 对于宽带接入网元设备而言, 组播业务和 IPTV业务按两种业务处理, 但二者之间又有密切的关系。 组播业务是比较基本的业务, 不依赖于 IPTV; 而 IPTV业务是建立在组播业务基础上的, 实现更复杂的管理功能, 例如节 目管理、 用户权限鉴权、 日志管理等, IPTV业务依赖于组播业务而实现。 在组播和 IPTV业务的实际应用模型中, 接入网元提供业务支持的常见 方式有以下几种: 1) 仅开展简单的组播业务, 接入网网元仅提供对组播业务的支持。  TECHNICAL FIELD The present invention relates to a multicast service and an IPTV service, and more particularly to a communication network element, particularly on a network element of an access network. , System and method for realizing the group·! business and network TV business. BACKGROUND OF THE INVENTION With the increasing popularity of Group 4 and IPTV (Internet Protocol Television, Internet Protocol Television) services, communication devices, especially broadband access devices, generally provide support for multicast and IPTV services. For broadband access network element equipment, the multicast service and the IPTV service are handled by two services, but there is a close relationship between the two. The multicast service is a relatively basic service and does not depend on IPTV. The IPTV service is based on the multicast service and implements more complex management functions, such as program management, user rights authentication, and log management. Implemented in the multicast service. In the actual application model of the multicast and IPTV services, the common ways for the access NE to provide service support are as follows: 1) Only a simple multicast service is implemented, and the access network element only provides support for the multicast service. .
2) 开展 IPTV业务, 但 IPTV功能不在接入网上实现, 接入网网元仅需 提供对组播业务的支持。 2) The IPTV service is implemented, but the IPTV function is not implemented on the access network, and the access network element only needs to provide support for the multicast service.
3) 开展 IPTV业务, 接入网网元上需提供对组播业务及 IPTV业务的支 持。 因此, 接入网网元上有时只需要提供组播业务, 有时则需要同时提供组 播业务和 IPTV 业务。 因此, 为了满足不同应用模式的需要, 接入网网元应 可以灵活的实现组 ·!番和 ιρτν两种业务的配合协作。 但是, 现有技术中, 有的接入网网元设备只能提供组播业务支持, 不能 支持 IPTV业务; 有的接入网网元设备虽然支持组播业务和 IPTV业务, 但在 业务配置上不够灵活, 只能同时开启组播业务和 IPTV业务; 有的接入网网 元可以不启用 IPTV业务, 但仅仅是关闭了 IPTV相关功能, IPTV业务模块 的相关任务仍在运行, 占用处理器及内存等资源。 因此, 现有技术存在缺陷, 需要改进。 发明内容 本发明的目的在于提供一种通讯网元实现组播业务和网络电视业务的 系统和方法, 作为组播业务和 IPTV业务的协作方法, 能够灵活配置不同的 业务应用模型; 并可以在 IPTV业务不开启时, 节约系统资源。 本发明的技术方案如下: - 一种通讯网元实现组播业务和网络电视业务的系统,通讯网元包括组播 业务模块和 IPTV业务模块; 组播业务模块用于实现组播协议报文及数据的 转发; IPTV业务模块用于 IPTV业务管理和用户鉴权, 当 IPTV业务模块被 设置为非鉴权模式时, 仅启动组播业务模块工作; 当 IPTV业务模块被设置 为鉴权模式时, 启动 IPTV业务模块和组播业务模块相互作交换地工作。 在上述的系统中, 系统还包括: 组播业务开关, 用于启动或关闭组播业 务模块; IPTV业务开关, 用于启动或关闭 IPTV业务模块。 在上述的系统中, IPTV业务模块还包 番节目管理单元、 用户权限 管理单元和日志管理单元: 组4番节目管理单元用于管理组 节目; 用户权限 管理单元用于管理用户权限; 以及日志管理单元用于管理日志。 在上述的系统中, 通讯网元是接入网网元。 一种通讯网元实现组 "业务和网络电视业务的方法, 其包括步骤: Al、 启动组播业务; A2、 选择 IPTV业务模式; A3、 IPTV业务模式是鉴权模式, 则使用组播业务启动 IPTV业务, 创建 IPTV业务的相关任务, 提供 IPTV业 务服务; A4、 IPTV业务模式是非鉴权模式, 则关闭 IPTV业务, 停止 IPTV 业务并释放 IPTV业务所占用的系统资源。 在上述的方法中, 步骤 A3 中, 提供 IPTV业务服务, 具体包括: 管理 IPTV业务和对用户进行鉴权。 在上述的方法中, 步骤 A3 中, 管理 IPTV业务, 具体包括: 管理组播 节目、 用户权限和日志。 在上述的方法中, 步骤 A3中, 创建 IPTV业务的相关任务, 具体包括: 初始化数据结构、 加栽 IPTV业务相关配置 ¾据、 创建定时器、 通知组^ ~业 务模块重新配置部分相关数据或做相关数据的一致性检查和处理。 在上述的方法中, 步骤 A4中, 释放 IPTV业务所占用的系统资源, 具 体包括: 释放 IPTV业务所占用定时器和信号量。 在上述的方法中, 步骤 A4中, 释放 IPTV业务所占用的系统资源, 具 体包括步骤: 清除 IPTV业务相关数据; 删除 IPTV业务相关任务。 在上述的方法中, 步骤 A3具体包括以下至少一种操作: 组播业务在收 到用户加入 /离开请求时进行 IPTV业务的用户鉴权, 并根据鉴权结果决定接 - 收或拒绝用户请求; 组播业务收到组播加入请求时, 对请求的合法性进行检 查; 若检查通过, 则调用 IPTV业务的鉴权; 如果鉴权失败, 则拒绝该请求, 如果鉴权通过,则继续组播业务后面的流程,设置硬件组播转发表;以及 IPTV 业务在由组播业务触发鉴权时, 对用户的相关信息进行记录; 组播业务收到 组 ~离开请求时, 通知 IPTV业务, 然后继续组^业务的处理流程, 若满足 离开条件, 则在硬件组 ·ί番转发表中删除相应转发奈目。 对 IPTV业务模块而 言, 收到用户离开通知后, 对相关的用户记录信息进行处理; 组播业务确定 用户需要离开组 ·!番组时, 先通知 ιρτν业务; 然后继续组^ "业务的处理流程, 若满足离开条件, 则在硬件组播转发表中删除相应转发条目, IPTV业务通知 后, 对相关的用户记录信息进行处理; 当 IPTV业务检查到已加入组播组的 用户不再满足加入条件, 则强制该用户离开; IPTV业务在记录用户信息和生 成日志的同时, 还通知组4番业务; 组播业务收到该通知后从硬件转发表中删 除相应条目。 采用上述方案, 本发明通过实现组播业务和 IPTV业务的协作, 独立控 制 IPTV业务的启用或关闭, 通过模式切换, 可以在网元不启用 IPTV业务的 情况下, 使 IPTV业务模块对系统资源的占用降到几乎为 0。 另一方面, 在需 要网元提供 IPTV 业务时, 又可以方便的开启业务, 从而灵活地配置不同的 业务应用模型; 并可以在 IPTV业务不开启时, 节约系统资源。 附图说明 图 1为本发明在接入网网元上提供组 ·ί番及 IPTV业务的组网示意图; 图 2为本发明的组播业务和 IPTV业务的关系示意图; 图 3为本发明方法的流程图。 具体实施方式 以下对本发明的较佳实施例加以详细说明。 如图 1所示,本发明提供了一种通讯网元实现组播业务和网络电视业务 的系统, 其中, 其包括组播业务模块、 IPTV业务模块和 IPTV业务开关; 所 述组播业务模块用于实现组播协议报文及数据的转发; 所述 IPTV 业务模块 用于业务管理和用户鉴权。 例如, 所述 ιρτν业务模块还可以包括组 节目 管理单元、 用户权限管理单元和日志管理单元等等, 用于实现组播节目、 用 户权限、 日志等的管理功能。 具体地说, 本发明所述系统中将组 业务和 IPTV业务作为两个独立的 模块来实现, 二者分工如下: 组 "业务模块实现 IGMP协议 ( Internet Group Management Protocol , 互联网组管理协议)、 MVR ( Multicast VLAN Registration, 组播虛拟局域网 注册) 管理功能, 负责组播协议包处理, 以及设置驱动的组 转发表项, 以 实现组 "协议报文及数据的转发; 3) To carry out the IPTV service, the access network element needs to provide support for the multicast service and the IPTV service. Therefore, the access network element sometimes only needs to provide multicast services, and sometimes it needs to provide both multicast services and IPTV services. Therefore, in order to meet the needs of different application modes, the access network element should be able to flexibly realize the cooperation of the two services: group and ιρτν. However, in the prior art, some access network element devices can only provide multicast service support and cannot support IPTV services. Some access network element devices support multicast services and IPTV services, but in service configuration. It is not flexible enough to enable multicast services and IPTV services at the same time. Some access network elements can not enable IPTV services, but only disable IPTV-related functions, IPTV service modules. The related tasks are still running, occupying resources such as processor and memory. Therefore, the prior art has drawbacks and needs improvement. SUMMARY OF THE INVENTION An object of the present invention is to provide a system and method for implementing a multicast service and a network television service by using a communication network element, as a method for coordinating a multicast service and an IPTV service, which can flexibly configure different service application models; When not turned on, system resources are saved. The technical solution of the present invention is as follows: - A system for implementing a multicast service and a network television service by a communication network element, the communication network element includes a multicast service module and an IPTV service module; and the multicast service module is configured to implement multicast protocol messages and data. The IPTV service module is used for IPTV service management and user authentication. When the IPTV service module is set to the non-authentication mode, only the multicast service module is started. When the IPTV service module is set to the authentication mode, the IPTV is started. The service module and the multicast service module work in exchange for each other. In the above system, the system further includes: a multicast service switch, configured to enable or disable a multicast service module, and an IPTV service switch, configured to enable or disable an IPTV service module. In the above system, the IPTV service module further includes a program management unit, a user rights management unit, and a log management unit: a group of 4 program management units for managing group programs; a user rights management unit for managing user rights; and log management The unit is used to manage logs. In the above system, the communication network element is an access network element. A communication network element implements a group of "service and network television service methods, which includes the steps of: Al, starting a multicast service; A2, selecting an IPTV service mode; A3, the IPTV service mode is an authentication mode, and then using the multicast service to start IPTV Service, create IPTV service related tasks, provide IPTV service service; A4, IPTV service mode is non-authentication mode, then close IPTV service, stop IPTV service and release system resources occupied by IPTV service. In the above method, step A3 The IPTV service is provided, which includes: managing the IPTV service and authenticating the user. In the foregoing method, in step A3, managing the IPTV service includes: managing the multicast program, user rights, and logs. In the foregoing method, in step A3, the related tasks of the IPTV service are created, including: initializing the data structure, adding the IPTV service related configuration, creating a timer, notifying the group, and the service module reconfiguring the related data or doing Consistency check and processing of related data. In the foregoing method, in step A4, the system resources occupied by the IPTV service are released, which specifically includes: releasing a timer and a semaphore occupied by the IPTV service. In the foregoing method, in step A4, the system resources occupied by the IPTV service are released, which specifically includes the steps of: clearing the IPTV service related data; and deleting the IPTV service related task. In the above method, the step A3 specifically includes the following at least one operation: the multicast service performs user authentication of the IPTV service when receiving the user join/leave request, and determines whether to accept or reject the user request according to the authentication result; When the multicast service receives the multicast join request, it checks the validity of the request. If the check passes, the authentication of the IPTV service is invoked. If the authentication fails, the request is rejected. If the authentication succeeds, the multicast is continued. The process behind the service sets the hardware multicast forwarding table. When the IPTV service triggers the authentication by the multicast service, it records the related information of the user. When the multicast service receives the group~ leave request, it notifies the IPTV service, and then continues the group. ^ The processing flow of the service, if the departure condition is satisfied, the corresponding forwarding order is deleted in the hardware group. For the IPTV service module, after receiving the user leaving notification, the related user record information is processed; when the multicast service determines that the user needs to leave the group·! group, first notify the ιρτν service; then continue the group ^ "service processing The process, if the leaving condition is met, deletes the corresponding forwarding entry in the hardware multicast forwarding table, and processes the related user record information after the IPTV service is notified; when the IPTV service detects that the user who has joined the multicast group is no longer satisfied to join The condition is to force the user to leave; the IPTV service notifies the group 4 service while recording the user information and generating the log; the multicast service deletes the corresponding entry from the hardware forwarding table after receiving the notification. By implementing the cooperation between the multicast service and the IPTV service, the IPTV service is enabled or disabled independently. Through mode switching, the IPTV service module can reduce the occupancy of the system resources to almost zero when the network element does not enable the IPTV service. On the other hand, when the network element needs to provide the IPTV service, it is convenient to start the service. Flexible configuration of different service application models; and system resources can be saved when the IPTV service is not enabled. FIG. 1 is a schematic diagram of networking for providing group and IPTV services on an access network element according to the present invention; 2 is a schematic diagram of a relationship between a multicast service and an IPTV service according to the present invention; Figure 3 is a flow chart of the method of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, preferred embodiments of the present invention will be described in detail. As shown in FIG. 1 , the present invention provides a system for implementing a multicast service and a network television service by a communication network element, where the method includes a multicast service module, an IPTV service module, and an IPTV service switch; The multicast protocol packet and data are forwarded; the IPTV service module is used for service management and user authentication. For example, the ιρτν service module may further include a group program management unit, a user rights management unit, a log management unit, and the like, for implementing management functions of multicast programs, user rights, logs, and the like. Specifically, in the system of the present invention, the group service and the IPTV service are implemented as two independent modules, and the division of the two is as follows: Group "Service Module implements IGMP protocol (Internet Group Management Protocol), MVR) (Multicast VLAN Registration, multicast virtual LAN registration) management function, responsible for multicast protocol packet processing, and setting the driver group forwarding entry to implement group "protocol packet and data forwarding;
IPTV业务模块实现组播节目管理、 用户权限管理及日志管理等功能, 并为组播业务模块提供用户鉴权、 日志等功能接口。 例如, 组播业务模块具体包括: 管理子模块, 用于负责组播模块总体控 制。 并提供数据初始化及配置管理接口; IGMP-SNOOPING (互联网组管理 协议侦听) 协议模块, 用于实现 IGMP-SNOOPING协议; MVR协议模块, 用于根据 MVR协议实现跨 VLAN组播功能。 又如, IPTV 业务模块具体包括: 管理子模块, 对应 IPTV 管理任务 ( iptvMgr ), 负责 IPTV模块总体控制, 并提供数据初始化及配置管理接口; 鉴权子模块, 对应 IPTV鉴权任务( iptvAc:), 负责 IPTV用户权限管理; 日 志子模块, 对应 IPTV 日志任务 ( iptvCdr ), 负责建立与网管服务器之间的 TCP/IP链路, 并负责 IPTV用户日志的创建、 维护和上报, 这样, 通过收集、 统计与分析用户的访问日志, 系统就能够实现 CPU、 带宽、 用户访问等多种 信息的收集与统计功能。 所述 IPTV业务开关设置在所述组播业务模块和所述 IPTV业务模块之 间, 用于启动或关闭所述 IPTV业务模块。 即 IPTV业务开关用于将 IPTV业 务在 "非鉴权模式" 和 "鉴权模式" 之间切换。 具体说明如下。 当 IPTV业务由 "非鉴权模式" 切换到 "鉴权模式" 时, 需要创建 IPTV 业务相关任务。 包括初始化数据结构, 加栽 IPTV业务相关配置数据, 具体 可根据实现方法, 从配置文件加栽或者从网管服务器加栽; 创建信号量等资 源、 启动业务相关定时器, 例如, 用来对用户进行业务计时的定时器等; 通 知组播业务模块重新配置部分相关数据或^ (故相关数据的一致性^查、 处理。 当 IPTV业务由 "鉴权模式" 切换到 "非鉴权模式" 时, 需要进行以下 处理: 停止并释放业务相关定时器、 信号量等系统资源; 清除 IPTV业务相 关数据; 删除 IPTV业务相关任务等。 并且, 所述系统还可以包括组播业务开关, 用于启动或关闭所述组播业 务模块。 例如, 所述系统还可以包括组播业务模块的使能开关, 当使能时可 以接收处理组播协议包, 并设置硬件组播转发表已控制组播流的转发; 禁用 时不接收处理组播协议包, 此时即使 IPTV 业务处于鉴权模式, 也不会起作 用, 其接口不会被调用。 在网元单纯提供组播业务的应用模型下,将 IPTV设置为 "非鉴权模式" , 此时, 完全按照组播业务自己的处理流程, 不会调用 IPTV业务模块的接口; IPTV业务模块也不工作。 在网元提供 IPTV业务的应用模型下, 将 IPTV设置为 "鉴权模式", 此 时, IPTV 业务模块进入正常工作状态; 用户对组播组的加入 /离开请求会先 由 IPTV业务模块进行鉴权, 即组播业务模块会在组播用户加入或离开组播 组时调用 IPTV业务模块的接口,并根据 IPTV业务的鉴权结果决定接收或拒 绝用户请求, 同时 IPTV模块也会进行业务控制、 日志记录等操作, 在某些 时候会通知组播业务模块对用户进行离开处理。 在 "鉴权模式" 和 "非鉴权模式" 切换时, 需要对 IPTV业务模块进行 使能 /禁用处理; 即要对 IPTV业务模块中的相关任务、 定时器、 Socket接口 等资源进行申请 /释放, 对内存中业务数据进行加栽 /卸载等。 如图 2所示, 以下对组播业务模块和 IPTV业务模块相互作交换的几种 情况进行详细说明: 1) 当组播业务使能, 并且 IPTV设置为 "非鉴权模式" 时: IPTV业务 模块不工作, 组播业务完全按照自己的处理流程, 不会调用 IPTV业务模块 的接口。 收到组 ·!番加入请求时, 根据 IGMP、 MVR等配置对请求的合法性进行 检查, 如果可以接受, 则在硬件组播转发表中设置相应转发条目。 收到组播离开请求时, 检查是否满足离开条件, 如果满足, 则在硬件组 播转发表中删除相应转发条目。 The IPTV service module implements functions such as multicast program management, user rights management, and log management, and provides functional interfaces such as user authentication and logging for the multicast service module. For example, the multicast service module specifically includes: a management submodule, which is responsible for overall control of the multicast module. It also provides data initialization and configuration management interface; IGMP-SNOOPING (Internet Group Management Protocol Listening) protocol module for implementing IGMP-SNOOPING protocol; MVR protocol module for implementing inter-VLAN multicast function according to MVR protocol. For example, the IPTV service module specifically includes: a management sub-module corresponding to an IPTV management task (iptvMgr), which is responsible for overall control of the IPTV module, and provides a data initialization and configuration management interface; an authentication sub-module corresponding to the IPTV authentication task (iptvAc:) Responsible for IPTV user rights management; the log sub-module, corresponding to the IPTV log task (iptvCdr), responsible for establishing a TCP/IP link with the network management server, and responsible for creating, maintaining, and reporting IPTV user logs, thus, by collecting, By collecting and analyzing the user's access log, the system can collect and count various information such as CPU, bandwidth, and user access. The IPTV service switch is configured between the multicast service module and the IPTV service module, and is configured to enable or disable the IPTV service module. That is, the IPTV service switch is used to switch the IPTV service between "non-authentication mode" and "authentication mode". The details are as follows. When the IPTV service is switched from the "non-authentication mode" to the "authentication mode", it is necessary to create an IPTV service-related task. Including initializing the data structure, and adding configuration data related to the IPTV service, which may be added from the configuration file or from the network management server according to the implementation method; creating resources such as semaphores, and starting service related timers, for example, for performing on the user The timer of the service timing, etc.; notifies the multicast service module to reconfigure part of the relevant data or ^ (so the consistency of the related data is checked and processed. When the IPTV service is switched from the "authentication mode" to the "non-authentication mode", The following processes are required: stopping and releasing system resources such as service-related timers and semaphores; clearing IPTV service-related data; deleting IPTV service-related tasks, etc. Moreover, the system may further include a multicast service switch for starting or shutting down The multicast service module. For example, the system may further include an enable switch of the multicast service module. When enabled, the system may receive and process the multicast protocol packet, and set the hardware multicast forwarding table to control the forwarding of the multicast stream. ; Do not receive the processing multicast protocol packet when disabled, even if the IPTV service is in the authentication mode, it will not The interface is not called. In the application model where the network element simply provides the multicast service, the IPTV is set to the "non-authentication mode". At this time, the IPTV is not called according to the processing flow of the multicast service. The IPTV service module does not work. Under the application model of the IPTV service provided by the network element, the IPTV is set to the "authentication mode". At this time, the IPTV service module enters the normal working state; The IPTV service module is authenticated by the IPTV service module. The multicast service module invokes the interface of the IPTV service module when the multicast user joins or leaves the multicast group, and decides to accept or reject the IPTV service based on the authentication result of the IPTV service. The user requests, and the IPTV module also performs operations such as service control and log recording, and in some cases, notifies the multicast service module to leave the user. In the "authentication mode" and "non-authentication mode" switching, Enable/disable the IPTV service module; that is, apply/release the related tasks, timers, and Socket interfaces in the IPTV service module. Add/unload the service data in the memory, etc. As shown in Figure 2, the following describes in detail the exchange of the multicast service module and the IPTV service module: 1) When the multicast service is enabled and the IPTV is set to "non-authentication mode": The IPTV service module does not work. The multicast service completely follows its own processing flow and does not invoke the interface of the IPTV service module. When the group join request is received, the legality of the request is checked according to the configuration of IGMP, MVR, etc. If it is acceptable, the corresponding forwarding entry is set in the hardware multicast forwarding table. When receiving the multicast leave request, check whether the leave condition is met. If yes, delete the corresponding forwarding entry in the hardware multicast forwarding table.
2) 当组播业务使能, IPTV设置为 "鉴权模式" 时: IPTV 业务模块进 入正常工作状态; 组播业务在收到用户加入 /离开请求时会调用 IPTV业务模 块的接口进行鉴权, 并根据 IPTV业务的鉴权结果决定接收或拒绝用户请求。 组播业务模块收到组播加入请求时, 根据 IGMP、 MVR等配置对请求 的合法性进行检查; 若检查通过, 则调用 IPTV业务模块的鉴权接口; 如果 鉴权失败, 则拒绝该请求, 如果鉴权通过, 则继续组播业务后面的流程, 设 置硬件组播转发表。 对 IPTV业务模块而言, 在由组播业务模块触发鉴权时, 会对用户的相关信息进行记录, 以便对用户行为进行管理, 以及生成日志。 组播业务模块收到组播离开请求时, 通知 IPTV业务模块; 然后继续组 播业务自己的处理流程, 若满足离开条件, 则在硬件组播转发表中删除相应 转发条目。 对 IPTV业务模块而言, 收到用户离开通知后, 会对相关的用户 记录信息进行处理, 如修改该用户的状态, 生成用户浏览日志等。 组播业务模块检查到某用户端口因老化超时需要离开组播组时,会先通 知 IPTV业务模块; 然后继续组播业务自己的处理流程, 若满足离开条件, 则在硬件组播转发表中删除相应转发条目。 对 IPTV业务模块而言, 收到用 户超时离开通知后, 会对相关的用户记录信息进行处理。 当 IPTV业务模块检查到某个已加入组播组的用户端口不再满足加入条 件, 例如预览时间到等情况, 则会强制该用户离开。 IPTV业务模块在自己记 录用户信息和生成日志的同时, 还会通知组播业务模块, 以便其从硬件转发 表中删除相应条目。 并且, 如图 3所示, 本发明还提出了一种通讯网元实现组播业务和网络 电视业务的方法, 其包括步骤: Al、 选择 IPTV业务模式; 用户可以选择 IPTV业务为 "鉴权模式" 或 "非鉴权模式"。 例如, 也可以将 IPTV业务由 "鉴权模式" 切换到 "非鉴权 模式", 或者, 将 IPTV业务由 "非鉴权模式" 切换到 "鉴权模式。 在步骤 A1之前还可以包括步骤: 启动组播业务。 如前所述, 组播业务 功能被禁用时, 系统不接收处理组播协议包, 此时即使 IPTV业务处于鉴权 模式, 也不会起作用, 其接口不会被调用。 2) When the multicast service is enabled and the IPTV is set to the "authentication mode": The IPTV service module enters the normal working state; when receiving the user join/leave request, the multicast service invokes the interface of the IPTV service module for authentication. And according to the authentication result of the IPTV service, it is decided to receive or reject the user request. When receiving the multicast join request, the multicast service module checks the validity of the request according to the configuration of IGMP and MVR. If the check passes, the authentication interface of the IPTV service module is invoked; if the authentication fails, the request is rejected. If the authentication succeeds, the process following the multicast service is continued, and the hardware multicast forwarding table is set. For the IPTV service module, when the authentication is triggered by the multicast service module, the related information of the user is recorded, so as to manage the user behavior and generate a log. When receiving the multicast leave request, the multicast service module notifies the IPTV service module; and then continues the processing flow of the multicast service. If the leave condition is met, the corresponding forwarding entry is deleted in the hardware multicast forwarding table. For the IPTV service module, after receiving the user leaving notification, the related user record information is processed, such as modifying the status of the user, generating a user browsing log, and the like. When the multicast service module detects that a user port needs to leave the multicast group due to aging timeout, it first notifies the IPTV service module; then, it continues the processing process of the multicast service. If the leave condition is met, the multicast multicast forwarding table is deleted. Forward the entry accordingly. For the IPTV service module, after receiving the user timeout notification, the related user record information is processed. When the IPTV service module detects that a user port that has joined the multicast group no longer meets the joining conditions, such as the preview time, the user is forced to leave. While recording the user information and generating the log, the IPTV service module also notifies the multicast service module to delete the corresponding entry from the hardware forwarding table. Moreover, as shown in FIG. 3, the present invention also provides a method for a communication network element to implement a multicast service and a network television service, including the steps of: Al, select the IPTV service mode; the user can select the IPTV service as the "authentication mode" or the "non-authentication mode". For example, the IPTV service may be switched from the "authentication mode" to the "non-authentication mode", or the IPTV service may be switched from the "non-authentication mode" to the "authentication mode." Steps A1 may also include steps: The multicast service is started. As mentioned above, when the multicast service function is disabled, the system does not receive the multicast protocol packet. At this time, even if the IPTV service is in the authentication mode, it will not work and its interface will not be called.
A2、 判断切换后的所述 IPTV业务模式是否为鉴权模式, 是则执行步骤 A3 , 否则执行步骤 A4。 A2: It is determined whether the IPTV service mode after the handover is an authentication mode, if yes, step A3 is performed; otherwise, step A4 is performed.
A3、 启动 IPTV业务并创建 IPTV业务的相关任务, 提供 IPTV业务服 务。 例如, 所述创建 IPTV业务的相关任务, 具体可以包括步骤: 初始化数 据结构、 加栽 IPTV业务相关配置数据、 创建定时器、 通知组播业务模块重 新配置部分相关数据或做相关数据的一致性检查和处理等等。 又如, 所述提供 IPTV业务服务, 具体可以包括步骤: 管理 IPTV业务 和对用户进^ 鉴权。 所述管理 IPTV业务, 具体可以包括步骤: 管理组 ~节 目、 用户^ J艮和日志等等。 A3. Start the IPTV service and create related tasks for the IPTV service, and provide IPTV service services. For example, the related tasks for creating an IPTV service may include the following steps: initializing a data structure, adding configuration data related to the IPTV service, creating a timer, notifying the multicast service module to reconfigure part of related data, or performing consistency check on related data. And processing and so on. For example, the providing the IPTV service may specifically include the steps of: managing the IPTV service and authenticating the user. The managing the IPTV service may specifically include the following steps: a management group, a program, a user, a log, and the like.
A4、 关闭 IPTV业务, 停止 IPTV业务并释放 IPTV业务所占用的系统 资源。 例如, 所述释放 IPTV业务所占用的系统资源, 具体可以包括步骤: 释 放 IPTV业务所占用定时器和信号量。 又如, 所述释放 IPTV业务所占用的系统资源, 具体可以包括步骤: 清 除 IPTV业务相关数据; 删除 IPTV业务相关任务等等。 这样, 系统就可以通过对 "鉴权模式" 的设置来控制 IPTV业务的启用 和关闭, 从而创建 IPTV业务的任务、 提供 IPTV业务服务或停止 IPTV业务 并释放 IPTV业务所占用的系统资源。 以下本发明所述 IPTV业务的相关数据及资源 4吏用情况进行详细说明。 A4. Turn off the IPTV service, stop the IPTV service, and release the system resources occupied by the IPTV service. For example, the releasing the system resources occupied by the IPTV service may specifically include the steps of: releasing a timer and a semaphore occupied by the IPTV service. For example, the system resources occupied by the IPTV service may include the following steps: clearing IPTV service related data, deleting IPTV service related tasks, and the like. In this way, the system can control the enabling and disabling of the IPTV service by setting the "authentication mode", thereby creating the task of the IPTV service, providing the IPTV service or stopping the IPTV service and releasing the system resources occupied by the IPTV service. The following is a detailed description of the related data and resources of the IPTV service according to the present invention.
IPTV业务的相关数据, 主要包括: 全局配置, 频道数据, 用户权限数 据, 套餐配置数据等。 这些数据可能会占用大量的内存, 具体数值受接入网 用户容量及 IPTV业务所开的频道及用户订购情况影响。 以一个容量为几百个用户的接入网网元为例,根据频道总数及用户开通 的节目数量的不同, 存储这些数据需要的内存空间可能达到几兆甚至十几、 二十几兆。 另一方面, IPTV用户日志也可能消耗很多的内存。 这些业务数据可以保存在网元上, 此时还会消耗网元的硬盘或 FLASH 存储空间; 也可以在网元 IPTV业务启动时, 从网管推送到网元, 此时会占 用网元和网管的 CPU处理时间以及网管通道的带宽。 The data related to the IPTV service mainly includes: global configuration, channel data, and number of user rights. According to the package configuration data, etc. These data may occupy a large amount of memory, and the specific value is affected by the capacity of the access network user and the channel and user subscription status of the IPTV service. Taking an access network element with a capacity of several hundred users as an example, depending on the total number of channels and the number of programs opened by the user, the memory space required to store the data may reach several megabytes or even ten or twenty megabytes. On the other hand, IPTV user logs can also consume a lot of memory. The service data can be saved on the network element. In this case, the network element's hard disk or FLASH storage space is also consumed. When the network element IPTV service is started, it can be pushed from the network management to the network element. CPU processing time and bandwidth of the network management channel.
IPTV业务用到的其他系统资源包括定时器和信号量等; IPTV业务管理 需要定时对业务运行情况进行监控时, 需要使用定时器, 而定时处理本身也 占用 CPU的处理时间; 为保护数据, 对数据访问操作使用信号量保护。 在实际使用中, 将本发明所述方法用于宽带接入设备, 可以方便地在几 种组播或 IPTV应用模型下实现相关的功能。 应当理解的是, 对本领域普通技术人员来说, 可以根据上述说明加以改 进或变换,而所有这些改进和变换都应属于本发明所附权利要求的保护范围。 Other system resources used in the IPTV service include timers and semaphores. When IPTV service management needs to periodically monitor the running of the service, a timer needs to be used, and the timing processing itself also takes up the processing time of the CPU. To protect the data, Data access operations use semaphore protection. In actual use, the method of the present invention is applied to a broadband access device, and the related functions can be conveniently implemented under several multicast or IPTV application models. It is to be understood that those skilled in the art can make modifications and changes in accordance with the above description, and all such modifications and changes are intended to be included within the scope of the appended claims.

Claims

权 利 要 求 书 一种通讯网元实现组番业务和网络电视业务的系统, 其特征在于, 所 述通讯网元包括组播业务模块和 IPTV业务模块; 所述组播业务模块用于实现组播协议报文及数据的转发; 所述 IPTV 业务模块用于 IPTV 业务管理和用户鉴权, 当所述 IPTV 业务模块被设置为非鉴权模式时, 仅启动所述组播业务模块工 作; 当所述 IPTV业务模块被设置为鉴 4又模式时, 启动所述 IPTV业务 模块和所述组播业务模块相互作交换地工作。 根据权利要求 1 所述的系统, 其特征在于, 所述系统还包括: 组播业 务开关, 用于启动或关闭所述组播业务模块; IPTV业务开关, 用于启 动或关闭所述 IPTV业务模块。 根据权利要求 1 所述的系统, 其特征在于, 所述 IPTV业务模块还包 括组 ·!备节目管理单元、 用户; f又限管理单元和日志管理单元: 所述组播节目管理单元用于管理组播节目; 所述用户 4又限管理单元用于管理用户权限; 以及 所述日志管理单元用于管理日志。 根据权利要求 1 至 3任一项所述的系统, 其特征在于, 所述通讯网元 是接人网网元。 一种通讯网元实现组播业务和网络电视业务的方法, 其特征在于, 包 括步骤: A system for a communication network element to implement a group service and a network television service, wherein the communication network element includes a multicast service module and an IPTV service module; and the multicast service module is configured to implement a multicast protocol message. The IPTV service module is used for IPTV service management and user authentication. When the IPTV service module is set to the non-authentication mode, only the multicast service module is activated; when the IPTV service is used. When the module is set to the mode 4, the IPTV service module and the multicast service module are activated to work in exchange. The system according to claim 1, wherein the system further comprises: a multicast service switch, configured to enable or disable the multicast service module; and an IPTV service switch, configured to start or shut down the IPTV service module . The system according to claim 1, wherein the IPTV service module further comprises a group preparation program management unit, a user; a f-limited management unit and a log management unit: the multicast program management unit is configured to manage a multicast program; the user 4 is limited to a management unit for managing user rights; and the log management unit is configured to manage logs. The system according to any one of claims 1 to 3, wherein the communication network element is an access network element. A method for a communication network element to implement a multicast service and a network television service, characterized in that it comprises the steps of:
Al、 启动组 ·ί番业务; Al, start-up group
Α2、 选择 IPTV业务模式; Α 2. Select the IPTV business model;
A3、 所述 IPTV业务模式是鉴权模式, 则使用所述组播业务启动 IPTV业务, 创建 IPTV业务的相关任务, 提供 IPTV业务服务; A4、 所述 IPTV业务模式是非鉴权模式, 则关闭 IPTV业务, 停 止 IPTV业务并释放 IPTV业务所占用的系统资源。 A3. The IPTV service mode is an authentication mode, and the IPTV service is started by using the multicast service, and a related task of the IPTV service is created, and an IPTV service is provided. A4. The IPTV service mode is a non-authentication mode, and the IPTV service is shut down, the IPTV service is stopped, and the system resources occupied by the IPTV service are released.
6. 根据权利要求 5所述的方法,其特征在于,步骤 A3中,所述提供 IPTV 业务服务, 具体包括: 管理 IPTV业务和对用户进行鉴权。 The method according to claim 5, wherein in the step A3, the providing the IPTV service comprises: managing the IPTV service and authenticating the user.
7. 居权利要求 6所述的方法,其特征在于,步骤 A3中,所述管理 IPTV 业务, 具体包括: 管理组播节目、 用户权限和日志。 The method of claim 6, wherein in the step A3, the managing the IPTV service specifically includes: managing the multicast program, user rights, and logs.
8. 根据权利要求 5所述的方法,其特征在于,步骤 A3中,所述创建 IPTV 业务的相关任务, 具体包括: 初始化数据结构、 加栽 IPTV 业务相关 配置数据、 创建定时器、 通知组播业务模块重新配置部分相关数据或 做相关数据的一致性检查和处理。 The method according to claim 5, wherein in step A3, the task of creating an IPTV service specifically includes: initializing a data structure, adding configuration data related to the IPTV service, creating a timer, and notifying the multicast. The business module reconfigures some of the relevant data or performs consistency check and processing of related data.
9. 根据权利要求 5所述的方法,其特征在于,步骤 A4中,所述释放 IPTV 业务所占用的系统资源, 具体包括: 释放 IPTV 业务所占用定时器和 信号量。 The method according to claim 5, wherein, in step A4, the releasing the system resources occupied by the IPTV service comprises: releasing a timer and a semaphore occupied by the IPTV service.
10. 根据权利要求 5所述的方法,其特征在于,步骤 A4中,所述释放 IPTV 业务所占用的系统资源, 具体包括步骤: 清除 IPTV 业务相关数据; 删除 IPTV业务相关任务。 The method according to claim 5, wherein in step A4, the releasing the system resources occupied by the IPTV service comprises: deleting IPTV service related data; and deleting the IPTV service related task.
1 1. 根据权利要求 5所述的方法, 其特征在于, 步骤 A3具体包括以下至 少一种操作: 组播业务在收到用户加入 /离开请求时进行 IPTV 业务的用户鉴 权, 并根据鉴权结果决定接收或拒绝用户请求; 组播业务收到组播加入请求时, 对请求的合法性进行检查; 若检 查通过, 则调用 IPTV 业务的鉴 f又; 如果鉴权失败, 则拒绝该请求, 如果鉴权通过, 则继续组播业务后面的流程, 设置硬件组播转发表; 以及 IPTV 业务在由组播业务触发鉴权时, 对用户的相关信息进行记 录; 组播业务收到组播离开请求时, 通知 IPTV业务, 然后继续组播 业务的处理流程, 若满足离开条件, 则在硬件组播转发表中删除相应 转发条目。 对 IPTV 业务模块而言, 收到用户离开通知后, 对相关的 用户记录信息进行处理; 组 4番业务确定用户需要离开组播组时, 先通知 IPTV业务; 然后 继续组播业务的处理流程, 若满足离开条件, 则在硬件组播转发表中 删除相应转发条目, 所述 IPTV 业务通知后, 对相关的用户记录信息 进行处理; 当 IPTV业务^ r查到已加入组播组的用户不再满足加入条件, 则 强制该用户离开; IPTV业务在记录用户信息和生成日志的同时, 还通 知组播业务; 组播业务收到该通知后从硬件转发表中删除相应条目。 1 . The method according to claim 5, wherein the step A3 specifically includes the following at least one operation: the multicast service performs user authentication of the IPTV service when receiving the user join/leave request, and according to the authentication The result determines whether to receive or reject the user request; when the multicast service receives the multicast join request, it checks the legality of the request; if the check passes, the authentication of the IPTV service is invoked; if the authentication fails, the request is rejected. If the authentication succeeds, the process following the multicast service is continued, and the hardware multicast forwarding table is set; and the IPTV service records the related information of the user when the multicast service triggers the authentication; the multicast service receives the multicast leaving request. The IPTV service is notified, and then the processing flow of the multicast service is continued. If the leaving condition is met, the corresponding forwarding entry is deleted in the hardware multicast forwarding table. For the IPTV service module, after receiving the user leaving notification, the related user record information is processed; The group 4 service determines that the user needs to leave the multicast group, first notifies the IPTV service; then continues the processing process of the multicast service, and if the leaving condition is met, the corresponding forwarding entry is deleted in the hardware multicast forwarding table, the IPTV service notification After the IPTV service detects that the user who has joined the multicast group no longer satisfies the joining condition, the user is forcibly removed; the IPTV service records the user information and generates the log, The multicast service is notified; after receiving the notification, the multicast service deletes the corresponding entry from the hardware forwarding table.
PCT/CN2007/003752 2007-09-11 2007-12-24 System and method for implementing multicast service and internet protocol television (iptv) service by the communication network cell WO2009033341A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2007100769786A CN101123522B (en) 2007-09-11 2007-09-11 A system and method for communication element to realize multicast service and network TV service
CN200710076978.6 2007-09-11

Publications (1)

Publication Number Publication Date
WO2009033341A1 true WO2009033341A1 (en) 2009-03-19

Family

ID=39085710

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/003752 WO2009033341A1 (en) 2007-09-11 2007-12-24 System and method for implementing multicast service and internet protocol television (iptv) service by the communication network cell

Country Status (2)

Country Link
CN (1) CN101123522B (en)
WO (1) WO2009033341A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480365B (en) * 2010-11-26 2014-01-08 中国科学院声学研究所 System and method for realizing unified multicast
CN103281232B (en) * 2013-05-30 2018-05-01 上海斐讯数据通信技术有限公司 A kind of implementation method of the upper travelling across VLAN multicast of broadband cat

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725692A (en) * 2005-04-30 2006-01-25 杭州华为三康技术有限公司 Method and system for providing LAN access user with network TV service
CN1881888A (en) * 2006-04-30 2006-12-20 国家数字交换系统工程技术研究中心 Multicast controlling method and system
KR20070055166A (en) * 2005-11-25 2007-05-30 한국전자통신연구원 Homegateway and its method for providing multicast traffic control function

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725692A (en) * 2005-04-30 2006-01-25 杭州华为三康技术有限公司 Method and system for providing LAN access user with network TV service
KR20070055166A (en) * 2005-11-25 2007-05-30 한국전자통신연구원 Homegateway and its method for providing multicast traffic control function
CN1881888A (en) * 2006-04-30 2006-12-20 国家数字交换系统工程技术研究中心 Multicast controlling method and system

Also Published As

Publication number Publication date
CN101123522B (en) 2010-06-23
CN101123522A (en) 2008-02-13

Similar Documents

Publication Publication Date Title
US8451713B2 (en) Special marker message for link aggregation marker protocol
US8412982B2 (en) Fault tolerant routing in a non-hot-standby configuration of a network routing system
US7046680B1 (en) Network access system including a programmable access device having distributed service control
US7272652B1 (en) Facilitating accelerated processing of internet group management protocol messages
US20060251106A1 (en) Distribution-tuning mechanism for link aggregation group management
WO2005091562A1 (en) A method for realizing the multicast service
WO2005119968A1 (en) A method for transmitting the policy information between the network devices
JP2004515181A (en) External processor for distributed network access systems
JP2004515182A (en) Message, control and reporting interface for distributed network access systems
US20060227711A1 (en) Purge mechanism in link aggregation group management
WO2009049503A1 (en) Method and device for automatically discovering network topology and managing resource in pbb te network
US9100214B1 (en) Performing customer bandwidth profiling in computer networks
WO2009152702A1 (en) Flow control method, system and bearer layer equipment thereof
WO2011079607A1 (en) Method and apparatus for implementing anti-transferring of media access control address of switch port
US7646713B1 (en) Method and access node configured for providing intelligent cross connection functionality
WO2009033341A1 (en) System and method for implementing multicast service and internet protocol television (iptv) service by the communication network cell
WO2011026345A1 (en) Deep packet inspection system and packet processing method
WO2013097122A1 (en) Service channel bandwidth management method, relevant device and system in access network
JP2010252253A (en) Communication rate setting apparatus, method of controlling the same, content filtering system, communication rate setting apparatus control program, and computer readable recording medium
WO2007019757A1 (en) A communication system and method based on forwarding and control element separation
WO2007033612A1 (en) A system and a method for resource controlling of the access network
WO2018113633A1 (en) Packet forwarding method, packet forwarding controller, bras, and computer storage medium
CN110032472A (en) A kind of method for restarting and device of application program
JP3656194B2 (en) Authentication protocol processing method, computer terminal, authentication protocol processing program, and recording medium
CN110445639B (en) Hot standby method and device for server

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

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

Country of ref document: EP

Kind code of ref document: A1