CN101415250B - Method, system and entity for establishing session in IP internet television system - Google Patents
Method, system and entity for establishing session in IP internet television system Download PDFInfo
- Publication number
- CN101415250B CN101415250B CN200710181821.XA CN200710181821A CN101415250B CN 101415250 B CN101415250 B CN 101415250B CN 200710181821 A CN200710181821 A CN 200710181821A CN 101415250 B CN101415250 B CN 101415250B
- Authority
- CN
- China
- Prior art keywords
- media
- parameter information
- control channel
- function entity
- media server
- 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
Classifications
-
- 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/1016IP multimedia subsystem [IMS]
-
- 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/1066Session management
- H04L65/1069Session establishment or de-establishment
-
- 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/1066Session management
- H04L65/1083In-session procedures
- H04L65/1095Inter-network session transfer or sharing
-
- 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/1066Session management
- H04L65/1101Session protocols
- H04L65/1104Session initiation protocol [SIP]
-
- HELECTRICITY
- H04ELECTRIC COMMUNICATION TECHNIQUE
- H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/61Network physical structure; Signal processing
- H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
- H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
-
- HELECTRICITY
- H04ELECTRIC COMMUNICATION TECHNIQUE
- H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643Communication protocols
-
- HELECTRICITY
- H04ELECTRIC COMMUNICATION TECHNIQUE
- H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00Television systems
- H04N7/16Analogue secrecy systems; Analogue subscription systems
- H04N7/173Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal
- H04N7/17309Transmission or handling of upstream communications
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信领域的数据 输技术,尤其涉及一种IP互联网络电视系统中会话建立的方法、系统及实体。The present invention relates to data transmission technology in the communication field, in particular to a method, system and entity for session establishment in an IP Internet television system.
背景技术Background technique
在通讯和IT技术高度发展的今天,随着跨链路层 输介质的IP技术的出现,Internet应用的迅速普及,人们不再满足于单一的语音通信方式,而需要全新的多媒体通信方式, 此,移动通讯网络和固定通讯网络的IP化、Internet和电信网络的融合已 可争议地成为业界公认的发展方向。为满足越来越突出的IP多媒体应用的普遍需求,第三代移动通信组织(3GPP)在分组承载网基础上引入了全IP业务网络架构的IP多媒体子系统(IP Multimedia Subsystem,IMS)。Today, with the rapid development of communication and IT technology, with the emergence of IP technology across the link layer transmission medium and the rapid popularization of Internet applications, people are no longer satisfied with a single voice communication method, but need a new multimedia communication method, so , the IP-based mobile communication network and fixed communication network, and the integration of the Internet and telecommunication networks have undoubtedly become the industry's recognized development direction. In order to meet the increasingly prominent general needs of IP multimedia applications, the third generation mobile communication organization (3GPP) introduced the IP multimedia subsystem (IP Multimedia Subsystem, IMS) of the all-IP service network architecture on the basis of the packet bearer network.
IMS是3GPP R5阶段增 的宽带 分多址接入系统(Wide-band CodeDivision Multiple Access,WCDMA)网络中 在已有分组域之上的一个子系统,采用分组域作为其上层控制信令和媒体 输的承载通道,引入会话初始化协议(Session Initiated Protocol,SIP)协议作为业务控制协议,利用SIP协议简单、易扩展、媒体组合方便的特点,使业务控制与承载控制分离,提供丰富的多媒体业务。IMS is a subsystem superimposed on the existing packet domain in the Wide-band Code Division Multiple Access (WCDMA) network added in the 3GPP R5 stage. The packet domain is used as its upper layer control signaling and For the bearer channel of media transmission, the Session Initiated Protocol (SIP) protocol is introduced as the service control protocol. Using the characteristics of the SIP protocol, which is simple, easy to expand, and convenient for media combination, the service control and bearer control are separated to provide rich multimedia services .
IMS主要的功能实体包括控制用户注册、会话控制等功能的呼叫会话控制实体(Call Session Cobtrol Function,CSCF)、提供各种业务逻辑控制功能的应用服务器(Application Server,AS)、集中管理用户签约数据的归属用户服务器(Home Subscriber Server,HSS)以及用于实现与电路交换网互通的媒体网关控制功能/媒体网关(Media Gateway Control Function/Media Gateway,MGCF/IM-MGW),用户通过当前所在地代理节点(Proxy-CSCF,P-CSCF)接入IMS,会话和业务触发控制及与AS的业务控制交互则由其注册地的归属域服务节点(S-CSCF)完成。The main functional entities of IMS include call session control entity (Call Session Cobtrol Function, CSCF) that controls functions such as user registration and session control, application server (Application Server, AS) that provides various business logic control functions, and centralized management of user subscription data The home subscriber server (Home Subscriber Server, HSS) and the media gateway control function/media gateway (Media Gateway Control Function/Media Gateway, MGCF/IM-MGW) used to realize intercommunication with the circuit switching network, the user passes the current local proxy node (Proxy-CSCF, P-CSCF) accesses IMS, session and service trigger control and service control interaction with AS are completed by the home domain service node (S-CSCF) where it is registered.
随着IMS协议的逐步完善,基于IP互联网络的电视(IMS based IPTV)业务得到快速发展,IMS based IPTV业务充分利用IMS网络中已有的注册、认证、路由、会话控制与建立、业务触发、计费和端到端业务质量(Quality ofService,QoS)保证等机制来为用户提供流媒体业务、融合流媒体和实时会话业务的多媒体业务。With the gradual improvement of the IMS protocol, the IP Internet-based TV (IMS based IPTV) service has developed rapidly. The IMS based IPTV service makes full use of the existing registration, authentication, routing, session control and establishment, service triggering, Mechanisms such as billing and end-to-end Quality of Service (QoS) guarantees are used to provide users with streaming media services, multimedia services that integrate streaming media and real-time session services.
当前下一代网络通信与 特网融合的服务和协议(TISPAN)定义的IMSbased IPTV业务功能架构如图1所示,IPTV媒体服务器(IPTV Media Functions,MF)负责到UE媒体流的控制与交付(Delivery)。从功能角度分解为媒体控制功能实体(Media Control Function,MCF)和媒体交付功能实体(Media DeliveryFunction,MDF)。The IMS-based IPTV business functional architecture defined by the current next-generation network communication and Internet-integrated services and protocols (TISPAN) is shown in Figure 1. The IPTV media server (IPTV Media Functions, MF) is responsible for the control and delivery of media streams to the UE (Delivery) . From a functional point of view, it is divided into a media control function entity (Media Control Function, MCF) and a media delivery function entity (Media Delivery Function, MDF).
SIP协议与实时 输协议/实时控制协议(Real-time Transport Protocol/Realtime Transport Control Protocol,RTP/RTCP)、业务数据点(Service DataPoint,SDP)、实时 送流媒体协议(Real-Time Streaming Protocol,RTSP)、域名服务器(Domain Name Server,DNS)等协议配合,共同完成IPTV系统的会话建立及媒体协商。SIP protocol and Real-time Transport Protocol/Real-time Control Protocol (Real-time Transport Protocol/Realtime Transport Control Protocol, RTP/RTCP), business data point (Service DataPoint, SDP), real-time transport streaming protocol (Real-Time Streaming Protocol, RTSP ), domain name server (Domain Name Server, DNS) and other protocols, and jointly complete the session establishment and media negotiation of the IPTV system.
在现有的IPTV网络部署中,同一个媒体成分的不同媒体成分可能会由不同的提供方提供,并分布在不同的媒体服务器上。比如对一个电影内容,可能配以英文、中文、法文、德文,日文等等多国语言,这些不同的音频文件(audio),和视频文件(video)存放在不同的媒体服务器上。这 当用户观看该电影的时候,需要和不同的媒体服务器建立媒体控制通道,如RTSP连接,以及内容 送通道,如RTP连接。In the existing IPTV network deployment, different media components of the same media component may be provided by different providers and distributed on different media servers. For example, a movie content may be matched with multiple languages such as English, Chinese, French, German, Japanese, etc. These different audio files (audio) and video files (video) are stored on different media servers. In this way, when the user watches the movie, a media control channel, such as an RTSP connection, and a content transmission channel, such as an RTP connection, need to be established with different media servers.
在现有的IPTV系统中,终端设备UE可以通过电子节目导航(ElectronicProgram Guide,EPG)等方式,获得请求的媒体成分所在的媒体服务器的媒体描述信息,该媒体描述信息包含了媒体服务器的地址信息,再通过RTSP统一资源 识符(RTSP URI)的方式,然后建立UE与该媒体服务器之间连接。In the existing IPTV system, the terminal equipment UE can obtain the media description information of the media server where the requested media component is located through electronic program guide (Electronic Program Guide, EPG), etc., and the media description information includes the address information of the media server , and then establish a connection between the UE and the media server through the RTSP Uniform Resource Identifier (RTSP URI).
目前,在TISPAN IPTV 准中定义的实现内容点播(CoD)业务的系统中,UE是作为IPTV终端存在的,它可以是PC、TV、机顶盒或移动终端,用户可以通过UE观看IPTV节目。UE将包含媒体成分 识的SIP消息通过IMS设备(IMS CORE)发送到业务控制功能实体(Service Control Function,SCF),该SCF是提供CoD业务的应用服务器,负责业务逻辑的控制(业务授权、计费和业务控制等)。IMS CORE将SIP消息发送给MF,由该MF将媒体成分发送给UE。MF是作为CoD业务媒体成分的媒体服务器存在的,逻辑上可以划分为MCF和MDF,其中,MCF负责媒体控制,MDF负责媒体成分交付。当MCF接收到SIP消息后,指示MDF与UE建立RTSP的连接,并通过RTP/RTCP将媒体流发送给UE。At present, in the system for implementing content on demand (CoD) services defined in the TISPAN IPTV standard, the UE exists as an IPTV terminal, which can be a PC, TV, set-top box or mobile terminal, and users can watch IPTV programs through the UE. The UE sends the SIP message containing the media component identifier to the service control function entity (Service Control Function, SCF) through the IMS device (IMS CORE). fees and business controls, etc.). The IMS CORE sends the SIP message to the MF, and the MF sends the media components to the UE. The MF exists as a media server for the media components of the CoD service, and can be logically divided into MCF and MDF. The MCF is responsible for media control, and the MDF is responsible for media component delivery. After receiving the SIP message, the MCF instructs the MDF to establish an RTSP connection with the UE, and sends the media stream to the UE through RTP/RTCP.
但是,当同一个媒体成分的不同媒体成分分布在不同的媒体服务器上时,终端需要通过媒体描述信息获知媒体成分的各个媒体成分的分布情况(如各媒体成分时分布在一个媒体服务器上还是多个媒体服务器),从而决定建立连接的个数。然而,在TISPAN规定中引入了MF定位过程,所以终端 法事先获知请求的媒体成分的各成分是位于同一个媒体服务器还是分别位于不同的服务器。However, when different media components of the same media component are distributed on different media servers, the terminal needs to know the distribution of each media component of the media component through the media description information (such as whether each media component is distributed on one media server or multiple media components). media servers) to determine the number of connections to establish. However, the MF positioning process is introduced in the TISPAN specification, so the terminal cannot know in advance whether each component of the requested media component is located in the same media server or in different servers.
若实际情况是媒体成分的音、视频成分分别位于不同的媒体服务器,但是终端侧认为媒体成分的各个成分位于同一个媒体服务器,则发起包含媒体成分 识的邀请(SIP INVITE)请求中只有一个媒体控制通道(如一个RTSP);网络侧接收到该SIP INVITE后,发现音、视频数据位于不同的媒体服务器,就需要在应答响应中向终端返回两个媒体控制通道(如两个RTSP)才能让终端实现会话建立。但是返回两个媒体控制通道违反了SDP的原则, 法执行正常的处理流程,目前还没有解决这一问题的方案。If the actual situation is that the audio and video components of the media components are located in different media servers, but the terminal side believes that each component of the media components is located in the same media server, then there is only one media in the invitation (SIP INVITE) request containing the media component identification Control channel (such as an RTSP); after receiving the SIP INVITE, the network side finds that the audio and video data are located in different media servers, so it needs to return two media control channels (such as two RTSPs) to the terminal in the response response to allow The terminal implements session establishment. However, returning two media control channels violates the principle of SDP and cannot perform normal processing procedures. Currently, there is no solution to this problem.
发明内容Contents of the invention
本发明实施例提供一种在IPTV系统中会话建立的方法、系统及实体,以解决现有技术中存在的当媒体成分位于不同服务器时,终端 法与媒体服务器建立会话连接的问题。Embodiments of the present invention provide a method, system and entity for establishing a session in an IPTV system to solve the problem in the prior art that a terminal cannot establish a session connection with a media server when media components are located on different servers.
一种IP互联网络电视系统中会话建立的方法,该方法包括:A method for establishing a session in an IP Internet television system, the method comprising:
终端向内容定位功能实体发送会话初始请求,该请求中包含媒体成分 识;The terminal sends a session initiation request to the content location functional entity, and the request includes the media component identifier;
所述终端接收所述内容定位功能实体返回的位置信息,该位置信息为:所述 识对应的媒体成分所在的至少两个媒体服务器的位置信息,或已获知所述 识对应的媒体成分所在的至少两个媒体服务器的位置信息的内容定位功能实体的位置信息;The terminal receives the location information returned by the content location functional entity, where the location information is: the location information of at least two media servers where the media component corresponding to the identifier is located, or the location information of at least two media servers where the media component corresponding to the identifier is known. Location information of the content location functional entity of the location information of at least two media servers;
所述终端利用所述位置信息与所述 识对应的媒体成分所在的媒体服务器建立会话连接。The terminal uses the location information to establish a session connection with the media server where the media component corresponding to the identifier is located.
一种IP互联网络电视系统中会话建立的系统,该会话建立的系统包括:A system for establishing a session in an IP Internet television system, the system for establishing the session includes:
终端,用于发送包含媒体成分 识的会话初始请求,接收位置信息,并利用所述位置信息与所述 识对应的媒体成分所在的媒体服务器建立连接;The terminal is configured to send a session initiation request including a media component identifier, receive location information, and use the location information to establish a connection with a media server where the media component corresponding to the identifier is located;
内容定位功能实体,用于接收所述会话初始请求,并向所述终端返回所述位置信息,该位置信息为:所述 识对应的媒体成分所在的至少两个媒体服务器的位置信息,或已获知所述 识对应的媒体成分所在的至少两个媒体服务器位置信息的内容定位功能实体的位置信息;A content location functional entity, configured to receive the session initiation request, and return the location information to the terminal, where the location information is: location information of at least two media servers where the media component corresponding to the identifier is located, or Obtain the location information of the content location function entity of the location information of at least two media servers where the media component corresponding to the identifier is located;
所述媒体服务器,用于与所述终端建立会话连接。The media server is configured to establish a session connection with the terminal.
一种内容定位功能实体,该内容定位功能实体包括:A content positioning functional entity, the content positioning functional entity includes:
接收模块,用于接收会话初始请求,该请求中包含媒体成分 识;A receiving module, configured to receive a session initiation request, where the request includes a media component identifier;
位置信息确定模块,用于确定所述 识对应的媒体成分所在的至少两个媒体服务器的位置信息,或已获知所述 识对应的媒体成分所在的至少两个媒体服务器位置信息的内容定位功能实体的位置信息;A location information determination module, configured to determine the location information of at least two media servers where the media components corresponding to the identifier are located, or a content location functional entity that has already known the location information of at least two media servers where the media components corresponding to the identifier are located location information;
发送模块,用于发送所述位置信息确定模块确定出的位置信息。A sending module, configured to send the location information determined by the location information determining module.
一种IP互联网络电视系统中会话建立的方法,该方法包括:A method for establishing a session in an IP Internet television system, the method comprising:
内容定位功能实体接收终端发送的会话初始请求,该请求中包含媒体成分 识;The content location function entity receives the session initiation request sent by the terminal, and the request includes the media component identifier;
所述内容定位功能实体确定所述 识对应的媒体成分所在的至少两个媒体服务器,并获取所述媒体服务器的媒体控制通道参数信息,向终端返回本地分配的媒体控制通道参数信息,所述本地分配的媒体控制通道参数信息与获取的媒体服务器的媒体控制通道参数信息存在对应关系。The content location function entity determines at least two media servers where the media component corresponding to the identifier is located, obtains the media control channel parameter information of the media server, and returns the locally allocated media control channel parameter information to the terminal, and the local There is a corresponding relationship between the allocated media control channel parameter information and the acquired media control channel parameter information of the media server.
一种IP互联网络电视系统中会话建立的系统,该会话建立的系统包括:A system for establishing a session in an IP Internet television system, the system for establishing the session includes:
终端,用于发送包含媒体成分 识的会话初始请求,并接收媒体控制通道参数信息;The terminal is configured to send a session initiation request including a media component identifier, and receive media control channel parameter information;
内容定位功能实体,用于接收所述会话初始请求,确定所述 识对应的媒体成分所在的至少两个媒体服务器,并获取所述媒体服务器的媒体控制通道参数信息,向终端返回本地分配的媒体控制通道参数信息,所述本地分配的媒体控制通道参数信息与获取的媒体服务器的媒体控制通道参数信息存在对应关系。The content location functional entity is configured to receive the session initiation request, determine at least two media servers where the media component corresponding to the identifier is located, obtain the media control channel parameter information of the media server, and return the locally allocated media to the terminal Control channel parameter information, where there is a corresponding relationship between the locally allocated media control channel parameter information and the acquired media control channel parameter information of the media server.
一种内容定位功能实体,该内容定位功能实体,包括:A content positioning functional entity, the content positioning functional entity includes:
接收模块,用于接收会话初始请求,该请求中包含媒体成分 识;A receiving module, configured to receive a session initiation request, where the request includes a media component identifier;
获取模块,用于确定所述 识对应的媒体成分所在的至少两个媒体服务器,并获取所述媒体服务器的媒体控制通道参数信息;An acquisition module, configured to determine at least two media servers where the media components corresponding to the identifiers are located, and acquire media control channel parameter information of the media servers;
发送模块,用于向终端返回本地分配的媒体控制通道参数信息,所述本地分配的媒体控制通道参数信息与获取的媒体服务器的媒体控制通道参数信息存在对应关系。The sending module is configured to return locally allocated media control channel parameter information to the terminal, where there is a corresponding relationship between the locally allocated media control channel parameter information and the acquired media control channel parameter information of the media server.
一种IP互联网络电视系统中会话建立的方法,该方法包括:A method for establishing a session in an IP Internet television system, the method comprising:
终端向内容定位功能实体发送会话初始请求,该请求中包含媒体成分 识;The terminal sends a session initiation request to the content location functional entity, and the request includes the media component identifier;
所述内容定位功能实体分别获取所述 识对应的媒体成分所在的至少两个媒体服务器的媒体控制通道参数信息,并将所述参数信息分别返回给终端。The content location function entity respectively obtains media control channel parameter information of at least two media servers where the media component corresponding to the identifier is located, and returns the parameter information to the terminal respectively.
一种IP互联网络电视系统中会话建立的系统,该会话建立的系统包括:A system for establishing a session in an IP Internet television system, the system for establishing the session includes:
终端,用于发送会话初始请求,该请求中包含媒体成分 识,并接收媒体控制通道参数信息;The terminal is used to send a session initiation request, the request includes a media component identifier, and receives media control channel parameter information;
内容定位功能实体,用于分别获取所述 识对应的媒体成分所在的至少两个媒体服务器的媒体控制通道参数信息,并将所述参数信息分别返回给终端。The content locating function entity is configured to separately acquire media control channel parameter information of at least two media servers where the media component corresponding to the identifier is located, and return the parameter information to the terminal respectively.
一种内容定位功能实体,该内容定位功能实体包括:A content positioning functional entity, the content positioning functional entity includes:
第一接收模块,用于接收会话初始请求,该请求中包含媒体成分 识;A first receiving module, configured to receive a session initiation request, which includes a media component identifier;
获取模块,用于分别获取所述 识对应的媒体成分所在的至少两个媒体服务器的媒体控制通道参数信息;An acquisition module, configured to respectively acquire media control channel parameter information of at least two media servers where the media components corresponding to the identifiers are located;
发送模块,用于将所述参数信息分别返回。A sending module, configured to return the parameter information respectively.
本发实施例通过向终端返回媒体服务器的位置信息,或与媒体服务器的媒体控制通道的参数存在对应关系的参数信息,或是分多次返回媒体服务器的媒体控制通道的参数信息的方案,使得当终端请求的媒体成分的媒体成分位于不同的媒体服务器时,终端在符合SDP的处理原则的基础上,实现了与各个媒体服务器之间的会话连接。The embodiment of the present invention returns the location information of the media server to the terminal, or the parameter information corresponding to the parameters of the media control channel of the media server, or returns the parameter information of the media control channel of the media server in multiple times, so that When the media components of the media components requested by the terminal are located in different media servers, the terminal realizes the session connection with each media server on the basis of complying with the SDP processing principle.
附图说明Description of drawings
图1为基于IP互联网络的电视的业务功能架构示意图;FIG. 1 is a schematic diagram of a service function architecture of a television based on an IP Internet network;
图2为本发明实施例一中在IPTV系统中会话建立的系统结构示意图;FIG. 2 is a schematic diagram of the system structure of session establishment in the IPTV system in
图3为本发明实施例二中信令流程示意图;FIG. 3 is a schematic diagram of a signaling flow in Embodiment 2 of the present invention;
图4为本发明实施例三中内容定位功能实体结构示意图;FIG. 4 is a schematic structural diagram of a content location functional entity in Embodiment 3 of the present invention;
图5为本发明实施例四中信令流程示意图;FIG. 5 is a schematic diagram of a signaling flow in Embodiment 4 of the present invention;
图6为本发明实施例五中信令流程示意图;FIG. 6 is a schematic diagram of a signaling flow in Embodiment 5 of the present invention;
图7为本发明实施例六中系统结构示意图;7 is a schematic structural diagram of the system in Embodiment 6 of the present invention;
图8为本发明实施例七中内容定位功能实体结构示意图;FIG. 8 is a schematic structural diagram of a content location function entity in Embodiment 7 of the present invention;
图9为本发明实施例八中信令流程示意图;FIG. 9 is a schematic diagram of a signaling flow in Embodiment 8 of the present invention;
图10为本发明实施例九中信令流程示意图;FIG. 10 is a schematic diagram of a signaling flow in Embodiment 9 of the present invention;
图11为本发明实施例十中系统结构示意图;Fig. 11 is a schematic structural diagram of the system in Embodiment 10 of the present invention;
图12为本发明实施例十一中内容定位功能实体结构示意图。FIG. 12 is a schematic diagram of the structure of a content location functional entity in Embodiment 11 of the present invention.
具体实施方式Detailed ways
为了解决本发明所提出的技术问题,网络侧将向终端返回媒体服务器位置信息的方式,来实现会话的建立;或者通过网络侧利用多种方式向终端返回媒体服务器的媒体控制通道参数信息的方式,来实现会话的建立。In order to solve the technical problem proposed by the present invention, the network side will return the mode of the media server location information to the terminal to realize the establishment of the session; or the mode of returning the media control channel parameter information of the media server to the terminal in various ways by the network side , to achieve session establishment.
下面结合说明书附图详细描述本发明。The present invention will be described in detail below in conjunction with the accompanying drawings.
如图2所示,为本发明实施例一中在IPTV系统中会话建立的系统结构示意图,该系统包括终端11、内容定位功能实体12和媒体服务器13,其中,终端11用于发送包含媒体成分 识的会话初始请求,接收位置信息,并利用所述位置信息与所述 识对应的媒体成分所在的媒体服务器13建立连接;内容定位功能实体12用于接收所述会话初始请求,并向所述终端11返回所述位置信息,该位置信息为:所述 识对应的媒体成分所在的至少两个媒体服务器的位置信息,或已获知所述 识对应的媒体成分所在的至少两个媒体服务器位置信息的内容定位功能实体的位置信息;媒体服务器13的个数至少为两个,用于与所述终端11建立会话连接。As shown in Figure 2, it is a schematic diagram of the system structure of session establishment in the IPTV system in
若所述位置信息为所述内容定位功能实体的位置信息,则所述内容定位功能实体12用于将已获知的所述 识对应的媒体成分所在的媒体服务器位置信息发送给所述终端11;所述终端11用于利用接收到的所述媒体服务器位置信息分别与媒体服务器13建立会话连接。If the location information is the location information of the content locating functional entity, the content locating
所述系统还包括IMS设备14,用于将所述终端11发送的会话初始请求转发至所述内容定位功能实体12。The system further includes an
在本实施例及后续的各实施例中,所述内容定位功能实体可以为SCF、MCF或MDF,或者是独立于SCF、MCF和MDF的具有媒体服务器选择功能的独立实体,所谓媒体服务器选择功能可以是确定媒体成分所在的媒体服务器的功能。In this embodiment and subsequent embodiments, the content location function entity may be SCF, MCF or MDF, or an independent entity with media server selection function independent of SCF, MCF and MDF, so-called media server selection function It may be a function of the media server to determine where the media component resides.
所述位置信息是通过重定向消息或通知消息(Notify)返回给终端的,具体地,可以是通过所述重定向消息或Notify的头域、或者消息体属性行携带的。The location information is returned to the terminal through a redirection message or a notification message (Notify), specifically, it may be carried in a header field of the redirection message or Notify, or an attribute line of a message body.
媒体成分一般包括音频媒体成分、视频媒体成分和文字媒体成分(字幕)等,在本发明实施例中,为了描述方便,设定媒体成分中包含音频媒体成分和视频媒体成分,且这两个媒体成分分布在不同的媒体服务器中。Media components generally include audio media components, video media components and text media components (subtitles), etc. In the embodiment of the present invention, for the convenience of description, the media components are set to include audio media components and video media components, and the two media components The components are distributed among different media servers.
本发明实施例二提供一种与实施例一中系统对应的在IPTV系统中会话建立的方法,如图3所示,为该方法的信令流程示意图,该过程主要包括以下步骤:Embodiment 2 of the present invention provides a method for establishing a session in an IPTV system corresponding to the system in
步骤301:终端向IMS CORE发起会话初始请求,该请求中包含请求的媒体成分 识。Step 301: The terminal initiates a session initiation request to the IMS CORE, and the request includes the requested media component identifier.
在本实施例中,媒体成分 识可以由统一资源 识符请求消息(RequestURI)携带,该 识可以是SIP:movie@SCF.com, 识终端请求的媒体成分。In this embodiment, the media component identifier may be carried by a uniform resource identifier request message (RequestURI), and the identifier may be SIP: movie@SCF.com, identifying the media component requested by the terminal.
步骤302:IMS CORE将接收到的所述会话初始请求发送给内容定位功能实体。Step 302: IMS CORE sends the received session initiation request to the content location function entity.
所述会话初始请求也可以由其他实体转发给内容定位功能实体,不限于IMS CORE。The session initiation request may also be forwarded to the content location functional entity by other entities, not limited to IMS CORE.
在本发明各实施例中,内容定位功能实体可以是SCF、MCF或MDF,或者独立于SCF、MCF和MDF的具有媒体服务器选择功能的独立实体,在本实施例中,设定内容定位功能实体为SCF。In each embodiment of the present invention, the content location function entity may be SCF, MCF or MDF, or an independent entity with a media server selection function independent of SCF, MCF and MDF. In this embodiment, the content location function entity is set for SCF.
在步骤301和步骤302中所述的会话初始请求可以携带一个音频RTP媒体 送通道、一个视频RTP媒体 送通道,一个RTSP媒体控制通道,其中,媒体控制通道同时控制音、视频媒体 送通道。这些通道的参数信息可以包含在SDP Offer中,也可能通过信令头域携带,如SIP头域,RTSP头域。本实施例以包含在SDP Offer中为例,其表示可以如下:The session initiation request described in step 301 and step 302 may carry an audio RTP media transmission channel, a video RTP media transmission channel, and an RTSP media control channel, wherein the media control channel simultaneously controls the audio and video media transmission channels. The parameter information of these channels can be included in the SDP Offer, or carried in signaling header fields, such as SIP header field and RTSP header field. In this embodiment, it is included in the SDP Offer as an example, and its expression can be as follows:
m=video 3400 RTP/AVP 98//视频RTP媒体 送通道m=video 3400 RTP/AVP 98//Video RTP media transmission channel
a=rtpmap:98 H263a=rtpmap:98 H263
a=label:1a=label: 1
m=audio 3456 RTP/AVP 97//音频RTP媒体 送通道m=audio 3456 RTP/AVP 97//Audio RTP media transmission channel
a=rtpmap:97 AMRa=rtpmap:97 AMR
a=label:2a=label: 2
m=application 9 TCP/RTSP rtsp//RTSP媒体控制通道m=application 9 TCP/RTSP rtsp//RTSP media control channel
a=connection:newa=connection:new
a=setup:activea=setup:active
a=rtspid m-stream:1,2a=rtspid m-stream: 1, 2
步骤303:内容定位功能实体确定所述媒体成分 识对应的媒体成分所在的至少两个媒体服务器。Step 303: The content location function entity determines at least two media servers where the media component corresponding to the media component identifier is located.
SCF 据接收到的媒体成分 识确定该媒体成分中的音频媒体成分位于媒体服务器A中(如MCF1控制的媒体服务器),视频媒体成分位于媒体服务器B中(如MCF2控制的媒体服务器)。The SCF determines according to the received media component identifier that the audio media component in the media component is located in the media server A (such as the media server controlled by MCF1), and the video media component is located in the media server B (such as the media server controlled by MCF2).
步骤304:内容定位功能实体将所述媒体服务器的位置信息返回给终端,或将已获知所述媒体服务器位置信息的内容定位功能实体的位置信息返回给终端。Step 304: The content location function entity returns the location information of the media server to the terminal, or returns the location information of the content location function entity that has obtained the location information of the media server to the terminal.
SCF向终端返回初始会话响应消息,该响应消息中包含媒体服务器A的位置信息和媒体服务器B的位置信息,指示不同的媒体成分存储在不同的媒体服务器上;或者在响应消息中包含已获知媒体服务器A的位置信息和媒体服务器B的位置信息的SCF的位置信息。The SCF returns an initial session response message to the terminal, which includes the location information of the media server A and the location information of the media server B, indicating that different media components are stored on different media servers; or includes the known media in the response message The location information of the server A and the location information of the media server B are the location information of the SCF.
在本实施例中,位置信息可以是逻辑位置信息也可以是物理位置信息。逻辑位置信息是指:负责处理不同媒体成分的内容定位功能实体的位置信息;物理位置信息是指:不同媒体成分所在的媒体服务器的位置信息,终端直接利用该物理位置信息与对应的媒体服务器建立连接。例如,媒体成分A的逻辑位置信息为:SIP:audio.movie@SCF.com,媒体成分B的逻辑位置信息为:SIP:video.movie@SCF.com。物理位置信息可以是SIP URI,例如,媒体成分A的物理位置信息为:SIP:audio.movie@MF1.com,媒体成分B的物理位置信息为:SIP:video.movie@MF2.com;物理位置信息还可以是RTSP URI,例如,媒体成分A的物理位置信息为:RTSP://MF.com/movie/audio,媒体成分B的逻辑位置信息为:RTSP://MF.com/movie/video。In this embodiment, the location information may be logical location information or physical location information. The logical location information refers to: the location information of the content location functional entity responsible for processing different media components; the physical location information refers to: the location information of the media server where the different media components are located, and the terminal directly uses the physical location information to establish the corresponding media server. connect. For example, the logical location information of media component A is: SIP: audio.movie@SCF.com, and the logical location information of media component B is: SIP: video.movie@SCF.com. The physical location information can be SIP URI, for example, the physical location information of media component A is: SIP: audio.movie@MF1.com, the physical location information of media component B is: SIP: video.movie@MF2.com; physical location The information can also be RTSP URI. For example, the physical location information of media component A is: RTSP://MF.com/movie/audio, and the logical location information of media component B is: RTSP://MF.com/movie/video .
若内容定位功能实体为MCF,则媒体成分A的逻辑位置信息为:SIP:audio.movie@MCF.com,媒体成分B的逻辑位置信息为:SIP:video.movie@MCF.com。媒体成分A的物理位置信息为:SIP:audio.movie@MDF1.com,媒体成分B的物理位置信息为:SIP:video.movie@MDF2.com;或者,媒体成分A的物理位置信息为:RTSP://MDF.com/movie/audio,媒体成分B的逻辑位置信息为:RTSP://MDF.com/movie/video。If the content location function entity is MCF, the logical location information of media component A is: SIP: audio.movie@MCF.com, and the logical location information of media component B is: SIP: video.movie@MCF.com. The physical location information of media component A is: SIP: audio.movie@MDF1.com, the physical location information of media component B is: SIP: video.movie@MDF2.com; or, the physical location information of media component A is: RTSP ://MDF.com/movie/audio, the logical location information of media component B is: RTSP://MDF.com/movie/video.
初始会话响应消息可以通过SIP 3XX重定向消息来实现,包括但不限于多选择消息(300消息)。也可以通过其他响应消息来实现,如183临时响应消息。The initial session response message can be realized by SIP 3XX redirect message, including but not limited to multi-choice message (300 message). It can also be implemented through other response messages, such as a 183 provisional response message.
所述媒体服务器或内容定位功能实体的位置信息可以携带在响应消息的头域,如联系(Contact)头域;或消息体中,如通过消息体属性行,如a=control属性行,实例如下:The location information of the media server or the content location functional entity can be carried in the header field of the response message, such as the contact (Contact) header field; or in the message body, such as through the message body attribute line, such as a=control attribute line, examples are as follows :
m=video 3400 RTP/AVP 98//视频RTP媒体 送通道m=video 3400 RTP/AVP 98//Video RTP media transmission channel
a=control:位置信息a=control: location information
a=rtpmap:98 H263a=rtpmap:98 H263
a=label:1a=label: 1
m=audio 3456 RTP/AVP 97//音频RTP媒体 送通道m=audio 3456 RTP/AVP 97//Audio RTP media transmission channel
a=control:位置信息a=control: location information
a=rtpmap:97 AMRa=rtpmap:97 AMR
a=label:2a=label: 2
m=application 0 TCP/RTSP rtsp//RTSP媒体控制通道,端口设置为0,表示拒绝m=application 0 TCP/RTSP rtsp//RTSP media control channel, port is set to 0, which means rejection
a=rtspid m-stream:1,2a=rtspid m-stream: 1, 2
同时,可以扩展SIP Content-Disposition头域,如设置为“Redirect”或者某个其他 志,指示终端如何解析消息体,或者消息头域中的内容。At the same time, the SIP Content-Disposition header field can be extended, such as being set to "Redirect" or some other flag, to instruct the terminal how to parse the message body or the content in the message header field.
本实施例还可以通过SIP通道返回位置信息给终端,具体返回的方式可以如上所述通过3xx消息,或者1xx消息。实际上,可以通过各种可能的方式返回位置信息给终端,如通过Subscribe/Notify消息。或者通过Option方法,或者扩展一种新的SIP方法,或者消息等。This embodiment can also return the location information to the terminal through the SIP channel, and the specific return method can be through the 3xx message or the 1xx message as described above. In fact, the location information can be returned to the terminal in various possible ways, such as through a Subscribe/Notify message. Or through the Option method, or extend a new SIP method, or message, etc.
步骤305:终端 据所述位置信息与保存媒体成分的媒体服务器建立会话连接。Step 305: The terminal establishes a session connection with the media server storing the media components according to the location information.
若终端接收到的位置信息是逻辑位置信息,则 据该逻辑位置信息发起会话建立请求,请求经过SCF,要求分别与音频媒体成份所在的媒体服务器A和视频媒体成份所在的媒体服务器B建立会话连接。在会话建立请求中的RequestURI中携带逻辑位置信息。则SCF将已获知的媒体服务器A和媒体服务器B的位置信息告知终端,当通道建立后,媒体服务器A和媒体服务器B分别通过SCF将携带音频对应的媒体控制通道信息和媒体 送通道信息、视频对应的媒体控制通道参数信息和媒体 送通道参数信息的SDP Answer向终端返回。If the location information received by the terminal is logical location information, a session establishment request is initiated according to the logical location information, and the request passes through the SCF to establish a session connection with the media server A where the audio media component is located and the media server B where the video media component is located. . The logical location information is carried in the RequestURI in the session establishment request. Then the SCF informs the terminal of the known location information of the media server A and the media server B. When the channel is established, the media server A and the media server B respectively carry the media control channel information corresponding to the audio, the media transmission channel information, and the video channel information through the SCF. The SDP Answer corresponding to the parameter information of the media control channel and the parameter information of the media transmission channel is returned to the terminal.
若终端接收到的位置信息是物理位置信息,则终端直接 据该物理位置信息与媒体服务器A和媒体服务器B建立会话连接,并且当会话连接建立后,媒体服务器A和媒体服务器B直接向终端返回各通道参数信息。If the location information received by the terminal is physical location information, the terminal will directly establish a session connection with media server A and media server B according to the physical location information, and when the session connection is established, media server A and media server B will directly return to the terminal Parameter information of each channel.
在本实施例二中,是以SCF作为内容定位功能实体来描述的,同 ,上述流程也适用于MCF作为内容定位功能实体的情况。由MCF接收到终端发送的会话初始请求后,确定视频成分和视频成分分布在不同的MDF上,则MCF向终端返回的初始会话响应消息中将包含各MDF的位置信息或获知各MDF的位置信息的MCF的位置信息,终端 据所述位置信息与对应的MDF建立会话连接。当MCF不支持集中控制(aggregate control)时,该方式尤其适用。In the second embodiment, the SCF is used as the content locating functional entity for description. Similarly, the above process is also applicable to the case where the MCF is used as the content locating functional entity. After the MCF receives the session initiation request sent by the terminal and determines that the video components and video components are distributed on different MDFs, the initial session response message returned by the MCF to the terminal will contain the location information of each MDF or obtain the location information of each MDF The terminal establishes a session connection with the corresponding MDF according to the location information of the MCF. This method is especially applicable when the MCF does not support aggregate control.
对应于实施例一和实施例二所描述的系统和方法,本发明实施例三还提供一种内容定位功能实体,如图4所示,包括接收模块21、位置信息确定模块22和发送模块23,其中,接收模块21用于接收包含媒体成分 识的会话初始请求;位置信息确定模块22用于确定所述 识对应的媒体成分所在的至少两个媒体服务器的位置信息,或已获知所述 识对应的媒体成分所在的至少两个媒体服务器位置信息的内容定位功能实体的位置信息;发送模块23用于发送所述位置信息确定模块22确定出的位置信息。所述位置信息是通过重定向消息或Notify携带的。进一步地,是通过所述重定向消息或Notify的头域、或者消息体属性行携带的。Corresponding to the systems and methods described in
同 ,本实施例所述的内容定位功能实体也可以为SCF、MCF或MDF,或者是具有媒体服务器选择功能的独立实体。Likewise, the content locating functional entity described in this embodiment may also be an SCF, MCF, or MDF, or an independent entity having a media server selection function.
通过本发明实施例一、二和三,内容定位功能实体直接或间接地将存放各媒体成分的媒体服务器的位置信息返回给终端,终端 据位置信息建立会话连接,使得终端间便地实现了与多个媒体服务器的会话连接,并且会话连接是通过媒体服务器的位置信息建立的,避免了请求的媒体控制通道和建立连接的控制通道个数不匹配的问题,符合了SDP的处理原则。Through
在本发明实施例中,还可以由内容定位功能实体与存放媒体成分的媒体服务器建立连接,即建立若干个媒体控制通道,并向终端返回设定个数(如一个)媒体控制通道对应的参数信息,该参数信息与内容定位功能实体和已建立的若干个媒体控制通道的参数信息存在对应关系。In the embodiment of the present invention, the content location function entity can also establish a connection with the media server storing the media components, that is, establish several media control channels, and return to the terminal the parameters corresponding to the set number (such as one) of the media control channels Information, the parameter information corresponds to the parameter information of the content positioning functional entity and several established media control channels.
如图5所示,为本发明实施例四中信令流程示意图,在本实施例中,同 设定请求的媒体成分中的音频成分位于媒体服务器A,视频成分位于媒体服务器B,该方法包括:As shown in Figure 5, it is a schematic diagram of the signaling flow in Embodiment 4 of the present invention. In this embodiment, it is also set that the audio component in the requested media component is located in Media Server A, and the video component is located in Media Server B. The method includes :
步骤501:终端向IMS CORE发起会话初始请求,该请求中包含请求的媒体成分 识。Step 501: The terminal initiates a session initiation request to the IMS CORE, and the request includes the requested media component identifier.
会话初始请求可以携带一个音频媒体 送通道、一个视频媒体 送通道,一个媒体控制通道。A session initiation request can carry an audio media transmission channel, a video media transmission channel, and a media control channel.
步骤502:IMS CORE将接收到的所述会话初始请求发送给内容定位功能实体。Step 502: IMS CORE sends the received session initiation request to the content location function entity.
步骤501和步骤502与前述步骤301和步骤302类似。Step 501 and step 502 are similar to the aforementioned step 301 and step 302 .
步骤503:内容定位功能实体 据所述媒体成分 识确定该媒体成分的媒体成分分别位于媒体服务器A和媒体服务器B。Step 503: The content location functional entity determines that the media components of the media component are respectively located in the media server A and the media server B according to the media component identifier.
步骤504:内容定位功能实体与媒体服务器A建立会话连接,获得媒体服务器A的媒体控制通道参数信息。Step 504: The content location functional entity establishes a session connection with the media server A, and obtains the media control channel parameter information of the media server A.
在本实施例中,也可以设定内容定位功能实体为SCF。In this embodiment, the content location functional entity may also be set as the SCF.
SCF向媒体服务器A发起会话初始请求,其中,SDP Offer携带媒体控制通道参数信息(RTSP通道参数信息),媒体 送通道参数信息(RTP通道参数信息)。此时,媒体控制通道参数信息是SCF本地的,媒体 送通道参数信息是终端发起的会话初始请求中携带的音频媒体成分对应的参数信息。The SCF initiates a session initiation request to the media server A, wherein the SDP Offer carries media control channel parameter information (RTSP channel parameter information) and media transmission channel parameter information (RTP channel parameter information). At this time, the media control channel parameter information is local to the SCF, and the media transmission channel parameter information is the parameter information corresponding to the audio media component carried in the session initiation request initiated by the terminal.
本步骤中的会话初始请求可以通过SIP Invite实现。The session initiation request in this step can be implemented through SIP Invite.
媒体服务器A向SCF返回会话初始响应,该过程可通过SIP 200 OK或SIP183实现。Media server A returns a session initiation response to SCF, which can be implemented through SIP 200 OK or SIP183.
通过步骤504,SCF和媒体服务器A建立音频媒体 送通道和音频媒体控制通道,即SCF获得媒体服务器A对应的控制通道参数信息和 送通道参数信息。Through step 504, the SCF and the media server A establish an audio media transmission channel and an audio media control channel, that is, the SCF obtains control channel parameter information and transmission channel parameter information corresponding to the media server A.
步骤505:内容定位功能实体与媒体服务器B建立会话连接,获得媒体服务器B的媒体控制通道参数信息。Step 505: The content location functional entity establishes a session connection with the media server B, and obtains the media control channel parameter information of the media server B.
步骤505的实现与步骤504类似,SCF和媒体服务器B建立视频媒体 送通道和视频媒体控制通道。The implementation of step 505 is similar to that of step 504. The SCF and media server B establish a video media transmission channel and a video media control channel.
步骤504和步骤505中SCF的处理过程类似于 统会话业务中的分岔(Forking)处理过程。The processing procedure of the SCF in step 504 and step 505 is similar to the forking (Forking) processing procedure in the traditional session service.
步骤506:内容定位功能实体向终端返回会话初始响应,该响应中包含媒体控制通道参数,所述参数与内容定位功能实体和媒体服务器A、媒体服务器B之间的媒体控制通道参数存在对应关系。Step 506: The content location function entity returns a session initiation response to the terminal, the response includes media control channel parameters, and the parameters correspond to the media control channel parameters between the content location function entity and media server A and media server B.
SCF接收到媒体服务器A和媒体服务器B返回的会话初始响应后,并不直接向终端返回这两个媒体控制通道的参数,而是由SCF本地分配一个媒体控制通道参数,与步骤504和步骤505中获得的两个媒体控制通道的参数建立对应关系,并将SCF本地分配的媒体控制通道参数返回给终端,这 避免了终端发起会话初始请求中包含的媒体控制通道个数与接收到的媒体控制通道个数的不对等,又在后续能够通过SCF与媒体服务器A和媒体服务器B建立会话连接。After the SCF receives the session initial response returned by the media server A and the media server B, it does not directly return the parameters of the two media control channels to the terminal, but the SCF allocates a media control channel parameter locally, which is the same as step 504 and step 505 Establish a corresponding relationship between the parameters of the two media control channels obtained in , and return the parameters of the media control channels locally allocated by the SCF to the terminal, thus avoiding the difference between the number of media control channels contained in the initial session request initiated by the terminal and the The number of channels is not equal, and a session connection can be established with media server A and media server B through SCF later.
内容定位功能实体向终端返回会话初始响应中的SDP Answer中携带了与步骤501中的会话初始请求中媒体成分对应的参数信息:步骤506中SCF本地分配的一个媒体控制通道参数信息、一个音频媒体 送通道参数信息和一个视频媒体 送通道参数信息。The SDP Answer in the session initiation response returned by the content location functional entity to the terminal carries the parameter information corresponding to the media component in the session initiation request in step 501: a media control channel parameter information locally allocated by the SCF in
本步骤中, 据步骤504和步骤505中SCF接收到的消息类型选择SIP 200OK或SIP 183来实现返回响应消息的过程。In this step, SIP 200OK or SIP 183 is selected according to the message type received by the SCF in step 504 and step 505 to realize the process of returning a response message.
此时,终端通过内容定位功能实体与媒体服务器A和媒体服务器B建立了会话连接,可以实现IPTV业务。At this time, the terminal establishes a session connection with the media server A and the media server B through the content location function entity, and the IPTV service can be realized.
若实施例四中,媒体成分全部位于同一个媒体服务器,则将该媒体服务器对应的媒体控制通道参数信息直接返回给终端,此时,仍然可以看作由内容定位功能实体将媒体服务器对应的媒体控制通道参数信息对应的内容相同的参数信息返回给终端。If in Embodiment 4, the media components are all located in the same media server, then the media control channel parameter information corresponding to the media server is directly returned to the terminal. The parameter information with the same content corresponding to the control channel parameter information is returned to the terminal.
若终端发送的会话初始请求中还包含媒体控制通道的参数信息,且参数信息对应的媒体控制通道的条数为一条,则向终端返回的参数信息对应的媒体控制通道条数也为一条,当然,此向终端返回的参数信息对应多条媒体控制通道的参数信息。若终端发送的会话初始请求包含的参数信息对应的媒体控制通道的条数为两条,则向终端返回的参数信息对应的媒体控制通道条数也为两条,其中一条对应部分媒体服务器的媒体控制通道的参数信息,另一条对应剩余媒体服务器的媒体控制通道的参数信息。若大于两条的情况类似。If the session initial request sent by the terminal also includes parameter information of the media control channel, and the number of media control channels corresponding to the parameter information is one, then the number of media control channels corresponding to the parameter information returned to the terminal is also one, of course , the parameter information returned to the terminal corresponds to the parameter information of multiple media control channels. If the number of media control channels corresponding to the parameter information contained in the session initial request sent by the terminal is two, the number of media control channels corresponding to the parameter information returned to the terminal is also two, one of which corresponds to the media of some media servers. The parameter information of the control channel, and the other corresponding to the parameter information of the media control channel of the remaining media servers. If more than two cases are similar.
在本实施例四的步骤同 适用于MCF作为内容定位功能实体的情况,当MCF发现音频成分和视频成分分布在不同的MDF上时,分配RTSP媒体控制通道信息,并分别与各MDF建立媒体控制通道(该媒体控制通道不局限于RTSP,还可能是H.248,或者SIP,取决于VCR命令的具体实现),并保存所述与音频、视频MDF的媒体控制通道的参数信息与分配的RTSP媒体控制通道的参数信息的对应关系,并将该分配的RTSP媒体控制通道的参数信息返回给终端,使得终端能够实现IPTV业务。The steps in Embodiment 4 are also applicable to the case where MCF is used as the content location functional entity. When MCF finds that audio components and video components are distributed on different MDFs, it distributes RTSP media control channel information and establishes media control with each MDF respectively. channel (the media control channel is not limited to RTSP, it may also be H.248, or SIP, depending on the specific implementation of the VCR command), and save the parameter information and the allocated RTSP of the media control channel of the audio and video MDF The corresponding relationship of the parameter information of the media control channel, and return the parameter information of the allocated RTSP media control channel to the terminal, so that the terminal can realize the IPTV service.
终端 据分配的RTSP媒体控制通道可以对两个MDF直接进行控制,除此之外,本发明实施例五中还提供一种方法,可以让终端直接对MDF1进行控制,间接对MDF2进行控制,在本实施例中,内容定位功能实体为MCF,如图6所示,该方法步骤为:The terminal can directly control the two MDFs according to the allocated RTSP media control channel. In addition, Embodiment 5 of the present invention also provides a method that allows the terminal to directly control MDF1 and indirectly control MDF2. In this embodiment, the content location functional entity is MCF, as shown in FIG. 6, and the method steps are:
步骤601:终端向IMS CORE发起会话初始请求,该请求中包含请求的媒体成分 识。Step 601: The terminal initiates a session initiation request to the IMS CORE, and the request includes the requested media component identifier.
会话初始请求可以携带一个音频媒体 送通道、一个视频媒体 送通道、一个文字媒体 送通道和一个媒体控制通道。A session initiation request can carry an audio media transfer channel, a video media transfer channel, a text media transfer channel, and a media control channel.
步骤602:IMS CORE将接收到的所述会话初始请求发送给SCF。Step 602: The IMS CORE sends the received session initiation request to the SCF.
步骤601和步骤602与前述步骤301和步骤302类似。Step 601 and step 602 are similar to the aforementioned step 301 and step 302 .
步骤603:SCF将所述会话初始请求发送给MCF。Step 603: The SCF sends the session initiation request to the MCF.
步骤604:MCF 据所述媒体成分 识查询出该媒体成分的媒体成分分别位于MDF1、MDF2和MDF3。Step 604: The MCF finds out that the media components of the media component are respectively located in MDF1, MDF2 and MDF3 according to the media component identifier.
在本实施例中,设定音频成分位于MDF1,视频成分位于MDF2,文字成分位于MDF3。In this embodiment, it is set that the audio component is located in MDF1, the video component is located in MDF2, and the text component is located in MDF3.
步骤605:MCF与MDF1建立会话连接。Step 605: MCF establishes a session connection with MDF1.
MCF与MDF1之间进行媒体交付会话控制,MCF与MDF1之间建立会话连接,即MCF获得音频媒体 送通道参数信息,如RTP通道参数信息,音频媒体控制通道参数信息,如RTSP通道参数信息。参数信息可能包含相应通道的IP地址和/或端口信息等。Media delivery session control is performed between MCF and MDF1, and a session connection is established between MCF and MDF1, that is, MCF obtains audio media transmission channel parameter information, such as RTP channel parameter information, and audio media control channel parameter information, such as RTSP channel parameter information. The parameter information may include the IP address and/or port information of the corresponding channel, etc.
本步骤中MCF和MDF的通信协议可以为H.248、RTSP或SIP协议中的一种或任意组合。The communication protocol between MCF and MDF in this step can be one or any combination of H.248, RTSP or SIP protocols.
步骤606:MCF与MDF2建立视频媒体 送通道。Step 606: MCF and MDF2 establish a video media transmission channel.
MCF与MDF2之间进行媒体交付会话控制,MCF获得视频媒体 送通道参数信息,如RTP通道参数信息。Media delivery session control is performed between MCF and MDF2, and MCF obtains video media transmission channel parameter information, such as RTP channel parameter information.
同 ,MCF和MDF的通信协议可以为H.248、RTSP或SIP协议中的一种或任意组合。Similarly, the communication protocol of MCF and MDF can be one or any combination of H.248, RTSP or SIP.
本步骤不是必须存在的,MCF也可以暂时不与MDF2联系,如图中虚线所示。This step does not have to exist, and the MCF may not contact the MDF2 temporarily, as shown by the dotted line in the figure.
步骤607:MCF与MDF3建立文字媒体 送通道。Step 607: MCF and MDF3 establish a text media transmission channel.
本步骤与步骤606类似,也不是必须存在的,MCF也可以暂时不与MDF3联系。This step is similar to step 606, and does not necessarily exist, and the MCF may not contact MDF3 temporarily.
步骤608:MDF1分别与MDF2和MDF3建立控制通道,并建立该控制通道参数信息与所述音频媒体控制通道参数信息的对应关系。Step 608: MDF1 establishes control channels with MDF2 and MDF3 respectively, and establishes the corresponding relationship between the control channel parameter information and the audio media control channel parameter information.
MCF通知MDF1与MDF2和MDF3建立控制通道,上述步骤605协商的音频媒体控制通道同时用于控制MDF2和MDF3对应的媒体成分。即当MDF1接收到上述步骤605协商的音频媒体控制通道的消息时,如快进,快退等,MDF1 据已建立的对应关系确定出与MDF2和MDF3之间的控制通道参数信息,控制MDF2的视频媒体成分和MDF3的文字内容进行同 的操作;或者,MDF1获取MDF2和MDF3中的内容,将分布的媒体成分集中到一个媒体服务器上,然后MDF1从MDF2和MDF3获取视频媒体成分并提供给终端。The MCF notifies MDF1 to establish a control channel with MDF2 and MDF3, and the audio media control channel negotiated in step 605 is used to control the media components corresponding to MDF2 and MDF3. That is, when MDF1 receives the message of the audio media control channel negotiated in step 605 above, such as fast forward, fast rewind, etc., MDF1 determines the control channel parameter information between MDF2 and MDF3 according to the established correspondence, and controls the MDF2. Perform the same operations on the video media components and the text content of MDF3; or, MDF1 obtains the content in MDF2 and MDF3, and collects the distributed media components on a media server, and then MDF1 obtains the video media components from MDF2 and MDF3 and provides them to the terminal .
该步骤可以独立实现,或者和步骤605一起;如果步骤606和步骤607不存在,则此步骤同时用来实现步骤606和步骤607中的功能。This step can be implemented independently, or together with step 605; if step 606 and step 607 do not exist, then this step is used to implement the functions in step 606 and step 607 at the same time.
同 ,MCF和MDF的通信协议可以为H.248、RTSP或SIP协议中的一种或任意组合。Similarly, the communication protocol of MCF and MDF can be one or any combination of H.248, RTSP or SIP.
步骤609:MCF向终端返回会话初始响应,该响应中包含音频媒体控制通道参数信息。Step 609: The MCF returns a session initiation response to the terminal, and the response includes audio media control channel parameter information.
本步骤中的会话初始响应中的SDP Answer携带和步骤601中会话初始请求中媒体成分对应的信息:一个媒体控制通道参数信息、一个音频媒体 送通道参数信息、一个视频媒体 送通道参数信息和一个文字媒体 送通道参数信息。媒体控制通道参数信息MCF产生的媒体控制通道参数信息;音频媒体 送通道参数信息是MDF1对应的媒体 送通道参数信息;视频媒体 送通道的信息为MDF2对应的媒体 送通道参数信息;文字媒体 送通道的信息为MDF3对应的媒体 送通道参数信息。若没有步骤606和步骤607,则MDF2和MD3对应的媒体 送通道参数信息可以是 效信息。The SDP Answer in the session initial response in this step carries information corresponding to the media component in the session initial request in step 601: a media control channel parameter information, an audio media transmission channel parameter information, a video media transmission channel parameter information and a Text media transmits channel parameter information. Media control channel parameter information MCF generated media control channel parameter information; audio media transmission channel parameter information is the media transmission channel parameter information corresponding to MDF1; video media transmission channel information is the media transmission channel parameter information corresponding to MDF2; text media transmission channel The information is the media transmission channel parameter information corresponding to MDF3. If there are no steps 606 and 607, the media transmission channel parameter information corresponding to MDF2 and MD3 may be invalid information.
此会话初始响应是通过SCF和IMS CORE转发至终端的,可以是通过SIP200 OK或SIP 183实现。This session initial response is forwarded to the terminal through SCF and IMS CORE, which can be realized through SIP200 OK or SIP 183.
终端 据接收到的响应中的参数信息与MCF建立会话连接时存在中间消息的交互,如ACK、PRACK等,此处不再赘述。When the terminal establishes a session connection with the MCF according to the parameter information in the received response, there is an interaction of intermediate messages, such as ACK, PRACK, etc., which will not be repeated here.
本发明实施例四和实施例五同 对应本发明实施例六所描述的系统,如图7所示,该系统包括终端31和内容定位功能实体32,其中,终端31用于发送包含媒体成分 识的会话初始请求,并接收媒体控制通道参数信息;内容定位功能实体32用于接收所述会话初始请求,确定所述 识对应的媒体成分所在的至少两个媒体服务器,并获取所述媒体服务器的媒体控制通道参数信息,并将与该参数信息存在对应关系的媒体控制通道参数信息返回给终端31。Embodiment 4 and Embodiment 5 of the present invention also correspond to the system described in Embodiment 6 of the present invention. As shown in FIG. 7 , the system includes a terminal 31 and a content location
所述系统还包括至少两个媒体服务器33,则所述内容定位功能实体32用于获取确定出的第一媒体服务器33的第一媒体控制通道参数信息,并将该参数信息返回给终端31;所述第一媒体服务器33用于与确定出的剩余的媒体服务器分别建立控制通道参数信息,并建立该控制通道参数信息与所述第一媒体控制通道参数信息的对应关系。The system also includes at least two
所述系统还包括IP多媒体子系统设备34,用于将终端31发送的所述会话初始请求转发至内容定位功能实体32。The system further includes an IP
所述内容定位功能实体32为SCF、MCF或MDF。The content
若所述内容定位功能实体为MCF,则所述IP多媒体子系统设备34用于将终端发送的所述会话初始请求转发至SCF;SCF用于将所述会话初始请求转发至MCF。If the content location function entity is MCF, the IP
本发明实施例七所描述的内容定位功能实体与实施例四至实施例六中的对应,如图8所示,该实体包括接收模块41、获取模块42和发送模块43,其中,接收模块41用于接收会话初始请求,该请求中包含媒体成分 识;获取模块42用于确定所述 识对应的媒体成分所在的至少两个媒体服务器,并获取所述媒体服务器的媒体控制通道参数信息;发送模块43用于将与获取的所述参数信息存在对应关系的媒体控制通道参数信息发送。The content location function entity described in Embodiment 7 of the present invention corresponds to Embodiment 4 to Embodiment 6. As shown in FIG. In receiving the initial request of the session, the request includes the media component identification; the
若内容定位功能实体为MDF,则所述获取模块42包括执行单元44和建立单元45,其中,执行单元44用于将自身的媒体控制通道参数信息发送给所述发送模块43;建立单元45用于与剩余的媒体服务器分别建立控制通道参数信息,并建立该控制通道参数信息与所述自身的媒体控制通道参数信息的对应关系。If the content location functional entity is MDF, then the
通过本发明实施例七所述的方法、系统及内容定位功能实体,既避免了返回的多个媒体控制通道参数信息的情况,又通过建立的对应关系,使得终端可以利用接收到的一个媒体控制通道参数信息来控制多个媒体控制通道参数信息,成功建立了会话过程。Through the method, system, and content positioning functional entity described in Embodiment 7 of the present invention, the situation of returning multiple media control channel parameter information is avoided, and through the established corresponding relationship, the terminal can use a received media control channel The channel parameter information is used to control multiple media control channel parameter information, and the session process is successfully established.
在本发明实施例八中提出另一种实现方案,终端通过内容定位功能实体分多次获取并向终端返回媒体服务器媒体控制通道参数信息,如图9所示,若媒体成分的音频媒体成分位于媒体服务器A,视频媒体成分位于媒体服务器B,则步骤包括:Another implementation scheme is proposed in Embodiment 8 of the present invention. The terminal obtains and returns the media server media control channel parameter information of the media server multiple times through the content location function entity, as shown in FIG. 9 , if the audio media component of the media component is located at Media server A, the video media component is located in media server B, then the steps include:
步骤901:终端向IMS CORE发起会话初始请求,该请求中包含请求的媒体成分 识。Step 901: The terminal initiates a session initiation request to the IMS CORE, and the request includes the requested media component identifier.
会话初始请求可以携带一个音频媒体 送通道、一个视频媒体 送通道,一个媒体控制通道。A session initiation request can carry an audio media transmission channel, a video media transmission channel, and a media control channel.
步骤902:IMS CORE将接收到的所述会话初始请求发送给内容定位功能实体。Step 902: IMS CORE sends the received session initiation request to the content location function entity.
步骤901和步骤902与前述步骤301和步骤302类似。Step 901 and step 902 are similar to the aforementioned step 301 and step 302 .
步骤903:内容定位功能实体 据所述媒体成分 识确定该媒体成分的媒体成分分别位于媒体服务器A和媒体服务器B。Step 903: The content location functional entity determines that the media components of the media component are respectively located in the media server A and the media server B according to the media component identifier.
步骤904:内容定位功能实体与媒体服务器A建立会话连接。Step 904: The content location functional entity establishes a session connection with the media server A.
在本实施例中,也可以设定内容定位功能实体为SCF。In this embodiment, the content location functional entity may also be set as the SCF.
SCF向媒体服务器A发起会话初始请求,其中,SDP Offer携带媒体控制通道参数信息(RTSP通道参数信息),媒体 送通道参数信息(RTP通道参数信息)。此时,媒体控制通道参数信息是终端请求中携带的媒体控制通道参数信息,媒体 送通道参数信息是终端发起的会话初始请求中携带的音频媒体成分对应的参数信息。The SCF initiates a session initiation request to the media server A, wherein the SDP Offer carries media control channel parameter information (RTSP channel parameter information) and media transmission channel parameter information (RTP channel parameter information). At this time, the media control channel parameter information is the media control channel parameter information carried in the terminal request, and the media transmission channel parameter information is the parameter information corresponding to the audio media component carried in the session initiation request initiated by the terminal.
本步骤中的会话初始请求可以通过SIP Invite实现。The session initiation request in this step can be implemented through SIP Invite.
媒体服务器A向SCF返回会话初始响应,该过程可通过SIP 200 OK或SIP183实现。Media server A returns a session initiation response to SCF, which can be implemented through SIP 200 OK or SIP183.
通过步骤904,SCF和媒体服务器A建立音频媒体 送通道和音频媒体控制通道。Through step 904, the SCF and the media server A establish an audio media transmission channel and an audio media control channel.
步骤905:内容定位功能实体与媒体服务器A建立视频媒体 送通道。Step 905: The content location functional entity establishes a video media transmission channel with the media server A.
此时,SDP Offer携带媒体 送通道参数信息(RTP通道参数信息),媒体 送通道参数信息是终端发起的会话初始请求中携带的视频媒体成分对应的参数信息。At this time, the SDP Offer carries media transmission channel parameter information (RTP channel parameter information), and the media transmission channel parameter information is the parameter information corresponding to the video media component carried in the session initiation request initiated by the terminal.
在本实施例中,步骤905在存在是可选的,图中虚线所示,在实现中,是先建立音频媒体 送通道和音频媒体控制通道,还是先建立视频媒体 送通道和视频媒体控制通道也是可选的。In this embodiment, step 905 is optional, as shown by the dotted line in the figure, in implementation, whether to first establish the audio media transmission channel and the audio media control channel, or first establish the video media transmission channel and the video media control channel is also optional.
步骤906:内容定位功能实体向终端返回会话初始响应,该响应中包含音频媒体控制通道参数信息。Step 906: The content location functional entity returns a session initiation response to the terminal, and the response includes the audio media control channel parameter information.
会话初始响应中的SDP Answer中携带和步骤901中的会话初始请求中媒体成分对应的信息:一个媒体控制通道参数信息,一个音频媒体 送通道参数信息,一个视频媒体 送通道参数信息。在本实施例中,媒体控制通道参数信息是媒体服务器A上对应的媒体控制通道参数信息;音频媒体 送通道参数信息是媒体服务器A上对应的媒体 送通道信息;若步骤905存在,则视频媒体 送通道参数信息是媒体服务器B上对应的媒体 送通道信息,若步骤905不存在,则视频媒体 送通道参数信息可以是SCF任意构 的一个参数信息,如参数信息中的地址填写为0.0.0.0,端口任意。The SDP Answer in the session initiation response carries information corresponding to the media components in the session initiation request in step 901: a piece of media control channel parameter information, a piece of audio media transmission channel parameter information, and a piece of video media transmission channel parameter information. In this embodiment, the media control channel parameter information is the corresponding media control channel parameter information on the media server A; the audio media transmission channel parameter information is the corresponding media transmission channel information on the media server A; if step 905 exists, the video media The transmission channel parameter information is the corresponding media transmission channel information on the media server B. If step 905 does not exist, the video media transmission channel parameter information can be a parameter information constructed by SCF arbitrarily. For example, the address in the parameter information is filled in as 0.0.0.0 , any port.
据步骤904和步骤905中SCF接收到的消息类型选择SIP 200 OK或SIP183来实现返回响应消息的过程。According to the message type that SCF receives in step 904 and step 905, select SIP 200 OK or SIP183 to realize the process of returning the response message.
在本实施例中,终端 据接收到的会话初始响应中的参数信息与媒体服务器建立会话连接时存在中间消息的交互,如应答响应消息(ACK)、临时可 响应(PRACK)等,此处不再赘述。In this embodiment, when the terminal establishes a session connection with the media server according to the parameter information in the received session initiation response, there is an interaction of intermediate messages, such as an acknowledgment response message (ACK), a provisional reliable response (PRACK), etc., which are not described here Let me repeat.
步骤907:内容定位功能实体与媒体服务器B建立视频媒体控制通道,并将该控制通道参数信息返回给终端。Step 907: The content location functional entity establishes a video media control channel with the media server B, and returns the control channel parameter information to the terminal.
在本步骤中,可以由终端再次发起请求要求与媒体服务器B建立视频媒体控制通道,可以由SCF发起请求与媒体服务器B建立视频媒体控制通道。In this step, the terminal may initiate a request to establish a video media control channel with the media server B again, and the SCF may initiate a request to establish a video media control channel with the media server B.
以SCF发起请求为例,若步骤905存在,则SCF向媒体服务器B发起会话修改请求,要求与媒体服务器B建立视频媒体控制通道,媒体服务器B向SCF返回会话修改响应消息,通过此响应消息,SCF获取媒体服务器B对应的媒体控制通道的参数信息,并将该参数信息通过会话修改请求返回给终端,终端接收到媒体服务器B对应的媒体控制通道的参数信息后,向SCF返回会话修改响应。Take the SCF initiation request as an example, if step 905 exists, then the SCF initiates a session modification request to the media server B, requesting to establish a video media control channel with the media server B, and the media server B returns a session modification response message to the SCF, and through this response message, The SCF obtains the parameter information of the media control channel corresponding to the media server B, and returns the parameter information to the terminal through a session modification request. After receiving the parameter information of the media control channel corresponding to the media server B, the terminal returns a session modification response to the SCF.
会话修改请求可以通过会话初始化协议的再邀请消息(SIP reInvite)或会话初始化协议的更新消息(SIP Update)消息实现。The session modification request can be implemented through the re-invite message (SIP reInvite) of the session initiation protocol or the update message (SIP Update) of the session initiation protocol.
若步骤905不存在,则SCF向媒体服务器B发起会话初始请求,要求与媒体服务器B建立视频媒体控制通道和视频媒体 送通道,媒体服务器B向SCF返回会话初始响应消息,通过此响应消息,SCF获取媒体服务器B对应的媒体控制通道的参数信息和媒体 送通道的参数信息,并将该参数信息通过会话修改响应消息返回给终端。If step 905 does not exist, then the SCF initiates a session initiation request to the media server B, requesting to establish a video media control channel and a video media transmission channel with the media server B, and the media server B returns a session initiation response message to the SCF, and through this response message, the SCF The parameter information of the media control channel and the parameter information of the media transmission channel corresponding to the media server B are obtained, and the parameter information is returned to the terminal through a session modification response message.
此时,会话初始请求可以通过SIP Invite消息。At this point, the session initiation request can be sent via the SIP Invite message.
若以终端发起请求为例,则终端向SCF发起会话修改请求,则SCF按照上述SCF发起请求的情况向终端返回媒体服务器B对应的视频媒体控制通道参数信息。Taking the request initiated by the terminal as an example, the terminal initiates a session modification request to the SCF, and the SCF returns the video media control channel parameter information corresponding to the media server B to the terminal according to the situation of the request initiated by the SCF.
与步骤606中相似地,终端 据接收到的响应中的参数信息与媒体服务器B建立会话连接时存在中间消息的交互,如ACK、PRACK等,此处不再赘述。Similar to step 606, when the terminal establishes a session connection with the media server B according to the parameter information in the received response, there is an interaction of intermediate messages, such as ACK, PRACK, etc., which will not be repeated here.
在上述步骤901至步骤907中,向终端返回的媒体控制通道参数信息只对应一条媒体控制通道,但也可以看作是将SCF获取的媒体控制通道参数信息对应的内容相同的参数信息返回给终端。In the above steps 901 to 907, the media control channel parameter information returned to the terminal corresponds to only one media control channel, but it can also be regarded as returning the parameter information with the same content corresponding to the media control channel parameter information acquired by the SCF to the terminal .
另外,若请求的媒体成分中各媒体成分分布在三个媒体服务器中,则可以先按照实施例四的方式获得其中两个媒体服务器对应的媒体控制通道参数信息,再按照实施例八步骤907的方式获得第三个媒体服务器对应的媒体控制通道参数信息。In addition, if the media components in the requested media components are distributed in three media servers, the media control channel parameter information corresponding to two of the media servers can be obtained first according to the method of Embodiment 4, and then according to the
在本实施例中,在步骤906之后,内容定位功能实体向终端返回了媒体服务器A对应的音频媒体控制通道参数信息之后,也可以不进行后续的操作,而是将媒体服务器B的位置信息返回给终端,由终端 据实施例二描述的方式与媒体服务器B建立会话连接。In this embodiment, after step 906, after the content location function entity returns the audio media control channel parameter information corresponding to media server A to the terminal, it may not perform subsequent operations, but return the location information of media server B to the terminal. For the terminal, the terminal establishes a session connection with the media server B according to the method described in the second embodiment.
在实施例八中,是将SCF作为内容定位功能实体实现本发明的,本发明实施例九中,以MCF作为内容定位功能实体为例描述本发明,如图10所示,包括:In the eighth embodiment, the present invention is realized by using the SCF as the content locating functional entity. In the ninth embodiment of the present invention, the present invention is described by taking the MCF as the content locating functional entity as an example, as shown in FIG. 10 , including:
步骤1001:终端向IMS CORE发起会话初始请求,该请求中包含请求的媒体成分 识。Step 1001: The terminal initiates a session initiation request to the IMS CORE, and the request includes the requested media component identifier.
会话初始请求可以携带一个音频媒体 送通道、一个视频媒体 送通道,一个媒体控制通道。A session initiation request can carry an audio media transmission channel, a video media transmission channel, and a media control channel.
步骤1002:IMS CORE将接收到的所述会话初始请求发送给SCF。Step 1002: IMS CORE sends the received session initiation request to SCF.
步骤1001和步骤1002与前述步骤301和步骤302类似。Step 1001 and step 1002 are similar to the aforementioned step 301 and step 302 .
步骤1003:SCF将所述会话初始请求发送给MCF。Step 1003: the SCF sends the session initiation request to the MCF.
步骤1004:MCF 据所述媒体成分 识确定该媒体成分的媒体成分分别位于MDF1和MDF2。Step 1004: The MCF determines according to the media component identifier that the media components of the media component are respectively located in MDF1 and MDF2.
在本实施例中,设定音频成分位于MDF1,视频成分位于MDF2。In this embodiment, it is set that the audio component is located in MDF1 and the video component is located in MDF2.
步骤1005:MCF与MDF1建立会话连接。Step 1005: MCF establishes a session connection with MDF1.
MCF与MDF1之间进行媒体交付会话控制,MCF与MDF1之间建立会话连接,即MCF获得音频媒体 送通道参数信息,如RTP通道参数信息,媒体控制通道参数信息,如RTSP通道参数信息。参数信息可能包含相应通道的IP地址和/或端口信息等。Media delivery session control is performed between MCF and MDF1, and a session connection is established between MCF and MDF1, that is, MCF obtains audio media transmission channel parameter information, such as RTP channel parameter information, and media control channel parameter information, such as RTSP channel parameter information. The parameter information may include the IP address and/or port information of the corresponding channel, etc.
本步骤中MCF和MDF的通信协议可以为H.248、RTSP或SIP协议中的一种或任意组合。The communication protocol between MCF and MDF in this step can be one or any combination of H.248, RTSP or SIP protocols.
步骤1006:MCF与MDF2建立视频媒体 送通道。Step 1006: MCF and MDF2 establish a video media transmission channel.
MCF与MDF2之间进行媒体交付会话控制,MCF获得视频媒体 送通道参数信息,如RTP通道参数信息。Media delivery session control is performed between MCF and MDF2, and MCF obtains video media transmission channel parameter information, such as RTP channel parameter information.
同 ,MCF和MDF的通信协议可以为H.248、RTSP或SIP协议中的一种或任意组合。Similarly, the communication protocol of MCF and MDF can be one or any combination of H.248, RTSP or SIP.
本步骤不是必须存在的,MCF也可以暂时不与MDF2联系。This step does not have to exist, and MCF may not contact MDF2 temporarily.
步骤1007:MCF向终端返回会话初始响应,该响应中包含音频媒体控制通道参数信息。Step 1007: The MCF returns a session initiation response to the terminal, and the response includes audio media control channel parameter information.
本步骤中的会话初始响应中的SDP Answer携带和步骤1001中会话初始请求中媒体成分对应的信息:一个媒体控制通道参数信息,一个音频媒体 送通道参数信息,一个视频媒体 送通道参数信息。媒体控制通道参数信息是MDF1对应的媒体控制通道参数信息;音频媒体 送通道参数信息是MDF1对应的媒体 送通道参数信息;若步骤1006存在,则视频媒体 送通道的信息为MDF2对应的媒体 送通道参数信息;若步骤1006不存在,则视频媒体 送通道的信息为SCF任意构 的一个 效信息。The SDP Answer in the session initial response in this step carries information corresponding to the media component in the session initial request in step 1001: a piece of media control channel parameter information, a piece of audio media transmission channel parameter information, and a piece of video media transmission channel parameter information. The media control channel parameter information is the corresponding media control channel parameter information of MDF1; the audio media transmission channel parameter information is the corresponding media transmission channel parameter information of MDF1; if step 1006 exists, the information of the video media transmission channel is the corresponding media transmission channel of MDF2 Parameter information; if step 1006 does not exist, the information of the video media transmission channel is an invalid information arbitrarily constructed by the SCF.
此会话初始响应是通过SCF和IMS CORE转发至终端的,可以是通过SIP200 OK或SIP 183实现。This session initial response is forwarded to the terminal through SCF and IMS CORE, which can be realized through SIP200 OK or SIP 183.
终端 据接收到的响应中的参数信息与MDF1建立会话连接时存在中间消息的交互,如ACK、PRACK等,此处不再赘述。When the terminal establishes a session connection with MDF1 according to the parameter information in the received response, there is interaction of intermediate messages, such as ACK, PRACK, etc., which will not be repeated here.
步骤1008:MCF与MDF2建立视频媒体控制通道,并将视频媒体控制通道参数信息返回给终端。Step 1008: MCF and MDF2 establish a video media control channel, and return the parameter information of the video media control channel to the terminal.
若步骤1006中MCF与MDF2之间只建立了视频媒体 送通道,则此步骤中MCF与MDF2之间进行媒体交付会话控制,MCF与MDF2建立视频媒体控制通道,MCF获得MDF2对应的视频媒体控制通道参数信息,并将包含该参数信息的会话修改请求通过SCF和IMS CORE转发至终端,终端再通过IMSCORE和SCF将会话修改响应返回给MCF。If only a video media transmission channel is established between MCF and MDF2 in step 1006, then in this step, media delivery session control is performed between MCF and MDF2, MCF and MDF2 establish a video media control channel, and MCF obtains the video media control channel corresponding to MDF2 parameter information, and forward the session modification request containing the parameter information to the terminal through SCF and IMS CORE, and the terminal returns the session modification response to MCF through IMSCORE and SCF.
若步骤1006中MCF与MDF2之间既建立了视频媒体 送通道,又建立了视频媒体控制通道,则步骤1008可以不存在。If both the video media transmission channel and the video media control channel are established between the MCF and MDF2 in step 1006, then step 1008 may not exist.
若步骤1006不存在,则MCF与MDF2之间进行媒体交付会话控制,MCF获得MDF2对应的视频媒体控制通道参数信息和视频媒体 送通道参数信息,并将包含这两个参数信息的会话修改请求通过SCF和IMS CORE转发至终端,终端再通过IMS CORE和SCF将会话修改响应返回给MCF。If step 1006 does not exist, the media delivery session control is performed between MCF and MDF2, MCF obtains the video media control channel parameter information and video media transmission channel parameter information corresponding to MDF2, and passes the session modification request containing these two parameter information through The SCF and IMS CORE forward it to the terminal, and the terminal returns the session modification response to the MCF through the IMS CORE and SCF.
同 ,终端 据接收到的参数信息与MDF2建立会话连接时存在中间消息的交互,如ACK、PRACK等,此处不再赘述。Similarly, when the terminal establishes a session connection with the MDF2 according to the received parameter information, there is an interaction of intermediate messages, such as ACK, PRACK, etc., which will not be repeated here.
若MCF不支持聚合控制(Aggregate control,也称为集中控制),则也可以利用实施例五中方案,让终端和MCF之间建立两条媒体控制通道。If the MCF does not support aggregate control (Aggregate control, also referred to as centralized control), the solution in Embodiment 5 may also be used to establish two media control channels between the terminal and the MCF.
实施例八和实施例九都是以会话初始请求中包含一个媒体控制通道的参数信息为例来描述的,每次返回一个所述媒体服务器的媒体控制通道参数信息,直至将媒体成分所在的每一媒体服务器的媒体控制通道参数信息都返回。类似地,若所述会话初始请求中包含设定个数的媒体控制通道的参数信息,则所述内容定位功能实体至少一次获取并返回相同个数的所述媒体服务器的媒体控制通道参数信息,直至将媒体成分所在的每一媒体服务器的媒体控制通道参数信息都返回。Embodiment 8 and Embodiment 9 are both described by taking the parameter information of a media control channel included in the session initiation request as an example, and returning one media control channel parameter information of the media server each time until the media component is stored in each All media control channel parameter information of a media server is returned. Similarly, if the session initiation request includes parameter information of a set number of media control channels, the content location function entity acquires and returns the same number of media control channel parameter information of the media server at least once, Until the media control channel parameter information of each media server where the media component is located is returned.
本发明实施例九也可以与实施例二或实施例五结合。Embodiment 9 of the present invention may also be combined with Embodiment 2 or Embodiment 5.
据上述实施例八和实施例九描述的方案,本发明实施例十还提供一种在IPTV系统中会话建立的系统,如图11所示,包括终端51和内容定位功能实体52,其中,终端51用于发送包含媒体成分 识的会话初始请求,并接收媒体控制通道参数信息;内容定位功能实体52用于分别获取所述 识对应的媒体成分所在的至少两个媒体服务器的媒体控制通道参数信息,并将所述参数信息分别返回给终端。According to the solutions described in the eighth and ninth embodiments above, the tenth embodiment of the present invention also provides a system for establishing a session in an IPTV system, as shown in FIG. 11 , including a terminal 51 and a content
若所述会话初始请求中包含设定个数的媒体控制通道的参数信息,则所述内容定位功能实体52用于至少一次获取并返回相同个数的所述媒体服务器的媒体控制通道参数信息。If the session initiation request includes parameter information of a set number of media control channels, the content
所述系统还包括媒体服务器53,则在至少两次要求获取并返回相同个数的媒体控制通道参数信息时,所述内容定位功能实体52用于向所述媒体服务器53发起会话修改请求;所述媒体服务器53用于向所述内容定位功能实体52返回媒体控制通道的参数信息。所述会话修改请求是通过SIP reInvite或SIPUpdate承载的。The system also includes a
所述系统还包括IP多媒体子系统设备54,用于将所述会话初始请求转发给所述内容定位功能实体52。The system also includes an IP
据实施例八至实施例十所描述的方法及系统,本发明实施例十一还提供一种内容定位功能实体,如图12所示,该内容定位功能实体包括:第一接收模块61、获取模块62和发送模块63,其中,第一接收模块61用于接收会话初始请求,该请求中包含媒体成分 识;获取模块62用于分别获取所述 识对应的媒体成分位于的至少两个媒体服务器的媒体控制通道参数信息;发送模块63用于将所述参数信息分别发送。According to the method and system described in Embodiment 8 to Embodiment 10, Embodiment 11 of the present invention also provides a content locating functional entity, as shown in FIG. 12 , the content locating functional entity includes: a
若所述会话初始请求中包含设定个数的媒体控制通道的参数信息,则所述获取模块62用于获取相同个数的所述媒体服务器的媒体控制通道参数信息;所述发送模块63用于每次将获取的相同个数的所述媒体服务器的媒体控制通道参数信息返回。If the session initiation request includes parameter information of a set number of media control channels, then the
所述获取模块62包括会话修改单元64和第二接收单元65,其中,会话修改单元64用于向所述媒体服务器发起会话修改请求;第二接收单元65用于接收所述媒体服务器返回的媒体控制通道的参数信息。The
通过本发明实施例八至实施例十一描述的方法、系统及实体,使得终端分多次获得了需要的多个媒体服务器的媒体控制通道的参数信息,并且每次获得的媒体控制通道的参数信息的个数满足SDP的要求。Through the methods, systems and entities described in Embodiment 8 to Embodiment 11 of the present invention, the terminal obtains the parameter information of the media control channels of multiple media servers that it needs in multiple times, and the parameters of the media control channels obtained each time The number of information meets the requirements of SDP.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这 ,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (33)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710181821.XA CN101415250B (en) | 2007-10-16 | 2007-10-16 | Method, system and entity for establishing session in IP internet television system |
PCT/CN2008/072430 WO2009049518A1 (en) | 2007-10-16 | 2008-09-19 | A session establishing method, system and entity of ip internet television system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710181821.XA CN101415250B (en) | 2007-10-16 | 2007-10-16 | Method, system and entity for establishing session in IP internet television system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101415250A CN101415250A (en) | 2009-04-22 |
CN101415250B true CN101415250B (en) | 2010-07-07 |
Family
ID=40567003
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710181821.XA Active CN101415250B (en) | 2007-10-16 | 2007-10-16 | Method, system and entity for establishing session in IP internet television system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101415250B (en) |
WO (1) | WO2009049518A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238152B (en) | 2010-05-06 | 2015-09-23 | 华为技术有限公司 | Control the methods, devices and systems of content report behavior |
CN102256181B (en) * | 2010-05-17 | 2013-06-05 | 华为技术有限公司 | Method for accessing internet content and related device |
CN102186107B (en) * | 2011-05-06 | 2013-01-02 | 深圳市酷开网络科技有限公司 | Network television service operation method and system |
CN111107134B (en) * | 2019-11-29 | 2022-04-26 | 北京三快在线科技有限公司 | Connection control method and device, electronic equipment and readable storage medium |
CN115589399B (en) * | 2022-10-11 | 2023-06-27 | 北京太 时代电气股份有限公司 | Remote playing method and device for auxiliary monitoring video of substation |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1816053A (en) * | 2006-03-10 | 2006-08-09 | 清华大学 | Flow-media direct-broadcasting P2P network method based on conversation initialization protocol |
CN1819520A (en) * | 2006-03-21 | 2006-08-16 | 南京风速网络系统有限公司 | Method and system for on-line playing multi-media content by inputting programm name |
CN101026462A (en) * | 2006-02-20 | 2007-08-29 | 华为技术有限公司 | Method and system for realizing flow media business in NGN |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050101491A (en) * | 2004-04-19 | 2005-10-24 | 주식회사 팬택 | Data transmission method between mobile communication terminals |
CN1735224A (en) * | 2004-08-10 | 2006-02-15 | 皇家飞利浦电子股份有限公司 | Method and device for limiting P2P communication interfere |
WO2007096001A1 (en) * | 2006-02-24 | 2007-08-30 | Telefonaktiebolaget Lm Ericsson (Publ) | Ims-enabled control channel for iptv |
GB0607294D0 (en) * | 2006-04-11 | 2006-05-24 | Nokia Corp | A node |
CN1889676A (en) * | 2006-06-01 | 2007-01-03 | 上海交通大学 | Video frequency session system based on P2P and SIP and realizing method thereof |
-
2007
- 2007-10-16 CN CN200710181821.XA patent/CN101415250B/en active Active
-
2008
- 2008-09-19 WO PCT/CN2008/072430 patent/WO2009049518A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026462A (en) * | 2006-02-20 | 2007-08-29 | 华为技术有限公司 | Method and system for realizing flow media business in NGN |
CN1816053A (en) * | 2006-03-10 | 2006-08-09 | 清华大学 | Flow-media direct-broadcasting P2P network method based on conversation initialization protocol |
CN1819520A (en) * | 2006-03-21 | 2006-08-16 | 南京风速网络系统有限公司 | Method and system for on-line playing multi-media content by inputting programm name |
Also Published As
Publication number | Publication date |
---|---|
CN101415250A (en) | 2009-04-22 |
WO2009049518A1 (en) | 2009-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101401427B (en) | Time shifting and chasing playback for IPTV systems | |
US8307049B2 (en) | Method and device for obtaining media description information of IPTV services | |
CN101547189B (en) | Method, system and device for establishing CoD service | |
CN100579209C (en) | Method and system for realizing time-shifted TV service based on NGN network, and media resource equipment | |
CN101385303B (en) | Ims-enabled control channel for iptv services | |
EP2241078B1 (en) | Method and internet protocol television (iptv) content manager server for iptv servicing | |
US8326942B2 (en) | IP unicast streaming service delivery | |
US20090313376A1 (en) | Method and apparatuses for establishing a session between a client terminal and a media supply system to transport a unicast media stream over an ip network | |
CN100571278C (en) | Method, system and device for applying terminal capability information in IPTV service | |
US20060256748A1 (en) | System and method for interworking between IMS network and H.323 network | |
CN101326826B (en) | Method, system and apparatus for controlling service of network TV | |
CN101060532B (en) | Internet network TV service information transmission method | |
US20100235856A1 (en) | Method, system, and device for realizing internet protocol television service | |
US20090147779A1 (en) | Methods, iptv (internet protocol television) terminal, and iptv control server for iptv bandwidth management | |
US20100122281A1 (en) | Method and system for controlling authorization of service resources | |
US20100195610A1 (en) | Method, device and system for improving broadcast services | |
US8320363B2 (en) | Implementation method, system and device of IMS interception | |
CN101415250B (en) | Method, system and entity for establishing session in IP internet television system | |
CN101369904B (en) | Method, system and service discovery functional entity for transferring service discovery information | |
CN101340428A (en) | Method and system for providing media stream during media server switching process | |
CN101360095A (en) | Method, device and system for providing television service in session initiation protocol network | |
CN101459525B (en) | Method, system and device for medium control | |
CN101399759A (en) | Method, system and apparatus for media stream control by service providing entity | |
RU2389148C2 (en) | Method and device for identifying ims service | |
Khandelwal | The importance of standard IMS Architecture |
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 |