CN101340428A - Method and system for providing media stream in process of media server switching - Google Patents

Method and system for providing media stream in process of media server switching Download PDF

Info

Publication number
CN101340428A
CN101340428A CN200710128416.1A CN200710128416A CN101340428A CN 101340428 A CN101340428 A CN 101340428A CN 200710128416 A CN200710128416 A CN 200710128416A CN 101340428 A CN101340428 A CN 101340428A
Authority
CN
China
Prior art keywords
media
function entity
entity
stream
media stream
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.)
Pending
Application number
CN200710128416.1A
Other languages
Chinese (zh)
Inventor
王丰
谢建新
王鹏
王耕
漆宝剑
张德文
黄健
李金成
雷晓松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200710128416.1A priority Critical patent/CN101340428A/en
Priority to PCT/CN2008/071494 priority patent/WO2009006820A1/en
Publication of CN101340428A publication Critical patent/CN101340428A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04N7/17336Handling of requests in head-ends
    • 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/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23116Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving data replication, e.g. over plural servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • 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/61Network physical structure; Signal processing
    • H04N21/6156Network physical structure; Signal processing specially adapted to the upstream path of the transmission network
    • H04N21/6175Network physical structure; Signal processing specially adapted to the upstream 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/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/6473Monitoring network processes errors

Abstract

The invention relates to a method and a system for providing a media stream during the switching process of a media server, wherein, the method comprises: a media delivery function entity for providing the media stream for a user device is switched from a first media function delivery entity to a second media function delivery entity; the second media delivery function entity provides the media steam for the user device, and the media steam is sent by the first media delivery function entity as proxy. The method and the system provided by the invention can realize that the original media steam parameters can be maintained unchanged without the re-consultation of the media steam parameters between the user device and a network during the switching process of the media server, thereby avoiding the delay caused by the re-consultation process of the media steam parameters and accelerating the response speed of the system.

Description

The method and system of Media Stream are provided in the media server handoff procedure
Technical field
The present invention relates to internet protocol multimedia subsystem (IMS, IP Multimedia Subsystem) field, particularly a kind of method and system that Media Stream is provided in the media server handoff procedure in the IMS network.
Background technology
Media stream service or internet protocol TV (IPTV, IP TeleVision) business is a kind of new business that developed rapidly in recent years, these two kinds of business are utilized the stream transmission technology, on packet network, as IMS transmission over networks multimedia file, comprise file contents such as video and audio frequency, these file contents do not need subscriber equipment (UE, User Equipment) just to download fully and can play immediately when visit.The key technology of these two kinds of business realizing is transmitted technology exactly as a stream, and the stream transmission technology is stored in file contents such as continuous video and audio frequency on the server in the packet network after treatment, make UE can visit this server, one side file in download content, watch on one side and listen to file content, listen to file content and just can watch after whole file content such as not needing all to download.
At 3GPP version 5 (R5, Release) stage, introduced IMS, IMS is superimposed upon on the packet field network, by CCF (CSCF, Call Session Control Function), MGCF (MGCF, Media Gateway Control Function), media resource function (MRF, Media Resource Function) and home signature user server functional entitys such as (HSS, HomeSubscriber Server) form.Wherein CSCF can be divided into serving CSCF (S-CSCF), proxy CSCF (P-CSCF) and three logic entities of inquiry CSCF (I-CSCF) again.S-CSCF is the service switching center of IMS, carries out session control, and peace preservation association's speech phase is in charge of UE information, produces charge information etc.; P-CSCF is the access point that UE inserts IMS, finishes the UE registration, is responsible for service quality (QoS) control and safety management etc.; I-CSCF is responsible for the intercommunication between the IMS territory, and network topology and configuration are externally hidden in distribution and the selection of management S-CSCF, produce metering data etc.The MGCF control gateway realizes the intercommunication of IMS and other network.MRF provides media resource.The subscription data of HSS storage UE and configuration information etc.The IMS network mainly adopts Session initiation Protocol (SIP, Session Initial Protocol) and diameter (Diameter) agreement etc.
SIP is the control protocol of an application layer, can be used for setting up, revise and stop Multimedia session or meeting, and the session that SIP also supports to invite the participant to participate in and existed is such as Multi-Party Conference.
Real-time streaming protocol (RTSP, Real Time Streaming Protocol) is an application level protocol, the transmission of control real time data, and the real time data that is mainly used in media stream service or television service based on Internet protocol sends.RTSP provides a kind of extensible framework, carries out real time data, as the controlled transmission and the program request transmission of audio ﹠ video.The RTSP purpose is to control a plurality of data transfer sessions, and the method for selecting to transmit passage is provided, and the method for selecting transmission mechanism based on RTP is provided.
Provide IPTV business exactly under the IMS overall architecture based on the IPTV of IMS is professional, the mechanism such as existing registration, authentication, route, session control and foundation in the IMS network, professional triggering, charging, end-to-end QoS assurance that make full use of to provide for UE the multimedia service of media stream service and amalgamation media stream and real-time session business.That is to say that UE is to finish by the existing session control mechanism of IMS to the Multimedia session of content, in setting up conversation procedure, need reserve bearing resource for the transmission of Media Stream.
Fig. 1 is the business function configuration diagram of prior art based on the IPTV business of IMS, and wherein, IPTV media function entity (IPTV Media Function) is responsible for control and the payment to the Media Stream of UE by IMS.IPTV Media Function can be decomposed into media control function entity (MCF, Media Control Function) and media delivery functional entity (MDF, MediaDelivery Function) from functional perspective.MDF is generally some media servers, under the control of MCF to the UE media stream, MCF can also receive and handle the Play Control operational order that is sent by UE, and these orders adopt RTSP to realize usually, for example F.F. of Media Stream, retreats, suspends and operational order such as location etc.IPTV service control function (IPTV Service Control Functions) is used for when receiving the IPTV service request of UE transmission by IMS core (Core), handle for UE selects IPTV MediaFunction, IMS Core can be the professional reserved resource of the IPTV of UE.
The IPTV business is a kind ofly to provide the business of content of multimedia, for example live television service or VOD service to UE.In VOD service, when the scale of media content is bigger, need leave in a plurality of media servers, and in order to improve the speed of media content retrieval, same media content also may leave on the different media servers by burst.In the use of VOD service, UE can carry out the video boxlike and record (VCR, Video Cassette Recording) operation, as carry out operations such as F.F., rewind down, time-out and location, can send the Play Control operational order, the Media Stream of control IPTV media function entity transmission is operated one not during the media content on the current media server if carry out VCR at UE, then needs to switch on the new media server.
But, clearly do not provide at present the technology how Media Stream uninterruptedly is provided in the handoff procedure of media server, the common way of industry is after the mode of employing media re-negotiation is carried out the switching of media server, provide Media Stream by the media server that switches to again, when promptly needing the switching media server, by IMS Core carry out UE again and the media server that switches between media parameter consult, after negotiation was finished, the media server that switches to provided the Media Stream that comprises media content for UE.For IPTV business based on IMS, change the operation of session with regard to the conversation control function that is to use IMS Core, to switch after the media parameter consulting between UE and the media server that switches to again, this media server that switches to provides the Media Stream that comprises media content for UE.
There is the response speed problem that reduces the IMS network in this method of Media Stream that provides in the handoff procedure of media server.This is because the Play Control of medium is directly to handle ground between UE and the MCF, and the session control of carrying out media re-negotiation is the SIP signaling process by IMS Core, therefore, carry out media re-negotiation mode switching media server the link of process many, and after needing in the IMS network, to carry out resource reservation again, could provide Media Stream by the media server that switches to, these all can influence the response speed of IMS network, can cause the interruption of Media Stream when serious, influence is by the user experience of UE receiving media stream.
Summary of the invention
The embodiment of the invention provides the method that Media Stream is provided in a kind of media server handoff procedure, and this method can be implemented in the media server handoff procedure under the situation that does not influence IMS network response speed Media Stream is provided, and does not cause the interruption of Media Stream.
The embodiment of the invention also provides the system that Media Stream is provided in a kind of media server handoff procedure, and this system can be implemented in the media server handoff procedure under the situation that does not influence IMS network response speed Media Stream is provided, and does not cause the interruption of Media Stream.
According to above-mentioned purpose, the technical scheme of the embodiment of the invention is achieved in that
The method of Media Stream is provided in a kind of media server handoff procedure, and described media server is the media delivery functional entity, and this method comprises:
Provide the media delivery functional entity of Media Stream to switch to the second media delivery functional entity by the first media delivery functional entity for subscriber equipment;
The Media Stream that the second media delivery functional entity provides for subscriber equipment, the agency sends by the first media delivery functional entity.
The system of Media Stream is provided in a kind of media server handoff procedure, described media server is the media delivery functional entity, this system comprises: the first media control function entity, the second media control function entity, media delivery functional entity and subscriber equipment, wherein
The media control function entity is used for controlling the first media delivery functional entity and the second media delivery functional entity when the media delivery functional entity that Media Stream is provided for the user switches to the second media delivery functional entity by the first media delivery functional entity;
The second media delivery functional entity is used for will sending to the first media delivery functional entity for the Media Stream that subscriber equipment provides under the control of media control function entity;
The first media delivery functional entity is used under the control of media control function entity the agency and sends the Media Stream that receives from the second media delivery functional entity to subscriber equipment.
The method of Media Stream is provided in a kind of media server handoff procedure, and described media server is the media delivery functional entity, and this method comprises:
Provide the media delivery functional entity of Media Stream to switch to the second media delivery functional entity by the first media delivery functional entity for subscriber equipment;
It is that the pre-assigned media parameter of this Media Stream sends Media Stream that the second media delivery functional entity uses the media control function entity.
The system of Media Stream is provided in a kind of media server handoff procedure, described media server is the media delivery functional entity, this system comprises: the first media control function entity, the second media control function entity, media delivery functional entity and subscriber equipment, wherein
The media control function entity, when being used to subscriber equipment to provide the media delivery functional entity of Media Stream to switch to the second media delivery functional entity by the first media delivery functional entity, be after the distribution of the second media delivery functional entity sends the identical media parameter of Media Stream with the first media delivery functional entity, to send to the second media delivery functional entity;
The second media delivery functional entity is used to use the media parameter that receives from the media control function entity to send Media Stream to subscriber equipment.
The method of Media Stream is provided in a kind of media server handoff procedure, and described media server is the media function entity, and this method comprises:
Provide the media function entity of Media Stream to switch to the second media function entity by the first media function entity for subscriber equipment, the Media Stream that the second media function entity provides for subscriber equipment, the agency sends by the first media function entity.
The system of Media Stream is provided in a kind of media server handoff procedure, and described media server is the media function entity, and this system comprises: the first media function entity, second media function entity and the subscriber equipment, wherein,
The second media function entity when being used to subscriber equipment to provide the media function entity of Media Stream to switch to the second media function entity by the first media function entity, will send to the first media function entity for the Media Stream that subscriber equipment provides;
The first media function entity is used to act on behalf of Media Stream that transmission receives from the second media function entity to subscriber equipment.
From such scheme as can be seen, the method and system that the embodiment of the invention provides, when in carrying out the media server handoff procedure, providing Media Stream, heavily negotiations process between the media server that does not carry out UE and switch to by IMS Core, and adopt current media server to act on behalf of the mode of the media server that switches to for the UE service, perhaps adopt and give current the be media server of UE service and the media server distribution identical media stream parameter mode that switches to, Media Stream is provided, thereby in the media server handoff procedure, keeps Media Stream parameter constant to the Media Stream of UE transmission.Since the embodiment of the invention unlike prior art, adopt by IMS Core carry out UE and the media server that switches between heavily negotiations process, switching for media server is just carried out at network side, and do not need to consult alternately with UE, realized under the situation that does not influence IMS network response speed, being implemented in the media server handoff procedure Media Stream is provided, do not caused the interruption of Media Stream.
Description of drawings
Fig. 1 is the business function configuration diagram of prior art based on the IPTV business of IMS;
Fig. 2 is that embodiment of the invention Media Stream agent way realizes the structural representation that media server switches;
Fig. 3 is that embodiment of the invention Media Stream agent way realizes the method flow diagram that media server switches;
Fig. 4 is that the source IP address and the port numbers centralization of embodiment of the invention Media Stream realizes the structural representation that media server switches;
Fig. 5 is that the source IP address and the port numbers centralization of embodiment of the invention Media Stream realizes the method flow diagram that media server switches;
Fig. 6 realizes the structural representation of media server switching for embodiment of the invention Play Control and Media proxy mode;
Fig. 7 realizes the method flow diagram of media server switching for embodiment of the invention Play Control and Media proxy mode;
Fig. 8 realizes the structural representation that media server switches for the specific embodiment of the invention one adopts RTP level agency's Media proxy mode;
Fig. 9 realizes the method flow diagram that media server switches for the specific embodiment of the invention one adopts RTP level agency's Media proxy mode;
Figure 10 realizes the method flow diagram that media server switches for the specific embodiment of the invention two adopts the Media proxy mode of application level proxy;
Figure 11 is that the specific embodiment of the invention three adopts Media Stream source IP address and port numbers centralization to realize the network architecture diagram of switching media server;
Figure 12 is that the specific embodiment of the invention three adopts Media Stream source IP address and port numbers centralization to realize the method flow diagram of switching media server;
Figure 13 realizes the structural representation that media server switches for the specific embodiment of the invention four adopts Play Control and Media proxy mode;
Figure 14 realizes the method flow diagram that media server switches for the specific embodiment of the invention four adopts Play Control and Media proxy mode.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the embodiment of the invention is described in further detail below in conjunction with accompanying drawing.
Provide Media Stream in order under the situation that does not influence IMS network response speed, to be implemented in the media server handoff procedure, do not cause the interruption of Media Stream, the embodiment of the invention is in based on the professional use of the IPTV of IMS, when the media server that Media Stream is provided for UE switches, heavily negotiations process between the media server that does not carry out UE and switch to, the handoff procedure of the media server of different media flows only is provided at network side, keeps Media Stream parameter constant to the Media Stream of UE transmission.In embodiments of the present invention, the Media Stream parameter can be the source IP address and the port numbers of Media Stream, and the media parameter that below adopts Media Stream is that the source IP address and the port numbers of Media Stream is elaborated.
The reason that the media server switching takes place in the process of Media Stream is provided can have multiple, can be because UE sends the indicated media content of Play Control order not on the current media server that Media Stream is provided for UE, also can be since the current media server that Media Stream is provided for UE owing to the media server that network failure or faults itself cause switching to backup provides Media Stream for UE, can also work as the media content of UE request when bigger, store into respectively on several media servers, switch by several media servers, the Media Stream of uninterrupted media content is provided for UE.
The embodiment of the invention adopts because UE sends the indicated media content of Play Control order does not cause taking place the media server switching when Media Stream is provided on the current media server that Media Stream is provided for UE and be elaborated.
Particularly, the embodiment of the invention provides three types settling mode to keep providing source IP address and the port numbers of Media Stream in this IPTV business constant to UE, source IP address that these three kinds of modes are respectively Media Stream agent way, Media Stream and port numbers centralization and Play Control and Media proxy mode below are described in detail these three kinds of settling modes respectively.
First kind of settling mode, the Media Stream agent way
Fig. 2 is implemented in the schematic network structure that Media Stream is provided in the media server handoff procedure for embodiment of the invention Media Stream agent way, and the entity that relates to comprises MCF, MDF and UE.Wherein, UE is the IPTV terminal, is used to receive the Media Stream that MDF sends; MDF1 currently switches the back provides Media Stream for UE MDF for UE provides the MDF of Media Stream, MDF2.Carry out information interaction by the Play Control interface between UE and the MCF, this interface can adopt RTSP, MCF carries out information interaction by MCI respectively and between MDF1 and the MDF2, transmit interface by medium between MDF1 and the UE and carry out information interaction, carry out information interaction by the Media proxy interface between MDF1 and the MDF2.In the present embodiment, other MDF also can carry out information interaction by Media proxy interface and MDF1, carry out information interaction by Media proxy interface and MDF1 respectively as MDF3 and MDF4 etc.
In based on the professional use of the IPTV of IMS, UE sends the Play Control order and carries out the Play Control operation, as operations such as F.F., rewind down and location by Play Control interface accessing MCF.After MCF received the Play Control order of UE transmission, MDF1 transmitted needed Media Stream to UE by MCI control, and this Media Stream transmits interface by the medium between MDF1 and the UE and transmits.When MDF1 does not have the needed media content of UE, have other MDF of this media content, under the control of MCF1, this media content is sent to MDF1 as MDF2 by the Media proxy interface, transmit interface proxy by MDF1 by medium and send to UE.
Fig. 3 is implemented in the method flow diagram that Media Stream is provided in the media server handoff procedure for embodiment of the invention Media Stream agent way, be assumed to be the current MDF1 that is that media content is provided for UE, switch the back provides media content for UE the MDF2 that is, that control is carried out switching between the MDF is MCF, and its concrete steps are:
Step 301, MCF select MDF1 when providing IPTV professional for UE, control MDF1 is the Media Stream that UE sends the needed media content of UE.
When MCF request IPTV is professional, can carry media content information at UE, MCF determines to have the MDF of corresponding media content according to this media content information, control determine that MDF sends the Media Stream of corresponding media content to UE.
Step 302, MDF1 are under the control of MCF, and allocation medium sends resource, send the Media Stream of the needed media content of UE to UE.
In this step, suppose that the source IP address and the port numbers that send the Media Stream use are respectively IP1 and Port1.
Step 303, UE are in the Media Stream process that receives the MDF1 transmission, carry out the VCR operation, promptly send the Play Control order to MCF, the media content information that MCF carries according to this order determines that needs switch to the transmission that MDF2 carries out Media Stream, and MDF2 has corresponding media content.
Step 304, MCF control MDF1 agency send the Media Stream of MDF2, send to UE.
Step 305, MDF1 obtain agency's Media Stream from MDF2 under the control of MCF, send to UE, and in the process that sends Media Stream, MDF1 still uses original source IP address and port numbers (IP1 and Port1).
Step 306, be the IPTV service ending that UE provides, MCF control MDF1 and MDF2 discharge medium respectively and send resource, stop Media proxy and medium and send.
In the above-described embodiments, if after step 305, UE has carried out the VCR operation again, need MDF3 to provide media content for UE, then MCF control MDF1 stops to act on behalf of the Media Stream among the MDF2, and MDF1 carries out the Media Stream agency of MDF3, and the process of processing is identical with Media Stream process in acting on behalf of MDF2.
Second kind of settling mode, the source IP address of Media Stream and port numbers centralization
Fig. 4 is that the source IP address and the port numbers centralization of embodiment of the invention Media Stream realizes the structural representation that media server switches, and the entity that relates to comprises MCF, MDF and UE.Wherein, UE is the IPTV terminal, is used to receive the Media Stream that MDF sends; MDF1 currently switches the back provides Media Stream for UE MDF for UE provides the MDF of Media Stream, MDF2.Carry out information interaction by the Play Control interface between UE and the MCF, this interface can adopt RTSP, MCF carries out information interaction by MCI respectively and between MDF1 and the MDF2, transmit interface by medium between MDF1 and the UE and carry out information interaction, transmit interface by medium between MDF2 and the UE and carry out information interaction.In the present embodiment, other MDF also can and UE between transmit interface by medium and carry out information interaction, as MDF3 and MDF4 etc. respectively and transmit interface by medium between the UE and carry out information interaction.
In the present embodiment, MCF passes through MCI, control MDF1 or MDF2 are to the UE media stream, and be responsible for distributing MDF1 or MDF2 employed source IP address and port numbers when the UE media stream, source IP address and the port numbers of promptly distributing to MDF1 or MDF2 transmission Media Stream in this IPTV business of UE remain unchanged.MDF is under the control of MCF, and source IP address and the port numbers of using MCF to distribute transmit interface has Media Stream from its media content that needs to the UE transmission by medium.
Fig. 5 is that the source IP address and the port numbers centralization of embodiment of the invention Media Stream realizes the method schematic diagram that media server switches, be assumed to be the current MDF1 that is that media content is provided for UE, switch the back provides media content for UE the MDF2 that is, that control is carried out switching between the MDF is MCF, and its concrete steps are:
Step 501, MCF are when providing IPTV professional for UE, select MDF1, and distribute professional employed source IP address of Media Stream and the port numbers of sending of this IPTV, and being assumed to be IP1 and Port1, control MDF1 uses this IP address allocated and port numbers for the UE media stream in this IPTV business.
Step 502, MDF1 allocation medium under the control of MCF sends resource, sends Media Stream to UE, and the source IP address of Media Stream and port numbers are used MCF IP address allocated and port numbers, are respectively IP1 and Port1.
Step 503, UE are in the Media Stream process that receives the MDF1 transmission, carry out the VCR operation, promptly send the Play Control order to MCF, the media content information that MCF carries according to this order determines that needs switch to the transmission that MDF2 carries out Media Stream, and MDF2 has corresponding media content.
Step 504, MCF control the Media Stream of MDF2 to the required media content of UE transmission UE, and the source IP address of Media Stream and port numbers are used MCF IP address allocated and port numbers, are respectively IP1 and Port1.
Step 505, MCF control MDF1 are released to the medium transmission resource that UE distributes, and control MDF1 stops to send Media Stream to UE, promptly stops the use of IP1 and Port1.
Step 506, the IPTV service ending that provides for UE, MCF control MDF2 is released to the medium transmission resource that UE distributes, stop to send Media Stream to UE, MCF IP address allocated and port numbers, be that IP1 and Port1 also are released, can offer UE when applying for that IPTV is professional next time or other UE applications IPTV use when professional.
In the present embodiment, after step 905, UE has carried out the VCR operation again, need MDF3 to provide media content for UE, then MCF control MDF3 uses IP address and the port numbers of distributing to this IPTV business, be that IP1 and Port1 send the Media Stream of the required media content of UE to UE, and indicate MDF2 to be released to the medium transmission resource that UE distributes, control MDF2 stops to send Media Stream for UE.
The third settling mode, Play Control and Media proxy mode
Fig. 6 is that embodiment of the invention Play Control and Media proxy mode realize the structural representation that media server switches, and the network entity that relates to comprises IPTV media function entity, SCF and UE.IPTV media function entity comprises MCF and MDF, MCF and MDF are logical functional entity, in the actual deployment, may be same physical entities, in this case, when MDF switched, in fact MCF also needed to switch, and was not carrying out under the situation that Media Stream consults again, not only the Media Stream of this IPTV business of UE sends and adopts constant source IP address and port numbers, the Play Control parameter of carrying out Play Control also needs to remain unchanged, and therefore, general agency's the mode that adopts realizes.
IPTV media function entity 1 among Fig. 6 be current be to switch the back provides Media Stream for UE IPTV media function entity for UE provides the IPTV media function entity of Media Stream, IPTV media function entity 2.UE is the IPTV terminal.Transmit interface by controlling media play interface and medium between UE and the IPTV media function entity 1 and carry out the mutual of control information and Media Stream respectively, the controlling media play interface can adopt RTSP, medium transmit interface can adopt RTP (RTP, Real-TimeTransport Protocol).In the professional use of IPTV, UE can carry out the Play Control operation by the controlling media play interface, as operations such as F.F., rewind down, location and time-outs.Carry out information interaction by the media management interface between SCF and the IPTV media function entity, SCF sends resource to IPTV media function entity application Play Control resource and medium, transmits needed Media Stream with the Play Control of processing UE with to UE.
In specific implementation, IPTV media function entity 1 is by the Play Control order reprocessing of Play Control interface reception UE, and IPTV media function entity 1 transmits interface to the UE media stream by medium.Carry out the mutual of control information and Media Stream respectively by play control proxy interface and Media proxy interface between IPTV media function entity 2 and the IPTV media function entity 1, when not having the needed media content of UE on the IPTV media function entity 1, IPTV media function entity 2 with this media content will comprise that the Media Stream of this media content sends to IPTV media function entity 1 by the Media proxy interface, send to UE by IPTV media function entity 1 Agent IP TV media function entity 2.IPTV media function entity 1 also is responsible for the play control proxy between UE and the IPTV media function entity 2, the Play Control order that UE sends, will by IPTV media function entity 1 by and IPTV media function entity 2 between the play control proxy interface be transmitted to IPTV media function entity 2, the Play Control response message of IPTV media function entity 2 also will be transmitted to UE by IPTV media function entity 1.
Fig. 7 realizes the method flow diagram of media server switching for embodiment of the invention Play Control and Media proxy mode, the network entity that relates to comprises UE, current for UE provides the IPTV media function entity 1 of Media Stream, switching afterwards provides Media Stream for UE IPTV media function entity 2 and SCF, and its concrete steps are:
Step 701, SCF are setting up for UE in the IPTV business procedure, select IPTV media function entity 1 for UE provides Media Stream, and indication IPTV media function entity 1 is handled the Play Control of UE and sent the Media Stream of the required media content of UE to UE.
Step 702, IPTV media function entity 1 are under the indication of service control function, for distributing Play Control resource and medium, UE sends resource, suppose that the source IP address and the port numbers that send Media Stream are respectively IP1 and Port1, the source IP address of Play Control and port numbers are respectively IP2 and Port2, and the Play Control resource and the medium transmission resource information of distributing sent to UE by service control function.
IPTV media function entity 1 obtains the receiving media stream address of UE from service control function, the Media Stream that sends to UE is sent on this address, and source IP address and port numbers that Media Stream uses are respectively IP1 and Port1.
IPTV media function entity 1 is monitored the Play Control order that UE sends on IP2 and Port2.
Step 703, UE carry out the VCR operation in the Media Stream process that receives 1 transmission of IPTV media function entity, promptly send the Play Control order to IPTV media function entity 1, carry the media content information of request.IPTV media function entity 1 receives the back and judges self not media content of this command request, then obtains this media content in the IPTV media function entity 2 of the media content with this command request.
In this step, can there be the information in the IPTV media function entity 2 by the media content that SCF obtains or directly the query-relevant data storehouse navigates to this command request in IPTV media function entity 1, can also adopt additive method of the prior art to get access to.
Step 704, IPTV media function entity 1 are to the media content of IPTV media function entity 2 these command request of request broker and the agency of Play Control.
Step 705, IPTV media function entity 1 are transmitted the Play Control order of UE and are given IPTV media function entity 2, the Play Control response message of IPTV media function entity 2 is transmitted to UE, and the source IP address of Play Control and port numbers still are respectively IP2 and Port2.
Step 706, IPTV media function entity 2 Media Streams with this command request media content send to IPTV media function entity 1, be transmitted to UE by IPTV media function entity 1, when IPTV media function entity 1 sent agency's Media Stream to UE, the source IP address of employing and port numbers still were respectively IP1 and Port1.
Step 707, provide for UE this IPTV service ending the time, service control function indication IPTV media function entity 1 discharges the Play Control resource and medium send resource, IPTV media function entity 1 is except that discharging from the resource of distributing as UE, and Play Control resource and medium that indication IPTV media function entity 2 is released to the UE distribution send resource.
In the present embodiment, after the step 706, UE has carried out the VCR operation again, need to use new IPTV media function entity 3 to carry out the transmission of Media Stream, then IPTV media function entity 1 stops the Play Control and the Media Stream of Agent IP TV media function entity 2, then the Play Control and the Media Stream of Agent IP TV media function entity 3, still, it should be noted that source IP address and port numbers that Media Stream sends still are respectively IP1 and Port1; The source IP address of Play Control and port numbers still are respectively IP2 and Port2.
The several specific embodiments of following tool are illustrated above-mentioned three kinds of settling modes respectively.
Specific embodiment one adopts RTP level agency's Media proxy mode
Present embodiment adopts the Media proxy mode, be based on a specific embodiment of the IPTV business of IMS, its network architecture as shown in Figure 8, wherein UE, IMS Core and SCF are existing entities in the system architecture of existing IPTV business based on IMS, do not make new modification and requirement in embodiments of the present invention.The embodiment of the invention is primarily aimed at based on MCF and MDF in the system architecture of the IPTV business of IMS and makes amendment.
In Fig. 8, UE adopts existing service interaction process, is undertaken setting up the IPTV business alternately by IMS Core and SCF as SIP reciprocal process, specifically selects MCF by SCF, selects a MDF with media content of UE request by MCF again.After the professional foundation of IPTV, UE uses RTSP to carry out the VCR operation, promptly send the Play Control order to MCF, if the media content of this command request is not on the current MDF that Media Stream is provided for UE the time, MCF selects the MDF of another media content with this command request to provide Media Stream for UE, the mode that Media Stream is provided for UE provides the MDF agency's of Media Stream mode, and is not changed source IP address and the port numbers that the Media Stream of this IPTV business sends for current.
Therefore, need interface newly-increased or that revise to comprise: interface C1 between MCF and the MDF and the interface M1 between the MDF.
Fig. 9 is the method flow diagram that the specific embodiment of the invention one adopts RTP level agency's Media proxy mode switching media server, the network entity that relates to comprises UE, IMS Core, SCF, MCF, current for UE provides the MDF1 of Media Stream and switches the MDF2 that Media Stream afterwards is provided for UE, and its concrete steps are:
After step 901, user selected certain program by the electronic programming electric separation, UE sent SIP visit (INVITE) message to IMS Core, carried the media content information and the UE information of selected program correspondence.
Step 902, IMS Core are routed to SCF with the SIP INVITE that UE sends.
Whether media content information and UE information that step 903, SCF carry according to this message have the right to obtain to Media Stream that should the media content sign to UE, carry out authenticating and charging.
Step 904, SCF are carried out after authenticating and charging passes through UE, and the media content information of carrying according to this message is that UE selects corresponding MCF.
In this step, the corresponding MCF of media content information selection that carries according to this message is a prior art, is not the emphasis of embodiment of the invention protection, is not repeated here.
Step 905, SCF send the SIP INVITE to the MCF that selects, and carry media content information and UE information.
In this step, UE information can comprise information such as UE position.
After step 906, MCF received the message that SCF sends, the media content information of carrying according to this message was assumed to be MDF1 for the MDF that UE selects to provide the Media Stream of this information correspondence.
Step 907, MCF send resource to MDF1 request application medium, and to send Media Stream to UE, the medium that MDF1 is returned as allocated for media streams send resource information.
In this step, medium send resource information and can adopt session data protocol (SDP, SessionData Protocol) to describe, and comprise the source IP address and the port numbers that send Media Stream, are assumed to IP1 and Port1.
The RTSP session that is used for VCR control between step 908, MCF foundation and the UE.
Step 909, MCF return SIP 200 message to SCF, and the medium that carry Media Stream send the RTSP session information of resource information and foundation.
Step 910, SCF with SIP 200 message that receive through IMS Core route.
Step 911, UE receive this SIP 200 message.
Step 912, UE return SIP ACK message, carry UE information.
In this step, UE information can adopt SDP to describe.
After step 913, IMS Core receive the SIP ACK message of UE,, remain for the bearing resource of media stream in advance for UE according to the SDP description of UE side and MDF side.
Step 914, SIP ACK message are routed to SCF.
Step 915, SCF send to MCF with the SIP ACK message that receives.
Step 916, MCF obtain UE information according to this SIP ACK message, and control MDF1 sends the Media Stream of the media content of the media content information that comprises the corresponding UE request to UE.
Step 917, under the control of MCF, the RTP bag that MDF1 will be packaged with Media Stream sends to UE.
The RTCP message that step 918, UE send sends to MDF and handles.
RTCP is a RTCP Real-time Transport Control Protocol, uses simultaneously with RTP, is used for some information of transmitting to opposite end feedback RTP, the packet drop of RTP etc. for example, and this RTCP message is not the agreement of Play Control.
RTCP message is the media flow transmission control messages.
The RTCP message that step 919, MDF send will send to UE and handle.
Step 920, user appreciate in the process of program, carry out the VCR operation, for example F.F. or rewind down etc.The RTSP message of VCR operation sends to MCF, and this message is carried and will be asked media content information, comprises media content sign etc.
RTSP message is Play Control message.
Step 921, MCF detect and obtain media content that this message will ask not on MDF1, then select to have the MDF2 of the media content that this message will ask.
Step 922, MCF be to the Media Stream of MDF1 request broker MDF2 to the media content information that should ask to carry, and MDF1 returns the reception IP address and the port numbers of the RTP bag of preparing to receive the carrying media stream that MDF2 sends, is assumed to IP2 and Port2.
In this step, the agency of employing is RTP level agency.
Step 923, MCF send the request message that the application medium send resource to MDF2, the Media Stream that is ready for sending the media content of UE request is given MDF1, carries purpose IP address and port numbers (IP2 and Port2) that media content information and MDF1 prepare receiving media stream in the message.
Step 924, MDF2 be according to the request message that MCF sends, and will comprise the media stream bearing of the media content of the media content information of should message carrying is wrapped at RTP, sends to MDF1 and prepare on the purpose IP address and port numbers of receiving media stream.
The RTP bag that step 925, MDF1 will flow from the carrying media that MDF2 receives is handled again, is packaged as the IP bag, uses original source IP address and port numbers (IP1 and Port1) to send to UE.
The RTCP message that step 926, UE send will send to MDF1 and handle.
The RTCP message that step 927, MDF1 send will send to UE and handle.
Step 928, user finish watching of program, send SIP BYE message.
Step 929, SIP BYE message are routed to SCF by IMS Core.
Step 930, SCF send to MCF with SIP BYE message.
Step 931, MCF indication MDF2 are released to the medium transmission resource that UE distributes.
Step 932, MCF indication MDF1 are released to the medium transmission resource that UE distributes.
Step 933, MCF return SIP 200 message.
Step 934, SCF send SIP 200 message to IMS Core.
Step 935, IMS Core receive SIP 200 message, discharge the carrying media stream resource of reserving.
Step 936, UE receive SIP 200 message, this IPTV service ending.
Specific embodiment two, the Media proxy method of employing application level proxy
In specific embodiment one, that Media proxy uses is RTP level agency, and the RTP that the MDF2 that is promptly acted on behalf of sends carrying media stream wraps to MDF1, is encapsulated as the IP bag again after being handled by MDF1 and sends to UE.
In specific embodiment two, Media proxy uses the agency of application layer, what be that MDF2 sends to MDF1 is not the RTP bag of carrying media stream, but Media Stream is directly sent to MDF1, for example adopt file transfer protocol (FTP) (FTP, File Transfer Protocol) transmission such as mode directly uses Media Stream assembling RTP bag to send by MDF1.
Therefore, specific embodiment two is in full accord with the cellular logic framework in the specific embodiment one, and big flow process is basically identical also, different alternately between MCF and MDF1, MDF2 and MDF1 and the MDF2 just, and flow chart shown in Figure 10 has been enumerated difference.
Step 1022, MCF be to the Media Stream of MDF1 request broker MDF2 to the media content information that should ask to carry, and MDF1 returns the reception IP address and the port numbers of the TTP bag of preparing to receive the MDF2 Media Stream, is assumed to IP2 and Port2.
Step 1023, MCF send the request message that the application medium send resource to MDF2, and the media content that is ready for sending the UE request is given MDF1, carries purpose IP address and port numbers (IP2 and Port2) that media content information and MDF1 prepare receiving media stream in the message.
The request message that step 1024, MDF2 send according to MCF will send to the MDF 1 that this message carries to the Media Stream of the media content information of should message carrying and prepare on the purpose IP address and port numbers of receiving media stream.
Can adopt the FTP mode when sending Media Stream.
The Media Stream that step 1025, MDF1 will receive from MDF2 be encapsulated as the RTP bag, use original source IP address and port numbers (IP1 and Port1) to send to UE.
In the present embodiment, only step 1422~1425 need have been replaced the step 1322 among Figure 13~1325, other step can realize specific embodiment two as shown in figure 13.
Specific embodiment three, the mode of Media Stream source IP address and port numbers centralized management
Present embodiment uses MCF in this IPTV business that provides as UE, manages the source IP address and the port numbers that send Media Stream into UE concentratedly.The source IP address of Media Stream and port numbers all are by the MCF centralized management and distribute, when the RTP of MDF transmission carrying media stream wraps to UE, source IP address that Media Stream sends and port numbers are used MCF IP address allocated and port numbers, and can not use IP address and the port numbers of MDF oneself.Because the IP address that MDF uses is not the IP address of itself, UE uses this IP address to send to the RTCP message of MDF as destination address, directly route is given MDF, to be routed to actual entity with this IP address, this entity need be responsible for transmitting the MDF of the RTCP message of UE transmission to correspondence.Therefore, this entity need know which MDF is the RTCP forwards give, and need set up the corresponding relation of RTCP message former reception IP address and port numbers and actual reception IP address and port numbers, this entity is called the RTCP agent entity here.
In specific implementation, the RTCP agent entity can be MCF.Using MCF to be one as this RTCP agency well selects, because need in based on the IPTV business network framework of IMS, not introduce new entity and interface like this, and having had IP address and the port numbers that the MDF of Media Stream really is provided for UE on the MCF, the RTCP transmission of messages that just can know the UE transmission is to which MDF.Certainly, the RTCP agent entity also can be other entity, but must set up the corresponding relation between the former IP receiver address of RTCP message and port numbers and actual reception IP address and the port numbers in this entity in advance.
Figure 11 is that the specific embodiment of the invention three adopts Media Stream source IP address and port numbers centralization to realize the network architecture diagram of switching media server, different with specific embodiment one, MDF2 does not carry out information interaction with MDF1, and directly carry out information interaction by RTP/RTCP interface and UE, Media Stream directly is transferred to UE, and (medium of Media Stream send the IP address and port numbers is distributed by MCF, and guaranteeing provides constant in the process of IPTV business at this for UE, even MDF switches).Therefore, the present embodiment interface that need increase newly or revise comprises: the interface C2 between MCF and the MDF.
Figure 12 is the method flow diagram that the specific embodiment of the invention three adopts Media Stream source IP address and port numbers centralization switching media server, the network entity that relates to comprises UE, IMS Core, SCF, MCF, current for UE provides the MDF1 of Media Stream and switches the MDF2 that Media Stream afterwards is provided for UE, and its concrete steps are:
After step 1201, user selected certain program by the electronic programming electric separation, UE sent the SIP INVITE to IMS Core, carried the media content information and the UE information of selected program correspondence.
Step 1202, IMS Core are routed to SCF with the SIP INVITE that UE sends.
Whether step 1203, SCF have the right to obtain to Media Stream that should the media content sign to UE, carry out authenticating and charging.
Step 1204, SCF are carried out after authenticating and charging passes through UE, and the media content that carries according to this message is designated UE and selects corresponding MCF.
Step 1205, SCF send the SIP INVITE to the MCF that selects, and carry media content information and UE information.
In this step, UE information can comprise information such as UE position.
After step 1206, MCF receive the message of SCF transmission, the media content information of carrying according to this message selects to provide the MDF of Media Stream of the media content of this sign correspondence for UE, be assumed to be MDF1, and the source IP address and the port numbers of dividing the RTP bag that is used in the professional transmission of this IPTV carrying media stream, be assumed to be IP1 and Port1.
This IP address may not be the IP address of MDF1 itself, may be the IP address of other entities, for example the IP address of MCF.
Step 1207, MCF send resource to MDF1 request application medium, sending Media Stream to UE, and specify and use MCF IP address allocated and port numbers (IP1 is Port1) as the source IP address and the port numbers of the RTP bag that sends carrying media stream.
The RTSP session that is used for VCR control between step 1208, MCF foundation and the UE.
Step 1209, MCF return SIP 200 message to SCF, and the medium that carry Media Stream send the RTSP session information of resource information and foundation.
Step 1210, SCF with SIP 200 message that receive through IMS Core route.
Step 1211, UE receive this SIP 200 message.
Step 1212, UE return SIP ACK message, carry UE information.
In this step, UE information can adopt SDP to describe.
After step 1213, IMS Core receive the SIP ACK message of UE,, remain for the bearing resource of media stream in advance for UE according to the SDP description of UE side and MDF side.
Step 1214, SIP ACK message are routed to SCF.
Step 1215, SCF send to MCF with the SIP ACK message that receives.
Step 1216, MCF obtain UE information according to this SIP ACK message, and control MDF1 sends the Media Stream of the media content information of corresponding UE request to UE.
Step 1217, under the control of MCF, the RTP bag that MDF1 will be packaged with Media Stream sends to UE, source IP address and the port numbers used in the RTP bag are respectively IP1 and Port1.
Step 1218, the RTP bag that is packaged with Media Stream send to UE from MDF1.
The RTCP message that step 1219, UE send will send to the entity that the IP address is IP1, be assumed to MCF, and promptly UE replys RTCP message to the source IP address that sends Media Stream, can not directly arrive MDF1, but will be routed on the entity that the IP address is IP1, be i.e. MCF.
Step 1220, IP address are the entity of IP1, transmit RTCP message and give MDF1.
In this step, the entity with IP address ip 1 is MCF, and MCF gives MDF1 according to the corresponding relation that sets in advance with the RTCP forwards.Here, because IP1 and Port1 distribute by MCF, so store corresponding relation between IP1 and Port1 and the MDF1.
The RTCP message that step 1221, MDF1 send sends to the IPTV terminal.
Step 1222, user appreciate in the process of program, carry out the VCR operation, for example F.F. or rewind down etc.The RTSP message of VCR operation sends to MCF, and this message is carried and will be asked media content information, comprises media content sign etc.
RTSP message is Play Control message.
Step 1223, MCF detect and obtain media content that this message will ask not on MDF1, then select to have the MDF2 of the media content that this message will ask.
Step 1224, MCF send the request message that the application medium send resource to MDF2, transmitting the media content of appointment, and specify use MCF be this IPTV business IP address allocated and port numbers (IP1 and Port1) as the source IP address and the port numbers of Media Stream.
Step 1225, MCF indication MDF1 discharge medium and send resource, and MDF1 stops to send Media Stream to UE, discharges the use to IP1 and Port1.
The request message that step 1226, MDF2 send according to MCF, to send to UE at the RTP bag to the media stream bearing of the media content information of should message carrying, use the IP address of MCF appointment and port numbers (IP1 and Port1) source IP address and port numbers as Media Stream.
The RTCP message that step 1227, UE send will send to the entity that the IP address is IP1, be assumed to MCF, and promptly UE replys RTCP message to the source IP address that sends Media Stream, can not directly arrive MDF2, but will be routed on the entity that the IP address is IP1, be i.e. MCF.
Step 1228, IP address are the entity of IP1, transmit RTCP message and give MDF2.
In this step, the entity with IP address ip 1 is MCF, and MCF gives MDF2 according to the corresponding relation that sets in advance with the RTCP forwards.Here, because IP1 and Port1 distribute by MCF, so store corresponding relation between IP1 and Port1 and the MDF2.
The RTCP message that step 1229, MDF2 send sends to UE.
Step 1230, user finish watching of program, and UE sends SIP BYE message.
Step 1231, SIP BYE message are routed to SCF by IMS Core.
Step 1232, SCF send to MCF with SIP BYE message.
Step 1233, MCF indication MDF2 are released to the medium transmission resource that UE distributes.
Step 1234, MCF are released to the IP address and the port numbers (IP1 and Port1) of this IPTV traffic assignments of UE, and this IP address and port numbers can give other UE or this UE uses in next IPTV business.
Step 1235, MCF return SIP 200 message.
Step 1236, SCF send SIP 200 message to IMS Core.
Step 1237, IMS Core receive SIP 200 message, discharge the carrying media stream resource of reserving.
Step 1238, UE receive SIP 200 message, this IPTV service ending.
Specific embodiment four, play control proxy and Media proxy mode
Present embodiment adopts play control proxy and Media proxy mode, be based on a specific embodiment of the IPTV business of IMS, its network architecture as shown in figure 17, wherein UE, IMS Core and SCF are existing entities in the system architecture of existing IPTV business based on IMS, do not make new modification and requirement in embodiments of the present invention.The embodiment of the invention is primarily aimed at based on the IPTV media function entity in the system architecture of the IPTV business of IMS and makes amendment.
In Figure 13, UE adopts existing service interaction process, is undertaken alternately by IMS Core and SCF as SIP reciprocal process, selects IPTV media function entity, sets up the IPTV business, comprises the negotiation of controlling media play and the negotiation of Media Stream.After the professional foundation of IPTV, UE uses RTSP to carry out the VCR operation, promptly for providing the IPTV media function entity of service, UE sends the Play Control order to current, if the media content of this command request is not on the current IPTV media function entity that service is provided for UE the time, another has the new IPTV media function entity of this media content this IPTV media function entity selection.This new IPTV media function entity can not be directly mutual with UE, but by the current IPTV media function entity that provides service for UE directly and UE carry out alternately, Play Control and Media Stream are acted on behalf of forwarding by current for UE provides the IPTV media function entity of service, thereby the source IP address and the port numbers that realize the transmission Media Stream in this IPTV business of UE are constant.
Therefore, need interface newly-increased or that revise to comprise: interface C3 and M3 between the IPTV media function entity, finish play control proxy and Media Stream agency respectively.
Figure 14 realizes the method flow diagram of switching media server for the specific embodiment of the invention four adopts play control proxy and Media proxy mode, the network entity that relates to comprises UE, IMS Core, SCF, current for UE provides the IPTV media function entity 1 of Media Stream and switches the IPTV media function entity 2 that Media Stream afterwards is provided for UE, and its concrete steps are:
After step 1401, user selected certain program by the electronic programming electric separation, UE sent the SIP INVITE to IMS Core, carried the media content information and the UE information of selected program correspondence.
Step 1402, IMS Core are routed to SCF with the SIP INVITE that UE sends.
Whether step 1403, SCF have the right to obtain to Media Stream that should the media content sign to UE, carry out authenticating and charging.
Step 1404, SCF are carried out after authenticating and charging passes through UE, and the media content information of carrying according to this message is that UE selects corresponding IPTV media function entity 1.
Step 1405, SCF send the SIP INVITE to IPTV media function entity 1, carry media content information and UE information.
In this step, UE information can comprise information such as UE position.
Step 1406, IPTV media function entity 1 allocation medium send resource, obtain the local terminal media information, can adopt SDP to be described, and suppose that the local terminal media address is IP1 and Port1.
Step 1407, IPTV media function entity 1 distribute the Play Control resource, and the SDP that obtains the local terminal Play Control describes, and sets up the RTSP session between foundation and the UE.
In this step, suppose that local terminal controlling media play address is IP2 and Port2.
Step 1408, IPTV media function entity 1 return SIP 200 message to SCF, carry medium and send the SDP description of resource information and the SDP description of Play Control information.
Step 1409, SIP 200 message are through IMS Core route.
Step 1410, UE receive SIP 200 message that the SDP that carries Media Stream transmission resource information describes and the SDP of Play Control information describes.
Step 1411, UE return SIP ACK message, carry UE information.
In this step, UE information adopts SDP to describe.
Step 1412, IMS Core handle the SIP ACK message of UE, according to the SDP description of UE side and IPTV media function entity 1 side, reserve the bearing resource that will be used for media stream for UE.
Step 1413, SIP ACK message are routed to SCF, carry UE information.
Step 1414, SCF treatment S IP ACK message send SIP ACK message to IPTV media function entity 1, carry UE information.
Step 1415, IPTV media function entity 1 transmit the RTP bag that carrying media flows to UE, and whether monitoring have RTSP message according to receiving the definite address that sends Media Stream of UE information that message is carried.
In this step, RTSP message is exactly the Play Control order.
The RTP bag of step 1416, carrying media stream sends to UE from IPTV media function entity 1.
The RTCP message that step 1417, UE send sends to IPTV media function entity 1.
The RTCP message that step 1418, IPTV media function entity 1 send sends to UE and handles.
Step 1419, user appreciate in the process of program, carry out the VCR operation, for example F.F. or rewind down etc.The RTSP message of VCR operation sends on the IPTV media function entity 1, carries the media content information that will ask, as the media content sign etc.
Step 1420, IPTV media function entity 1 detect self media content less than the media content information of carrying corresponding to this message, inquiry is preserved the database of media content position or is adopted the method for prior art, selection has the IPTV media function entity to the media content of the media content information of should message carrying, and is assumed to be IPTV media function entity 2 here.
Step 1421, IPTV media function entity 1 are to the Play Control message and the Media Stream of IPTV media function entity 2 request broker IPTV media function entities 2.
The Play Control resource and the medium of step 1422, IPTV media function entity 2 application local terminals send resource.
Step 1423, IPTV media function entity 2 are returned the information that IPTV media function entity 2 side Play Control resources and medium send resource to IPTV media function entity 1, and this information can adopt SDP to be described.
Step 1424, IPTV media function entity 2 send Media Stream to the media content of the media content information of should message carrying to IPTV media function entity 1.
The Media Stream that step 1425, IPTV media function entity 1 will receive from IPTV media function entity 2 is encapsulated as the IP bag after handling again and sends to the IPTV terminal.
In this step, the source IP address of Media Stream and port numbers are still used the IP address and the port numbers of IP media function entity 1.
Step 1426, IPTV media function entity 1 receive the RTCP message of IPTV terminal, and according to purpose IP address and port numbers, identifying needs the agency to be transmitted to IPTV media function entity 2.
Step 1427, RTCP message are transmitted to IPTV media function entity 2 from IPTV media function entity 1 agency.
The RTCP message of step 1428, IPTV media function entity 2 sends to IPTV media function entity 1.
Step 1429, IPTV media function entity 1 will send to UE from the RTCP message of IPTV media function entity 2.
Step 1430, user carry out the VCR operation, and UE sends RTSP message and sends to IPTV media function entity 1.
Step 1431, IPTV media function entity 1 are transmitted RTCP message and are given IPTV media function entity 2.
The RTSP message of step 1432, IPTV media function entity 2 sends to IPTV media function entity 1.
Step 1433, IPTV media function entity 1 are transmitted the RTSP message of IPTV media function entity 2 and are given UE.
Step 1434, user finish watching of program, send SIP BYE message.
Step 1435, SIP BYE message are routed to SCF through IMS Core.
After step 1436, the SCF treatment S IP BYE message, send SIP BYE message to IPTV media function entity 1.
Step 1437, IPTV media function entity 1 indication IPTV media function entity 2 discharge Play Control resource and medium transmission resource.
Play Control resource and medium that step 1438, IPTV media function entity 1 discharge self send resource.
Step 1439, IPTV media function entity 1 return SIP 200 message.
Step 1440, SCF send SIP 200 message to IMS Core.
Step 1441, IMS Core receive SIP 200 message, discharge the bearing resource of reserving, and this message is sent to UE.
After step 1442, UE receive SIP 200 message, this IPTV service ending.
In Figure 14, during the Media Stream of IPTV media function entity 1 Agent IP TV media function entity 2 transmissions, also can adopt the agent way of RTP level agency or application level proxy to act on behalf of.
In sum, the embodiment of the invention provides in the professional use of IPTV, carries out reason such as VCR operation at UE and causes keeping the source IP address and the port numbers of Media Stream transmission to remain unchanged under the situation that media server need switch.The scheme that the present invention remains unchanged by the source IP address that keeps Media Stream and send and port numbers, can guarantee not need to carry out the UE and second media server, consult once more between the media server after promptly switching, improved the response speed that Media Stream is provided based on the network of the IPTV business of IMS, avoid switching owing to media server in the professional use of IPTV the transmission delay of the Media Stream that causes, and the user of influence impression.
More than be explanation, in concrete implementation process, can carry out suitable improvement, to adapt to the concrete needs of concrete condition method of the present invention to the specific embodiment of the invention.Therefore be appreciated that according to the specific embodiment of the present invention just to play an exemplary role, not in order to restriction protection scope of the present invention.

Claims (13)

1, the method for Media Stream is provided in a kind of media server handoff procedure, it is characterized in that, described media server is the media delivery functional entity, and this method comprises:
Provide the media delivery functional entity of Media Stream to switch to the second media delivery functional entity by the first media delivery functional entity for subscriber equipment;
The Media Stream that the second media delivery functional entity provides for subscriber equipment, the agency sends by the first media delivery functional entity.
2, the method for claim 1 is characterized in that, described agency sends by the control of media control function entity and undertaken, and described media control function entity is administered the first media delivery functional entity and the second media delivery functional entity.
3, method as claimed in claim 1 or 2 is characterized in that, described agency comprises: realtime transmission protocol RTP bag level agency, content-level agency.
4, method as claimed in claim 1 or 2 is characterized in that, described agency sends and comprises:
The second media delivery functional entity will send to the first media delivery functional entity for the Media Stream that subscriber equipment provides, the first media delivery functional entity uses in advance for the media parameter of this allocated for media streams sends this Media Stream, and described media parameter for this allocated for media streams is identical for the media parameter that Media Stream distributed that subscriber equipment provides with the first media delivery functional entity.
5, the system of Media Stream is provided in a kind of media server handoff procedure, it is characterized in that described media server is the media delivery functional entity, this system comprises: the first media control function entity, the second media control function entity, media delivery functional entity and subscriber equipment, wherein
The media control function entity is used for controlling the first media delivery functional entity and the second media delivery functional entity when the media delivery functional entity that Media Stream is provided for the user switches to the second media delivery functional entity by the first media delivery functional entity;
The second media delivery functional entity is used for will sending to the first media delivery functional entity for the Media Stream that subscriber equipment provides under the control of media control function entity;
The first media delivery functional entity is used under the control of media control function entity the agency and sends the Media Stream that receives from the second media delivery functional entity to subscriber equipment.
6, the method for Media Stream is provided in a kind of media server handoff procedure, it is characterized in that, described media server is the media delivery functional entity, and this method comprises:
Provide the media delivery functional entity of Media Stream to switch to the second media delivery functional entity by the first media delivery functional entity for subscriber equipment;
It is that the pre-assigned media parameter of this Media Stream sends Media Stream that the second media delivery functional entity uses the media control function entity.
7, method as claimed in claim 6 is characterized in that, described media control function entity remains unchanged for the pre-assigned media parameter of this Media Stream, and is identical with the employed media parameter of first media delivery functional entity transmission Media Stream.
8, the system of Media Stream is provided in a kind of media server handoff procedure, it is characterized in that described media server is the media delivery functional entity, this system comprises: the first media control function entity, the second media control function entity, media delivery functional entity and subscriber equipment, wherein
The media control function entity, when being used to subscriber equipment to provide the media delivery functional entity of Media Stream to switch to the second media delivery functional entity by the first media delivery functional entity, be after the distribution of the second media delivery functional entity sends the identical media parameter of Media Stream with the first media delivery functional entity, to send to the second media delivery functional entity;
The second media delivery functional entity is used to use the media parameter that receives from the media control function entity to send Media Stream to subscriber equipment.
9, the method for Media Stream is provided in a kind of media server handoff procedure, it is characterized in that, described media server is the media function entity, and this method comprises:
Provide the media function entity of Media Stream to switch to the second media function entity by the first media function entity for subscriber equipment, the Media Stream that the second media function entity provides for subscriber equipment, the agency sends by the first media function entity.
10, method as claimed in claim 9 is characterized in that, described agency is sent as:
The second media function entity will send to the first media function entity for the Media Stream that subscriber equipment provides, the first media function entity uses in advance for the media parameter of this allocated for media streams sends this Media Stream, and described media parameter for this allocated for media streams is identical for the media parameter that Media Stream distributed that subscriber equipment provides with the first media function entity.
11, method as claimed in claim 9 is characterized in that, this method further comprises:
The Play Control response message that the second media function entity provides for subscriber equipment, the agency sends by the first media function entity.
12, method as claimed in claim 11 is characterized in that, described agency is sent as:
The Play Control message that subscriber equipment sends sends to the first media function entity, send to the second media function entity by the first media function entity, after the second media function entity handles Play Control message, the Play Control response message that generates is sent to the first media function entity, send to subscriber equipment by the first media function entity.
13, the system of Media Stream is provided in a kind of media server handoff procedure, it is characterized in that, described media server is the media function entity, and this system comprises: the first media function entity, second media function entity and the subscriber equipment, wherein,
The second media function entity when being used to subscriber equipment to provide the media function entity of Media Stream to switch to the second media function entity by the first media function entity, will send to the first media function entity for the Media Stream that subscriber equipment provides;
The first media function entity is used to act on behalf of Media Stream that transmission receives from the second media function entity to subscriber equipment.
CN200710128416.1A 2007-07-05 2007-07-05 Method and system for providing media stream in process of media server switching Pending CN101340428A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200710128416.1A CN101340428A (en) 2007-07-05 2007-07-05 Method and system for providing media stream in process of media server switching
PCT/CN2008/071494 WO2009006820A1 (en) 2007-07-05 2008-06-30 Method and system for providing media flow during swith of media servers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710128416.1A CN101340428A (en) 2007-07-05 2007-07-05 Method and system for providing media stream in process of media server switching

Publications (1)

Publication Number Publication Date
CN101340428A true CN101340428A (en) 2009-01-07

Family

ID=40214383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710128416.1A Pending CN101340428A (en) 2007-07-05 2007-07-05 Method and system for providing media stream in process of media server switching

Country Status (2)

Country Link
CN (1) CN101340428A (en)
WO (1) WO2009006820A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929436A (en) * 2014-05-06 2014-07-16 北京邮电大学 Method for limiting repeated media negotiations in IMS network
CN104811827A (en) * 2015-04-20 2015-07-29 中兴通讯股份有限公司 Message transmitting method, and code stream processing method and device
CN106688212A (en) * 2014-09-10 2017-05-17 索尼公司 Communication control device, communication control method and communication system
CN107181728A (en) * 2016-03-12 2017-09-19 维布络有限公司 Optimize the method and system of Internet usage in communication network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7945648B2 (en) * 2003-10-27 2011-05-17 Hewlett-Packard Development Company, L.P. Methods and systems for dynamically configuring a network component to reroute media streams
EP1675343A1 (en) * 2004-12-23 2006-06-28 Siemens S.p.A. Method and system to minimize the switching delay between two RTP multimedia streaming sessions
KR100678239B1 (en) * 2005-02-15 2007-02-02 삼성전자주식회사 System and for providing internet protocol broadcasting service
CN100596157C (en) * 2005-12-29 2010-03-24 华为技术有限公司 Method for realizing stream media switching and stream media server
CN101083605B (en) * 2007-08-01 2011-07-06 华为技术有限公司 Method, system and apparatus for quick switching media source

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929436A (en) * 2014-05-06 2014-07-16 北京邮电大学 Method for limiting repeated media negotiations in IMS network
CN103929436B (en) * 2014-05-06 2017-06-06 北京邮电大学 A kind of method of media negotiation repeatedly in limitation IMS network
CN106688212A (en) * 2014-09-10 2017-05-17 索尼公司 Communication control device, communication control method and communication system
CN104811827A (en) * 2015-04-20 2015-07-29 中兴通讯股份有限公司 Message transmitting method, and code stream processing method and device
WO2016169482A1 (en) * 2015-04-20 2016-10-27 中兴通讯股份有限公司 Message transmission method, code stream processing method and device
US10575065B2 (en) 2015-04-20 2020-02-25 Xi'an Zhongxing New Software Co., Ltd. Message sending method and device, code stream processing method and device
CN107181728A (en) * 2016-03-12 2017-09-19 维布络有限公司 Optimize the method and system of Internet usage in communication network
CN107181728B (en) * 2016-03-12 2020-02-07 维布络有限公司 Method and system for optimizing network resource usage in communication network

Also Published As

Publication number Publication date
WO2009006820A1 (en) 2009-01-15

Similar Documents

Publication Publication Date Title
US8307049B2 (en) Method and device for obtaining media description information of IPTV services
CN101026615B (en) IMS-based flow media network system
US8077717B2 (en) Method and system for providing multicast services
EP2241078B1 (en) Method and internet protocol television (iptv) content manager server for iptv servicing
EP2736219B1 (en) Switching between delivery methods in an IPTV communication network
CN101068340B (en) Program network transcribing method and media processing server and network transcribing system
JP4932906B2 (en) System for accessing television across IP services in an IMS architecture network
EP2157744A1 (en) Method and system for controlling the authorization of service resource
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
EP2387844B1 (en) Managing associated sessions in a network
EP2192817B1 (en) Broadcast service (bc) improving method, device and system
CN101299748A (en) Method, system and apparatus for applying terminal capability information in IPTV service
EP2299707A1 (en) Interactive iptv system and content pushing method thereof
CN101340428A (en) Method and system for providing media stream in process of media server switching
CN101415250B (en) Method, system and entity for establishing session in IP internet television system
CN101453402A (en) Method, system and equipment for media flow control
CN101483532B (en) Method, system and device for media stream duplication
CN101399759B (en) Method, system and apparatus for media stream control by service providing entity
CN101459572B (en) Method and apparatus for realizing related media stream in IP packet network
CN101662654A (en) Wed TV system based on IMS and method and device for realizing system
CN101355552A (en) Method and apparatus for controlling stream medium
CN101378546A (en) Method, entity and system for implementing medium consignation control
KR100882604B1 (en) Control system and method for vod service session based on the ims
WO2009052760A1 (en) A method, a system and a device for establishing the time-shifted tv service in broadcast service
CN101588535A (en) Interconnection device and startup, program request and live broadcasting method based on the IPTV system of IMS

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090107