WO2011017897A1 - Media recommendation method, media control method and user gateway - Google Patents

Media recommendation method, media control method and user gateway Download PDF

Info

Publication number
WO2011017897A1
WO2011017897A1 PCT/CN2009/076133 CN2009076133W WO2011017897A1 WO 2011017897 A1 WO2011017897 A1 WO 2011017897A1 CN 2009076133 W CN2009076133 W CN 2009076133W WO 2011017897 A1 WO2011017897 A1 WO 2011017897A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
terminal
user gateway
control
media recommendation
Prior art date
Application number
PCT/CN2009/076133
Other languages
French (fr)
Chinese (zh)
Inventor
阳彦字
王东
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011017897A1 publication Critical patent/WO2011017897A1/en

Links

Classifications

    • 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/25891Management of end-user data being end-user preferences
    • 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/254Management at additional data server, e.g. shopping server, rights management server
    • 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/25808Management of client data
    • H04N21/25816Management of client data involving client 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1033Signalling gateways
    • H04L65/1036Signalling gateways at the edge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method for media recommendation and media control in an interactive Internet Protocol Television (IPTV).
  • IPTV Internet Protocol Television
  • the IPTV service can provide users with a variety of multimedia services, including live broadcast, on-demand broadcast and other program formats.
  • multimedia services including live broadcast, on-demand broadcast and other program formats.
  • the same service can be displayed on multiple terminals at the same time and will become the basic business form.
  • media recommendation and media switching are more common application modes.
  • the most common media switching scenarios are: When a user watches a program, the program is switched from one terminal device to another for some reason. For the user to have a better quality of experience, this switching needs to be a seamless handover, which ensures the continuity of the service during the handover process.
  • the proportion of such business switching within the home is relatively high.
  • the user directly switches an IPTV set-top box and an on-demand program watched on the TV to a mobile device such as a mobile phone to continue watching.
  • the media switching between any two devices requires the participation of the IPTV system side.
  • the disadvantages of this technology include: (1) the IPTV system side participates in the handover, increasing the network load on the system side; (2) the IPTV system Side-to-side handover may cause service delays and affect business continuity.
  • the media user gateway such as home gateway, set-top box, enterprise gateway, enterprise media gateway
  • each terminal establishes a separate media connection with the external network media server. Will greatly waste network resources.
  • the technical problem to be solved by the present invention is to provide a media recommendation method, a media control method, and a user gateway, which save network resources.
  • the present invention provides a media recommendation method, including: a media recommendation initiation terminal receiving a service data flow from an interactive network television system through a user gateway; The media recommendation initiating terminal sends a media recommendation request message to the user gateway, where the media recommendation request message includes identifier information indicating one or more destination terminals that belong to the user gateway;
  • the user gateway After receiving the media recommendation request message, the user gateway sends the service data stream to the destination terminal.
  • the step of transmitting the service data flow to the destination terminal includes:
  • the service data flow is separately unicasted to the destination terminal;
  • the user gateway determines that the number of the destination terminals indicated in the media recommendation request message is greater than or equal to a threshold set by the system, the user equipment performs multicast transmission to the destination terminal and the media recommendation initiating terminal. .
  • the identifier information included in the media recommendation request message is an identifier of an destination terminal or an identity identifier IP address or other parameter indicating a destination terminal.
  • the method before the step of the gateway transmitting the service data to the destination terminal, the method further includes:
  • the user gateway establishes a media connection with each destination terminal.
  • the present invention further provides a media control method, including: a media recommendation initiating terminal receiving a service data stream from an interactive network television system through a user gateway;
  • the media recommendation initiating terminal sends a media recommendation request message to the user gateway, where the media recommendation request message includes identifier information of one or more destination terminals that belong to the user gateway;
  • the user gateway After receiving the media recommendation request message, the user gateway sends the service data stream to the destination terminal.
  • the user gateway grants control to one or more terminals in the terminal that receives the service data stream Authority
  • the terminal having the control authority sends a play control command to the user gateway, and the user gateway requests the play control from the system side according to the control command, so that the same play control is performed on each terminal that receives the service data stream.
  • the step of transmitting the service data flow to the destination terminal includes:
  • the service data flow is separately unicasted to the destination terminal;
  • the user gateway determines that the number of the destination terminals indicated in the media recommendation request message is greater than or equal to a threshold set by the system, the user equipment performs multicast transmission to the destination terminal and the media recommendation initiating terminal. .
  • the identifier information included in the media recommendation request message is an identifier of an destination terminal or an identity identifier IP address or other parameter indicating a destination terminal.
  • the method before the step of the gateway transmitting the service data to the destination terminal, the method further includes:
  • the user gateway establishes a media connection with each destination terminal.
  • the method further includes: before the step of the user gateway granting control permission to one or more terminals of the terminal that receives the service data flow, the method further includes:
  • the terminal receiving the service data flow sends a control authority request to the user gateway; the step of the user gateway granting control authority to one or more terminals in the terminal that receives the service data flow is:
  • the user gateway grants the control authority to the one or more terminals according to an attribute of each terminal that initiates the control authority request.
  • the play control command refers to one of the following commands: play, stop, pause, fast forward, and fast reverse.
  • the present invention further provides a user gateway, including: a connected judging module and a media stream control module;
  • the determining module is set to:
  • the media flow control module is configured to: after obtaining the identifier of the destination terminal from the determining module, send the service data stream to the destination terminal.
  • the determining module is further configured to:
  • the media flow control module is further configured to:
  • the service data flow After receiving the multicast indication of the determining module, the service data flow is multicasted to the destination terminal and the media recommendation initiating terminal.
  • the foregoing user gateway further includes a control authority granting module
  • the control authority granting module is connected to the judging module, and is configured to grant control authority to one or more terminals in the terminal that receives the service data stream;
  • the determining module is further configured to:
  • the media stream control module is further configured to: after receiving the play control command sent by the terminal with the control authority, perform unified play control on each terminal that receives the service data stream through the user gateway.
  • the control authority granting module is further configured to: receive a control authority request sent by the terminal, and grant control authority to one or more terminals according to an attribute of each terminal that initiates the control authority request.
  • the present invention also provides an interactive network television terminal, wherein the interactive network television terminal is configured to:
  • the same service data stream received by the media recommendation originating terminal is received from the user gateway.
  • the identifier information included in the media recommendation request message is an identifier of the destination terminal or an identity identifier IP address or other parameter indicating the destination terminal.
  • the media recommendation and media control method of the present invention does not require the participation of the system side device, saves network resources, and enriches the use mode of the user, and is beneficial to the user.
  • Figure 1 is a structural diagram of a system for completing media recommendation and media control
  • FIG. 2 is a structural diagram of a structure of a user gateway in an embodiment
  • FIG. 3 is a flow chart of a media recommendation method in an embodiment
  • FIG. 4 is a flow chart of a media control method in an embodiment.
  • the system for completing media recommendation and media control includes a terminal (including a media recommendation originating terminal and a destination terminal), a user gateway, and an IPTV system, where the IPTV system includes a service controller (also referred to as a network controller). ), IPTV service controller, media server;
  • IP Multimedia Subsystem IMS
  • IPTV service controller responsible for logic control function of IPTV service, is the main part of IPTV service control, all IPTV services are in it Under the control of;
  • the media server is a major component of the Content Delivery Network (CDN) in the IPTV system. It provides media services for terminal devices, including media control and media delivery.
  • CDN Content Delivery Network
  • the control functions of the media server are different in different standards, and the name and structure are different.
  • the media function corresponds to content delivery and storage, and further includes: CDN (master) controller or CDN Control function (Content Delivery
  • CDNC/CDNMC/CDNCF corresponding to MF (media function) in TISPAN, corresponding to CC (cluster control) and CDF (media service function) in OIPF standard.
  • the media recommendation initiating terminal is configured to establish a service path with the interactive network television (IPTV) system through the user gateway (the process of establishing the service path includes signaling interaction with the service controller, the IPTV service controller, and the media server, and the process is standard a process, which is not described herein again, and receives a service data flow through the service path; and is further configured to send a media recommendation request message to the user gateway, where the media recommendation request message indicates that one or more of the user gateways belong to the same
  • the destination terminal is further configured to receive and play the service data stream of the multicast mode when the user gateway sends the service data stream in a multicast manner.
  • the terminal is an IPTV terminal, and may be a set-top box or a packet assembler/disassembler (PAD).
  • the user gateway includes a connected judging module and a media stream control module, and a control authority granting module connected to the judging module.
  • the user gateway may be a home gateway, or may be a home gateway and other media device combination. If the latter, the home gateway is responsible for the network level connection, the media device is responsible for responding to the media request of the terminal, and the user gateway has a unicast transfer. Multicast capability and ability to handle multicast correlation protocols.
  • a judging module configured to receive a media recommendation request message sent by the media recommendation initiating terminal, and determine Whether the destination terminal indicated in the media recommendation request message belongs to the user gateway, and notifying the media flow control module of the identifier of the destination terminal that belongs to the user gateway, and sending the media recommendation request message to the control authority granting module;
  • the method is further configured to determine whether the number of the destination terminals indicated in the media recommendation request message is smaller than a threshold set by the system, and if yes, send a unicast indication to the media flow control module, otherwise, send a multicast indication to the media flow control module; And being used to receive the play control command sent by the terminal with the control authority, and then forwarded to the media stream control module;
  • a media stream control module configured to send the service data stream to the destination terminal after the identifier of the destination terminal is obtained by the determining module, and specifically, after receiving the unicast indication of the determining module, the service data is sent The unicast transmission is performed to the destination terminal respectively.
  • the service data stream is sent to the destination terminal and the media recommendation initiating terminal for multicast transmission.
  • the media stream control module is further configured to: after receiving the play control command sent by the terminal with the control authority, perform unified play control on each terminal that receives the service data stream by using the user gateway.
  • the control authority granting module is configured to grant control authority to one or more terminals in the terminal that receives the service data stream.
  • the media recommendation originating terminal and the destination terminal are at a user gateway (for example, a home gateway or a corporate gateway), and each terminal connects to the IPTV network through the user gateway.
  • This user gateway can handle HTTP requests, RTSP requests, and more.
  • the media recommendation method includes the following steps:
  • Step 301 The terminal performs a network attaching and device discovery process.
  • the media recommendation originating terminal, the destination terminal, and the user gateway perform a device discovery process, obtain an IP address, and attach to the network.
  • the device discovery operation may use a protocol such as Universal Plug and Play (UPnP).
  • UFP Universal Plug and Play
  • the device discovery step may be completed when the device is powered on, which is not a mandatory step when the media is recommended.
  • Step 302 The media recommendation initiating terminal passes the user gateway and the service controller in the IPTV network,
  • IPTV service controller media function and other entities establish a service channel to complete the connection of an on-demand program
  • This step is a normal on-demand program creation process, and the media connected to the user gateway.
  • the network and its control channel enable Network Address Translation (NAT) and Application Layer Gateway (ALG) functions to save the correspondence between the IP address and port number of the terminal in the gateway.
  • NAT Network Address Translation
  • ALG Application Layer Gateway
  • Step 303 The media recommendation initiating terminal performs media recommendation to other terminals.
  • This step specifically includes the following:
  • Step 303a The media recommendation initiating terminal initiates a media recommendation request message to the user gateway, where the media recommendation request message indicates one or more destination terminals that belong to the user gateway; the media recommendation request message may carry each destination terminal. Identification or IP address or other parameter that indicates the destination terminal.
  • Step 303b The user gateway parses the identifier or IP address of each destination terminal from the media recommendation request message, and sends a media recommendation request message to each target terminal.
  • Step 303c After receiving the media recommendation request message, the destination terminal returns a confirmation message to the user gateway.
  • Step 303d The user gateway receives an acknowledgement message from the destination terminal, and establishes a media connection with each destination terminal.
  • step 303e the user gateway determines whether the unicast-to-multicast function is enabled. If the number of the destination terminals is less than the threshold set by the system (for example, the threshold is 3), the user gateway determines to use the unicast transmission mode, and performs step 304; When the number of the system is greater than the threshold set by the system, the user gateway determines to use the multicast sending mode, and performs step 305;
  • step 304 the service data flow on the service connection of the media recommendation originating terminal is separately sent to the destination terminal for unicast transmission; the process ends.
  • Step 305 The user gateway constructs a multicast group, where the multicast group includes a media recommendation originating terminal and each destination terminal.
  • Step 305a The user gateway enables the multicast function, and notifies the media recommendation originating terminal and each destination terminal of the multicast information.
  • Step 305b The media recommendation initiating terminal and each destination terminal return an acknowledgement message to the user gateway, and join the multicast group.
  • the process of establishing a multicast group in step 305 is an existing standard process, and is not described here.
  • Step 306 The user gateway changes the sending method of the service data flow between the media function from the IPTV system and the media recommendation initiating terminal from the unicast mode to the multicast mode;
  • Step 307 The user gateway sends the service data flow to the media recommendation originating terminal and the destination terminal for multicast transmission, and the process ends.
  • multiple terminal devices share a media connection from the outside, which greatly saves external network resources; and any user exit does not affect the viewing of other users, which is very convenient to implement;
  • the user's terminal device participates, is not controlled by the system side, reduces network load; any user can control media playback shared by multiple users.
  • the method of the present invention involves the following two situations: the operator allows the user gateway in the present invention to perform the unicast operation of one terminal to the multicast operation of multiple terminals; or, the operator performs the program content on the program. Encryption, when multiple terminals that can simultaneously accept the multicast data of the user gateway need to be in the same copyright domain, the above method can be implemented; but neither of these cases affects the smooth implementation of the above method.
  • the present invention also provides a media control method based on further operations after completion of the above media recommendation method.
  • the media control method includes the following steps:
  • Step 401 The media recommendation method is used by the user gateway to send the same service data flow (in unicast mode or multicast mode) to the media recommendation originating terminal and the destination terminal.
  • Step 402 The user gateway grants control authority to one or more terminals in the terminal that receives the service data stream.
  • This step includes:
  • Step 402a The media recommendation initiating terminal initiates a control permission request to the user gateway; the request may be initiated in an HTTP POST manner;
  • Step 402b The user gateway returns a confirmation request to the media recommendation originating terminal, and grants the media recommendation to initiate the terminal control authority.
  • the user gateway saves the policy set by the system, that is, the terminal that sets part type or attribute has the right to perform media playback control, and the user gateway judges the terminal's control request according to the policy, that is, whether the terminal has the right to perform media playback control, of course.
  • This policy can also be set to have the right to each user. Take control.
  • the user gateway may perform comparison according to the attributes of each terminal.
  • Step 403 The terminal having the control authority sends a play control instruction to the user gateway; the play control command may be one of the following commands: play, stop, pause, fast forward, rewind.
  • Step 403a When the terminal having the control authority sends the playback control command in the manner of HTTP POST, the playback control instruction is encapsulated in the HTTP POST field.
  • the playback control command is sent in the RTSP manner, the RTSP command is directly sent, for example, the playback command is RTSP. Play instructions.
  • Step 403b the gateway processes the control request and replies to the acknowledgement message
  • Step 404 The user gateway determines, according to the control authority or the control logic maintained by itself, whether to send the control command to the media service function; the user gateway sends the control command to the media server, requests the media service, and implements media play control;
  • the user gateway sends the control command to the IPTV system side media server, and the media server controls the media play according to the received control command.
  • the specific control method has been standardized, and will not be described here.
  • Step 405 The user gateway performs the same playback control on each terminal that receives the service data flow according to the control instruction, and the process ends.
  • the media control method can perform unified control operations on each terminal that receives the service data stream, especially in the application of the home gateway, which is beneficial to the user.
  • the present invention is suitable for an application scene in which a plurality of terminal devices view the same program through the same user gateway.
  • the media recommendation and media control method of the present invention does not require the participation of the system side device, saves network resources, and enriches the use mode of the user, and is beneficial to the user.

Abstract

A media recommendation method, a media control method and a user gateway are provided by the invention. The user gateway comprises: a judgment module and a media stream control module which are connected. The judgment module is used for receiving the media recommendation request message sent by the media recommendation initiating terminal, judging if the target terminals indicated in the media recommendation request message belong to the user gateway, and notifying the identifications of the target terminals which belong to the user gateway to the media stream control module. The media stream control module is used for sending the service data stream to the target terminals after obtaining the identifications of the target terminals from the judgment module. The media recommendation and media control method of the invention do not need the participation of the equipments on the system side, therefore the network resource is saved and the use modes of the users are enriched.

Description

一种媒体推荐方法与媒体控制方法及用户网关  Media recommendation method and media control method and user gateway
技术领域 Technical field
本发明涉及通信技术领域, 尤其涉及交互式网络电视 ( Internet Protocol Television, 简称 IPTV ) 中媒体推荐与媒体控制的方法。  The present invention relates to the field of communications technologies, and in particular, to a method for media recommendation and media control in an interactive Internet Protocol Television (IPTV).
背景技术 Background technique
IPTV业务能为用户提供多种多媒体业务, 包括直播、 点播等节目形式。 随着 "三屏合一" 甚至 "三网合一" 的发展趋势, 同一种业务可以同时在多 种终端上显示将成为基本的业务形式。 "三屏合一" 业务中, 媒体推荐和媒 体切换是比较常用的应用模式。 最常用的媒体切换场景为: 用户在观看一个 节目时, 由于某种原因要将该节目从一个终端设备上直接切换到另一个终端 设备上。 为了用户较好的体验质量, 这种切换需要是一种无缝切换, 切换过 程中能保证业务的连续性。 家庭内部发生这种业务切换的比例比较高, 如用 户将 IPTV机顶盒和电视上观看的某个点播节目直接切换到手机等移动设备 上继续观看。现有技术中,任何两个设备之间的媒体切换都需要 IPTV系统侧 参与, 这种技术的缺点包括: (l ) IPTV 系统侧参与切换, 增加了系统侧的 网络负荷; (2 ) IPTV 系统侧参与切换, 可能会导致业务延迟, 影响业务连 续性。 另一方面, 当多个终端设备通过同一个媒体用户网关 (如家庭网关、 机顶盒、 企业网关、 企业媒体网关)观看相同节目时, 如果每个终端都与外 网媒体服务器建立一个单独的媒体连接, 将大大的浪费网络资源。  The IPTV service can provide users with a variety of multimedia services, including live broadcast, on-demand broadcast and other program formats. With the development trend of "three screens in one" or even "three networks in one", the same service can be displayed on multiple terminals at the same time and will become the basic business form. In the "three screens in one" business, media recommendation and media switching are more common application modes. The most common media switching scenarios are: When a user watches a program, the program is switched from one terminal device to another for some reason. For the user to have a better quality of experience, this switching needs to be a seamless handover, which ensures the continuity of the service during the handover process. The proportion of such business switching within the home is relatively high. For example, the user directly switches an IPTV set-top box and an on-demand program watched on the TV to a mobile device such as a mobile phone to continue watching. In the prior art, the media switching between any two devices requires the participation of the IPTV system side. The disadvantages of this technology include: (1) the IPTV system side participates in the handover, increasing the network load on the system side; (2) the IPTV system Side-to-side handover may cause service delays and affect business continuity. On the other hand, when multiple terminal devices view the same program through the same media user gateway (such as home gateway, set-top box, enterprise gateway, enterprise media gateway), if each terminal establishes a separate media connection with the external network media server. Will greatly waste network resources.
发明内容 Summary of the invention
本发明要解决的技术问题是提供一种媒体推荐方法与媒体控制方法及用 户网关, 节省网络资源。  The technical problem to be solved by the present invention is to provide a media recommendation method, a media control method, and a user gateway, which save network resources.
为了解决上述问题, 本发明提供了一种媒体推荐方法, 其包括: 媒体推荐发起终端通过用户网关从交互式网络电视系统接收业务数据 流; 所述媒体推荐发起终端向所述用户网关发送媒体推荐请求消息, 其中, 在所述媒体推荐请求消息中包含指示一个或多个同属于所述用户网关的目的 终端的标识信息; 以及 In order to solve the above problem, the present invention provides a media recommendation method, including: a media recommendation initiation terminal receiving a service data flow from an interactive network television system through a user gateway; The media recommendation initiating terminal sends a media recommendation request message to the user gateway, where the media recommendation request message includes identifier information indicating one or more destination terminals that belong to the user gateway;
所述用户网关接收所述媒体推荐请求消息后, 将所述业务数据流也向所 述目的终端进行发送。  After receiving the media recommendation request message, the user gateway sends the service data stream to the destination terminal.
进一步地, 上述媒体推荐方法中, 所述用户网关接收所述媒体推荐请求 消息后, 将所述业务数据流向所述目的终端进行发送的步骤包括:  Further, in the media recommendation method, after the user gateway receives the media recommendation request message, the step of transmitting the service data flow to the destination terminal includes:
所述用户网关判断所述媒体推荐请求消息中指示的目的终端的个数小于 系统设定的门限时, 将所述业务数据流向所述目的终端分别进行单播发送; 以及  When the user gateway determines that the number of the destination terminals indicated in the media recommendation request message is less than a threshold set by the system, the service data flow is separately unicasted to the destination terminal;
所述用户网关判断所述媒体推荐请求消息中指示的目的终端的个数大于 或等于系统设定的门限时, 将所述业务数据流向所述目的终端以及所述媒体 推荐发起终端进行组播发送。  When the user gateway determines that the number of the destination terminals indicated in the media recommendation request message is greater than or equal to a threshold set by the system, the user equipment performs multicast transmission to the destination terminal and the media recommendation initiating terminal. .
进一步地, 上述媒体推荐方法中, 所述媒体推荐请求消息中包含的所述 标识信息为各目的终端的标识或身份标识 IP地址或其他可指示出目的终端的 参数。  Further, in the media recommendation method, the identifier information included in the media recommendation request message is an identifier of an destination terminal or an identity identifier IP address or other parameter indicating a destination terminal.
进一步地, 上述媒体推荐方法中, 所述网关将所述业务数据流向所述目 的终端进行发送的步骤之前, 所述方法还包括:  Further, in the media recommendation method, before the step of the gateway transmitting the service data to the destination terminal, the method further includes:
所述用户网关与各目的终端建立媒体连接。  The user gateway establishes a media connection with each destination terminal.
为了解决上述技术问题, 本发明还提供了一种媒体控制方法, 其包括: 媒体推荐发起终端通过用户网关从交互式网络电视系统接收业务数据 流;  In order to solve the above technical problem, the present invention further provides a media control method, including: a media recommendation initiating terminal receiving a service data stream from an interactive network television system through a user gateway;
所述媒体推荐发起终端向所述用户网关发送媒体推荐请求消息, 其中, 在所述媒体推荐请求消息中包含一个或多个同属于所述用户网关的目的终端 的标识信息;  The media recommendation initiating terminal sends a media recommendation request message to the user gateway, where the media recommendation request message includes identifier information of one or more destination terminals that belong to the user gateway;
所述用户网关接收所述媒体推荐请求消息后, 将所述业务数据流也向所 述目的终端进行发送;  After receiving the media recommendation request message, the user gateway sends the service data stream to the destination terminal.
所述用户网关向接收所述业务数据流的终端中的一个或多个终端授予控 制权限; 以及 The user gateway grants control to one or more terminals in the terminal that receives the service data stream Authority; and
具有控制权限的终端向所述用户网关发送播放控制指令, 所述用户网关 根据此控制指令向系统侧请求播放控制, 从而实现对接收所述业务数据流的 各终端进行相同的播放控制。  The terminal having the control authority sends a play control command to the user gateway, and the user gateway requests the play control from the system side according to the control command, so that the same play control is performed on each terminal that receives the service data stream.
进一步地, 上述媒体控制方法中, 所述用户网关接收所述媒体推荐请求 消息后, 将所述业务数据流向所述目的终端进行发送的步骤包括:  Further, in the media control method, after the user gateway receives the media recommendation request message, the step of transmitting the service data flow to the destination terminal includes:
所述用户网关判断所述媒体推荐请求消息中指示的目的终端的个数小于 系统设定的门限时, 将所述业务数据流向所述目的终端分别进行单播发送; 以及  When the user gateway determines that the number of the destination terminals indicated in the media recommendation request message is less than a threshold set by the system, the service data flow is separately unicasted to the destination terminal;
所述用户网关判断所述媒体推荐请求消息中指示的目的终端的个数大于 或等于系统设定的门限时, 将所述业务数据流向所述目的终端以及所述媒体 推荐发起终端进行组播发送。  When the user gateway determines that the number of the destination terminals indicated in the media recommendation request message is greater than or equal to a threshold set by the system, the user equipment performs multicast transmission to the destination terminal and the media recommendation initiating terminal. .
进一步地, 上述媒体控制方法中, 所述媒体推荐请求消息中包含的所述 标识信息为各目的终端的标识或身份标识 IP地址或其他可指示出目的终端的 参数。  Further, in the media control method, the identifier information included in the media recommendation request message is an identifier of an destination terminal or an identity identifier IP address or other parameter indicating a destination terminal.
进一步地, 上述媒体控制方法中, 所述网关将所述业务数据流向所述目 的终端进行发送的步骤之前, 所述方法还包括:  Further, in the foregoing media control method, before the step of the gateway transmitting the service data to the destination terminal, the method further includes:
所述用户网关与各目的终端建立媒体连接。  The user gateway establishes a media connection with each destination terminal.
进一步地, 上述媒体控制方法中,  Further, in the above media control method,
所述用户网关向接收所述业务数据流的终端中的一个或多个终端授予控 制权限的步骤之前, 所述方法还包括:  The method further includes: before the step of the user gateway granting control permission to one or more terminals of the terminal that receives the service data flow, the method further includes:
接收所述业务数据流的终端向所述用户网关发送控制权限请求; 所述用户网关向接收所述业务数据流的终端中的一个或多个终端授予控 制权限的步骤为:  The terminal receiving the service data flow sends a control authority request to the user gateway; the step of the user gateway granting control authority to one or more terminals in the terminal that receives the service data flow is:
所述用户网关根据发起控制权限请求的各终端的属性向所述一个或多个 终端授予所述控制权限。  The user gateway grants the control authority to the one or more terminals according to an attribute of each terminal that initiates the control authority request.
进一步地, 上述媒体控制方法中, 所述播放控制指令是指以下命令中的一种: 播放、 停止, 暂停、 快进和 快退。 Further, in the above media control method, The play control command refers to one of the following commands: play, stop, pause, fast forward, and fast reverse.
为了解决上述技术问题, 本发明还提供了一种用户网关, 其包括: 相连 的判断模块和媒体流控制模块; 其中,  In order to solve the above technical problem, the present invention further provides a user gateway, including: a connected judging module and a media stream control module;
所述判断模块设置为:  The determining module is set to:
接收媒体推荐发起终端发送的媒体推荐请求消息; 以及  Receiving a media recommendation request message sent by the receiving media; and
判断所述媒体推荐请求消息中指示的目的终端是否属于此用户网 关, 并将属于所述用户网关的目的终端的标识通知至所述媒体流控制模 块;  Determining whether the destination terminal indicated in the media recommendation request message belongs to the user gateway, and notifying the identifier of the destination terminal that belongs to the user gateway to the media stream control module;
所述媒体流控制模块设置为: 从所述判断模块获知目的终端的标识后, 将所述业务数据流也向所述目的终端进行发送。  The media flow control module is configured to: after obtaining the identifier of the destination terminal from the determining module, send the service data stream to the destination terminal.
进一步地, 上述用户网关中,  Further, in the above user gateway,
所述判断模块还设置为:  The determining module is further configured to:
判断所述媒体推荐请求消息中指示的目的终端的个数是否小于系统 设定的门限, 如果是, 向所述媒体流控制模块发送单播指示, 否则, 向 所述媒体流控制模块发送组播指示;  Determining whether the number of the destination terminals indicated in the media recommendation request message is smaller than a threshold set by the system, and if yes, sending a unicast indication to the media flow control module, otherwise, sending the multicast to the media flow control module Instruction
所述媒体流控制模块还设置为:  The media flow control module is further configured to:
收到所述判断模块的单播指示后, 将所述业务数据流向所述目的终 端分别进行单播发送; 以及  After receiving the unicast indication of the determining module, separately transmitting the service data stream to the destination terminal; and
收到所述判断模块的组播指示后, 将所述业务数据流向所述目的终 端以及所述媒体推荐发起终端进行组播发送。  After receiving the multicast indication of the determining module, the service data flow is multicasted to the destination terminal and the media recommendation initiating terminal.
进一步地, 上述用户网关还包括控制权限授予模块; 其中,  Further, the foregoing user gateway further includes a control authority granting module;
所述控制权限授予模块与所述判断模块相连, 并设置为向接收所述业务 数据流的终端中一个或多个终端授予控制权限;  The control authority granting module is connected to the judging module, and is configured to grant control authority to one or more terminals in the terminal that receives the service data stream;
所述判断模块还设置为:  The determining module is further configured to:
将所述媒体推荐请求消息发送至所述控制权限授予模块; 以及 收到具有控制权限的终端发送的播放控制指令后转发至所述媒体流 控制模块; Sending the media recommendation request message to the control authority granting module; and forwarding the playback control command sent by the terminal with the control authority to the media stream Control module
所述媒体流控制模块还设置为: 收到具有控制权限的终端发送的播放控 制指令后, 对通过所述用户网关接收所述业务数据流的各终端进行统一播放 控制。  The media stream control module is further configured to: after receiving the play control command sent by the terminal with the control authority, perform unified play control on each terminal that receives the service data stream through the user gateway.
进一步地, 上述用户网关中,  Further, in the above user gateway,
所述控制权限授予模块还设置为: 接收终端发送的控制权限请求, 并根 据发起控制权限请求的各终端的属性向一个或多个终端授予控制权限。  The control authority granting module is further configured to: receive a control authority request sent by the terminal, and grant control authority to one or more terminals according to an attribute of each terminal that initiates the control authority request.
为了解决上述技术问题, 本发明还提供了一种交互式网络电视终端, 所 述交互式网络电视终端设置为:  In order to solve the above technical problem, the present invention also provides an interactive network television terminal, wherein the interactive network television terminal is configured to:
在作为媒体推荐发起终端时, 向用户网关发送媒体推荐请求消息, 其中, 在所述媒体推荐请求消息中包含指示一个或多个同属于所述用户网关的目的 终端的标识信息; 以及  And sending, by the media recommendation requesting terminal, a media recommendation request message to the user gateway, where the media recommendation request message includes identifier information indicating one or more destination terminals that belong to the user gateway;
在作为目的终端时, 从所述用户网关接收与媒体推荐发起终端接收到的 相同的业务数据流。  When acting as the destination terminal, the same service data stream received by the media recommendation originating terminal is received from the user gateway.
进一步地, 上述网络电视终端中, 所述媒体推荐请求消息中包含的所述 标识信息为各目的终端的标识或身份标识 IP地址或其他可指示出目的终端的 参数。  Further, in the network television terminal, the identifier information included in the media recommendation request message is an identifier of the destination terminal or an identity identifier IP address or other parameter indicating the destination terminal.
本发明的媒体推荐与媒体控制的方法无需系统侧设备参与, 节省了网络 资源, 并且丰富了用户的使用方式, 利于用户的使用。  The media recommendation and media control method of the present invention does not require the participation of the system side device, saves network resources, and enriches the use mode of the user, and is beneficial to the user.
附图概述 BRIEF abstract
图 1是完成媒体推荐和媒体控制的系统的结构图;  Figure 1 is a structural diagram of a system for completing media recommendation and media control;
图 2是实施例中用户网关的组成结构图;  2 is a structural diagram of a structure of a user gateway in an embodiment;
图 3是实施例中媒体推荐方法的流程图; 以及  3 is a flow chart of a media recommendation method in an embodiment;
图 4是实施例中媒体控制方法的流程图。  4 is a flow chart of a media control method in an embodiment.
本发明的较佳实施方式 如图 1所示, 完成媒体推荐和媒体控制的系统包括终端 (包括媒体推荐 发起终端和目的终端)、 用户网关和 IPTV系统, 所述 IPTV系统中包括业务 控制器(也可以称为网络控制器) 、 IPTV业务控制器、 媒体服务器; Preferred embodiment of the invention As shown in FIG. 1 , the system for completing media recommendation and media control includes a terminal (including a media recommendation originating terminal and a destination terminal), a user gateway, and an IPTV system, where the IPTV system includes a service controller (also referred to as a network controller). ), IPTV service controller, media server;
业务控制器, 用于负责 IP多媒体子系统(IMS )信令的统一控制; IPTV业务控制器, 用于负责 IPTV业务的逻辑控制功能, 是 IPTV业务 控制的主体部分, 所有的 IPTV业务都在它的控制下进行;  Service controller, responsible for unified control of IP Multimedia Subsystem (IMS) signaling; IPTV service controller, responsible for logic control function of IPTV service, is the main part of IPTV service control, all IPTV services are in it Under the control of;
媒体服务器, 是 IPTV系统中内容分发网络( Content Delivery Network, 简称 CDN )的主要组成部分, 为终端设备提供媒体服务, 包括媒体控制和媒 体交付等功能。 媒体服务器的控制功能在不同的标准中, 名称和结构有所不 同, 在 ITU-T标准中, 媒体功能对应内容分发和存储( Content Delivery and Storage ) ,进一步包括: CDN (主 )控制器或 CDN控制功能( Content Delivery  The media server is a major component of the Content Delivery Network (CDN) in the IPTV system. It provides media services for terminal devices, including media control and media delivery. The control functions of the media server are different in different standards, and the name and structure are different. In the ITU-T standard, the media function corresponds to content delivery and storage, and further includes: CDN (master) controller or CDN Control function (Content Delivery
CDNC/CDNMC/CDNCF ) , 在 TISPAN 中对应 MF (媒体功能) , 在 OIPF 标准中, 对应 CC (集群控制 )和 CDF (媒体服务功能 ) 。 CDNC/CDNMC/CDNCF), corresponding to MF (media function) in TISPAN, corresponding to CC (cluster control) and CDF (media service function) in OIPF standard.
媒体推荐发起终端, 用于通过用户网关与交互式网络电视(IPTV ) 系统 建立业务通路(建立业务通路的过程包括与业务控制器、 IPTV业务控制器、 媒体服务器的信令交互, 此过程为标准过程, 此处不再赘述) , 并通过此业 务通路接收业务数据流; 还用于向用户网关发送媒体推荐请求消息, 在所述 媒体推荐请求消息中指示一个或多个同属于所述用户网关的目的终端; 还用 于在用户网关将此业务数据流以组播方式发送时, 接收此组播方式的业务数 据流并播放。此终端作为 IPTV终端,可以是机顶盒、拆包组包设备( The packet assembler/ disassembler, 简称 PAD )等。  The media recommendation initiating terminal is configured to establish a service path with the interactive network television (IPTV) system through the user gateway (the process of establishing the service path includes signaling interaction with the service controller, the IPTV service controller, and the media server, and the process is standard a process, which is not described herein again, and receives a service data flow through the service path; and is further configured to send a media recommendation request message to the user gateway, where the media recommendation request message indicates that one or more of the user gateways belong to the same The destination terminal is further configured to receive and play the service data stream of the multicast mode when the user gateway sends the service data stream in a multicast manner. The terminal is an IPTV terminal, and may be a set-top box or a packet assembler/disassembler (PAD).
如图 2所示, 用户网关包括相连的判断模块和媒体流控制模块, 以及与 所述判断模块相连的控制权限授予模块。  As shown in FIG. 2, the user gateway includes a connected judging module and a media stream control module, and a control authority granting module connected to the judging module.
此用户网关可以是家庭网关,也可以是家庭网关和其他媒体设备组合体, 如果是后者, 则家庭网关负责网络层面的连接, 媒体设备负责与响应终端的 媒体请求, 用户网关具备单播转组播能力, 并能处理组播相关关系协议。  The user gateway may be a home gateway, or may be a home gateway and other media device combination. If the latter, the home gateway is responsible for the network level connection, the media device is responsible for responding to the media request of the terminal, and the user gateway has a unicast transfer. Multicast capability and ability to handle multicast correlation protocols.
判断模块, 用于接收媒体推荐发起终端发送的媒体推荐请求消息, 判断 此媒体推荐请求消息中指示的目的终端是否属于此用户网关, 并将属于所述 用户网关的目的终端的标识通知至媒体流控制模块, 并将媒体推荐请求消息 发送至所述控制权限授予模块; 还用于判断媒体推荐请求消息中指示的目的 终端的个数是否小于系统设定的门限, 如果是, 向媒体流控制模块发送单播 指示, 否则, 向媒体流控制模块发送组播指示; 还用于收到具有控制权限的 终端发送的播放控制指令后转发至媒体流控制模块; a judging module, configured to receive a media recommendation request message sent by the media recommendation initiating terminal, and determine Whether the destination terminal indicated in the media recommendation request message belongs to the user gateway, and notifying the media flow control module of the identifier of the destination terminal that belongs to the user gateway, and sending the media recommendation request message to the control authority granting module; The method is further configured to determine whether the number of the destination terminals indicated in the media recommendation request message is smaller than a threshold set by the system, and if yes, send a unicast indication to the media flow control module, otherwise, send a multicast indication to the media flow control module; And being used to receive the play control command sent by the terminal with the control authority, and then forwarded to the media stream control module;
媒体流控制模块, 用于从所述判断模块获知目的终端的标识后, 将所述 业务数据流向所述目的终端进行发送, 具体的, 收到判断模块的单播指示后, 将所述业务数据流向所述目的终端分别进行单播发送; 收到判断模块的组播 指示后, 将业务数据流向所述目的终端以及所述媒体推荐发起终端进行组播 发送。 媒体流控制模块还用于收到具有控制权限的终端发送的播放控制指令 后, 对通过所述用户网关接收所述业务数据流的各终端进行统一播放控制。  a media stream control module, configured to send the service data stream to the destination terminal after the identifier of the destination terminal is obtained by the determining module, and specifically, after receiving the unicast indication of the determining module, the service data is sent The unicast transmission is performed to the destination terminal respectively. After receiving the multicast indication of the determining module, the service data stream is sent to the destination terminal and the media recommendation initiating terminal for multicast transmission. The media stream control module is further configured to: after receiving the play control command sent by the terminal with the control authority, perform unified play control on each terminal that receives the service data stream by using the user gateway.
所述控制权限授予模块, 用于向接收所述业务数据流的终端中一个或多 个终端授予控制权限。  The control authority granting module is configured to grant control authority to one or more terminals in the terminal that receives the service data stream.
如图 3所示, 媒体推荐发起终端和目的终端 (可以是一个以上, 图中的 目的终端只作示例)在用户网关 (例如家庭网关或公司网关) , 各终端通过 此用户网关连接 IPTV网络。 此用户网关可以处理 http请求、 RTSP请求等消 息。  As shown in FIG. 3, the media recommendation originating terminal and the destination terminal (which may be more than one, the destination terminal in the figure is only an example) are at a user gateway (for example, a home gateway or a corporate gateway), and each terminal connects to the IPTV network through the user gateway. This user gateway can handle HTTP requests, RTSP requests, and more.
媒体推荐方法包括以下步骤:  The media recommendation method includes the following steps:
步骤 301 , 终端进行网络附着和设备发现过程;  Step 301: The terminal performs a network attaching and device discovery process.
媒体推荐发起终端、 目的终端、 用户网关执行设备发现流程, 获取 IP地 址, 附着到网络。 其中,设备发现操作可以釆用通用即插即用( Universal Plug and Play, 简称 UPnP )等协议, 设备发现步骤可能在设备一上电时就完成了, 不是媒体推荐时的必选步骤。  The media recommendation originating terminal, the destination terminal, and the user gateway perform a device discovery process, obtain an IP address, and attach to the network. The device discovery operation may use a protocol such as Universal Plug and Play (UPnP). The device discovery step may be completed when the device is powered on, which is not a mandatory step when the media is recommended.
步骤 302, 媒体推荐发起终端通过用户网关与 IPTV网络中业务控制器、 Step 302: The media recommendation initiating terminal passes the user gateway and the service controller in the IPTV network,
IPTV业务控制器、媒体功能等实体建立起业务通道, 完成一个点播节目的连 接; The IPTV service controller, media function and other entities establish a service channel to complete the connection of an on-demand program;
此步骤是一个正常的点播节目建立流程, 并且用户网关上为此连接的媒 体及其控制通道启用网络地址转换( Network Address Translation, 简称 NAT ) 和应用层网关(Application Layer Gateway, 简称 ALG )功能, 保存网关内终 端的 IP地址和端口号的对应关系。 This step is a normal on-demand program creation process, and the media connected to the user gateway. The network and its control channel enable Network Address Translation (NAT) and Application Layer Gateway (ALG) functions to save the correspondence between the IP address and port number of the terminal in the gateway.
步骤 303 , 媒体推荐发起终端向其它终端进行媒体推荐;  Step 303: The media recommendation initiating terminal performs media recommendation to other terminals.
此步骤具体包括以下内容:  This step specifically includes the following:
步骤 303a, 媒体推荐发起终端向用户网关发起媒体推荐请求消息, 在所 述媒体推荐请求消息中指示一个或多个同属于所述用户网关的目的终端; 媒体推荐请求消息中可携带各目的终端的标识或 IP地址或其它可指示出 目的终端的参数。  Step 303a: The media recommendation initiating terminal initiates a media recommendation request message to the user gateway, where the media recommendation request message indicates one or more destination terminals that belong to the user gateway; the media recommendation request message may carry each destination terminal. Identification or IP address or other parameter that indicates the destination terminal.
步骤 303b, 用户网关从媒体推荐请求消息中解析各目的终端的标识或 IP 地址, 并向各目标终端发送媒体推荐请求消息;  Step 303b: The user gateway parses the identifier or IP address of each destination terminal from the media recommendation request message, and sends a media recommendation request message to each target terminal.
步骤 303c, 目的终端收到媒体推荐请求消息后, 向用户网关返回确认消 息;  Step 303c: After receiving the media recommendation request message, the destination terminal returns a confirmation message to the user gateway.
步骤 303d, 用户网关收到来自目的终端的确认消息, 与各目的终端建立 媒体连接;  Step 303d: The user gateway receives an acknowledgement message from the destination terminal, and establishes a media connection with each destination terminal.
步骤 303e, 用户网关判断是否启用单播转组播功能, 目的终端的个数小 于系统设定的门限(例如门值为 3 ) 时, 用户网关确定使用单播发送方式, 执行步骤 304; 目的终端的个数大于系统设定的门限时, 用户网关确定使用 组播发送方式, 执行步骤 305;  In step 303e, the user gateway determines whether the unicast-to-multicast function is enabled. If the number of the destination terminals is less than the threshold set by the system (for example, the threshold is 3), the user gateway determines to use the unicast transmission mode, and performs step 304; When the number of the system is greater than the threshold set by the system, the user gateway determines to use the multicast sending mode, and performs step 305;
步骤 304 , 将媒体推荐发起终端的业务连接上的业务数据流向目的终端 分别进行单播发送; 流程结束。  In step 304, the service data flow on the service connection of the media recommendation originating terminal is separately sent to the destination terminal for unicast transmission; the process ends.
步骤 305 , 用户网关构建一组播组, 此组播组中包括媒体推荐发起终端 和各目的终端。  Step 305: The user gateway constructs a multicast group, where the multicast group includes a media recommendation originating terminal and each destination terminal.
步骤 305a, 用户网关启用组播功能, 向媒体推荐发起终端和各目的终端 通知组播信息;  Step 305a: The user gateway enables the multicast function, and notifies the media recommendation originating terminal and each destination terminal of the multicast information.
步骤 305b, 媒体推荐发起终端和各目的终端向用户网关返回确认消息, 加入组播组。 步骤 305中建立组播组的流程是已有的标准流程, 此处不再赘述。 Step 305b: The media recommendation initiating terminal and each destination terminal return an acknowledgement message to the user gateway, and join the multicast group. The process of establishing a multicast group in step 305 is an existing standard process, and is not described here.
步骤 306,用户网关将来自 IPTV系统的媒体功能与媒体推荐发起终端间 的业务数据流的发送方法从单播方式转为组播方式; 以及  Step 306: The user gateway changes the sending method of the service data flow between the media function from the IPTV system and the media recommendation initiating terminal from the unicast mode to the multicast mode;
步骤 307 , 用户网关将此业务数据流向媒体推荐发起终端以及目的终端 进行组播发送, 流程结束。  Step 307: The user gateway sends the service data flow to the media recommendation originating terminal and the destination terminal for multicast transmission, and the process ends.
上述方法中, 多个终端设备共享一个来自外部的媒体连接, 大大地的节 约了外部网络资源; 并且任何一个用户退出都不会影响其他用户的观看, 实 现非常方便; 这种媒体推荐方法只需要用户的终端设备参与, 不受系统侧控 制, 减少网络负荷; 任何一个用户都可以控制多个用户共享的媒体播放。  In the above method, multiple terminal devices share a media connection from the outside, which greatly saves external network resources; and any user exit does not affect the viewing of other users, which is very convenient to implement; The user's terminal device participates, is not controlled by the system side, reduces network load; any user can control media playback shared by multiple users.
本发明的方法涉及终端计费问题有以下两种情况: 运营商允许本发明中 用户网关进行对一个终端的单播到对多个终端的组播的操作功能; 或者, 运 营商对节目内容进行加密, 可以同时接受用户网关的组播数据的多个终端需 在同一版权域中时, 上述方法才可获得实施; 但这两种情况都不影响上述方 法的顺利实现。  The method of the present invention involves the following two situations: the operator allows the user gateway in the present invention to perform the unicast operation of one terminal to the multicast operation of multiple terminals; or, the operator performs the program content on the program. Encryption, when multiple terminals that can simultaneously accept the multicast data of the user gateway need to be in the same copyright domain, the above method can be implemented; but neither of these cases affects the smooth implementation of the above method.
本发明还提供了一种媒体控制方法, 是基于在上述媒体推荐方法完成后 的进一步操作。  The present invention also provides a media control method based on further operations after completion of the above media recommendation method.
如图 4所示, 媒体控制方法包括以下步骤:  As shown in FIG. 4, the media control method includes the following steps:
步骤 401 , 通过上述媒体推荐方法, 用户网关向媒体推荐发起终端以及 目的终端发送相同的业务数据流(以单播方式或组播方式) ;  Step 401: The media recommendation method is used by the user gateway to send the same service data flow (in unicast mode or multicast mode) to the media recommendation originating terminal and the destination terminal.
步骤 402 , 用户网关向接收业务数据流的终端中一个或多个终端授予控 制权限。  Step 402: The user gateway grants control authority to one or more terminals in the terminal that receives the service data stream.
此步骤包括:  This step includes:
步骤 402a, 媒体推荐发起终端向用户网关发起控制权限请求; 此请求可 以以 HTTP POST的方式发起;  Step 402a: The media recommendation initiating terminal initiates a control permission request to the user gateway; the request may be initiated in an HTTP POST manner;
步骤 402b, 用户网关向媒体推荐发起终端返回确认请求, 授予媒体推荐 发起终端控制权限。  Step 402b: The user gateway returns a confirmation request to the media recommendation originating terminal, and grants the media recommendation to initiate the terminal control authority.
用户网关上保存有系统设定的策略即设置部分类型或属性的终端有权进 行媒体播放控制, 用户网关根据该策略对终端的控制请求进行判断即判断此 终端是否有权进行媒体播放控制, 当然此策略也可以设置为每个用户都有权 进行控制。 各终端均向用户网关发起控制权限请求时, 用户网关可以根据各 终端的属性进行比较后选择。 The user gateway saves the policy set by the system, that is, the terminal that sets part type or attribute has the right to perform media playback control, and the user gateway judges the terminal's control request according to the policy, that is, whether the terminal has the right to perform media playback control, of course. This policy can also be set to have the right to each user. Take control. When each terminal initiates a control permission request to the user gateway, the user gateway may perform comparison according to the attributes of each terminal.
步骤 403 , 具有控制权限的终端向用户网关发送播放控制指令; 播放控制指令可以是以下命令中的一种: 播放、 停止、 暂停、 快进、 快 退。  Step 403: The terminal having the control authority sends a play control instruction to the user gateway; the play control command may be one of the following commands: play, stop, pause, fast forward, rewind.
步骤 403a, 具有控制权限的终端以 HTTP POST的方式发送播放控制指 令时, 将播放控制指令封装在 HTTP POST字段中; 以 RTSP的方式发送播放 控制指令时, 直接发送 RTSP命令, 例如播放命令为 RTSP Play指令。  Step 403a: When the terminal having the control authority sends the playback control command in the manner of HTTP POST, the playback control instruction is encapsulated in the HTTP POST field. When the playback control command is sent in the RTSP manner, the RTSP command is directly sent, for example, the playback command is RTSP. Play instructions.
步骤 403b, 网关处理控制请求并回复确认消息;  Step 403b, the gateway processes the control request and replies to the acknowledgement message;
步骤 404 , 用户网关根据控制权限或者自己维护的控制逻辑确定是否将 该控制命令发送到媒体服务功能; 用户网关将控制命令发送到媒体服务器, 请求媒体服务, 实施媒体播放控制;  Step 404: The user gateway determines, according to the control authority or the control logic maintained by itself, whether to send the control command to the media service function; the user gateway sends the control command to the media server, requests the media service, and implements media play control;
用户网关将该控制命令发送到 IPTV 系统侧媒体服务器, 媒体服务器根 据接收到的控制命令对媒体播放进行控制, 具体控制的方法已标准化, 此处 不再赘述。  The user gateway sends the control command to the IPTV system side media server, and the media server controls the media play according to the received control command. The specific control method has been standardized, and will not be described here.
步骤 405 , 用户网关根据此控制指令向接收所述业务数据流的各终端进 行相同的播放控制, 流程结束。  Step 405: The user gateway performs the same playback control on each terminal that receives the service data flow according to the control instruction, and the process ends.
上述媒体控制方法, 可以对接收业务数据流的各终端进行统一的控制操 作, 尤其在家庭网关的应用情况下, 利于用户的使用。  The media control method can perform unified control operations on each terminal that receives the service data stream, especially in the application of the home gateway, which is beneficial to the user.
本发明适合于多个终端设备通过同一用户网关观看相同节目的应用场 景。  The present invention is suitable for an application scene in which a plurality of terminal devices view the same program through the same user gateway.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。  The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性 Industrial applicability
本发明的媒体推荐与媒体控制的方法无需系统侧设备参与, 节省了网络 资源, 并且丰富了用户的使用方式, 利于用户的使用。  The media recommendation and media control method of the present invention does not require the participation of the system side device, saves network resources, and enriches the use mode of the user, and is beneficial to the user.

Claims

权 利 要 求 书 Claim
1、 一种媒体推荐方法, 其包括:  1. A media recommendation method, comprising:
媒体推荐发起终端通过用户网关从交互式网络电视系统接收业务数据 流;  The media recommendation initiating terminal receives the service data stream from the interactive network television system through the user gateway;
所述媒体推荐发起终端向所述用户网关发送媒体推荐请求消息, 其中, 在所述媒体推荐请求消息中包含指示一个或多个同属于所述用户网关的目的 终端的标识信息; 以及  The media recommendation initiating terminal sends a media recommendation request message to the user gateway, where the media recommendation request message includes identifier information indicating one or more destination terminals that belong to the user gateway;
所述用户网关接收所述媒体推荐请求消息后, 将所述业务数据流也向所 述目的终端进行发送。  After receiving the media recommendation request message, the user gateway sends the service data stream to the destination terminal.
2、 如权利要求 1所述的媒体推荐方法, 其中, 所述用户网关接收所述媒 体推荐请求消息后,将所述业务数据流向所述目的终端进行发送的步骤包括: 所述用户网关判断所述媒体推荐请求消息中指示的目的终端的个数小于 系统设定的门限时, 将所述业务数据流向所述目的终端分别进行单播发送; 以及  2. The media recommendation method according to claim 1, wherein, after the user gateway receives the media recommendation request message, the step of transmitting the service data flow to the destination terminal comprises: When the number of the destination terminals indicated in the media recommendation request message is less than a threshold set by the system, the service data stream is separately transmitted to the destination terminal; and
所述用户网关判断所述媒体推荐请求消息中指示的目的终端的个数大于 或等于系统设定的门限时, 将所述业务数据流向所述目的终端以及所述媒体 推荐发起终端进行组播发送。  When the user gateway determines that the number of the destination terminals indicated in the media recommendation request message is greater than or equal to a threshold set by the system, the user equipment performs multicast transmission to the destination terminal and the media recommendation initiating terminal. .
3、 如权利要求 1所述的媒体推荐方法, 其中, 所述媒体推荐请求消息中 包含的所述标识信息为: 各目的终端的标识或身份标识 IP地址或其他可指示 出目的终端的参数。  The media recommendation method according to claim 1, wherein the identifier information included in the media recommendation request message is: an identifier of an destination terminal or an identity identifier IP address or other parameter indicating a destination terminal.
4、 如权利要求 3所述的媒体推荐方法, 其中, 所述网关将所述业务数据 流向所述目的终端进行发送的步骤之前, 所述方法还包括:  The media recommendation method according to claim 3, wherein before the step of transmitting, by the gateway, the service data stream to the destination terminal, the method further includes:
所述用户网关与各目的终端建立媒体连接。  The user gateway establishes a media connection with each destination terminal.
5、 一种媒体控制方法, 其包括:  5. A media control method, comprising:
媒体推荐发起终端通过用户网关从交互式网络电视系统接收业务数据 流;  The media recommendation initiating terminal receives the service data stream from the interactive network television system through the user gateway;
所述媒体推荐发起终端向所述用户网关发送媒体推荐请求消息, 其中, 在所述媒体推荐请求消息中包含一个或多个同属于所述用户网关的目的终端 的标识信息; The media recommendation initiating terminal sends a media recommendation request message to the user gateway, where And including, in the media recommendation request message, identifier information of one or more destination terminals that belong to the user gateway;
所述用户网关接收所述媒体推荐请求消息后, 将所述业务数据流也向所 述目的终端进行发送;  After receiving the media recommendation request message, the user gateway sends the service data stream to the destination terminal.
所述用户网关向接收所述业务数据流的终端中的一个或多个终端授予控 制权限; 以及  The user gateway grants control rights to one or more of the terminals receiving the service data stream;
具有控制权限的终端向所述用户网关发送播放控制指令, 所述用户网关 根据此控制指令向系统侧请求播放控制, 从而实现对接收所述业务数据流的 各终端进行相同的播放控制。  The terminal having the control authority sends a play control command to the user gateway, and the user gateway requests the play control from the system side according to the control command, so that the same play control is performed on each terminal that receives the service data stream.
6、 如权利要求 5所述的媒体控制方法, 其中, 所述用户网关接收所述媒 体推荐请求消息后,将所述业务数据流向所述目的终端进行发送的步骤包括: 所述用户网关判断所述媒体推荐请求消息中指示的目的终端的个数小于 系统设定的门限时, 将所述业务数据流向所述目的终端分别进行单播发送; 以及  The media control method according to claim 5, wherein, after the user gateway receives the media recommendation request message, the step of transmitting the service data flow to the destination terminal comprises: When the number of the destination terminals indicated in the media recommendation request message is less than a threshold set by the system, the service data stream is separately transmitted to the destination terminal; and
所述用户网关判断所述媒体推荐请求消息中指示的目的终端的个数大于 或等于系统设定的门限时, 将所述业务数据流向所述目的终端以及所述媒体 推荐发起终端进行组播发送。  When the user gateway determines that the number of the destination terminals indicated in the media recommendation request message is greater than or equal to a threshold set by the system, the user equipment performs multicast transmission to the destination terminal and the media recommendation initiating terminal. .
7、 如权利要求 5所述的媒体控制方法, 其中, 所述媒体推荐请求消息中 包含的所述标识信息为: 各目的终端的标识或身份标识 IP地址或其他可指示 出目的终端的参数。  The media control method according to claim 5, wherein the identifier information included in the media recommendation request message is: an identifier of an destination terminal or an identity identifier IP address or other parameter indicating a destination terminal.
8、 如权利要求 7所述的媒体控制方法, 其中, 所述网关将所述业务数据 流向所述目的终端进行发送的步骤之前, 所述方法还包括:  The media control method according to claim 7, wherein before the step of the gateway transmitting the service data stream to the destination terminal, the method further includes:
所述用户网关与各目的终端建立媒体连接。  The user gateway establishes a media connection with each destination terminal.
9、 如权利要求 5的媒体控制方法, 其中,  9. The media control method according to claim 5, wherein
所述用户网关向接收所述业务数据流的终端中的一个或多个终端授予控 制权限的步骤之前, 所述方法还包括: 接收所述业务数据流的终端向所述用 户网关发送控制权限请求;  Before the step of the user gateway granting control permission to one or more terminals in the terminal that receives the service data flow, the method further includes: receiving, by the terminal receiving the service data flow, a control permission request to the user gateway ;
所述用户网关向接收所述业务数据流的终端中的一个或多个终端授予控 制权限的步骤为: The user gateway grants control to one or more terminals in the terminal that receives the service data stream The steps for making permissions are:
所述用户网关根据发起控制权限请求的各终端的属性向所述一个或多个 终端授予所述控制权限。  The user gateway grants the control authority to the one or more terminals according to an attribute of each terminal that initiates the control authority request.
10、 如权利要求 5或 9的媒体控制方法, 其中,  10. The media control method according to claim 5 or 9, wherein
所述播放控制指令是指以下命令中的一种: 播放、 停止、 暂停、 快进和 快退。  The play control command refers to one of the following commands: play, stop, pause, fast forward, and fast reverse.
11、 一种用户网关, 其包括: 相连的判断模块和媒体流控制模块; 其中, 所述判断模块设置为:  A user gateway, comprising: a connected judging module and a media stream control module; wherein the judging module is configured to:
接收媒体推荐发起终端发送的媒体推荐请求消息; 以及  Receiving a media recommendation request message sent by the receiving media; and
判断所述媒体推荐请求消息中指示的目的终端是否属于此用户网 关, 并将属于所述用户网关的目的终端的标识通知至所述媒体流控制模 块;  Determining whether the destination terminal indicated in the media recommendation request message belongs to the user gateway, and notifying the identifier of the destination terminal that belongs to the user gateway to the media stream control module;
所述媒体流控制模块设置为: 从所述判断模块获知目的终端的标识后, 将所述业务数据流也向所述目的终端进行发送。  The media flow control module is configured to: after obtaining the identifier of the destination terminal from the determining module, send the service data stream to the destination terminal.
12、 如权利要求 11所述的用户网关, 其中,  12. The user gateway of claim 11, wherein
所述判断模块还设置为:  The determining module is further configured to:
判断所述媒体推荐请求消息中指示的目的终端的个数是否小于系统 设定的门限, 如果是, 向所述媒体流控制模块发送单播指示, 否则, 向 所述媒体流控制模块发送组播指示;  Determining whether the number of the destination terminals indicated in the media recommendation request message is smaller than a threshold set by the system, and if yes, sending a unicast indication to the media flow control module, otherwise, sending the multicast to the media flow control module Instruction
所述媒体流控制模块还设置为:  The media flow control module is further configured to:
收到所述判断模块的单播指示后, 将所述业务数据流向所述目的终 端分别进行单播发送; 以及  After receiving the unicast indication of the determining module, separately transmitting the service data stream to the destination terminal; and
收到所述判断模块的组播指示后, 将所述业务数据流向所述目的终 端以及所述媒体推荐发起终端进行组播发送。  After receiving the multicast indication of the determining module, the service data flow is multicasted to the destination terminal and the media recommendation initiating terminal.
13、如权利要求 11或 12所述的用户网关, 其还包括控制权限授予模块; 其中,  The user gateway according to claim 11 or 12, further comprising a control authority granting module;
所述控制权限授予模块与所述判断模块相连, 并设置为向接收所述业务 数据流的终端中一个或多个终端授予控制权限; The control authority granting module is connected to the judging module, and is configured to receive the service One or more terminals in the terminal of the data stream grant control rights;
所述判断模块还设置为:  The determining module is further configured to:
将所述媒体推荐请求消息发送至所述控制权限授予模块; 以及 收到具有控制权限的终端发送的播放控制指令后转发至所述媒体流 控制模块;  Sending the media recommendation request message to the control authority granting module; and forwarding the play control command sent by the terminal with control authority to the media stream control module;
所述媒体流控制模块还设置为: 收到具有控制权限的终端发送的播放控 制指令后, 对通过所述用户网关接收所述业务数据流的各终端进行统一播放 控制。  The media stream control module is further configured to: after receiving the play control command sent by the terminal with the control authority, perform unified play control on each terminal that receives the service data stream through the user gateway.
14、 如权利要求 13所述的用户网关, 其中,  14. The user gateway of claim 13, wherein
所述控制权限授予模块还设置为: 接收终端发送的控制权限请求, 并根 据发起控制权限请求的各终端的属性向一个或多个终端授予控制权限。  The control authority granting module is further configured to: receive a control authority request sent by the terminal, and grant control authority to one or more terminals according to an attribute of each terminal that initiates the control authority request.
15、 一种交互式网络电视终端, 其设置为:  15. An interactive network television terminal, the setting being:
在作为媒体推荐发起终端时, 向用户网关发送媒体推荐请求消息, 其中, 在所述媒体推荐请求消息中包含指示一个或多个同属于所述用户网关的目的 终端的标识信息; 以及  And sending, by the media recommendation requesting terminal, a media recommendation request message to the user gateway, where the media recommendation request message includes identifier information indicating one or more destination terminals that belong to the user gateway;
在作为目的终端时, 从所述用户网关接收与媒体推荐发起终端接收的相 同的业务数据流。  When acting as the destination terminal, the same service data stream received by the media recommendation originating terminal is received from the user gateway.
16、 如权利要求 15所述的网络电视终端, 其中, 所述媒体推荐请求消息 中包含的所述标识信息为: 各目的终端的标识或身份标识 IP地址或其他可指 示出目的终端的参数。  The network television terminal according to claim 15, wherein the identifier information included in the media recommendation request message is: an identifier of an destination terminal or an identity identifier IP address or other parameter indicating a destination terminal.
PCT/CN2009/076133 2009-08-10 2009-12-28 Media recommendation method, media control method and user gateway WO2011017897A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2009101636780A CN101998146A (en) 2009-08-10 2009-08-10 Media recommendation method, media control method and user gateway
CN200910163678.0 2009-08-10

Publications (1)

Publication Number Publication Date
WO2011017897A1 true WO2011017897A1 (en) 2011-02-17

Family

ID=43585881

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/076133 WO2011017897A1 (en) 2009-08-10 2009-12-28 Media recommendation method, media control method and user gateway

Country Status (2)

Country Link
CN (1) CN101998146A (en)
WO (1) WO2011017897A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113032591A (en) * 2019-12-24 2021-06-25 阿里巴巴集团控股有限公司 Data processing method, device, equipment and machine readable medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970589B (en) * 2012-11-26 2016-03-30 中国联合网络通信集团有限公司 The control method of multi-terminal-basedsynergetic synergetic media stream play and device
CN113382388B (en) * 2018-11-02 2023-08-04 华为技术有限公司 Transmission method and communication device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972395A (en) * 2006-12-08 2007-05-30 清华大学深圳研究生院 Multimedia home gateway and its implementation method for program recording, recovery, suspension
US20080022084A1 (en) * 2006-07-21 2008-01-24 Sbc Knowledge Vertures, L.P. System and method for securing a network
CN101472155A (en) * 2007-12-24 2009-07-01 康佳集团股份有限公司 Household network system for implementing IPTV business and implementing method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193449B (en) * 2006-11-27 2011-02-09 华为技术有限公司 System, method and device for realizing continuous multimedia session

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080022084A1 (en) * 2006-07-21 2008-01-24 Sbc Knowledge Vertures, L.P. System and method for securing a network
CN1972395A (en) * 2006-12-08 2007-05-30 清华大学深圳研究生院 Multimedia home gateway and its implementation method for program recording, recovery, suspension
CN101472155A (en) * 2007-12-24 2009-07-01 康佳集团股份有限公司 Household network system for implementing IPTV business and implementing method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113032591A (en) * 2019-12-24 2021-06-25 阿里巴巴集团控股有限公司 Data processing method, device, equipment and machine readable medium

Also Published As

Publication number Publication date
CN101998146A (en) 2011-03-30

Similar Documents

Publication Publication Date Title
US7716310B2 (en) Method and Internet Protocol Television (IPTV) content manager server for IPTV servicing
Cho et al. Improvement of channel zapping time in IPTV services using the adjacent groups join-leave method
US8046479B2 (en) Media channel management
CN102037703B (en) Method and apparatus for switching between IP television channels in IPTV communication network
EP2175591B1 (en) A method, a system, a device and a computer program readable medium for realizing the services of network televison
US8307049B2 (en) Method and device for obtaining media description information of IPTV services
US9226002B2 (en) Method, device and system for realizing broadcast TV
WO2010022570A1 (en) Information push method, device and system based on internet protocol television
US20090183211A1 (en) System, method and device for enabling ims terminals to access existing iptv services
WO2009138006A1 (en) Method and system for media playing control and metadata execution unit
US20130145037A1 (en) Unicast/multicast media edge proxy with fast channel switching
WO2009024092A1 (en) Method and system for controlling the authorization of service resource
WO2009030133A1 (en) A method, system and entity for realizing picture-in-picture video
WO2009143743A1 (en) A method, system for playing media and a play proxy device
WO2011022994A1 (en) Method, apparatus and system for rapid acquisition of multicast realtime transport protocol sessions
WO2011017897A1 (en) Media recommendation method, media control method and user gateway
WO2008110094A1 (en) Method and system for realizing iptv service's switch
WO2009055988A1 (en) A method of time-shifting for an iptv system over next generation networks
WO2010020117A1 (en) Method, device for controlling iptv ( internet protocol tv ) live programs
WO2009155840A1 (en) Method, system and device for realizing the sharing of group service
WO2011026291A1 (en) Method, system and user gateway for media switching
US20120124182A1 (en) Method, a terminal, an access node and a media server for providing resource admission control of digital media streams
WO2010075698A1 (en) Method, system and device for program switching
KR20110000593A (en) Method and apparatus to facilitate using a multicast stream to provide on-demand streaming content
WO2012022267A1 (en) Method and system for audio broadcast in video surveillance

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

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

Country of ref document: EP

Kind code of ref document: A1