CN101931787B - Method, device and system for controlling multicast program - Google Patents
Method, device and system for controlling multicast program Download PDFInfo
- Publication number
- CN101931787B CN101931787B CN 200910108529 CN200910108529A CN101931787B CN 101931787 B CN101931787 B CN 101931787B CN 200910108529 CN200910108529 CN 200910108529 CN 200910108529 A CN200910108529 A CN 200910108529A CN 101931787 B CN101931787 B CN 101931787B
- Authority
- CN
- China
- Prior art keywords
- multicast
- stb
- access device
- program
- user
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域 technical field
本发明涉及通信系统,尤其涉及一种组播节目的控制方法、装置和系统。 The present invention relates to a communication system, in particular to a method, device and system for controlling multicast programs. the
背景技术 Background technique
组播技术实现网络中点到多点的高效数据传输,采用组播技术,源端服务器只需要向骨干网传送一份组播数据报文,组播数据报文经骨干网传送到与用户直接相连的接入设备,在接入设备向不同的用户传送时才会被复制多份,可见组播技术大大减少了数据传输过程中网络带宽的占用,有效的降低了骨干网和源端服务器之间的负载,降低了骨干网出现数据拥塞的概率,是最为适合的点到多点的通信业务支撑技术。 Multicast technology realizes efficient data transmission from point to multipoint in the network. Using multicast technology, the source server only needs to transmit a multicast data message to the backbone network, and the multicast data message is transmitted to the user directly through the backbone network. The connected access devices will be copied multiple times when the access devices transmit to different users. It can be seen that the multicast technology greatly reduces the network bandwidth occupation during data transmission, and effectively reduces the distance between the backbone network and the source server. It reduces the probability of data congestion in the backbone network and is the most suitable point-to-multipoint communication service support technology. the
IPTV(Internet Protocol Television)就是利用组播技术来实现的一种视频点播业务,IPTV用户通过机顶盒STB(Set Top Box)来点播视频节目,对IPTV用户可观看的节目可以不进行控制,也可以进行控制。在IP数字用户线接入复用器DSLAM(Digital Subscriber Line Access Multiplexer)上对IPTV用户的标识是配置的组播用户,该组播用户对应一个家庭,并且能够基于组播用户配置节目权限。 IPTV (Internet Protocol Television) is a video-on-demand service realized by using multicast technology. IPTV users order video programs through a set-top box STB (Set Top Box). control. On the IP Digital Subscriber Line Access Multiplexer DSLAM (Digital Subscriber Line Access Multiplexer), the identification of the IPTV user is the configured multicast user, which corresponds to a family, and the program authority can be configured based on the multicast user. the
当同一个家庭存在多个STB,即一个网关设备下连接多个STB,如果多个STB具有相同的节目权限,IP DSLAM上只需要为该家庭建立一个组播用户,并且为该组播用户配置节目权限,该家庭的多个STB都可以点播该组播用户有权观看的节目,并且具有相同的权限。 When there are multiple STBs in the same family, that is, multiple STBs are connected to one gateway device, if multiple STBs have the same program rights, only one multicast user needs to be established for the family on the IP DSLAM, and the multicast user configuration Program rights, multiple STBs in the family can order programs that the multicast user is entitled to watch, and have the same rights. the
如果要求多个STB具有不同的节目权限,现有的处理方式是用户网关RG(Resident Gateway)设备根据不同的端口添加不同的802.1Q TAG,IP DSLAM基于802.1Q TAG创建组播用户,为组播用户设置节目权限,这样,只要是这个端口下的STB,无论是哪个STB其节目权限是一样的,更换STB节目权限不会发生变化。 If multiple STBs are required to have different program permissions, the existing processing method is that the user gateway RG (Resident Gateway) device adds different 802.1Q TAGs according to different ports, and the IP DSLAM creates multicast users based on the 802.1Q TAGs. The user sets the program authority, so as long as it is an STB under this port, no matter which STB it is, its program authority is the same, and the program authority will not change when the STB is replaced. the
发明内容 Contents of the invention
本发明实施例提供一种组播节目的控制方法、装置和系统,用于实现节目权限和STB本身的绑定,从而对STB本身的节目权限进行控制。 Embodiments of the present invention provide a method, device and system for controlling a multicast program, which are used to realize the binding of the program authority and the STB itself, so as to control the program authority of the STB itself. the
本发明一个实施例提供一种组播节目的控制方法,包括步骤: An embodiment of the present invention provides a control method for a multicast program, comprising steps:
接入设备接收来自机顶盒STB的组播加入请求,所述组播加入请求中包含所述STB的STB标记; The access device receives a multicast join request from a set-top box STB, and the multicast join request includes the STB mark of the STB;
所述接入设备根据所述组播加入请求识别所述STB所属的组播用户,获取所述STB所属的组播用户的标识信息,根据所述组播用户的标识信息和所述STB标记查询所述接入设备上保存的组播用户的标识信息和STB与组播节目列表的对应关系,获取所述STB所能观看的组播节目,从而对所述STB的组播节目进行控制,其中,所述组播用户关联多个STB,所述组播用户的标识信息包括接入设备上的端口的端口标识和802.1Q TAG。 The access device identifies the multicast user to which the STB belongs according to the multicast join request, acquires the identification information of the multicast user to which the STB belongs, and queries according to the identification information of the multicast user and the STB mark The identification information of the multicast user stored on the access device and the corresponding relationship between the STB and the multicast program list obtain the multicast programs that the STB can watch, so as to control the multicast programs of the STB, wherein , the multicast user is associated with multiple STBs, and the identification information of the multicast user includes the port identification and 802.1Q TAG of the port on the access device. the
本发明一个实施例提供一种组播节目的控制方法,包括: An embodiment of the present invention provides a method for controlling multicast programs, including:
接入设备接收来自STB的组播加入请求,所述组播加入请求中包含所述STB的STB标记; The access device receives a multicast join request from the STB, and the multicast join request includes the STB mark of the STB;
所述接入设备根据所述组播加入请求识别所述STB对应的组播用户,获取所述STB对应的组播用户的标识信息,根据所述组播用户的标识信息查询保存的组播用户的标识信息与组播节目列表的对应关系,获取所述STB所能观看的组播节目,从而对所述STB的组播节目进行控制,其中,所述组播用户的标识信息包括接入设备上的端口的端口标识、802.1Q TAG和STB标记,或者包括接入设备上的端口的端口标识和STB标记。 The access device identifies the multicast user corresponding to the STB according to the multicast join request, acquires the identification information of the multicast user corresponding to the STB, and queries the saved multicast user according to the identification information of the multicast user The corresponding relationship between the identification information of the multicast user and the multicast program list, and obtain the multicast program that the STB can watch, so as to control the multicast program of the STB, wherein the identification information of the multicast user includes the access device The port identification, 802.1Q TAG and STB mark of the port on the device, or the port identification and STB mark of the port on the access device. the
本发明一个实施例提供一种接入设备,包括: An embodiment of the present invention provides an access device, including:
节目权限管理单元,用于管理机顶盒STB的节目权限,包括存储组播用户的标识信息和STB标记与组播节目列表的对应关系; Program rights management unit, used to manage the program rights of the set-top box STB, including storing the identification information of the multicast user and the corresponding relationship between the STB mark and the multicast program list;
组播协议报文处理单元,接收来自STB的组播加入请求,所述组播加入请求包含STB标记; The multicast protocol message processing unit receives a multicast join request from the STB, and the multicast join request includes an STB mark;
控制单元,根据组播协议报文处理单元收到的组播加入请求获得所述STB标记并确定所述STB所属的组播用户,根据所述STB标记及所述STB所属的组播用户的标识信息查询节目权限管理单元存储的组播用户的标识信息和STB标记与组播节目列表的对应关系,获取所述STB的节目权限,从而对所述STB 的组播节目进行控制,其中,所述组播用户的标识信息包括接入设备上的端口的端口标识和802.1Q TAG,或者包括接入设备上的端口的端口标识、802.1QTAG和STB标记。 The control unit obtains the STB mark according to the multicast join request received by the multicast protocol message processing unit and determines the multicast user to which the STB belongs, and according to the STB mark and the identity of the multicast user to which the STB belongs The information query program authority management unit stores the identification information of the multicast user and the corresponding relationship between the STB mark and the multicast program list, and obtains the program authority of the STB, thereby controlling the multicast program of the STB, wherein the The identification information of the multicast user includes the port identification and 802.1Q TAG of the port on the access device, or includes the port identification, 802.1QTAG and STB label of the port on the access device. the
本发明一个实施例提供一种组播节目的控制系统,包括接入设备、网关设备和STB,接入设备通过网关设备与所述STB相连, An embodiment of the present invention provides a control system for multicast programs, including an access device, a gateway device and an STB, the access device is connected to the STB through the gateway device,
STB,用以发送组播加入请求,所述组播加入请求包含STB标记; STB, in order to send multicast join request, described multicast join request comprises STB mark;
所述网关设备,用以转发所述STB与所述接入设备之间的报文; The gateway device is used to forward the message between the STB and the access device;
接入设备,用以接收所述组播加入请求,根据所述组播加入请求获得所述STB标记并确定所述STB所属的组播用户,根据所述STB标记及所述STB所属的组播用户的标识信息查询组播用户的标识信息和STB标记与组播节目列表的对应关系,获取所述STB的节目权限,从而对所述STB的组播节目进行控制,其中,所述组播用户的标识信息包括接入设备上的端口的端口标识和802.1QTAG,或者包括接入设备上的端口的端口标识、802.1Q TAG和STB标记。 An access device, configured to receive the multicast join request, obtain the STB mark according to the multicast join request and determine the multicast user to which the STB belongs, and obtain the STB mark according to the STB mark and the multicast user to which the STB belongs The identification information of the user queries the identification information of the multicast user and the corresponding relationship between the STB mark and the multicast program list, and obtains the program authority of the STB, thereby controlling the multicast program of the STB, wherein the multicast user The identification information includes the port identification and 802.1QTAG of the port on the access device, or includes the port identification, 802.1Q TAG and STB label of the port on the access device. the
本发明实施例所提供的控制STB节目的方法、装置和系统具有如下技术效果:在一个家庭拥有多个STB的情况下,各个STB具有不同的节目权限,在设置这些STB的节目权限时,将节目权限和STB自身进行绑定,这样,无论这个STB连接在这个家庭的哪个端口上,所能观看的节目都是固定,不会随着端口的改变而改变。 The method, device and system for controlling STB programs provided by the embodiments of the present invention have the following technical effects: in the case that a family has multiple STBs, each STB has different program rights, and when setting the program rights of these STBs, the The program rights are bound with the STB itself, so that no matter which port the STB is connected to in the family, the programs that can be watched are fixed and will not change with the port. the
附图说明Description of drawings
图1为本发明实施例提供的实现STB组播节目的系统架构的示意图; Fig. 1 is the schematic diagram of the system architecture that realizes STB multicast program that the embodiment of the present invention provides;
图2为本发明实施例提供的STB的组播节目的控制方法第一实施例流程图; Fig. 2 is the flow chart of the first embodiment of the control method of the STB multicast program that the embodiment of the present invention provides;
图3为本发明实施例提供的STB的组播节目的控制方法第二实施例流程图; Fig. 3 is the flow chart of the second embodiment of the control method of the multicast program of STB that the embodiment of the present invention provides;
图4为本发明实施例提供的接入设备的结构示意图; Fig. 4 is a schematic structural diagram of an access device provided by an embodiment of the present invention;
图5为本发明实施例提供的STB的组播节目的控制系统的示意图。 FIG. 5 is a schematic diagram of an STB multicast program control system provided by an embodiment of the present invention. the
具体实施例specific embodiment
为了使本发明实施例的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. the
在整个说明书和权利要求书中,除非另外明确规定,下列术语依次表示以下含义: Throughout the specification and claims, unless otherwise expressly specified, the following terms have the following meanings in turn:
组播通道:用于承载组播相关信息的通道,拥有标识信息。 Multicast channel: a channel used to carry multicast-related information, with identification information. the
组播用户:接入设备将组播通道的使用者当作组播用户,拥有标识信息,拥有的标识信息可以是对应的组播通道的标识信息的部分或全部。 Multicast user: The access device regards the user of the multicast channel as a multicast user and has identification information, which may be part or all of the identification information of the corresponding multicast channel. the
端口标识:可以用端口在设备上所属的框、槽、端口对应的框号、槽位号和端口号来表示。 Port ID: It can be represented by the frame, slot, and frame number, slot number, and port number corresponding to the port on the device. the
图1所示为实现组播的系统架构示意图,在该图中,接入设备100位于局端,网关设备110和两个STB属于一个家庭,网关设备110与接入设备100上的端口1相连接。网关设备110分别通过端口2和端口3连接两个STB,本领域普通技术人员应该理解,一个家庭可以拥有多个STB,其中,
FIG. 1 is a schematic diagram of a system architecture for multicasting. In this figure, the
网管系统120用于设置STB的节目权限,并将STB的节目权限下发给接入设备100。
The
IPTV服务器130用于根据接入设备100的请求下发包含相应组播节目的组播节目流。
The
接入设备100作为网关设备110和位于上层网络的上层网络设备的中间设备,用于转发网关设备和上层网络设备之间的报文以及进行接入网内部协议与上层网络协议的转换。
The
网关设备110用于转发STB和接入设备100之间的报文。
The
本发明一个实施例提供一种STB的组播节目的控制方法,所提供的方法能在一个家庭拥有至少一个STB的情况下,将STB的节目权限与STB本身进行绑定,从而使得无论将一个STB接到该家庭的网关设备上的哪个端口,其所能观看的组播节目是固定的。本实施例中以一个家庭拥有两个STB作为举例,当拥有多个STB时,对多个STB的组播节目的控制方法与本实施例中拥有两个STB时所使用的方法类似。 An embodiment of the present invention provides a method for controlling STB multicast programs. The method provided can bind the STB program authority with the STB itself when a family owns at least one STB, so that no matter whether a Which port on the gateway device of the family the STB is connected to, the multicast programs it can watch are fixed. In this embodiment, a family has two STBs as an example. When there are multiple STBs, the method for controlling the multicast program of multiple STBs is similar to the method used when there are two STBs in this embodiment. the
由于STB发送的组播加入请求中携带有STB标记,因此,对STB的组播节目进行控制可以包括两种方法:为一个家庭创建一个组播通道,该家庭的STB都通过该通道发送和接收组播相关的信息,由于接入设备将组播通道的使用者当作组播用户,因此,该家庭的多个STB同属于一个组播用户,在这种情况下,设置节目权限为组播用户的标识信息和STB标记与组播节目列表的对应关系,其中,组播用户的标识信息为对应组播通道的标识信息中的一部分。当接入设备100收到STB的组播加入请求后,识别STB所属的组播用户,结合组播用户的标识信息和STB标记可以获取STB的节目权限;也可以在创建组播通道的时候为该家庭的每个STB都创建一个组播通道,这样,接入设备将每个STB都当作一个组播用户,设置节目权限为组播用户的标识信息和组播节目列表的对应关系,在收到组播加入请求后,获取组播用户的标识信息,根据设置的节目权限下发相应的组播 节目流,下面分别介绍这两种实施方式。
Since the multicast join request sent by the STB carries the STB mark, there are two ways to control the multicast program of the STB: Create a multicast channel for a family, and the STBs of the family all send and receive through this channel For multicast-related information, since the access device regards the user of the multicast channel as a multicast user, multiple STBs in this family belong to the same multicast user. In this case, set the program permission to multicast The corresponding relationship between the identification information of the user and the STB mark and the multicast program list, wherein the identification information of the multicast user is a part of the identification information of the corresponding multicast channel. After the
实施方式一 Implementation mode one
接入设备为每个家庭创建一个组播通道,将该家庭的多个STB当作一个组播用户来看待,收到STB发送的组播加入请求后,识别STB所属的组播用户,根据所属的组播用户的标识信息和STB标记获取STB对应的节目权限,具体包括步骤: The access device creates a multicast channel for each family, and treats multiple STBs in the family as a multicast user. After receiving the multicast join request sent by the STB, it identifies the multicast user to which the STB belongs. The identification information of the multicast user and the STB mark obtain the program authority corresponding to the STB, specifically including the steps:
步骤200,接入设备为每个家庭创建一个组播通道。
接入设备100创建与网关设备110之间的组播通道,所创建的组播通道用于承载组播相关信息,如组播加入请求、组播业务流等组播相关信息。具体的,接入设备100根据接入设备100上的端口的端口标识、802.1Q TAG创建接入设备100和网管设备110之间的组播通道,关于具体如何创建组播通道,本领域普通技术人员都应知悉。其中,802.1Q TAG用于标识不同家庭的网关设备,图1中,端口1的标识信息以及与网关设备110对应的802.1Q TAG可以标识使用接入设备100和网关设备110之间的组播通道的组播用户,接入设备100保存组播通道的标识信息。
The
步骤205,接入设备设置STB的节目权限为组播用户的标识信息和STB标记与组播节目列表的对应关系。
In
接入设备100请求网管系统120下发STB的节目权限,节目权限为组播用户的标识信息和STB标记与组播节目列表的对应关系,STB的节目权限也可以由网管系统120配置好自发的下发给接入设备100,其中,组播用户的标识信息包括接入设备100上的端口的端口标识、802.1Q TAG。
The
STB标记可以是STB的IP地址、STB的MAC地址、STB的认证用户名、STB帐号和其他扩展信息中的至少一种。本实施例中STB标记以STB的IP地址作为举例,运营商在发放STB时会对STB的IP地址进行设置,对发放的STB的IP地址进行登记。在操作时,可以在发放STB时对一个家庭的不同STB设置固定的静态IP地址,也可以在发放的时候不固定设置,而是要求STB在上线的时候启动一个PPPOE会话,到上层进行认证,通过事先发放的STB的帐号来动态设置STB的IP地址。STB的IP地址设置后,STB发出的组播加入请求的源IP地址就是STB自身的IP地址,其中,组播加入请求可以是现有的IGMP报文。 The STB mark may be at least one of the IP address of the STB, the MAC address of the STB, the authentication user name of the STB, the account number of the STB and other extended information. In this embodiment, the STB mark takes the IP address of the STB as an example, and the operator sets the IP address of the STB when issuing the STB, and registers the IP address of the STB to be issued. In operation, you can set fixed static IP addresses for different STBs of a family when issuing STBs, or you can not set them fixedly when issuing STBs, but require STBs to start a PPPOE session when they go online, and authenticate to the upper layer. The IP address of the STB is dynamically set through the STB account issued in advance. After the IP address of the STB is set, the source IP address of the multicast join request sent by the STB is the IP address of the STB itself, wherein the multicast join request may be an existing IGMP message. the
步骤210,STB发送包含STB标记的组播加入请求。
In
STB通过网关设备110向接入设备100发送组播加入请求,组播加入请求中包含STB的IP地址以及STB请求加入的组播节目。
The STB sends a multicast join request to the
步骤215,网关设备将STB发送的组播加入请求转发给接入设备。
网关设备110收到STB发起的组播加入请求后,判断该组播加入请求中是否包含802.1Q TAG,如果组播加入请求中已经包含了802.1Q TAG,网关设备110则将该组播加入请求直接转发给接入设备100;否则,网关设备110在组播加入请求中添加与网关设备110对应的802.1Q TAG,将包含802.1Q TAG的组播加入请求发送给接入设备100,其中,802.1Q TAG包含以太帧类型、虚拟局域网VLANID以及帧优先级等信息。
After the
步骤220,接入设备根据组播加入请求获取STB的节目权限。
In
接入设备100收到网关设备110转发的组播加入请求后,获取承载组播加入请求的组播通道的标识信息,具体可以是获取接入设备100上接收组播加入请求的端口的端口标识以及组播加入请求中的802.1Q TAG。根据获取的组播通道的标识信息获取组播用户的标识信息,提取组播加入请求中的STB标记,组播用户的标识信息包括端口标识和802.1Q TAG,根据组播用户的标识信息和STB标记查找接入设备100上保存的STB的节目权限,从而判断该STB是否有观看所请求的组播节目的权限。
After receiving the multicast join request forwarded by the
步骤225,接入设备将包含组播节目的组播业务流发送给网关设备。
接入设备100可以在鉴权通过后,接收IPTV服务器130下发的该组播节目对应的组播业务流,通过查找接入设备100上的转发表,选择相应的组播通道将组播业务流下发给相应的网关设备。如果在该STB发送该组播加入请求之前接入设备100上已经建立了接入设备100和IPTV服务器之间的该组播节目的组播通道(简称上层组播通道),接入设备100在该STB发送该组播加入请求之后不需要再向IPTV服务器请求相同的组播节目,直接从已经建立的上层组播通道中将该组播节目对应的组播业务流发送给该STB。其中,该上层组播通道可以是预先配置的,可以是在每次鉴权请求该组播节目时建立,也可以是接入设备发现第一次请求该组播节目时建立,关于如何建立上层组播通道,本领域普通技术人员都应知悉。
After passing the authentication, the
步骤230,网关设备将包含组播节目的组播业务流转发给相应的STB。 Step 230, the gateway device forwards the multicast service flow including the multicast program to the corresponding STB. the
网关设备110收到接入设备100下发的组播业务流后,将组播业务流发送给对应的STB。
After receiving the multicast service flow delivered by the
实施方式二 Implementation mode two
接入设备为一个家庭的每个STB都创建一个组播通道,这样,该家庭就有多个组播用户,分别对应该家庭的STB,收到STB发送的组播加入请求后,识别STB所属的组播用户,根据所属的组播用户的标识信息获取STB对应的节目权限,具体包括步骤: The access device creates a multicast channel for each STB of a family. In this way, the family has multiple multicast users corresponding to the STBs of the family. After receiving the multicast join request sent by the STB, it identifies the STB to which the STB belongs. multicast user, according to the identification information of the multicast user to which he belongs, obtains the program authority corresponding to the STB, which specifically includes the following steps:
步骤300,接入设备为一个家庭的每个STB都创建一个组播通道。
接入设备100基于接入设备100上的端口的端口标识、802.1Q TAG和STB标记、或者接入设备100上的端口的端口标识和STB标记创建接入设备100和STB之间的组播通道,图1中,接入设备100基于端口1的端口标识、与网关设备110对应的802.1Q TAG以及STB标记创建接入设备100和网关设备110连接的STB之间的组播通道,这样,接入设备100为该家庭创建两个组播通道,接入设备将该家庭的两个STB当作组播用户,接入设备100保存组播通道的标识信息。
The
步骤305,接入设备设置STB的节目权限为组播用户的标识信息与组播节目列表的对应关系。
In
接入设备100请求网管系统120下发STB的节目权限,节目权限可以为组播用户的标识信息与组播节目列表的对应关系,STB的节目权限也可以由网管系统120配置好自发的下发给接入设备100,其中,组播用户的标识信息包括接入设备100上的端口的端口标识、802.1Q TAG和STB标识。
The
步骤310,STB发送包含STB标记的组播加入请求。
In
STB通过网关设备110向接入设备100发送组播加入请求,组播加入请求中包含STB的IP地址以及STB请求加入的组播节目。
The STB sends a multicast join request to the
步骤315,网关设备将STB发送的组播加入请求转发给接入设备。
网关设备110收到STB发起的组播加入请求后,判断该组播加入请求中是否包含802.1Q TAG,如果组播加入请求中已经包含了802.1Q TAG,网关设备110则将该组播加入请求直接转发给接入设备100;否则,网关设备110在组播加入请求中添加与网关设备110对应的802.1Q TAG,将包含802.1Q TAG的组播加入请 求发送给接入设备100,其中,802.1Q TAG包含以太帧类型、虚拟局域网VLANID以及帧优先级等信息。
After the
步骤320,接入设备根据组播加入请求获取STB的节目权限。
In
接入设备100收到网关设备110转发的组播加入请求后,获取承载组播加入请求的组播通道的标识信息,具体可以是获取接入设备100上接收组播加入请求的端口的端口标识以及组播加入请求中的802.1Q TAG和STB标记,或者是获取接入设备100上接收组播加入请求的端口的端口标识以及组播加入请求中的STB标记。根据获取的组播通道的标识信息获取组播用户的标识信息,组播用户的标识信息包括端口标识、802.1Q TAG和STB标记,根据组播用户的标识信息查找接入设备100上保存的STB的节目权限,从而判断该STB是否有观看所请求的组播节目的权限。
After receiving the multicast join request forwarded by the
步骤325,接入设备将包含组播节目的组播业务流发送给网关设备。
接入设备100可以在鉴权通过后,接收IPTV服务器130下发的该组播节目对应的组播业务流,通过查找接入设备100上的转发表,选择相应的组播通道将组播业务流下发给相应的网关设备。
After passing the authentication, the
步骤330,网关设备将包含组播节目的组播业务流转发给相应的STB。
网关设备110收到接入设备100下发的组播业务流后,将组播业务流发送给对应的STB。
After receiving the multicast service flow delivered by the
本实施例提供的STB的组播节目的控制方法,在一个家庭有多个STB时,通过STB标记对该家庭的多个STB进行区分,为不同的STB设置相应的节目权限,从而将节目权限与STB本身进行绑定,这样,即使将一个STB从该家庭网关设备的一个端口接到另外一个端口上,该STB所能观看的节目也是固定的,不会随着STB所连接的端口的变化而变化。 The STB multicast program control method provided by this embodiment, when there are multiple STBs in a family, the multiple STBs of the family are distinguished by the STB mark, and the corresponding program rights are set for different STBs, so that the program rights Bind with the STB itself, so that even if an STB is connected from one port of the home gateway device to another port, the programs that the STB can watch are fixed and will not change with the port to which the STB is connected And change. the
本实施例一个实施例提供一种接入设备,如图4所示,包括:节目权限管理单元401、控制单元403、组播协议报文处理单元405、组播转发单元407和业务创建单元409,其中, An embodiment of this embodiment provides an access device, as shown in FIG. 4 , including: a program rights management unit 401, a control unit 403, a multicast protocol packet processing unit 405, a multicast forwarding unit 407, and a service creation unit 409 ,in,
节目权限管理单元401,用于管理STB的节目权限,具体包括:存储组播用户的标识信息和STB标记与组播节目列表的对应关系,其中,组播用户的标识信息包括:接入设备上端口的端口标识和802.1Q TAG。其中,节目权限管理 单元401可以通过与网管系统的接口向网管系统发送请求消息,请求网管下发STB的节目权限,并通过与网管系统的接口接收网管下发的STB的节目权限,节目权限可以是组播用户的标识信息和STB标记与组播节目列表的对应关系。 The program authority management unit 401 is used to manage the program authority of the STB, specifically including: storing the identification information of the multicast user and the corresponding relationship between the STB mark and the multicast program list, wherein the identification information of the multicast user includes: The port ID and 802.1Q TAG of the port. Wherein, the program authority management unit 401 can send a request message to the network management system through the interface with the network management system, requesting the network management to issue the STB program authority, and receive the STB program authority issued by the network management system through the interface with the network management system. The program authority can be is the correspondence between the identification information of the multicast user, the STB mark and the list of multicast programs. the
组播协议报文处理单元405,用于监听和解析组播协议报文,并记录相关信息。例如,组播协议报文处理单元405监听STB发起的组播加入请求。 The multicast protocol packet processing unit 405 is configured to monitor and analyze multicast protocol packets, and record relevant information. For example, the multicast protocol packet processing unit 405 monitors the multicast join request initiated by the STB. the
控制单元403,用于获取组播协议报文处理单元405收到的组播加入请求中的STB标记,确定发送组播加入请求的STB所属的组播用户,根据组播用户的标识信息和STB标记查询节目权限管理单元401中的组播用户的标识信息和STB标记与组播节目列表的对应关系,获取发送所述组播加入请求的STB能观看的组播节目列表,根据获得的组播节目列表判定该STB是否有观看请求的组播节目的权限,如果为是,则判断在该STB发送该组播加入请求之前接入设备是否已经建立了接入设备和IPTV服务器之间的该组播节目的组播通道,如果为是,则通知组播转发单元407下发与组播节目对应的组播业务流下发给STB,如果该STB发送该组播加入请求之前接入设备还未建立接入设备和IPTV服务器之间的该组播节目的组播通道,则通知业务创建单元409建立接入设备和上层网络设备之间的组播通道。 The control unit 403 is configured to obtain the STB mark in the multicast join request received by the multicast protocol packet processing unit 405, determine the multicast user to which the STB that sends the multicast join request belongs, and determine the multicast user according to the identification information of the multicast user and the STB Mark the corresponding relationship between the identification information of the multicast user and the STB mark in the program rights management unit 401 and the STB mark and the multicast program list, obtain the multicast program list that can be watched by the STB that sends the multicast join request, according to the obtained multicast The program list determines whether the STB has the authority to watch the requested multicast program, and if so, determines whether the access device has established the group connection between the access device and the IPTV server before the STB sends the multicast join request. The multicast channel of the broadcast program, if yes, then notify the multicast forwarding unit 407 to send the multicast service flow corresponding to the multicast program to the STB, if the access device has not been established before the STB sends the multicast join request For the multicast channel of the multicast program between the access device and the IPTV server, notify the service creation unit 409 to establish a multicast channel between the access device and the upper-layer network device. the
组播转发单元407,配置有组播转发表,用于根据组播转发表转发组播业务流。其中,组播转发单元407将服务器下发的该组播节目对应的组播业务流通过该STB的组播通道转发给STB。 The multicast forwarding unit 407 is configured with a multicast forwarding table, and is used to forward the multicast service flow according to the multicast forwarding table. Wherein, the multicast forwarding unit 407 forwards the multicast service flow corresponding to the multicast program delivered by the server to the STB through the multicast channel of the STB. the
业务创建单元409,用于创建接入设备和网关设备之间的组播通道以及接入设备和上层网络设备之间的组播通道。 The service creation unit 409 is configured to create a multicast channel between the access device and the gateway device, and a multicast channel between the access device and the upper-layer network device. the
业务创建单元409在创建接入设备和网关设备之间的组播通道可以包括两种方式,一种方式是基于接入设备上的端口的端口标识和802.1Q TAG,另外一种方式是基于基于接入设备上的端口的端口标识、802.1Q TAG和STB标记、或者接入设备上的端口的端口标识和STB标记,关于如何创建接入设备和网关设备之间的组播通道,本领域普通技术人员都应知悉。 The service creation unit 409 can include two ways in creating the multicast channel between the access device and the gateway device, one way is based on the port identification and 802.1Q TAG of the port on the access device, and the other way is based on the The port identification, 802.1Q TAG and STB mark of the port on the access device, or the port identification and STB mark of the port on the access device, how to create a multicast channel between the access device and the gateway device is common in the art Technicians should be aware. the
业务创建单元409还用于根据控制单元403的命令创建了接入设备和上层网络设备之间的组播通道后通知组播转发单元407将组播业务流转发给STB。 The service creation unit 409 is also configured to notify the multicast forwarding unit 407 to forward the multicast service flow to the STB after creating the multicast channel between the access device and the upper-layer network device according to the command of the control unit 403 . the
本实施例提供的接入设备通过区分STB,将节目权限与STB进行绑定,这样, 当一个家庭拥有多个STB时,通过组播加入请求中的STB标记来区分具体是哪一个STB发出的组播加入请求,从而选择与该STB对应的节目权限,来对STB能观看的组播节目进行控制。 The access device provided in this embodiment binds the program authority to the STB by distinguishing STBs, so that when a family has multiple STBs, it is distinguished which STB is sent by the STB mark in the multicast join request The multicast join request is used to select the program authority corresponding to the STB to control the multicast programs that the STB can watch. the
本发明一个实施例提供一种STB的组播节目的控制系统,如图5所示,包括接入设备500、网关设备510和STB520,
An embodiment of the present invention provides a control system for a STB multicast program, as shown in Figure 5, including an
其中, in,
STB520,用于向接入设备500发送组播加入请求,组播加入请求中包含STB510的STB标记。
The STB520 is configured to send a multicast join request to the
网关设备510,用于转发STB520和接入设备500之间的报文,包括将STB520的组播加入请求转发给接入设备500。
The
接入设备500,用于接收来自STB510的组播加入请求,获取承载组播加入请求的组播通道的标识信息以及组播加入请求中的STB标记,根据组播通道的标识信息获取组播用户的标识信息,根据获取的组播用户的标识信息和STB标记查询接入设备500上保存的STB的节目权限,从而获取STB能观看的组播节目。
The
接入设备500还用于根据接入设备500上的端口的端口标识、802.1Q TAG创建和网关设备510之间的组播通道,请求上层网络设备(图5中未示出,可以是网管设备等)下发STB的节目权限,节目权限为组播用户的标识信息和STB与组播节目列表的对应关系,其中,组播用户的标识信息包括接入设备500上的端口的端口标识和802.1Q TAG。
The
接入设备也可以根据接入设备500上的端口的端口标识、802.1Q TAG和STB标记,或者根据接入设备500上的端口的端口标识和STB标记创建和STB520之间的组播通道,请求上层网络设备下发STB的节目权限,节目权限为组播用户的标识信息与组播节目列表的对应关系,其中,组播用户的标识信息包括接入设备500上的端口的端口标识、802.1Q TAG和STB标记或者包括接入设备500上的端口的端口标识和STB标记。接入设备500在收到来自STB510的组播加入请求后,获取承载组播加入请求的组播通道的标识信息,根据组播通道的标识信息获取组播用户的标识信息,根据获取的组播用户的标识信息查询接入设备500上保存的STB的节目权限,从而获取STB能观看的组播节目。
The access device can also create a multicast channel with the STB520 according to the port identification, 802.1Q TAG and STB label of the port on the
本实施例提供的STB的组播节目的控制系统,通过对STB进行区分,选择对 应的节目权限对STB的节目进行控制,能保证系统中的STB的节目权限和STB本身进行绑定,每个STB的节目权限都是固定的,当一个STB从一个家庭的接入设备的一个端口接到另一个端口上后,STB的权限不会发生变化。 The control system of the STB multicast program provided by this embodiment can ensure that the program authority of the STB in the system is bound to the STB itself by distinguishing the STB and selecting the corresponding program authority to control the STB program. The program rights of each STB are fixed, and when an STB is connected to another port from one port of a family's access device, the rights of the STB will not change. the
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range. the
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910108529 CN101931787B (en) | 2009-06-25 | 2009-06-25 | Method, device and system for controlling multicast program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910108529 CN101931787B (en) | 2009-06-25 | 2009-06-25 | Method, device and system for controlling multicast program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101931787A CN101931787A (en) | 2010-12-29 |
CN101931787B true CN101931787B (en) | 2013-06-26 |
Family
ID=43370672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910108529 Active CN101931787B (en) | 2009-06-25 | 2009-06-25 | Method, device and system for controlling multicast program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101931787B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102905199B (en) * | 2012-09-28 | 2015-11-25 | 杭州华三通信技术有限公司 | A kind of multicast service realizing method and equipment thereof |
CN108235066A (en) * | 2016-12-15 | 2018-06-29 | 深圳市优朋普乐传媒发展有限公司 | A kind of programme method of combination and system |
CN107018133A (en) * | 2017-03-30 | 2017-08-04 | 刘金江 | The Radio Data System and its method of a kind of IP based network |
CN115549935B (en) * | 2021-06-30 | 2025-03-21 | 展讯半导体(南京)有限公司 | Multicast group access control method and device, readable storage medium, and gateway |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1716902A (en) * | 2004-06-28 | 2006-01-04 | 华为技术有限公司 | Realization Method of Fast Switching of Multicast Channels |
CN1881888A (en) * | 2006-04-30 | 2006-12-20 | 国家数字交换系统工程技术研究中心 | Multicast controlling method and system |
CN101207473A (en) * | 2006-12-18 | 2008-06-25 | 中兴通讯股份有限公司 | Method for multicast implementation of switch-in layer network in IPTV system |
CN101207474A (en) * | 2006-12-18 | 2008-06-25 | 中兴通讯股份有限公司 | Method for multicast implementation of switch-in layer network in IPTV system |
-
2009
- 2009-06-25 CN CN 200910108529 patent/CN101931787B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1716902A (en) * | 2004-06-28 | 2006-01-04 | 华为技术有限公司 | Realization Method of Fast Switching of Multicast Channels |
CN1881888A (en) * | 2006-04-30 | 2006-12-20 | 国家数字交换系统工程技术研究中心 | Multicast controlling method and system |
CN101207473A (en) * | 2006-12-18 | 2008-06-25 | 中兴通讯股份有限公司 | Method for multicast implementation of switch-in layer network in IPTV system |
CN101207474A (en) * | 2006-12-18 | 2008-06-25 | 中兴通讯股份有限公司 | Method for multicast implementation of switch-in layer network in IPTV system |
Also Published As
Publication number | Publication date |
---|---|
CN101931787A (en) | 2010-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100842284B1 (en) | System and method for providing IP service in next generation network | |
EP1715628B1 (en) | A method for realizing the multicast service | |
CN100435515C (en) | System and method for translating requests between different multicast protocols in a communication network | |
US8369246B2 (en) | Method and apparatus for sending and receiving multicast packets on a multicast tree | |
US8320293B2 (en) | Method and apparatus for controlling uplink multicast service | |
US8254385B2 (en) | Internet protocol multicast content delivery | |
CN101656872B (en) | Method and system for reducing time delay of switching channels of network TV | |
CN101453350B (en) | Implementing method for controllable multicast service | |
US20040098448A1 (en) | Data distribution system | |
CN101282460A (en) | Method, device and system for realizing live video broadcasting | |
JP2015510301A (en) | System and method for combining multiple communication links | |
WO2009021460A1 (en) | Method for reporting implement result of policy, network communication system and equipment | |
WO2012062163A1 (en) | Method and system for dynamically adjusting media content in video conference | |
EP2755351B1 (en) | Method and system for processing multicast services | |
CN101931787B (en) | Method, device and system for controlling multicast program | |
KR101346983B1 (en) | Apparatus and method for transmiting video stream | |
US8437350B2 (en) | Access control for an IP access network to multicast traffic | |
CN104054303B (en) | Gateway suitable for VOD | |
CN102474445A (en) | A method, a terminal, an access node and a media server for providing resource admission control of digital media streams | |
JP2010183506A (en) | Multicast communication system, routing apparatus, authentication server device, routing apparatus program, authentication server device program, and routing method and authentication method | |
KR100748091B1 (en) | Apparatus and method of providing internet broadcasting service | |
KR20220090671A (en) | A system and method for providing a hybrids IP-TV service | |
CN103379088A (en) | System and method of providing live programs across domains | |
WO2013152489A1 (en) | System and method for providing live program across domains |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |