CN101771860B - Program switching method, system and device - Google Patents

Program switching method, system and device Download PDF

Info

Publication number
CN101771860B
CN101771860B CN200810242231.8A CN200810242231A CN101771860B CN 101771860 B CN101771860 B CN 101771860B CN 200810242231 A CN200810242231 A CN 200810242231A CN 101771860 B CN101771860 B CN 101771860B
Authority
CN
China
Prior art keywords
program
media server
media
management module
switch
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
Application number
CN200810242231.8A
Other languages
Chinese (zh)
Other versions
CN101771860A (en
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 CN200810242231.8A priority Critical patent/CN101771860B/en
Priority to PCT/CN2009/073596 priority patent/WO2010075698A1/en
Publication of CN101771860A publication Critical patent/CN101771860A/en
Application granted granted Critical
Publication of CN101771860B publication Critical patent/CN101771860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/17318Direct or substantially direct transmission and handling of requests
    • 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/613Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for the control of the source by the destination
    • 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/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • 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/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]

Abstract

The embodiment of the invention discloses a program switching method, a system and a device. The method comprises the following steps: adopting a program switching request sent by a receiving terminal, wherein the program switching request contains a program identification to be switched by the terminal; based on the program identification, judging that the program to be switched is not in a media server which broadcasts programs for the terminal; and based on the program identification, initiating a real-time streaming protocol (RTSP) link establishment request to the media server containing the program to be switched, so as to realize program rapid switch among different media servers.

Description

The method that a kind of program switches, system and device
Technical field
The present invention relates to the communications field, be specifically related to the method that a kind of program switches, system and device.
Background technology
Along with the digitlization of TV signal, when bringing clearly TV programme, also need realize the quick switching of channels/programs.In the prior art, the quick switching of program is based on switching all situation in same media server of forward and backward content; When the program that switches front and back was not in same media server, switch speed was slow, poor user experience.
Summary of the invention
In view of this, the method that the present invention provides a kind of program to switch, system and device, it is slow to solve the program switch speed, the problem of poor user experience.
The method that a kind of program switches comprises, the program handoff request that receiving terminal sends comprises the program identification that the terminal will be switched in the program handoff request; According to program identification, the program that judgement will be switched is not the media server of terminal plays program current; According to program identification, the real-time streaming protocol RTSP link between the media server that foundation and the program that will switch belong to is so that the media server at the program that will switch place is according to the program of program identification after terminal plays is switched.
The method that a kind of program switches; Comprise; Receive the program handoff request that the user sends; The program of confirming to switch sends the program handoff request to the media management module of the media server ownership at the program place that will switch, so that the media management module of the media server ownership at the program that will switch place is set up real-time streaming protocol RTSP link with the media server at the program place that will switch not in the programme that media server returns.
The system that a kind of program switches comprises, media management module is used for the program handoff request that receiving terminal sends, and comprises the program identification that will switch in the program handoff request; According to program identification, the program that judgement will be switched not current in the media server of terminal plays program; And according to program identification, the real-time streaming protocol RTSP link between the media server that foundation and the program that will switch belong to; Media server is used for according to the program of program identification after terminal plays is switched.
A kind of media management module comprises, receiver module is used for the program handoff request that receiving terminal sends, and comprises the program identification that the terminal will be switched in the program handoff request; Judge module is used for according to program identification, the program that judgement will be switched not current in the media server of terminal plays program; Set up module, according to program identification, the real-time streaming protocol RTSP link between the media server that foundation and the program that will switch belong to is so that media server is according to the program of program identification after terminal plays is switched.
The embodiment of the invention adopt to judge the program that will switch not current for behind the media server of terminal plays program; According to program identification; Media server to the program place that will switch is initiated real-time streaming protocol RTSP request for building link, has realized the quick switching between the different media servers.
Description of drawings:
Fig. 1 is the basic procedure sketch map of the program switching method that provides of the embodiment of the invention;
Fig. 2 is the basic procedure sketch map of another program switching method of providing of the embodiment of the invention;
Fig. 3 is the fundamental block diagram of the program switched system that provides of the embodiment of the invention;
Fig. 4 is the fundamental block diagram of the media management module that provides of the embodiment of the invention;
Fig. 5 is the basic flow sheet of the program switching method that provides of the embodiment of the invention;
Fig. 6 is the basic flow sheet of another program switching method of providing of the embodiment of the invention;
Fig. 7 is the basic flow sheet of another program switching method of providing of the embodiment of the invention;
Fig. 8 is the basic flow sheet of another program switching method of providing of the embodiment of the invention.
Embodiment:
In order to make those skilled in the art better understand content of the present invention, content of the present invention is specified below in conjunction with accompanying drawing and specific embodiment.
The basic procedure that the program that the embodiment of the invention provides switches can mainly comprise step with reference to figure 1:
The program handoff request that A1, receiving terminal send comprises the program identification that the terminal will be switched in the said program handoff request.
The terminal is carried Require:3gpp-switch-req-sdp sign and SDP-requested header field transmission program handoff request to media management module through the PLAY instruction; Comprise the switching program identification in this program handoff request, the program of watching like the user is " sky ", at this moment; The user initiates the program handoff request; Want to receive program " vanilla ", then in the program handoff request, comprise the program identification of " vanilla ".Certainly, said program handoff request need be passed through gateway, the IMS core net, and message control module arrives media management module at last.
A2, according to said program identification, judge the said program that will switch not current in the media server of terminal plays program.
After media management module receives the program handoff request; According to program identification, the program that judgement will be switched not current in the media server of user's broadcast program, as; The current media server A is user's broadcast program " sky ", and the program " vanilla " after switching is on media server B.
Further, media management module breaks off and being connected of media server A.
Further, after media management module A receives the program handoff request, according to program identification; The program that judgement will be switched not current on the media server A of user's broadcast program; As, the current media server A is user's broadcast program " sky ", and the program " vanilla " after switching is not on media server A; On media server B, media server belongs to media management module B. simultaneously
A3, according to said program identification, set up the real-time streaming protocol RTSP link between the media server with the said program place that will switch, so that media server is according to the program of said program identification after the terminal plays switching.
Concrete; After program after media management module is confirmed to switch is that media server B goes up; Initiate real-time streaming protocol RTSP request for building link to media server B, after the RTSP link establishment, media management module sends the playing programs request to media server B; Next, media server B plays the program after the switching for the user.Here, media server B belongs to this media management module, and promptly the presentation medium server B is returned this media management module management.
Optional; Media management module is before initiating real-time streaming protocol RTSP request for building link to the media server at the program place that will switch; The SDP information of the program that acquisition will be switched, SDP information comprises the audio stream of program here, the descriptor of video flowing etc.; SDP information can leave on the media management module in advance simultaneously, or media management module goes to obtain on the media server B through RSTP descbibe message.
Further; Media management module is with the binding session of the session between terminal and the media management module and media management module and media server B foundation; The session jd sign indicating number session ID that is about between terminal and the media management module is made as the same with session jd sign indicating number session ID between media management module and the media server B; Mapping relations between the RTSP server end slogan of the RTSP server end slogan of recording medium server B and media management module respond the information such as RTSP server end slogan of returning session jd sign indicating number and media management module through OK simultaneously and give the terminal.
Further; Media management module is after confirming that RTSP link between itself and the media server B has been set up; Media server to the said program that will switch is that media server B initiates the playing programs request; Media server B issues Media Stream to the terminal after receiving above-mentioned playing programs request, is the program after terminal plays is switched.
Further; Media management module is used for according to said program identification; Said program handoff request is sent to the media management module of the media server ownership at the said program place that will switch; So that the real-time streaming protocol RTSP link between the media server that media management module is set up and the said program that will switch belongs to of the media server ownership at the said program place that will switch, so that media server is according to the program of said program identification after terminal plays is switched.
Here comprise two kinds of situation:
1, the program handoff request is sent to media management module A in the terminal; Require to play " vanilla "; Media management module A sends to message control module with the program handoff request; After message control module is received the program handoff request, the program handoff request is sent to the media management module B of the media server B ownership at the said program place that will switch;
2, media management module A is according to being provided with in advance; Here can in media management module, preserve the program that each media server can be play; As judging that " vanilla " is on media server B; Media server B does not belong to media management module A simultaneously, then the program handoff request is directly sent to the media management module B of the media server B ownership at the said program place that will switch.
Optional; Media management module B is before the media server B to the program place that will switch initiates real-time streaming protocol RTSP request for building link; Obtain the SDP information of program, SDP information comprises the audio stream of program, information such as video flowing here; SDP information can leave on the media management module in advance simultaneously, or media management module goes to obtain in the media server through RSTP descbibe message.
Further; Media management module B is with the binding session of the session between terminal and the media management module B and media management module B and media server foundation; Be about to session jd sign indicating number session ID and session jd sign indicating number session ID between control module and the media server between terminal and the control module and be made as equally, divide two kinds of situation here:
1, media management module B is when media server B sends real-time streaming protocol RTSP request for building link; The session ID that is connected between carried terminal and the media management module B; Such as being " XYZ "; The identical session ID of link assignment that requires media server B to set up for request after media server B receives the RTSP request for building link, returns to the terminal with this session ID through response message.
2, media management module B is when media server B sends real-time streaming protocol RTSP request for building link; The session ID that is connected between carried terminal and the media management module B not; After media server B receives the RTSP request for building link; Will be for new session ID of this RTSP link assignment, like " XYZ ", and this session ID returned to the terminal through response message
Further; Media management module B is after confirming that RTSP link between itself and the media server has been set up; Media server B to the said program place that will switch initiates the playing programs request; Media server B issues Media Stream to the terminal after receiving above-mentioned request, is the program after terminal plays is switched
Present embodiment is according to the program handoff request, the program that judgement will be switched not current in the media server of user's broadcast program, set up the RTSP link with the media server at the program place that will switch, realize the quick switching of program between the different media servers.
The basic procedure that the program that the embodiment of the invention provides switches can mainly comprise step with reference to figure 2:
The program handoff request that B1, reception user send; The program of confirming to switch is not in the programme that media server returns; The media management module that the media server that belongs to the said program that will switch belongs to sends the program handoff request, so that the media server that the media management module of the media server ownership at the said program place that will switch and the said program that will switch belong to is set up real-time streaming protocol RTSP link.
Concrete, the user sends order request to message control module when request program; Require watch programs " sky ", message control module obtains the rendition list that the user buys to customer data base after receiving order request; As, the user has bought program " sky ", " vanilla "; " not having strange ", " family ".The order request that message control module will comprise the rendition list sends to media management module; Media management module judges that " sky " is on media server A; Send the RTSP request for building link to media server A, comprise the rendition list that the user buys in this request.Media server A is after receiving the RTSP request for building link, and the rendition list according to the user buys returns the corresponding programme of buying with the user of the rendition list to the terminal; The program that has like media server A is " sky "; " vanilla ", " ridge " then is " sky " to the programme that the terminal is returned; " vanilla ", and be user's broadcast program " sky ".
The program that the user will be switched is " family "; Program after terminal judges is switched is not in programme, and the program handoff request is sent to media management module in the terminal, and media server A and media server B belong to same media management module here; Media management module judges that program " family " is on media server B; The media management module disconnection is connected with media server A's, sends real-time streaming protocol RTSP request for building link to media server B simultaneously, after the link establishment; Media management module sends playing request to media server B, is terminal plays program " family " by media server B.
The programme that embodiment of the invention terminal is returned according to media server; The program of confirming to switch is not in the programme that media server returns; Then send the program handoff request, avoided when the program handoff failure of the program after the switching during at different server to media management module.
The system that the embodiment of the invention provides a kind of program to switch with reference to figure 3, mainly comprises:
Media management module 301 is used for the program handoff request that receiving terminal sends, and comprises the program identification that the terminal will be switched in the said program handoff request; According to said program identification, judge that the said program that will switch is not the media server of terminal plays program current, according to said program identification, set up the real-time streaming protocol RTSP link between the media server that belongs to the said program that will switch.
Media server 302 is used for according to the program of said program identification after terminal plays is switched.
Media management module 301 is further used for, according to said program identification, judge the said program that will switch not current for the media server of terminal plays program and belong in other media servers of local media control module; According to said program identification; Said program handoff request is sent to the media management module of the media server ownership at the said program place that will switch; So that the real-time streaming protocol RTSP link between the media server that media management module is set up and the said program that will switch belongs to of the media server ownership at the said program place that will switch, and the media server at the program that will switch place is according to the program of said program identification after terminal plays is switched.
Media management module 301 is further used for, and is the link between said media management module and the terminal, and said media management module and link between the media server that the said program that will switch belongs to are provided with identical session jd number.
Media management module 301 is further used for, break off and current be link between the media server of terminal plays program.
The embodiment of the invention provides a kind of media management module, with reference to figure 4, mainly comprises:
Receiver module 401 is used for the program handoff request that receiving terminal sends, and comprises the program identification that the terminal will be switched in the said program handoff request;
Judge module 402 is used for according to said program identification, judge the said program that will switch not current in the media server of terminal plays program;
Set up module 403, according to said program identification, the real-time streaming protocol RTSP link between the media server at foundation and the said program place that will switch is so that media server is according to the program of said program identification after terminal plays is switched.
Media management module further comprises:
Judge module 402 is further used for according to said program identification, judge the said program that will switch not current for the media server of terminal plays program and belong in other media servers of local media control module;
Setting up module 403 is further used for according to said program identification; Said program handoff request is sent to the media management module of the media server ownership at the said program place that will switch; So that the real-time streaming protocol RTSP link between the media server that media management module is set up and the said program that will switch belongs to of the media server ownership at the said program place that will switch, so that media server is according to the program of said program identification after terminal plays is switched.
Said media management module further comprises module 404 is set, and is used to the link between this locality and the terminal, and the link between the media server that belongs to of the local and said program that will switch is provided with identical session jd number.
Media management module further comprises and cuts off module 405, is used to break off and currently is the link between the media server of terminal plays program.
For better understanding the foregoing description, a concrete implementation of the method for switching below in conjunction with program is that example describes, to the flow process introduction of Fig. 1; Schematic flow sheet is as shown in Figure 6, comprises terminal A, gateway; Message control module, media management module, media server 1; Media server 2, idiographic flow is following:
501, terminal A sends the program request request for building link through gateway, IMS nucleoreticulum to message control module.
502, message control module is received above-mentioned program request request for building link, and it is transmitted to media management module.
503, media management module is received above-mentioned program request request for building link, obtains the SDP information of program.
Here SDP information comprises the audio stream of program, information such as video flowing, and simultaneously SDP information can leave on the media management module in advance, or media management module goes through RSTP descbibe message to obtain in the media server at program place of user's program request.
504, media management module sends real-time streaming protocol link RTSP to media server 1 and sets up request.Media management module is judged the program of terminal A program request on media server 1, then sends RTSP setup request to media server 1.
505, media server 1 sends the OK response to media management module, sets up with the expression link.
506, media management module passes through message control module, the IMS nucleoreticulum, and gateway sends the OK response to the terminal.
Above step representes that promptly the RSTP/RTP link between terminal A and the media server 1 sets up.
507, terminal A sends real time protocol stream playing request RTSP play to media management module.Comprise the program that terminal A wants program request in this request, like terminal A movies on demand " a beautiful mind ".
508, media management module sends to media server 1 with above-mentioned real time protocol stream playing request.
509, media server 1 returns the OK response to media management module.
510, media management module sends to terminal A with above-mentioned OK response.
511, media server 1 is the program of terminal A playback terminal A program request.Here play " a beautiful mind " for terminal A.
512, terminal A sends quick handoff request to media management module.
This quick handoff request carries the Require:3gpp-switch-req-sdp sign through real time protocol stream playing request RTSP play and the SDP-requested header field sends to media management module; Comprise the program that terminal A will switch in this quick handoff request, switch film " Mei Lanfang " like terminal A.
513, media management module sends real-time streaming protocol link disconnection request to media server 1;
514, media server 1 returns the OK response to media management module, breaks off with the expression link;
515, media management module obtains the SDP information of program " Mei Lanfang ";
Here SDP information comprises the audio stream of program, information such as video flowing, and simultaneously SDP information can leave on the media management module in advance, or media management module goes through RSTP descbibe message to obtain in the media server at program " Mei Lanfang " place.
516, media management module sends real-time streaming protocol request for building link RTSPsetup to media server 2; Concrete, media management module is judged the program of terminal A program request on media server 2, then sends RTSP setup request to media server 2.
517, media server 2 returns the OK response to media management module, sets up with the expression link.
518, media management module is with the binding session of the session between terminal and the control module and control module and media server foundation; Session jd sign indicating number session ID between terminal and the control module and session jd sign indicating number session ID between control module and the media server are made as the same, represent that promptly the RSTP/RTP link between terminal A and the media server 2 is set up.
519, media management module sends real time protocol stream playing request RTSP play to media server 2; Comprise information such as session ID in this request.
520, media server 2 returns the OK response to media management module.
521, media management module sends to terminal A with above-mentioned OK response.
522, media server 2 program that will switch for terminal A playback terminal A.Here play " Mei Lanfang " for terminal A.
523, media management module sends sip message (sip infomation) to message control module; Media management module is through SIP info informing business control module handover event information; Unified resource location (the URL that comprises medium before and after switching in this message; Uniform Resource Location), so that message control module operation such as adds up to handover event information.
524, message control module returns the OK response to media management module.
525, media management module sends the heavy invitation message (SIP RE-INVITE) of SIP to message control module.
526, message control module returns the OK response to media management module.
Present embodiment is when initiating handoff request at the terminal, and selecting media server by media management module according to handoff request is that the terminal provides request program, thereby realizes the quick switching between the different media servers.
For better understanding the foregoing description, to the flow process introduction of Fig. 2, a concrete implementation of the method for switching below in conjunction with program is that example describes; Schematic flow sheet is as shown in Figure 6, comprises terminal A, gateway; Message control module, media management module, media server 1; Media server 2, customer data base, idiographic flow is following:
601, terminal A sends the program request request for building link through gateway, IMS nucleoreticulum to message control module;
602, message control module is received above-mentioned program request request for building link, goes customer data base to obtain the rendition list that the user buys, and in this rendition list, comprises all programs that the terminal can program request.
603, the message control module program request request for building link that will comprise the rendition list that the user buys is issued media management module.
604, media management module sends real-time streaming protocol request for building link RTSPsetup to media server 1; Concrete; The programme information that media management module is preserved according to this locality, this programme information comprise the rendition list that each media server that media management module administers can be play, and the program of judgement terminal A program request is on media server 1; Then send RTSP setup request, carry the rendition list that the user buys in this request to media server 1.
605, media server 1 is confirmed self existing programme that meets the rendition list according to the rendition list that the user buys.
605, media server 1 sends the OK response to media management module, carries programme.
606, after media management module is received above-mentioned OK response, the OK response is sent to message control module.
607, after message control module was received above-mentioned OK response, through the MS core net, gateway sent to terminal A with the OK response.
Above step representes that promptly the RSTP/RTP link between terminal A and the media server 1 sets up.
608, terminal A sends real time protocol stream playing request RTSP play to media management module.
Comprise the program that terminal A wants program request in this request, like terminal A movies on demand " a beautiful mind ".
609, media management module sends to media server 1 with above-mentioned real time protocol stream playing request.
610, media server 1 returns the OK response to media management module.
611, media management module sends to terminal A with above-mentioned OK response, carries programme.
612, media server 1 is the program of terminal A playback terminal A program request.Be terminal A and play " a beautiful mind ".
Situation 1:
613, the program after A judgement in terminal is switched is in programme.
Will switch film like terminal A and be " Mei Lanfang ", and it is in programme.
614, terminal A sends quick handoff request to media management module.
This handoff request is carried stream switch header field through real time protocol stream playing request RTSP play and is sent to media management module, comprises the program that terminal A will switch in this request, is " Mei Lanfang " here.
615, media management module sends the real-time streaming protocol request for building link to media server 1.
616, media server 1 returns the OK response to media management module, sets up with the expression link.
617, media management module returns the OK response to terminal A.
618, media server 1 is the program that terminal A playback terminal A switches.Be terminal A and play " Mei Lanfang ".
Situation 2:
619, the program after A judgement in terminal is switched is not in programme.
Will switch film like terminal A and be " Mei Lanfang ", and it is not in programme.
620, the RTSP/RTP session between terminal A disconnection and the media server 1.
621, terminal A and media server 2 are set up the RTSP/RTP session.
Shown in the visible step 601-607 of the process of specifically setting up, be not described in detail in this.
622, media server 2 is the program of terminal A playback terminal A program request.Be terminal A and play " Mei Lanfang ".
The programme that present embodiment returns through media server; End after judge switching whether in media server, if would directly send playing request to medium control control module, realize switching fast; If do not exist; Then connect, realize that program switches, make that the program between the different media servers switches fast with new media server.
For better understanding the foregoing description, a concrete implementation of the method for switching below in conjunction with program is that example describes, and comprises terminal A; Message control module, media management module 1, media management module 2; Media server 1, media server 2, idiographic flow as shown in Figure 7 is following:
701, terminal A and media server 1 are set up the RTSP/RTP session.
Detailed process is shown in the rapid 601-606 of Fig. 6.
702, media server is the program of terminal plays terminal A program request, " a beautiful mind ".
703, terminal A sends the program handoff request to media management module 1, requires to play " Mei Lanfang ";
704, media management module 1 sends real-time streaming protocol link disconnection request to media server 1.Concrete; After media management module 1 is received the program handoff request; The program " Mei Lanfang " of media management module 1 discovery terminal A program request is not on media server 1; And terminal A wants the program " Mei Lanfang " of program request also not in the media server that media management module 1 is controlled, therefore to media server 1 transmission real-time streaming protocol link disconnection request.
705, media server 1 sends the OK response to media management module 1, breaks off with the expression link;
706, media management module 1 sends sip message (SIP information) to message control module; Carried terminal information in this message.
707, message control module sends the OK response to media management module 1.
708, professional control mould sends invitation message (SIP INVITE) to media management module 2; Comprise end message in this invitation message.Concrete, message control module is according to end message, and the program of finding terminal A program request is on media server 2, and media server 2 belongs to media management module 2, therefore sends invitation message (SIP INVITE) to media management module 2.
709, after media management module 2 is received invitation message, send real-time streaming protocol request for building link (RTSP setup) to media server 2.
710, media server 2 sends the OK response to media management module 2.
711, media server 2 sends the OK response to message control module, carries source of media information in this response, comprises source of media transmission address, medium stream information etc.
712, after message control module is received above-mentioned OK response, send sip message (SIPinformation), comprise source of media information in this sip message to media management module 1.
713, media management module 1 sends the OK response to message control module.
714, media management module 1 sends the OK response to terminal A, finishes with the flow process of expression to media server 1 and media management module 1.
715, media management module 2 sends the playing programs request to media server 2.
716, media server 2 sends the OK response to media management module 2.
717, media server 2 is the program that terminal A playback terminal A switches; Here media server 2 is play " Mei Lanfang " for terminal A.
Present embodiment realizes that through changing different media management modules the program between the different media servers switches, and has realized the quick switching of program.
For better understanding the foregoing description, a concrete implementation of the method for switching below in conjunction with program is that example describes, and comprises terminal A, gateway, message control module; Media management module 1, media management module 2, media server 1, media server 2, for the sake of simplicity; As shown in Figure 8, the terminal A that only draws, message control module, media management module 1, media management module 2; Media server 1, media server 2 does not influence description effect, and idiographic flow is following:
801, terminal A and media server 1 are set up the RTSP/RTP session.
Detailed process is shown in Fig. 4 step 1-15;
802, media server is the program " a beautiful mind " of terminal plays terminal A program request.
803, terminal A sends the program handoff request to media management module 1, requires to play " Mei Lanfang ".804, media management module 1 sends real-time streaming protocol link disconnection request to media server 1; Concrete, after media management module 1 was received the program handoff request, the program " Mei Lanfang " of finding terminal A program request was not on media server 1, and the program that terminal A wants program request is not also in the media server that media management module 1 is controlled.
805, media server 1 sends the OK response to media management module 1, breaks off with the expression link;
806, media management module 1 sends invitation message (SIP INVITE) to media management module 2, comprises end message in this invitation message.Concrete, media management module 2 is according to the playing programs request, and the program of finding terminal A program request is on media server 2, and media server 2 belongs to media management module 2.
807, after media management module 2 is received invitation message, send real-time streaming protocol request for building link (RTSP setup) to media server 2;
808, media server 2 sends the OK response to media management module 2,
809, media management module 2 sends the OK response to media management module 1;
810, media management module 1 sends the OK response to terminal A;
811, media management module 2 sends the playing programs request to media server 2, requires to play " Mei Lanfang ";
812, media server 2 sends the OK response to media management module 2;
813, media server 2 is the program " Mei Lanfang " that terminal A playback terminal A switches.
Present embodiment realizes that through changing different media management modules the program between the different media servers switches, and has realized the quick switching of program.
Need to prove that through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential hardware platform, can certainly all implement through hardware.Based on such understanding; All or part of can the coming out that technical scheme of the present invention contributes to background technology with the embodied of software product; This computer software product can be stored in the storage medium, like ROM/RAM, magnetic disc, CD etc., comprises that some instructions are with so that a computer equipment (can be a personal computer; Server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
Above disclosedly be merely a kind of preferred embodiment of the present invention, can not limit the present invention's interest field certainly with this, the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that the present invention is contained.

Claims (18)

1. the method that program switches is characterized in that, comprise,
The program handoff request that receiving terminal sends comprises the program identification that the terminal will be switched in the said program handoff request;
According to said program identification, judge that the said program that will switch is not the media server of terminal plays program current;
According to said program identification, the real-time streaming protocol RTSP link between the media server at foundation and the said program place that will switch is so that the media server at the program that will switch place is according to the program of said program identification after terminal plays is switched.
2. method according to claim 1 is characterized in that, the program handoff request that said receiving terminal sends comprises,
Receiving terminal comprises the program that said terminal will be switched through the quick handoff request that RTSP play sends in the said quick handoff request.
3. method according to claim 1 and 2, said method further comprise,
Break off and current be link between the media server of terminal plays program.
4. method according to claim 3, said method further comprise,
For the link between the media server at the link between control module and the terminal and control module and the said program place that will switch is provided with identical session jd number.
5. method according to claim 1, said method further comprise,
According to said program identification, judge the said program that will switch not current for the media server of terminal plays program and belong in other media servers of local media control module;
According to said program identification; Said program handoff request is sent to the media management module of the media server ownership at the said program place that will switch; So that the real-time streaming protocol RTSP link between the media server that media management module is set up and the said program that will switch belongs to of the media server ownership at the said program place that will switch, and the media server at the program that will switch place is according to the program of said program identification after terminal plays is switched.
6. method according to claim 5 is characterized in that, said method further comprises, break off and current be link between the media server of terminal plays program.
7. method according to claim 6 is characterized in that, the said media management module that said program handoff request is sent to the media server ownership at the said program place that will switch comprises,
Said program handoff request is sent to message control module, so that message control module sends to said program handoff request the media management module of the media server ownership at the said program place that will switch; Or,
Said program handoff request is directly sent to the media management module of the media server ownership at the said program place that will switch.
8. method according to claim 7; Said method further comprises; The media management module of the media server ownership at the program that switches place is the media management module of the media server ownership at the program place that will switch and the RTSP link between the terminal, and the media management module of the media server ownership at the said program place that will switch and RTSP link between the media server that the said program that will switch belongs to are provided with identical session jd number.
9. the method that program switches is characterized in that, comprise,
Receive the program handoff request that the user sends; The program of confirming to switch is not in the programme that media server returns; The media management module that the media server that belongs to the said program that will switch belongs to sends the program handoff request, so that the media server that the media management module of the media server ownership at the said program place that will switch and the said program that will switch belong to is set up real-time streaming protocol RTSP link.
10. the system that program switches is characterized in that, comprise,
Media management module is used for the program handoff request that receiving terminal sends, and comprises the program identification that will switch in the said program handoff request; According to said program identification, the program that judgement will be switched not current in the media server of terminal plays program; And according to said program identification, the real-time streaming protocol RTSP link between the media server at foundation and the said program place that will switch;
Media server is used for according to the program of said program identification after terminal plays is switched.
11. system according to claim 10 is characterized in that, said media management module is further used for,
According to said program identification, judge that the media server at the said program place that will switch does not belong to the local media control module;
According to said program identification; Said program handoff request is sent to the media management module of the media server ownership at the said program place that will switch; So that after the media management module of the media server at the said program place that will switch ownership sets up the real-time streaming protocol RTSP link between the media server with the said program place that will switch, by the media server at the program place that will switch according to the program of said program identification after the terminal plays switching.
12. system according to claim 10; Said media management module is further used for, for the link between the media server at the link between said media management module and the terminal and said media management module and the said program place that will switch is provided with identical session jd number.
13. system according to claim 12, said media management module is further used for, break off and current be link between the media server of terminal plays program.
14. system according to claim 11 is characterized in that, the said media management module that said program handoff request is sent to the media server ownership at the said program place that will switch comprises,
Said program handoff request is sent to message control module, so that message control module sends to said program handoff request the media management module of the media server ownership at the said program place that will switch; Or,
Said program handoff request is directly sent to the media management module of the media server ownership at the said program place that will switch.
15. a media management module is characterized in that, comprises,
Receiver module is used for the program handoff request that receiving terminal sends, and comprises the program identification that the terminal will be switched in the said program handoff request;
Judge module is used for according to said program identification, judge the said program that will switch not current in the media server of terminal plays program;
Set up module, according to said program identification, the real-time streaming protocol RTSP link between the media server at foundation and the said program place that will switch is so that media server is according to the program of said program identification after terminal plays is switched.
16. media management module according to claim 15; It is characterized in that; Said judge module is further used for; According to said program identification, judge the said program that will switch not current for the media server of terminal plays program and belong in other media servers of local media control module;
The said module of setting up is further used for; According to said program identification; Said program handoff request is sent to the media management module of the media server ownership at the said program place that will switch; So that the real-time streaming protocol RTSP link between the media server that media management module is set up and the said program that will switch belongs to of the media server ownership at the said program place that will switch, and the media server at the said program place that will switch is according to the program of said program identification after terminal plays is switched.
17. media management module according to claim 15 is characterized in that, said media management module further comprises,
Module is set, is used to link between the media server that link and the local and said program that will switch between this locality and the terminal belong to identical session jd number is set.
18. media management module according to claim 17 is characterized in that, said media management module further comprises,
Cut off module, be used to break off and currently be the link between the media server of terminal plays program.
CN200810242231.8A 2008-12-31 2008-12-31 Program switching method, system and device Active CN101771860B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200810242231.8A CN101771860B (en) 2008-12-31 2008-12-31 Program switching method, system and device
PCT/CN2009/073596 WO2010075698A1 (en) 2008-12-31 2009-08-28 Method, system and device for program switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810242231.8A CN101771860B (en) 2008-12-31 2008-12-31 Program switching method, system and device

Publications (2)

Publication Number Publication Date
CN101771860A CN101771860A (en) 2010-07-07
CN101771860B true CN101771860B (en) 2012-09-05

Family

ID=42309783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810242231.8A Active CN101771860B (en) 2008-12-31 2008-12-31 Program switching method, system and device

Country Status (2)

Country Link
CN (1) CN101771860B (en)
WO (1) WO2010075698A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110012239A (en) * 2019-03-07 2019-07-12 东莞市纽格力信息技术有限公司 A kind of program management method, apparatus and system
CN110460878B (en) * 2019-07-19 2022-01-11 视联动力信息技术股份有限公司 Switching method and device of video communication link
CN113132816B (en) * 2019-12-30 2023-08-01 深圳Tcl数字技术有限公司 Program switching method, terminal, system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1809154A (en) * 2005-01-21 2006-07-26 乐金电子(惠州)有限公司 Multi-channel service provision method and apparatus in mobile communication terminal
CN101083605A (en) * 2007-08-01 2007-12-05 华为技术有限公司 Method, system and apparatus for quick switching media source
CN101137048A (en) * 2006-08-29 2008-03-05 中兴通讯股份有限公司 Method to reduce living broadcast channel switching time under single broadcast mode
CN101159848A (en) * 2007-10-30 2008-04-09 中兴通讯股份有限公司 System and method for switching broadcast type mobile phone television service to stream media service

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9225761B2 (en) * 2006-08-04 2015-12-29 The Directv Group, Inc. Distributed media-aggregation systems and methods to operate the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1809154A (en) * 2005-01-21 2006-07-26 乐金电子(惠州)有限公司 Multi-channel service provision method and apparatus in mobile communication terminal
CN101137048A (en) * 2006-08-29 2008-03-05 中兴通讯股份有限公司 Method to reduce living broadcast channel switching time under single broadcast mode
CN101083605A (en) * 2007-08-01 2007-12-05 华为技术有限公司 Method, system and apparatus for quick switching media source
CN101159848A (en) * 2007-10-30 2008-04-09 中兴通讯股份有限公司 System and method for switching broadcast type mobile phone television service to stream media service

Also Published As

Publication number Publication date
WO2010075698A1 (en) 2010-07-08
CN101771860A (en) 2010-07-07

Similar Documents

Publication Publication Date Title
CN102123307B (en) Method and system for playing programs
CN101547108B (en) Method for switching streaming media service, playing device and server
CN103428556A (en) Method and system for multi-screen interaction
US20140213227A1 (en) Mobile device capable of substantially synchronized sharing of streaming media, calls and other content with other devices
US20130254353A1 (en) Method, System and Apparatus for Providing Streaming Media Service
CN101465996B (en) Method, equipment and system for displaying network television time
CN101594238B (en) Media playing method, media playing system and playing agent device
CN101237340B (en) System and method for realizing multicast channel in multimedia service
CN101677394B (en) Method and apparatus for commercial break based on IPTV
EP2364017A1 (en) Method, system and user device for obtaining key frame in streaming media service
CN102065339A (en) Method and system for playing audio and video media stream
CN101631029A (en) Method for switching live session and method and terminal for synchronizing multi-terminal channel switch
CN102119519A (en) Fast content switching in a communication system
CN102075795A (en) Method and system for releasing focus television programs
KR20120114016A (en) Method and apparatus for network adaptive streaming user data in a outer terminal
CN102036058A (en) Method, server, terminal and system for switching videos in video monitoring system
CN101969431B (en) Method for implementing unicast and multicast seamless switching for streaming media play
CN101516057B (en) Method for realizing streaming media through mobile terminal
US9826283B2 (en) Apparatus and method for inserting advertisement in a broadcasting system
KR20150034794A (en) Multi-screen service platform for supporting a digital broadcasting tv network
CN102195955A (en) Method and corresponding equipment for switching between live broadcast service and time shifting service
JPWO2016174960A1 (en) Reception device, transmission device, and data processing method
US8595779B2 (en) Base server apparatus, communication method, communication control program, distribution system, and communication system
CN101605142A (en) The implementation method of session management, device, system and terminal
CN101771860B (en) Program switching method, system and device

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