CN101137043A - Method, system and device for switching stream media channel and altering broadcast media - Google Patents

Method, system and device for switching stream media channel and altering broadcast media Download PDF

Info

Publication number
CN101137043A
CN101137043A CN200710098118.2A CN200710098118A CN101137043A CN 101137043 A CN101137043 A CN 101137043A CN 200710098118 A CN200710098118 A CN 200710098118A CN 101137043 A CN101137043 A CN 101137043A
Authority
CN
China
Prior art keywords
channel
request
media
playing
service end
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.)
Granted
Application number
CN200710098118.2A
Other languages
Chinese (zh)
Other versions
CN101137043B (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 CN200710098118.2A priority Critical patent/CN101137043B/en
Publication of CN101137043A publication Critical patent/CN101137043A/en
Priority to PCT/CN2008/070699 priority patent/WO2008125054A1/en
Application granted granted Critical
Publication of CN101137043B publication Critical patent/CN101137043B/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/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • 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/80Responding to QoS
    • 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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4383Accessing a communication channel
    • H04N21/4384Accessing a communication channel involving operations to reduce the access time, e.g. fast-tuning for reducing channel switching latency
    • 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/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Abstract

This method includes: (1) the server end (SE) receives frequency channel (FC) switching request with the old FC info (OFI) and the new FC flow-media address (NFFA) sent by user end (UE). (2) according to the result of comparing OFI with the residing server group info corresponding to NFFA, judging that need not to build a new conversation, SE responds UE the FC switching reply. (3) SE receives the new FC playing request sent by UE and uses the old FC conversation to play new FC media flow toward UE. The method of this invention can be realized on the system and device disclosed in this invention. This invention can reduce the delay time during flow-media FC switching and offers a hi-quality flow-media playing service for users.

Description

The Streaming Media channel switches and changes the method, system and device of playing media
Technical field
The present invention relates to stream media technology, particularly the Streaming Media channel switches and changes the method, system and device of playing media.
Background technology
At Internet protocol (IP, Internet Protocol) in the mobile communication system, along with network performance promotes and the user's request growth, streaming media service is applied widely end to end, in this business, when media content is transferred to client by network in the mode of Media Stream from service end, play, for example use video request program in the mobile TV of streaming media service and on-the-spot broadcasting etc. in client.
For the user who guarantees streaming media service obtains high quality services, third generation affiliate (3GPP, the 3rd Generation Partner Project) introduces packet switched streaming business (PSS, Packet-switchedStreaming Protocol) technology, it can not only realize traditional low rate clean culture (unicast) and multicast (multicast), and can also realize the clean culture and the multicast of high-speed stream media, become a widely used technology in the streaming media service, will use the streaming media service of PSS technology to be called the packet switching streaming media service usually.
In the present packet switching streaming media service, use real-time streaming protocol (RTSP, Real TimeStreaming Protocol) to set up and control, so the address of Media Stream meet the regulation of RTSP agreement from the Media Stream of service end to client transmissions.The Media Stream of different content can use channel to divide, and for example the Media Stream of news category and video display class can be in respectively in the different channels.The Media Stream of different channel can transmit in service end and client by identical or different channel.Service end is divided into a plurality of server groups, and each server group stores the management information of corresponding its managing channel.Above-mentioned management packets is drawn together the Streaming Media address and the configuration information of server group institute managing channel, sets up the conversation description of session and transmission parameter etc. when wherein configuration information can comprise cannel broadcast.By the Streaming Media address of a channel, can judge the server group that this channel is affiliated.Media Stream can comprise multiple broadcast forms such as audio frequency, video and captions, each broadcast form is called a kind of playing media, therefore play the Media Stream of a channel, can comprise one or more playing medias of playing this channel Media Stream correspondence, for example play the news category program of a certain channel, can comprise video and the audio frequency of playing this program correspondence, and the playing media of this video and audio frequency needs synchronous playing.The different playing medias of a corresponding Media Stream can use same Streaming Media address, rtsp for example: //server.com/channel1/Stream2/RTSP/1.0 can be illustrated in the pairing a plurality of playing medias of Media Stream that label is a certain channel that transmits in the channel of channel1, and the pairing a plurality of playing medias of the Media Stream of this channel are with synchronous playing.Streaming Media address rtsp for example again: //server.com/channel1/Stream2/A/RTSP/1.0 and Streaming Media address rtsp: //server.com/channel1/Stream2/RTSP/B/1.0, the pairing label of Media Stream that can be illustrated respectively in label and be a certain channel that transmits in the channel of channel1 is respectively two playing medias of A and B, when playing this channel in this case, need service end to provide synchronizing information just can accomplish synchronous playing.
When a certain channel was play, service end and client at first will be set up a session, then the Media Stream of this channel were sent to client from service end and play.The user can select different channels by client, and service end switches to the Media Stream of new channel according to user's selection from the Media Stream of old channel, and this process is called channel and switches.In the prior art, above-mentioned channel handoff procedure may be summarized to be four steps, be that old channel session release, new channel description, new channel session foundation and new channel are play, these steps corresponding channel switching times, refer to from triggering specified channel to the complete time that appears at client screen of this channel content.Below simple four steps that above-mentioned channel switches are described, Fig. 1 be the flow chart of packet switched streaming media channel switching in the prior art.Suppose that old channel is the Channel Transmission of channel1 by label, new channel is that the channel of channel2 transmits by label, the old channel stream media address of the current broadcast of client is: rtsp: //server.com/channel1.sdp RTSP/1.0, and the new channel Streaming Media address that needs to switch is: rtsp: //server.com/channel2.sdp RTSP/1.0, playing media in old channel and the new channel uses a Streaming Media address separately, can use the RTSP flow process to describe the handoff procedure of this channel, wherein use C to represent client, use S to represent service end, the flow process that this channel switches may further comprise the steps:
Step 1: client sends the request that unloads old channel to service end, and service end is returned the unload request response to client, and through step 1, old channel session discharges between client and the service end.Use the RTSP flow process describe client and service end in this step be alternately:
C->S:TEARDOWN?rtsp://server.com/channel1.sdp?RTSP/1.0;
S->C:RTSP/1.0?200?OK。
Wherein, TEARDOWN represents unloading order, and 200 OK are the standard commands in the RSTP agreement, when service end need comprise this order during to the client echo reply.
Step 2: client sends the conversation description request of new channel to service end, service end is returned conversation description at new channel to client, wherein conversation description uses Session Description Protocol (SDP, SessionDescription Protocol) realizes, comprise the session parameter of new channel in this description.Use RTSP process prescription client and service end in this step be alternately:
C->S:DESCRIBE?rtsp://server.com/channel2.sdp?RTSP/1.0;
S->C:RTSP/1.0?200?OK;
{
SDP?describe;
}
Wherein, DESCRIBE indicate to describe order, and SDP describe represents the description of using SDP that the new channel session is carried out, comprises the session parameter of new channel, for example the code rate of Media Stream etc.
Step 3: client is set up new session to the service end request, and service end is returned new session to client and set up response, uses the RTSP process prescription to be:
C->S:SETUP?rtsp://server.com/channel2.sdp?RTSP/1.0;
S->C:RTSP/1.0?200?OK;
The associated transport parameter.
Wherein, SETUP represents session foundation order, and the associated transport parameter can comprise the relevant parameter of transmission needs such as host-host protocol, client available port, service end available port.
Step 4: client sends the new channel playing request of carrying new channel Streaming Media address to service end, and service end is play the Media Stream of new channel.Use the RTSP process prescription to be:
C->S:PLAY?rtsp://server.com/channel2.sdp?RTSP/1.0;
S->C:RTSP/1.0?200?OK;
Play relevant parameter.
Wherein, PLAY is a play command, plays relevant parameter and can comprise the reproduction time scope, plays the current time, play the relevant parameter of broadcasts such as frequency.
Finishing channel according to above-mentioned four steps switches, need at first old channel session to be discharged, set up new session again, and in the practical application, the broadcast of new channel might be used identical session with old channel, so just will repeat to set up session, each new session is set up and new channel is play request respectively, these have all caused the slow time of Streaming Media channel change delay long, and screen has the long blank screen time, thereby can't provide high quality services for the user.
In the above-mentioned description that channel is switched, when the user uses new channel to play, all might on the basis that current channel is play, increase or reduce some playing media after using old cannel broadcast or switching.For example when the user is watching video in a certain channel in conjunction with the news category program of audio frequency, may need correspondence to watch the caption information of this program, the user also may only need listen to the audio-frequency information of this news program, and video information is removed.But in the prior art, can't satisfy the above-mentioned change playing media demand of user, thereby can't provide high quality services for the user to current broadcasting channel.
Summary of the invention
The method that the embodiment of the invention provides a kind of Streaming Media channel to switch, this method can reduce the slow time of channel change delay, for the user provides high-quality streaming media playing service.
The method that the embodiment of the invention provides another kind of Streaming Media channel to switch, this method can reduce the slow time of channel change delay, for the user provides high-quality streaming media playing service.
The system that the embodiment of the invention provides a kind of Streaming Media channel to switch, this system can reduce the slow time of channel change delay, for the user provides high-quality streaming media playing service.
The service end device that the embodiment of the invention provides a kind of Streaming Media channel to switch, this device can reduce service end and carry out the slow time of channel change delay, for the user provides high-quality streaming media playing service.
The client terminal device that the embodiment of the invention provides a kind of Streaming Media channel to switch, this device can reduce the slow time of client executing channel change delay, for the user provides high-quality streaming media playing service.
The embodiment of the invention provides a kind of method of modifying playing streaming media, and this method can be at current broadcasting channel change playing media, for the user provides high-quality streaming media playing service.
The embodiment of the invention provides the method for another kind of modifying playing streaming media, and this method can be at current broadcasting channel deletion playing media, for the user provides high-quality streaming media playing service.
The embodiment of the invention provides a kind of system of modifying playing streaming media, and this system can be at current broadcasting channel change playing media, for the user provides high-quality streaming media playing service.
The embodiment of the invention provides a kind of client terminal device of modifying playing streaming media, and this device can be changed playing media in client at current broadcasting channel, for the user provides high-quality streaming media playing service.
The embodiment of the invention provides a kind of service end device of modifying playing streaming media, and this device can be changed playing media in service end at current broadcasting channel, for the user provides high-quality streaming media playing service.
First kind of Streaming Media channel switching method that the embodiment of the invention provides, this method comprises:
Service end receives the channel switch request of carrying old channel information and new channel Streaming Media address that client sends;
The result of the old channel information that service end is carried according to this request relatively and the subordinate server group management information of new channel Streaming Media address correspondence judges when not needing to set up new session, returns the channel switch request response to client;
Service end receives the new channel playing request that client sends, and uses old channel session to client terminal playing new channel Media Stream.
Second kind of Streaming Media channel switching method that the embodiment of the invention provides, this method comprises:
Service end receives the channel switch request of carrying old channel information and new channel Streaming Media address that client sends;
The result of the old channel information that service end is carried according to this request relatively and the subordinate server group management information of new channel Streaming Media address correspondence when judgement need be set up new session, returns the channel switch request response to client;
Service end receives the old channel unload request that client sends, and unloads old channel;
Service end receives the new channel session foundation request that client sends, and sets up the new channel session;
Service end receives the new channel playing request that client sends, to client terminal playing new channel Media Stream.
First kind of modifying playing streaming media method that the embodiment of the invention provides, this method comprises:
Service end receives the change playing media request that client sends, and carrying in this request needs the playing media information changed in the current broadcasting channel;
Service end is finished according to described request the change of playing media is handled.
Second kind of modifying playing streaming media method that the embodiment of the invention provides, this method comprises:
Service end receives the change playing media request that client sends, and carrying in this request needs the playing media information that keeps in the current broadcasting channel;
Service end is finished according to request the change of playing media is handled.
The Streaming Media channel switchover system that the embodiment of the invention provides, this system comprises: client and service end;
Described client is used for sending the channel switch request of carrying old channel information and new channel Streaming Media address to service end, receives the channel switch request response that service end is returned; The response of parsing channel switch request; Send old channel unload request to service end, receive the unloading response that service end sends; Send the new channel session to service end and set up request; Send the new channel playing request to service end, receive the new channel Media Stream that service end is play;
Described service end is used to receive the channel switch request that client sends, and the result according to the subordinate server group management information of older channel information and new channel Streaming Media address correspondence returns the channel switch request response to client; Receive the old channel unload request that client sends, unload old channel and send the unloading response to service end; Receive the new channel session foundation request that client sends, set up new session; Receive the new channel playing request that client sends, to client terminal playing new channel Media Stream.
The client terminal device that the Streaming Media channel that the embodiment of the invention provides switches, this device comprises: parsing module, transceiver module and Executive Module;
Described transceiver module, to the channel switch request of carrying old channel information and new channel Streaming Media address that service end transmission Executive Module sends, the channel switch request response transmission that receives the service end transmission is to Executive Module and parsing module; To the old channel unload request that service end transmission Executive Module sends, the unloading response transmission that receives the service end transmission is to Executive Module; Set up request and new channel playing request to the new channel session that service end transmission Executive Module sends, the new channel media flow transmission that the reception service end is play is given Executive Module;
Described parsing module is used to resolve the channel switch request response, and analysis result is transferred to Executive Module;
Described Executive Module is used for sending channel switch request to transceiver module, receives the channel switch request response of transceiver module transmission; Receive the analysis result of parsing module transmission; Send old channel unload request to transceiver module, receive the unloading response of transceiver module transmission; Send the new channel session to transceiver module and set up request and new channel playing request, the new channel Media Stream that the service end of reception transceiver module transmission is play.
The service end device that the Streaming Media channel that the embodiment of the invention provides switches, this device comprises: transceiver module, parsing module, memory module and Executive Module;
Described transceiver module is used to receive the channel switch request that client sends and is transferred to Executive Module and parsing module, the channel switch request response that sends to the client transmissions Executive Module; Receive the old channel unload request that client sends, the unloading that sends to the client transmissions Executive Module responds; Receive new channel session foundation request and new channel playing request that client sends, be transferred to Executive Module, to the new channel Media Stream of client transmissions Executive Module broadcast;
Described parsing module, be used for reading the management information of the subordinate server group of new channel Streaming Media address correspondence from memory module, the management information of the old channel information that the comparison channel switch request is carried and the subordinate server group of new channel Streaming Media address correspondence draws analysis result and is transferred to Executive Module;
Described memory module is used to store the subordinate server group management information of new channel Streaming Media address correspondence;
Described Executive Module is used for the analysis result that draws according to parsing module, sends the channel switch request response to transceiver module; Receive the old channel unload request of transceiver module transmission, unload old channel, send the unloading response to transceiver module; Request is set up in the new channel session that receives the transceiver module transmission, sets up new session; Receive the new channel playing request of transceiver module transmission, play the new channel Media Stream to transceiver module.
The modifying playing streaming media system that the embodiment of the invention provides, this system comprises: client and service end;
Described client is used for sending the change playing media request carry the playing media information that current broadcasting channel need change to service end;
Described service end is used to receive the change playing media request that client sends, and carries out change according to request and handles.
The client terminal device of the change playing media that the embodiment of the invention provides, this device comprise memory module and change service module;
Described memory module is used to store the playing media information of client institute broadcasting channel;
Described change service module is used for reading the playing media information that needs are changed from memory module, the playing media information of changing is carried in the request of change playing media sends to service end, receives the change playing media request responding that service end sends.
The service end device of the change playing media that the embodiment of the invention provides, this device comprises: memory module and Executive Module;
Memory module is used for storing the playing media information of current broadcasting channel;
Executive Module is used to receive the request of the change playing media that client sends, and according to this request, changes the playing media of current broadcasting channel, returns the response of change playing media to client, and the playing media information in the memory module is upgraded.
First kind of Streaming Media channel switching method that the embodiment of the invention provides, play when can use old channel session at new channel, saved the process that discharges old channel session and set up the new channel session, saved the interactive step of service end and client, reduce the slow time of channel change delay, thereby provide high-quality streaming media playing service for the user.
Second kind of Streaming Media channel switching method provided by the invention, play when can not use old channel session at new channel, can set up the new channel session, the new channel Media Stream is play, saved the interactive step of service end and client, reduce the slow time of channel change delay, thereby provide high-quality streaming media playing service for the user.
The system that Streaming Media channel that the embodiment of the invention provides switches, service end can older channel informations and the subordinate server group management information of new channel Streaming Media address correspondence, and client can be resolved the channel switch request response.On this basis, service end and client can be carried out the operation that channel switches according to analysis result, have saved the interactive step of service end and client, have reduced the slow time of channel change delay, thereby provide high-quality streaming media playing service for the user.
The client terminal device that the Streaming Media channel that the embodiment of the invention provides switches can be resolved the channel switch request response.On this basis, client can be carried out the operation that channel switches according to analysis result, and the step when having saved client executing channel handover operation has reduced the slow time of channel change delay, thereby provides high-quality streaming media playing service for the user.
The service end device that Streaming Media channel that the embodiment of the invention provides switches can older channel information and the subordinate server group management information of new channel Streaming Media address correspondence.Service end can be carried out the operation that channel switches according to analysis result on this basis, has saved the step of service end when carrying out the channel handover operation, has reduced the slow time of channel change delay, thereby provides high-quality streaming media playing service for the user.
The method of first kind of modifying playing streaming media that the embodiment of the invention provides, in the change playing media request that the client that service end receives sends, carry the playing media information that current broadcasting channel need be changed, service end can realize at current broadcasting channel change playing media according to the information of carrying in this request, thereby provides high-quality streaming media playing service for the user.
The method of second kind of modifying playing streaming media that the embodiment of the invention provides, in the change playing media request that the client that service end receives sends, carry the playing media information that current broadcasting channel need keep, service end can realize at current broadcasting channel change playing media according to the information of carrying in this request, thereby provides high-quality streaming media playing service for the user.
The system of the modifying playing streaming media that the embodiment of the invention provides, in the change playing media request that the client that service end receives sends, carry the playing media information that current broadcasting channel need be changed, service end can realize at current broadcasting channel change playing media according to the information of carrying in this request, thereby provides high-quality streaming media playing service for the user.
The client terminal device of the modifying playing streaming media that the embodiment of the invention provides, can send the change playing media request carry the playing media information that current broadcasting channel need change to service end, inform that service end is according to the playing media execution change of this request to the needs change, realize the demand of change playing media in client, thereby provide high-quality streaming media playing service for the user.
The service end device of the modifying playing streaming media that the embodiment of the invention provides, the change playing media request of carrying the playing media information that current broadcasting channel need change that can receive that client sends, according to this request the playing media of needs change is carried out change, realize the demand of change playing media in service end, thereby provide high-quality streaming media playing service for the user.
Description of drawings
Fig. 1 is packet switched streaming media channel switching flow figure in the prior art;
Fig. 2 is the flow chart in conjunction with two kinds of Streaming Media channel switching methods of the embodiment of the invention;
Fig. 3 is first kind of better embodiment flow chart of first kind of Streaming Media channel switching method of the embodiment of the invention;
Fig. 4 is second kind of better embodiment flow chart of first kind of Streaming Media channel switching method of the embodiment of the invention;
Fig. 5 is the better embodiment flow chart of second kind of Streaming Media channel switching method of the embodiment of the invention;
Fig. 6 is first kind of change of embodiment of the invention Streaming Media playing media method flow diagram;
Fig. 7 is second kind of change of embodiment of the invention Streaming Media playing media method flow diagram;
Fig. 8 is the better embodiment flow chart of first kind of modifying playing streaming media method of the embodiment of the invention;
Fig. 9 is the better embodiment flow chart of second kind of modifying playing streaming media method of the embodiment of the invention;
Figure 10 is an embodiment of the invention Streaming Media channel switchover system structural representation;
Figure 11 is an embodiment of the invention modifying playing streaming media system configuration schematic diagram.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer,, the embodiment of the invention is described in further detail below in conjunction with accompanying drawing.
Two kinds of Streaming Media channel switching methods that at first embodiment of the invention provided combine description, and Fig. 2 shows the flow process in conjunction with two kinds of Streaming Media channel switching methods of the embodiment of the invention, and this flow process comprises:
Step 201: service end receives the channel switch request that client sends, and carries new channel Streaming Media address and old channel information in this request.
In this step, described old channel information comprises: old channel stream media address, conversation description, transmission parameter and Session ID.Old channel is the channel of the current broadcast of user, and client can be stored old channel information.Comprise a client and all discernible switching field of service end head in the channel switch request, behind the field head, indicate the old channel stream media address of the current broadcast of client and the new channel Streaming Media address that will switch.
Step 202: service end receiving channels handoff request, result according to the older channel information subordinate server group management information corresponding with new channel Streaming Media address, whether judge needs to set up session, if do not need to set up new session, then execution in step 203, set up new session if desired, then execution in step 205.
In this step, the management information of different server group comprises in the service end: the Streaming Media address and the configuration information of institute's managing channel, configuration information can comprise the conversation description of service end institute managing channel etc.All Streaming Media addresses in the older channel stream media address of the service end subordinate server group management information corresponding with new channel Streaming Media address, when old channel stream media address is included in the management information of subordinate server group of new channel Streaming Media correspondence, service end judges that old channel and new channel belong to same server group, new channel is play and can be used old channel session to play, at this moment service end in can further older channel information conversation description and the conversation description in the new channel configuration information; When old channel stream media address is not included in the management information of new channel Streaming Media address subordinate server group, service end judges that old channel and new channel do not belong to same server group, new channel is play and can not be used old channel session to play, and this moment, service end can no longer older channel conversation description and new channel conversation description.
Step 203: service end sends the channel handoff response to client.
In this step, service end is judged in step 202 that new channel is play and can be used old channel session, sends the channel handoff response of carrying old channel Session ID to client.If in step 202, service end is relatively being found after new channel conversation description and the old channel conversation description, in new channel conversation description and the old channel conversation description session parameter inequality is arranged, can also carry different session parameter in new channel conversation description and the old channel conversation description in this step in the channel handoff response, client receives after this channel switch request response, can upgrade the different sessions parameter of carrying.
Step 204: service end receives the new channel playing request that client sends, and uses old channel session to the client terminal playing new channel.
In this step, service end receives the playing request that comprises old channel stream media address and new channel Streaming Media address that client sends, service end is according to old channel that carries in this new channel playing request and new channel Streaming Media address, the Media Stream of old channel is switched to the Media Stream of new channel, use old channel session to client terminal playing new channel Media Stream.Above-mentioned service end uses old channel session when client terminal playing new channel Media Stream, can be that service end uses the transmission parameter of old channel conversation description and old channel to client terminal playing new channel Media Stream, also can be that service end uses old channel conversation description and the transmission parameter different with old channel to client terminal playing new channel Media Stream, for example service end can for the new channel session distribute with old channel session parameter in different service end ports, the transmission parameter broadcast new channel Media Stream after using this to redistribute then.Service end can also further send the play parameter of new channel to client.
Step 205: service end sends the channel switch request response to client.
In this step, service end judgement new channel is play and can not be used old channel session in step 202, sends to client to comprise the new channel conversation description, and does not carry the channel handoff response of old channel Session ID.
Step 206: service end receives the old channel unload request that client sends, and unloads old channel.
In this step, on the judgement basis of step 202, new channel is play need set up new session, and then service end at first receives the old channel unload request that comprises old channel stream media address that client sends, and service end discharges old channel session according to this request.
Step 207: service end receives new channel session foundation request and the new channel playing request that client sends, and sets up new session, begins to play new channel.
In this step, discharge in step 206 on the basis of old channel session, as a kind of better embodiment, service end receives client and sends the new session foundation request of carrying new channel Streaming Media address and required transmission parameter, receives the playing request of carrying new channel Streaming Media address that client sends simultaneously.Service end is a new channel session distribution services end port numbers, sets up the transmission parameter that the required transmission parameter of the new channel session of carrying in the request is formed the new channel session with the new channel session, sets up the new session identifier.Service end switches to the new channel Media Stream according to the new channel Streaming Media address in the playing request with old channel Media Stream and plays.Service end can also further send play parameter, new channel Session ID and the transmission parameter of new channel to client.
Through step 201~step 207, in conjunction with the flow process end of two kinds of Streaming Media channel switching methods of the embodiment of the invention.Wherein, judge execution in step 203 when not needing to set up session if include only service end in the step 202, then step 201~step 204 constitutes the flow process of first kind of Streaming Media channel switching method of the embodiment of the invention; Judge execution in step 205 when need set up new session if include only service end in the step 202, then step 201~step 202, step 205~step 207 constitutes the flow process of second kind of Streaming Media channel switching method of the embodiment of the invention.The method that first kind of Streaming Media channel of the embodiment of the invention switches, play when can use old channel session at new channel, saved the process that discharges old channel session and set up the new channel session, the method that second kind of Streaming Media channel of the embodiment of the invention switches, play when can not use old channel session at new channel, after the old channel of unloading,, new session foundation and new channel broadcast can be carried out simultaneously as a kind of better embodiment.The method that two kinds of Streaming Media channels of the embodiment of the invention switch has all been saved the interactive step of client and service end, thereby has been reduced the slow time of channel change delay, for the user provides high-quality streaming media playing service.
Describe several better embodiment of two kinds of Streaming Media channel switching methods of the invention described above embodiment below in detail, in these several better embodiment, mutual between the new channel of the old channel of the current broadcast of user that client and service end comprise and switching is shown all in the flow chart.
In first kind of better embodiment of first kind of Streaming Media channel switching method of the embodiment of the invention, new channel and old channel belong to the same server group in the service end, and the conversation description of the conversation description of new channel and old channel is identical.Suppose that old channel and new channel transmit in label is the same channel of channel1, wherein old cannel broadcast news, playing media comprises video and audio frequency, the Media Stream label is Stream1; New channel movie, playing media comprise video and audio frequency, and the Media Stream label is Stream2.Old channel file address is: rtsp: //server.com/channel1/Stream1/RTSP/1.0, the new channel file address is: rtsp: //server.com/channel1/Stream2/RTSP/1.0, old channel Session ID is 10932048038.Use S to represent service end in the RTSP flow process, use C to represent client, Fig. 3 shows the flow process of this better embodiment, and this flow process may further comprise the steps:
Step 301: service end receives the channel switch request that client sends, comprise old channel stream media address, conversation description, transmission parameter and Session ID and new channel Streaming Media address in this request, also carry a service end and all discernible switching field of client head " switch " in this request.Wherein use DSCRIBE in the RTSP agreement to order and carry channel switch request, old channel stream media address in the request and new channel Streaming Media address can use colon to separate, and its sequencing can be by system intialization.Use the RTSP flow process to be described as:
C->S:DESCRIBE?switch:rtsp://server.com/channel1/Stream1/RTSP/1.0:
rtsp://server.com/channel1/Stream2/RTSP/1.0;
{
Stream1?SDP?describe;
}
Transport:RTP/AVP/UDP;unicast;client_port=3456-3457;server_port=5678-5679;
Session:10932048038。
Wherein, Stream1 SDP describe is the conversation description of old channel, can comprise old channel session parameter in this conversation description, can be the required relevant parameters of session such as Media Stream code rate, and these parameters all meet the regulation in the SDP agreement; Transport represents the transmission parameter of old channel, can comprise host-host protocol, transmission means and client, service end available port etc., in for example above the giving an example, RTP/AVP/UDP is the host-host protocol that old channel transmission is observed, it is clean culture that unicast represents transmission means, the client end slogan that each playing media used when client_port=3456-3457 represented old cannel broadcast, the service end port numbers that each playing media used when server_port=5678-5679 represented old cannel broadcast, the video playback medium of supposing the news of playing are transferred to client port 3456 by service end port 5678 and play, and the voice playing medium of the news of playing are transferred to client port 3457 by service end port 5679 and play.
Service end receives after the channel switch request of client transmission, the management information of the subordinate server group that older channel stream media information is corresponding with new channel Streaming Media address, to judge whether new channel and old channel belong to same server group, according to the described scene of this better embodiment, old channel and new channel belong to same server group, and then service end judgement new channel is play and can be used old channel session.On this basis, the conversation description of the further older channel information of service end, identical with the conversation description in the new channel configuration information, return the channel switch request response that comprises old channel Session ID to client, use the order of RTSP flow process describe can for:
S->C:200?OK;
Session:10932048038。
Wherein, 200 OK are the fixedly response command in the RTSP agreement, for service end is made the content that must occur when replying to client.
Step 302: service end receives the new channel playing request of carrying old channel and new channel Streaming Media address that client sends, and according to this request old channel Media Stream is switched to the new channel Media Stream, to client terminal playing new channel Media Stream.Client can be according to the old channel Session ID in the channel switch request response, judgement does not need to set up new session and uses old channel session just can finish new channel and play, so send the new channel playing request that comprises old channel and new channel Streaming Media address to service end, two addresses can use colon to separate, its sequencing can be by system intialization, use the order of RTSP flow process describe can for:
C->S:PLAY?rtsp://server.com/channel1/Stream1/RTSP/1.0:
rtsp://server.com/channel1/Stream2/RTSP/1.0。
Service end switches to new channel with Media Stream from old channel according to this request after receiving the new channel playing request, and the beginning new channel is play, and the broadcast of new channel is used and the identical transmission parameter of old channel in this better embodiment.Service end can be when client sends new channel and plays play parameter, described play parameter can comprise time range, broadcast address, broadcast frequency and the current reproduction time etc. that new channel is play.Use the order of RTSP flow process describe can for:
S->C:200?OK;
Session:10932048038;
Range:npt=0-;
RTP_Info:rtsp://server.com/channel1/Stream2/RTSP/1.0
Seq=9900;rtptime=447004。
Wherein, Range:npt=0-represents that the normal play time range is 0 to arbitrarily constantly, RTP_Info represents the new channel broadcast address, Seq=9900 represents to play frequency, rtptime=447004 represents current broadcasting channel RTP (RTP, Real-time transport Protocol) timestamp.These parameters are the preferred embodiment of enumerating, and can expand or select wherein several as required.
Through step 301~302, first kind of better embodiment flow process of first kind of Streaming Media channel switching method of the embodiment of the invention finishes.In this better embodiment, situation about being enumerated is that new channel and old channel all are the situations of two playing medias, and two playing medias need synchronously during broadcast, i.e. voice playing medium and video playback media sync.If old channel comprises the Voice ﹠ Video playing media, these two playing medias use identical Streaming Media address, new channel is except that the Voice ﹠ Video playing media, the playing media that also possesses a picture-in-picture, and these three playing medias use different Streaming Media addresses, when playing new channel, can see the play content of other channels that are different from this new channel by the playing media of picture-in-picture.Under the situation of this hypothesis, still need two playing medias synchronous during old cannel broadcast, and new channel is when playing, the Voice ﹠ Video playing media needs synchronously, the picture-in-picture playing media but can be asynchronous with audio frequency and video playback medium, playing media in the new channel does not need whole synchronous playing at this moment, think that new channel has special synchronisation requirement when playing, this moment is in step 302, service end is in the play parameter that client is returned, can also carry the synchronisation source information that is respectively new channel sound intermediate frequency and video playback media distribution, audio frequency, the video playback media timestamp, lock in time reference point, and the sequence number of Media Stream in the Voice ﹠ Video playing media, described sequence number is that Media Stream is divided the unit that the back forms, and can think that Media Stream transmits successively according to the sequence of dividing, above-mentioned synchronisation source information, playing media sequence number and playing media timestamp can be when new channel be play, with lock in time reference point be time reference guarantee the Voice ﹠ Video playing media synchronously.
In second kind of better embodiment of first kind of Streaming Media channel switching method of the embodiment of the invention, new channel and old channel belong to same server group, the new channel conversation description has different parts with old channel conversation description, suppose that old channel and new channel transmit in label is the same channel of channel1, old cannel broadcast news, playing media comprises Voice ﹠ Video, the Media Stream label is Stream1, the new channel movie, playing media comprises Voice ﹠ Video, the Media Stream label is Stream2, the files in stream media address of old cannel broadcast is: rtsp: //server.com/channel1/Stream1/RTSP/1.0, the files in stream media address that new channel is play is: rtsp: //server.com/channel1/Stream2/RTSP/1.0, old channel Session ID is 10932048038, and session parameters different in new channel conversation description and the old channel conversation description are the code rate of audio stream.In the RTSP flow process, use S to represent service end, use C to represent client.Fig. 4 shows the flow process of this better embodiment, and this flow process comprises:
Step 401: service end receives the new channel handoff request that client sends, comprise old channel stream media address, conversation description, transmission parameter and Session ID in this request, and new channel Streaming Media address, also carry a service end and all discernible switching field of client head " switch " in this request.Use the DSCRIBE order in the RTSP agreement to carry channel switch request, old channel stream media address in the request and new channel Streaming Media address can use colon to separate, and its sequencing can be by system intialization.Use the order of RTSP flow process to be described as:
C->S:DESCRIBE?switch:rtsp://server.com/channel1/Stream1/RTSP/1.0:
rtsp://server.com/channel1/Stream2/RTSP/1.0;
{
Stream1?SDP?describe;
}
Transport:RTP/AVP/UDP;unicast;client_port=3456-3457;server_port=5678-5679;
Session:10932048038。
Wherein, the session parameter in the conversation description, the description in the implication of transmission parameter and the first kind of better embodiment in the step 301 is identical.
After service end receives the channel switch request of client transmission, the subordinate server group management information of older channel stream media information and new channel Streaming Media address correspondence, judge that old channel and new channel belong to same server group, further on this basis older channel conversation description has different parts with the new channel conversation description, though then new channel is play and can be used old channel session, but also need session parameter inequality in a part and the old channel session, in the new channel switching request response that client is returned, comprise old channel Session ID, new channel is play the different sessions parameter that needs use.Use the order of RTSP flow process describe can for:
S->C:200?OK;
{
Stream2?SDP?describe;
}
Session:10932048038。
Wherein, in description of Stream2 SDP describe to the new channel Media Stream, comprised the different sessions parameter in new channel conversation description and the old channel conversation description, different session parameters is assumed to be the code rate of audio stream in the described scene of this better embodiment.
Step 402: service end receives the new channel playing request of carrying old channel and new channel Streaming Media address that client sends, and service end switches to the new channel Media Stream according to this request with old channel Media Stream, and beginning is to the client terminal playing new channel.Client can be play required different sessions parameter according to old channel Session ID in the channel request response and new channel, the judgement new channel is play and can be used old channel session, but need the partial session parameter in the new and old channel session, therefore client is finished parameter adaptation, the sound intermediate frequency stream encryption speed of promptly new and old channel session parameter, and send the playing request comprise old channel and new channel Streaming Media address to service end, two addresses can use colon to separate, its sequencing can be by system intialization, use the order of RTSP flow process describe can for:
C->S:PLAY?rtsp://server.com/channel1/Stream1/RTSP/1.0:
rtsp://server.com/channel1/Stream2/RTSP/1.0。
After service end receives the new channel playing request, Media Stream is switched to new channel from old channel, beginning is to client terminal playing new channel Media Stream, new channel is play and is used and the identical transmission parameter of old channel in this better embodiment, service end can also be when client sends new channel and plays play parameter, described play parameter can be time range, broadcast address, broadcast frequency and the current reproduction time etc. that new channel is play.Use the order of RTSP flow process describe can for:
S->C:200?OK;
Session:10932048038;
Range:npt=0-;
RTP_Info:rtsp://server.com/channel1/Stream2/RTSP/1.0
Seq=9900;rtptime=447004。
Wherein, the implication of each play parameter with explain with first kind of better embodiment in description in the step 302 identical.
Through after step 401~step 402, the flow process of second kind of better embodiment of first kind of Streaming Media channel switching method of the embodiment of the invention finishes.Identical with first kind of better embodiment, in second kind of better embodiment, also has special synchronisation requirement when playing new channel, at this moment in step 402, service end is in the play parameter that client sends, can also carry the synchronisation source information that is respectively new channel sound intermediate frequency and video playback media distribution, Voice ﹠ Video playing media timestamp, lock in time reference point, and the sequence number of Media Stream in the Voice ﹠ Video playing media, described sequence number is that Media Stream is divided the unit that the back forms, can think that Media Stream transmits successively according to the sequence of dividing, above-mentioned synchronisation source information, playing media sequence number and playing media timestamp can be when new channel be play, with lock in time reference point be time reference, guarantee the Voice ﹠ Video playing media synchronously.
In the method better embodiment that second kind of Streaming Media channel of the embodiment of the invention switches, new channel and old channel do not belong to same server group, suppose that old channel and new channel transmit in label is the same channel of channel1, old cannel broadcast news, playing media is a Voice ﹠ Video, the Media Stream label is Stream1, the files in stream media address is: rtsp: //server.com/channel1/Stream1/RTSP/1.0, the new channel movie, playing media is a Voice ﹠ Video, the Media Stream label is Stream2, the files in stream media address of playing is: rtsp: //server.com/channel1/Stream2/RTSP/1.0, old channel Session ID is 10932048038, the new channel Session ID of foundation is 10980380444, in the RTSP flow process, use S to represent service end, use C to represent client.Fig. 5 shows the flow process of this better embodiment, and this flow process comprises:
Step 501: service end receives the channel switch request that client sends, comprise old channel stream media address, conversation description, transmission parameter and Session ID in this request, and new channel Streaming Media address, also carry a service end and all discernible switching field of client head " switch " in this request.Use the DSCRIBE order in the RTSP agreement to carry channel switch request, old channel stream media address in the request and new channel Streaming Media address can use colon to separate, and its sequencing can be by system intialization.Use the order of RTSP flow process to be described as:
C->S:DESCRIBE?switch:rtsp://server.com/channel1/Stream1/RTSP/1.0:
rtsp://server.com/channel1/Stream2/RTSP/1.0;
{
Stream1?SDP?describe;
}
Transport:RTP/AVP/UDP;unicast;client_porr=3456-3457;server_port=5678-5679;
Session:10932048038。
After service end receives the channel switch request of client transmission, older channel stream media information and new channel subordinate server group management information, judge that old channel and new channel do not belong to same server group, then new channel is play and can not be used old channel session, this moment, whether server end was can no longer older channel identical with the conversation description of new channel, and the channel switch request response of directly returning to client, need to comprise the conversation description of new channel in this response, but do not comprise old channel Session ID, use the order of RTSP flow process describe can for:
S->C:200?OK;
{
Stream2?SDP?describe;
}
Wherein, Stream2 SDP describe refers to the conversation description of new channel, comprises the session parameter that new channel is play.
Step 502: service end receives the old channel unload request that client sends, and unloads old channel.Client is not carried old channel Session ID in can responding according to the channel switch request that service end sends, judgement need be set up new session and be finished the new channel broadcast, so send the old channel unload request carry old channel stream media address to service end, use the order of RTSP flow process describe can for:
C->S:TEARDOWN?rtsp://server.com/channel1/Stream1/RTSP/1.0。
After service end receives the unload request of old channel, unload old channel immediately, be about to old channel session and discharge, and send the old channel session that comprises old channel Session ID to client and discharge response, use the order of RTSP flow process describe can for:
S->C:200?OK;
Session:10932048038。
Step 503: service end receives the new session foundation request and the required transmission parameter of new session that carry new channel Streaming Media address that client sends, as a kind of better embodiment, service end also receives the playing request that comprises new channel Streaming Media address that client sends simultaneously, use the order of RTSP flow process describe can for:
C->S:SETUP?rtsp://server.com/channel1/Stream2/RTSP/1.0
Transport:RTP/AVP/UDP;unicast;client_port=3458-3459;
PLAY?rtsp://server.com/channel1/Stream2/RTSP/1.0
Service end is set up the new channel session, Media Stream is switched to new channel from old channel begin the new channel broadcast, sends Session ID, play parameter and the transmission parameter of new session to client.Use the order of RTSP flow process describe can for:
S->C:200?OK;
Transport:RTP/AVP/UDP;unicast;client_port=3458-3459;server_port=5680-5681;
Session:10980380444;
Range:npt=0-;
RTP_Info:rtsp://server.com/channel1/Stream2/RTSP/1.0
Seq=9000;rtptime=447004。
Wherein, the implication of each play parameter with explain with first kind of better embodiment in description in the step 302 identical.
Through step 501~503, second kind of Streaming Media channel switching method of embodiment of the invention better embodiment flow process finishes.Identical with two kinds of better embodiment of first kind of Streaming Media channel switching method of the embodiment of the invention, in this better embodiment, also has special synchronisation requirement when playing new channel, at this moment in step 502, service end is in the play parameter that client is returned, can also carry the synchronisation source information that is respectively new channel sound intermediate frequency and video playback media distribution, Voice ﹠ Video playing media timestamp, lock in time reference point, and the sequence number of Media Stream in the Voice ﹠ Video playing media, described sequence number is that Media Stream is divided the unit that the back forms, can think that Media Stream transmits successively according to the sequence of dividing, above-mentioned synchronisation source information, playing media sequence number and playing media timestamp can be when new channel be play, with lock in time reference point be synchronous base guarantee the Voice ﹠ Video playing media synchronously.
Two kinds of better embodiment that first kind of Streaming Media channel of the embodiment of the invention switches, play when can use old channel session at new channel, saved the process that discharges old channel session and set up the new channel session, the better embodiment of second kind of Streaming Media channel switching method of the embodiment of the invention, play when can not use old channel session at new channel, as a kind of better embodiment, after discharging old channel session, new session foundation and new channel broadcast are carried out simultaneously, saved the interactive step of client and service end, thereby reduced the slow time of channel change delay, for the user provides high-quality streaming media playing service.
Secondly, introduce the method for two kinds of modifying playing streaming medias that the embodiment of the invention provides, Fig. 6 shows the method flow of first kind of change of Streaming Media provided by the invention playing media, and this flow process comprises:
Step 601: service end receives the change playing media request that client sends, and carrying in this request needs the playing media information changed in the current broadcasting channel.
In this step, service end receives the request of the change playing media that client sends when playing the current channel content, and need carry in this request needs the playing media information changed in the current broadcasting channel.Need the playing media information of change can comprise the address of the playing media that needs are changed and available client end slogan.The request of described change playing media can also can be carried the field head that service end and client can be discerned simultaneously for the request of deletion playing media for increasing the playing media request in this request, know the operation of change playing media with this field leader.Use the PLAY message in the RTSP agreement to carry the request of change playing media.Described lock in time, scope also can be specified by service end.
Step 602: service end is changed playing media according to the request of change playing media.
In this step, service end is according to the request of the change playing media of client transmission, carry out the change operation, be specially: when changing to the increase playing media, the playing media information that service end increases according to the needs in the request is set up the new media that will increase and is begun and plays, and playing media description, transmission parameter, Session ID and the playing media synchronizing information that increases sent to client; When changing to the deletion playing media, service end discharges playing media according to the playing media information of the deletion of the needs in the request, stops the broadcast of this playing media, returns the response of the deletion playing media that comprises Session ID to client.Above-mentioned service end to client return information or when response, all can be carried Session ID simultaneously behind the change playing media, this Session ID identified be current broadcasting channel increase or the deletion playing media after, the session of playing media combination.
The method of first kind of modifying playing streaming media of the embodiment of the invention, carry the playing media information that needs change in the current broadcasting channel in the playing request of service end by the client transmission, carry out the operation of change playing media, thereby realized the requirement of change playing media, for the user provides high-quality streaming media playing service.
In the method for first kind of modifying playing streaming media of the invention described above embodiment, can further include the playing media information that needs reservation in the request of change playing media, this information can comprise the playing media address of needs reservation and the Session ID of use.
Fig. 7 shows the method flow of second kind of modifying playing streaming media of the present invention, and this flow process comprises:
Step 701: service end receives the change playing media request that client sends, and carrying in this request needs the playing media information that keeps in the current broadcasting channel.
In this step, service end is when playing the current channel content, receive the request of the change playing media of client transmission, can carry in this request needs the playing media information that keeps in the current broadcasting channel, the described playing media information that needs to keep can comprise: needs keep the address and the use Session ID of playing media.The request of described change playing media can be carried the field head that service end and client can be discerned simultaneously for the request of deletion playing media in this request, know the operation of deletion playing media with this field leader.Use the PLAY message in the RTSP agreement to carry the request of deletion playing media.
Step 702: service end is changed playing media according to the request of change playing media.
In this step, only comprise the playing media information that needs keep in the change playing media request that service end reception client sends, service end then discharges the current broadcasting channel playing media that does not comprise in the request of change playing media, stops the broadcast of these playing medias.Above-mentioned service end behind the change playing media to client return information or when response, all can carry Session ID simultaneously, this Session ID is identical with Session ID in the change playing media request, but behind the change playing media Session ID identified be current broadcasting channel increase or the deletion playing media after, the session of playing media combination.
The method of second kind of modifying playing streaming media that the embodiment of the invention provides, need the playing media information that keeps in the current broadcasting channel by in playing request, carrying, service end is carried out the change operation to the playing media that does not carry in this request, thereby realized the requirement of change playing media, for the user provides high-quality streaming media playing service.
Describe the better embodiment of the method for two kinds of modifying playing streaming medias of the invention described above embodiment below respectively in detail.
Fig. 8 shows the flow process of first kind of better embodiment of first kind of modifying playing streaming media method of the embodiment of the invention, the content of supposing the current broadcasting channel of client is transmitted in label is the channel of channel1, current broadcasting channel comprises voice playing medium, identify this voice playing medium with label A, its RTSP address is rtsp: //server.com/channel1/Stream1/A/RTSP/1.0.The user needs to increase a captions playing media in the broadcast of current channel, use label B to identify this captions playing media, its RTSP address is rtsp: //server.com/channel1/Stream1/B/RTSP/1.0, the client end slogan of the captions medium of this increase is 3789, and the Session ID that current broadcasting channel uses is 342254667.The flow process of first kind of better embodiment of method of first kind of modifying playing streaming media of the embodiment of the invention comprises:
Step 801: service end receives the request of the increase playing media of client transmission, carries the address and the transmission parameter that need to increase playing media in the current broadcasting channel in this request.Use the order of RTSP flow process describe can for:
C->S:PLAY?add_media:rtsp://server.com/channel1/Stream1/B/RTSP/1.0;
Transport:RTP/AVP/UDP;unicast;client_port=3789。
Wherein, add_media is used for identifying the field head that increases the playing media operation when increasing playing media for request, and this field client and service end can be discerned; Client_port=3789 is the port numbers of the playing media of increase in client.After service end receives the request of above-mentioned change playing media, the relevant information of the existing playing media of known current broadcasting channel, be distributed in current scope lock in time behind the increase playing media in the channel of broadcasting, use Range to represent that the playing media that increases and scope lock in time of current playing media are the 25th second to the 31st second, being divided into three periods carries out synchronously, i.e. Range:npt=25-27; Npt=27-29; Npt=29-31; Npt=31-, this, scope also can be distributed voluntarily by service end lock in time, and the zero-time of synchronous playing must be in the lock in time of this regulation scope.
Step 802: the playing media information that service end increases is as required set up the medium that increase, and begins to play after playing adaptation, returns description, transmission parameter, Session ID and the synchronizing information of the playing media of increase to client.Use the order of RTSP flow process describe can for:
S->C:200?ok;
{
New?media?SDP
}
Transport:RTP/AVP/UDP;unicast;client_port=3789-3790;server_port=5322-5323;
Session=342254667;
Npt=27.5;
RTP-Info:url=”rtsp://server.com/channel1/Stream1/A/RTSP/1.0”
Ssrc=0A3C34325:seq=45102,rtptime=12344533;
url=”rtsp://server.com/channel1/Stream1/B/RTSP/1.0”
ssrc=9B32D34A:seq=30211,rtptime=54343132。
The relevant information of existing playing media is the contents known of service end in the above-mentioned relevant current broadcasting channel.Wherein, comprise among the New media SDP increasing the description of playing media; Npt=27.5 is a time reference; Ssrc=0A3C34325 is that service end is distributed to the synchronisation source number that current playing media is an audio frequency; Seq=45102 is the sequence number in the Media Stream of current video playing media, and the expression current media is spread and is put into this sequence; Rtptime=12344533 is the video playback media timestamp; Ssrc=9B32D34A is the synchronisation source number of the service end captions playing media of distributing to increase; The Media Stream sequence number that seq=30211 begins to play for the captions playing media that increases; The captions playing media timestamp of rtptime=54343132 for increasing.Wherein, the effect of time reference is the time reference that a synchronous reference is provided for each synchronous playing media of needs, and the synchronisation source information of each playing media, playing media timestamp and playing media sequence number are play under the benchmark synchronously at this moment.The Session ID that service end is returned to client is that current channel is play employed Session ID, but the Session ID that returns this moment identifies the session of the captions playing media combination of existing video playback medium and increase.Service end is play adaptation, is meant service end at the playing media that increases, and the playing media that more increases newly is described and transmission parameter.
Client receives after the above-mentioned synchronizing information, carries out the synchronized playback of video playback medium and captions playing media.
Through step 801~step 802, the flow process of first kind of better embodiment of method of first kind of modifying playing streaming media of the embodiment of the invention finishes, and has realized increasing new playing media on the playing media basis of current channel.In this better embodiment, if the playing media that increases need not with current broadcasting channel in playing media synchronous, then service end need not to return synchronizing information.
In step 801, to change and also can further carry the playing media information that needs reservation in the playing media request, this information can comprise: the address of the playing media that needs keep and use Session ID.
Fig. 9 shows the flow process of better embodiment of the method for second kind of Streaming Media of embodiment of the invention change medium, the content of supposing the current broadcasting channel of client is transmitted in label is the channel of channel1, current broadcasting channel comprises voice playing medium, identify this voice playing medium with label A, its RTSP address is rtsp: //server.com/channel1/Stream1/A/RTSP/1.0, also comprise a captions playing media, use label B to identify this captions playing media, its RTSP address is rtsp: //server.com/channel1/Stream1/B/RTSP/1.0.The user at a time only thinks listening to audio and does not want to watch captions, will be to service end request deletion captions playing media, the client end slogan of these captions medium is 3789, and the service end port numbers is 7632, and the Session ID that current broadcasting channel uses is 342254667.This flow process comprises:
Step 901: service end receives the deletion playing media request that client sends, and comprising in this request needs the playing media address that keeps and use Session ID in the current broadcasting channel.Use the order of RTSP flow process describe can for:
C->S:PLAY?del_media:rtsp://server.com/channel1/Stream1/A/RTSP/1.0:
Session=342254667。
Wherein, del_media is used for identifying the field head of deletion playing media operation when deleting playing media for request, and this field client and service end can be discerned.If the mode of client and service end acquiescence is, only comprise the playing media information that needs keep in the request of deletion playing media, after service end receives this deletion playing media request, judge that the playing media that does not comprise in this request is the user and wants the playing media deleted, deleting this moment also can only carry in the playing media request needs the playing media information that keeps.
Step 902: the playing media address that service end is deleted as required, the captions playing media that will not be included in the request of deletion playing media discharges, stop broadcast, return the success of deletion playing media response expression deletion playing media to client after finishing the captions playing media.Use the order of RTSP flow process describe can for:
S->C:200?ok;
Session=342254667。
The Session ID of above-mentioned service end in the deletion playing media response that client is returned, the Session ID that uses with current broadcasting channel is identical, but behind the Session ID sign deletion captions playing media that returns this moment, the session of voice playing medium.
Through step 901~step 902, second kind of better embodiment flow process of second kind of modifying playing streaming media method that the embodiment of the invention provides finishes, and the user has realized deleting a certain playing media in the current playing media.After carrying out the deletion playing media, do not influence the broadcast of the playing media of current channel reservation.
In step 901, also may further include the playing media information that needs deletion in the deletion playing media request, for example need address, port numbers and the transmission parameter of the playing media deleted.
Once more, introduce the system that embodiment of the invention Streaming Media channel switches, Figure 10 is the structural representation of embodiment of the invention Streaming Media channel switchover system, and this system comprises: client and service end.
Client is used for sending the channel switch request of carrying old channel information and new channel Streaming Media address to service end, receives the channel switch request response that service end is returned; The response of parsing channel switch request; Send old channel unload request to service end, receive the unloading response that service end sends; Send the new channel session to service end and set up request; Send the new channel playing request to service end, receive the new channel Media Stream that service end is play.
Service end is used to receive the channel switch request that client sends, and the result according to the subordinate server group management information of older channel information and new channel Streaming Media address correspondence returns the channel switch request response to client; Receive the old channel unload request that client sends, unload old channel and send the unloading response to service end; Receive the new channel session foundation request that client sends, set up new session; Receive the new channel playing request that client sends, to client terminal playing new channel Media Stream.
In the invention described above embodiment Streaming Media channel switchover system, client can comprise parsing module, transceiver module and Executive Module.
Transceiver module, to the channel switch request of carrying old channel information and new channel Streaming Media address that service end transmission Executive Module sends, the channel switch request response transmission that receives the service end transmission is to Executive Module and parsing module; To the old channel unload request that service end transmission Executive Module sends, the unloading response transmission that receives the service end transmission is to Executive Module; Set up request and new channel playing request to the new channel session that service end transmission Executive Module sends, the new channel media flow transmission that the reception service end is play is given Executive Module;
Parsing module is used to resolve the channel switch request response, and analysis result is transferred to Executive Module;
Executive Module is used for sending channel switch request to transceiver module, receives the channel switch request response of transceiver module transmission; Receive the analysis result of parsing module transmission; Send old channel unload request to transceiver module, receive the unloading response of transceiver module transmission; Send the new channel session to transceiver module and set up request and new channel playing request, the new channel Media Stream that the service end of reception transceiver module transmission is play.
Service end can comprise again: transceiver module, parsing module, memory module and Executive Module.
Transceiver module is used to receive the channel switch request that client sends and is transferred to Executive Module and parsing module, the channel switch request response that sends to the client transmissions Executive Module; Receive the old channel unload request that client sends, the unloading that sends to the client transmissions Executive Module responds; Receive new channel session foundation request and new channel playing request that client sends, be transferred to Executive Module, to the new channel Media Stream of client transmissions Executive Module broadcast;
Parsing module, be used for reading the management information of the subordinate server group of new channel Streaming Media address correspondence from memory module, the management information of the old channel information that the comparison channel switch request is carried and the subordinate server group of new channel Streaming Media address correspondence draws analysis result and is transferred to Executive Module;
Memory module is used to store the subordinate server group management information of new channel Streaming Media address correspondence;
Executive Module is used for the analysis result that draws according to parsing module, sends the channel switch request response to transceiver module; Receive the old channel unload request of transceiver module transmission, unload old channel, send the unloading response to transceiver module; Request is set up in the new channel session that receives the transceiver module transmission, sets up new session; Receive the new channel playing request of transceiver module transmission, play the new channel Media Stream to transceiver module.
The system that embodiment of the invention Streaming Media channel switches, service end can be sketched the working method of system in this case according to the method work of first kind of Streaming Media channel switching of the embodiment of the invention.
Service end can have following operation according to the method that first kind of Streaming Media channel of the embodiment of the invention switches: transceiver module receives the channel switch request that client sends, and is transferred to parsing module and Executive Module; Parsing module reads the management information of the subordinate server group of new channel Streaming Media address correspondence from memory module, result according to the subordinate server group management information of older channel information and new channel Streaming Media address correspondence, draw the analysis result that does not need to set up new session, this analysis result is transferred to Executive Module; The analysis result that Executive Module draws according to parsing module sends the channel switch request response of carrying old channel Session ID by transceiver module to client; Transceiver module receives the new channel playing request that client sends, and is transferred to Executive Module; Executive Module uses old channel session to client terminal playing new channel Media Stream according to the new channel playing request by transceiver module.
And on the client terminal structure and function basis in embodiment of the invention Streaming Media channel switchover system, in conjunction with above-mentioned description to the service end working method, client can have following operation: transceiver module receives the channel switch request response that service end sends, and is transferred to parsing module and Executive Module; Parsing module draws new channel and plays the analysis result that can use old channel session according to the old channel Session ID that comprises in the channel switch request, and this analysis result is offered Executive Module; The analysis result that Executive Module provides according to parsing module sends the new channel playing request by transceiver module to service end; Transceiver module receives the new channel Media Stream that service end is play, and is transferred to Executive Module, and the user can use the content of new channel broadcast by client.
The system that embodiment of the invention Streaming Media channel switches, service end can also be sketched the working method of system in this case according to the method work of second kind of Streaming Media channel switching of the embodiment of the invention.
Service end can have following operation according to the method that first kind of Streaming Media channel of the embodiment of the invention switches: transceiver module receives the channel switch request that client sends, and is transferred to parsing module and Executive Module; Parsing module receives the channel switch request of transceiver module transmission, from memory module, read the management information of the subordinate server group of new channel Streaming Media address correspondence, result according to the subordinate server group management information of older channel information and new channel Streaming Media address correspondence, draw the analysis result that to set up new session, this analysis result is transferred to Executive Module; The analysis result that Executive Module draws according to parsing module sends the channel switch request response of carrying the new channel conversation description but not comprising old channel Session ID by transceiver module to client; Transceiver module receives the old channel unload request that client sends, and is transferred to Executive Module; Executive Module unloads old channel according to old channel unload request, returns the unloading response by transceiver module to client; Transceiver module receives the new channel session foundation request that client sends, and is transferred to Executive Module; Executive Module is set up request according to the new channel session, sets up the new channel session; Transceiver module receives the new channel playing request that client sends, and is transferred to Executive Module; Executive Module is according to the new channel playing request, by transceiver module client terminal playing new channel Media Stream.
And on the client terminal structure and function basis in embodiment of the invention Streaming Media channel switchover system, in conjunction with above-mentioned description to the service end working method, in client following operation can be arranged: transceiver module receives the channel switch request response that service end sends, and is transferred to parsing module and Executive Module; Parsing module is resolved the channel switch request response, according to not comprising old channel Session ID in the channel switch request, draws new channel and plays the analysis result that can not use old channel session, and this analysis result is offered Executive Module; The analysis result that Executive Module provides according to parsing module sends old channel unload request by transceiver module to service end, receives the unloading response that service end is returned by transceiver module; Executive Module sends the new channel session by transceiver module to service end and sets up request; Executive Module sends the new channel playing request by transceiver module to service end, receives the new channel Media Stream that service end is play by transceiver module, and the user can use the content of new channel broadcast by client.
The system that embodiment of the invention Streaming Media channel switches, when working according to the method for second kind of Streaming Media channel switching of the embodiment of the invention, as a kind of better embodiment, need set up new session in the client parsing, and unload after the old channel, send the new channel session to service end simultaneously and set up request and new channel playing request, service end begins to play the new channel Media Stream when setting up new session after receiving these two requests.
The system that embodiment of the invention Streaming Media channel switches, new channel is play when can use old channel session, saved the process that discharges old channel session and set up the new channel session, play when can not use old channel session at new channel, as a kind of better embodiment, can finish new channel session foundation and new channel session simultaneously plays, saved the interactive step of client and service end, reduce the slow time of channel change delay, thereby provide high-quality streaming media playing service for the user.
The client terminal device that the embodiment of the invention also provides a kind of Streaming Media channel to switch, the architectural feature of this device is identical with client part in function and the embodiment of the invention Streaming Media channel switchover system, using the method that two kinds of Streaming Media channels of the embodiment of the invention switch, its working method also working method with embodiment of the invention Streaming Media channel switchover system is identical, repeats no more here.
The service end device that the embodiment of the invention also provides a kind of Streaming Media channel to switch, the architectural feature of this device is identical with service end part in function and the embodiment of the invention Streaming Media channel switchover system, using the method that two kinds of Streaming Media channels of the embodiment of the invention switch, its working method also working method with embodiment of the invention Streaming Media channel switchover system is identical, repeats no more here.
At last, introduce the system of the modifying playing streaming media that the embodiment of the invention provides, Figure 11 shows the system configuration of the modifying playing streaming media that the embodiment of the invention provides, and this system comprises: client and service end.
Client is used for sending to service end the change playing media request of the playing media information that carries the needs change.
Service end is used to receive the request of the change playing media that client sends, and carries out change according to request and handles.
The system of the modifying playing streaming media that the embodiment of the invention provides, client needs the playing media information changed by carrying in the current broadcasting channel in playing request, inform service end change playing media, service end is carried out the change operation according to this request, thereby has realized the requirement of change playing media.
In the system of above-mentioned modifying playing streaming media, service end can comprise: memory module and Executive Module;
Memory module is used for storing the playing media information of current broadcasting channel.
Executive Module is used to receive the request of the change playing media that client sends, and according to the playing media of the current broadcasting channel of this request change, returns the response of change playing media to client, and the playing media information in the memory module is upgraded.
In the system of above-mentioned modifying playing streaming media, client can comprise: memory module and change service module;
Memory module is used for storing the playing media information of current broadcasting channel.
The change service module is used for reading the playing media information that needs are changed from memory module, the playing media information of changing is carried in the request of change playing media sends to service end, receives the change playing media request responding that service end sends.
The system of embodiment of the invention modifying playing streaming media can carry out work according to the method for first kind of modifying playing streaming media of the embodiment of the invention.
The embodiment of the invention also provides a kind of client terminal device of modifying playing streaming media, the architectural feature of this device and function are identical with client part in the embodiment of the invention modifying playing streaming media system, working method according to first kind of modifying playing streaming media method of the embodiment of the invention is also identical, repeats no more here.
The embodiment of the invention also provides a kind of service end device of modifying playing streaming media, the architectural feature of this device and function are identical with service end part in the embodiment of the invention modifying playing streaming media system, working method according to first kind of modifying playing streaming media method of the embodiment of the invention is also identical, repeats no more here.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (29)

1. a Streaming Media channel switching method is characterized in that, this method comprises:
Service end receives the channel switch request of carrying old channel information and new channel Streaming Media address that client sends;
The result of the old channel information that service end is carried according to this request relatively and the subordinate server group management information of new channel Streaming Media address correspondence judges when not needing to set up new session, returns the channel switch request response to client;
Service end receives the new channel playing request that client sends, and uses old channel session to client terminal playing new channel Media Stream.
2. the method for claim 1 is characterized in that, comprises in the described old channel information: old channel stream media address, Session ID, conversation description and transmission parameter; The Streaming Media address and the configuration information that comprises institute's managing channel conversation description that comprise this server group institute managing channel in the described new channel subordinate server group management information;
The result of the subordinate server group management information of described older channel stream media information and new channel Streaming Media address correspondence is: old channel stream media address is included in the management information of subordinate server group of new channel Streaming Media address correspondence;
Described service end is judged not to be needed to set up after the new session, further comprises before client is returned the channel switch request response:
Service end is new channel conversation description and old channel conversation description relatively.
3. method as claimed in claim 2 is characterized in that, described new channel conversation description and old channel conversation description are identical, and described channel switch request response comprises old channel Session ID;
The old channel session of described use to client terminal playing new channel Media Stream is:
Service end switches to the new channel Media Stream according to described new channel playing request with old channel Media Stream, uses the conversation description of old channel to play the new channel Media Stream.
4. method as claimed in claim 2, it is characterized in that, comprise in the described new channel conversation description with old channel conversation description in different session parameters, the response of described channel switch request comprises: different session parameter in old channel Session ID and new channel conversation description and the old channel conversation description;
Described service end uses old channel session to client terminal playing new channel Media Stream to be:
Service end is according to the new channel playing request, old channel Media Stream is switched to the new channel Media Stream, use session parameter identical in old channel conversation description and the new channel conversation description in conjunction with different session parameter in new channel conversation description and the old channel conversation description, play the new channel Media Stream.
5. as the described any method of claim 1 to 4, it is characterized in that described service end uses old channel session further to comprise: service end sends play parameter to client after client terminal playing new channel Media Stream.
6. a Streaming Media channel switching method is characterized in that, this method comprises:
Service end receives the channel switch request of carrying old channel information and new channel Streaming Media address that client sends;
The result of the old channel information that service end is carried according to this request relatively and the subordinate server group management information of new channel Streaming Media address correspondence when judgement need be set up new session, returns the channel switch request response to client;
Service end receives the old channel unload request that client sends, and unloads old channel;
Service end receives the new channel session foundation request that client sends, and sets up the new channel session;
Service end receives the new channel playing request that client sends, to client terminal playing new channel Media Stream.
7. method as claimed in claim 6 is characterized in that, comprises in the described old channel information: old channel stream media address, Session ID, conversation description and transmission parameter; Comprise in the described new channel subordinate server group management information: the Streaming Media address of this server group institute managing channel and the configuration information that comprises institute's managing channel conversation description;
The result of the subordinate server group management information of described older channel stream media information and new channel Streaming Media address correspondence is: old channel stream media address is not included in the management information of new channel subordinate server group;
Described channel switch request response comprises the new channel conversation description, does not comprise old channel Session ID.
8. method as claimed in claim 6 is characterized in that, described old channel unload request is carried old channel stream media address; Described service end unloads old channel:
Service end discharges old channel session according to old channel stream media address.
9. method as claimed in claim 6 is characterized in that, new channel Streaming Media address and required transmission parameter are carried in the described new channel session request of setting up; Described service end is set up the new channel session: service end is a new channel session distribution services end port, sets up the transmission parameter that the required transmission parameter of the new channel session of carrying in the request is formed the new channel session with the new channel session, sets up the new session identifier.
10. method as claimed in claim 9 is characterized in that, described new channel playing request is carried new channel Streaming Media address; Described service end to client terminal playing new channel Media Stream is: service end switches to the new channel Media Stream according to new channel Streaming Media address with old channel Media Stream, uses new channel conversation description and transmission parameter to play the new channel Media Stream.
11. method as claimed in claim 6 is characterized in that, described service end receives new channel session foundation request and the new channel playing request that client sends simultaneously.
12., it is characterized in that described service end further comprises after client terminal playing new channel Media Stream as any described method of claim 6 to 11:
Service end sends play parameter, new channel Session ID and transmission parameter to client.
13. a modifying playing streaming media method is characterized in that, this method comprises:
Service end receives the change playing media request that client sends, and carrying in this request needs the playing media information changed in the current broadcasting channel;
Service end is finished according to described request the change of playing media is handled.
14. method as claimed in claim 13 is characterized in that, the request of described change playing media is for increasing the playing media request, comprise in this request the playing media information that increases the field of playing media head and needs increase; The described playing media information that need to increase comprises: the playing media address of needs increase, lock in time scope and required transmission parameter;
The change that described service end is finished playing media according to request is treated to: service end is according to the required transmission parameter of the playing media of the increase of the needs in the described request, the playing media distribution services end port that increases for needs is also set up new media, begins to play after adapting to playing; For the playing media of existing playing media and increase in the current channel distributes synchronisation source respectively, return playing media description, transmission parameter and the playing media synchronizing information of increase to client.
15. method as claimed in claim 14 is characterized in that, described lock in time, scope was specified by service end;
Described playing media synchronizing information comprises: synchronisation source information, playing media sequence number, playing media timestamp, lock in time reference point with increase the playing media request in identical Session ID;
Described synchronisation source information, playing media sequence number and playing media timestamp, with lock in time reference point be time reference synchronous playing medium;
Described with increase the playing media request in identical Session ID, identify the session that the playing media of the existing playing media of current broadcasting channel and increase makes up.
16. method as claimed in claim 13 is characterized in that, the request of described change playing media is deletion playing media request, comprises the playing media information that the field head of delete playing media and needs are deleted in this request; The described playing media information of deletion that needs comprises: the address and the transmission parameter of the playing media of needs deletion;
The change that described service end is finished playing media according to request is treated to: service end is according to the playing media address and the transmission parameter of needs deletion in the request, discharge this playing media and stop broadcast this playing media, to client return comprise with deletion playing media request in the deletion playing media response of identical Session ID, the playing media combination session behind the Session ID sign deletion playing media in this deletion playing media response.
17. method as claimed in claim 13 is characterized in that, further comprises the playing media information that needs keep in the request of described change playing media, this information comprises: the playing media address that needs keep and the Session ID of use.
18. a modifying playing streaming media method is characterized in that, this method comprises:
Service end receives the change playing media request that client sends, and carrying in this request needs the playing media information that keeps in the current broadcasting channel;
Service end is finished according to request the change of playing media is handled.
19. method as claimed in claim 18 is characterized in that, comprises the playing media information of the field head of deleting playing media and needs reservation in the request of described change playing media; The described playing media information that needs to keep comprises: the playing media address that needs keep and the Session ID of use;
The change that described service end is finished playing media according to request is treated to: the current playing media that does not comprise in the request of service end deletion change playing media, to client return comprise with change playing media request in the deletion playing media response of identical Session ID, the playing media combination session behind the Session ID sign deletion playing media in this deletion playing media response.
20. a Streaming Media channel switchover system is characterized in that, this system comprises: client and service end;
Described client is used for sending the channel switch request of carrying old channel information and new channel Streaming Media address to service end, receives the channel switch request response that service end is returned; The response of parsing channel switch request; Send old channel unload request to service end, receive the unloading response that service end sends; Send the new channel session to service end and set up request; Send the new channel playing request to service end, receive the new channel Media Stream that service end is play;
Described service end is used to receive the channel switch request that client sends, and the result according to the subordinate server group management information of older channel information and new channel Streaming Media address correspondence returns the channel switch request response to client; Receive the old channel unload request that client sends, unload old channel and send the unloading response to service end; Receive the new channel session foundation request that client sends, set up new session; Receive the new channel playing request that client sends, to client terminal playing new channel Media Stream.
21. system as claimed in claim 20 is characterized in that, described service end comprises: transceiver module, parsing module, memory module and Executive Module;
Described transceiver module is used to receive the channel switch request that client sends and is transferred to Executive Module and parsing module, the channel switch request response that sends to the client transmissions Executive Module; Receive the old channel unload request that client sends, the unloading that sends to the client transmissions Executive Module responds; Receive new channel session foundation request and new channel playing request that client sends, be transferred to Executive Module, to the new channel Media Stream of client transmissions Executive Module broadcast;
Described parsing module, be used for reading the management information of the subordinate server group of new channel Streaming Media address correspondence from memory module, the management information of the old channel information that the comparison channel switch request is carried and the subordinate server group of new channel Streaming Media address correspondence draws analysis result and is transferred to Executive Module;
Described memory module is used to store the subordinate server group management information of new channel Streaming Media address correspondence;
Described Executive Module is used for the analysis result that draws according to parsing module, sends the channel switch request response to transceiver module; Receive the old channel unload request of transceiver module transmission, unload old channel, send the unloading response to transceiver module; Request is set up in the new channel session that receives the transceiver module transmission, sets up new session; Receive the new channel playing request of transceiver module transmission, play the new channel Media Stream to transceiver module.
22. system as claimed in claim 20 is characterized in that, described client comprises parsing module, transceiver module and Executive Module;
Described transceiver module, to the channel switch request of carrying old channel information and new channel Streaming Media address that service end transmission Executive Module sends, the channel switch request response transmission that receives the service end transmission is to Executive Module and parsing module; To the old channel unload request that service end transmission Executive Module sends, the unloading response transmission that receives the service end transmission is to Executive Module; Set up request and new channel playing request to the new channel session that service end transmission Executive Module sends, the new channel media flow transmission that the reception service end is play is given Executive Module;
Described parsing module is used to resolve the channel switch request response, and analysis result is transferred to Executive Module;
Described Executive Module is used for sending channel switch request to transceiver module, receives the channel switch request response of transceiver module transmission; Receive the analysis result of parsing module transmission; Send old channel unload request to transceiver module, receive the unloading response of transceiver module transmission; Send the new channel session to transceiver module and set up request and new channel playing request, the new channel Media Stream that the service end of reception transceiver module transmission is play.
23. the client terminal device that the Streaming Media channel switches is characterized in that this device comprises: parsing module, transceiver module and Executive Module;
Described transceiver module, to the channel switch request of carrying old channel information and new channel Streaming Media address that service end transmission Executive Module sends, the channel switch request response transmission that receives the service end transmission is to Executive Module and parsing module; To the old channel unload request that service end transmission Executive Module sends, the unloading response transmission that receives the service end transmission is to Executive Module; Set up request and new channel playing request to the new channel session that service end transmission Executive Module sends, the new channel media flow transmission that the reception service end is play is given Executive Module;
Described parsing module is used to resolve the channel switch request response, and analysis result is transferred to Executive Module;
Described Executive Module is used for sending channel switch request to transceiver module, receives the channel switch request response of transceiver module transmission; Receive the analysis result of parsing module transmission; Send old channel unload request to transceiver module, receive the unloading response of transceiver module transmission; Send the new channel session to transceiver module and set up request and new channel playing request, the new channel Media Stream that the service end of reception transceiver module transmission is play.
24. the service end device that the Streaming Media channel switches is characterized in that this device comprises: transceiver module, parsing module, memory module and Executive Module;
Described transceiver module is used to receive the channel switch request that client sends and is transferred to Executive Module and parsing module, the channel switch request response that sends to the client transmissions Executive Module; Receive the old channel unload request that client sends, the unloading that sends to the client transmissions Executive Module responds; Receive new channel session foundation request and new channel playing request that client sends, be transferred to Executive Module, to the new channel Media Stream of client transmissions Executive Module broadcast;
Described parsing module, be used for reading the management information of the subordinate server group of new channel Streaming Media address correspondence from memory module, the management information of the old channel information that the comparison channel switch request is carried and the subordinate server group of new channel Streaming Media address correspondence draws analysis result and is transferred to Executive Module;
Described memory module is used to store the subordinate server group management information of new channel Streaming Media address correspondence;
Described Executive Module is used for the analysis result that draws according to parsing module, sends the channel switch request response to transceiver module; Receive the old channel unload request of transceiver module transmission, unload old channel, send the unloading response to transceiver module; Request is set up in the new channel session that receives the transceiver module transmission, sets up new session; Receive the new channel playing request of transceiver module transmission, play the new channel Media Stream to transceiver module.
25. a modifying playing streaming media system is characterized in that, this system comprises: client and service end;
Described client is used for sending the change playing media request carry the playing media information that current broadcasting channel need change to service end;
Described service end is used to receive the change playing media request that client sends, and carries out change according to request and handles.
26. system as claimed in claim 25 is characterized in that, described service end comprises: memory module and Executive Module;
Memory module is used for storing the playing media information of current broadcasting channel.
Executive Module is used to receive the request of the change playing media that client sends, and according to the playing media of the current broadcasting channel of this request change, returns the response of change playing media to client, and the playing media information in the memory module is upgraded.
27. system as claimed in claim 25 is characterized in that, described client comprises memory module and change service module;
Described memory module is used to store the playing media information of client institute broadcasting channel;
Described change service module is used for reading the playing media information that needs are changed from memory module, the playing media information of changing is carried in the request of change playing media sends to service end, receives the change playing media request responding that service end sends.
28. a client terminal device of changing playing media is characterized in that, this device comprises memory module and change service module;
Described memory module is used to store the playing media information of client institute broadcasting channel;
Described change service module is used for the playing media information that memory module reads the needs change, the playing media information of changing is carried in the request of change playing media sends to service end, receives the change playing media request responding that service end sends.
29. a service end device of changing playing media is characterized in that this device comprises: memory module and Executive Module;
Memory module is used for storing the playing media information of current broadcasting channel;
Executive Module is used to receive the request of the change playing media that client sends, and according to this request, changes the playing media of current broadcasting channel, returns the response of change playing media to client, and the playing media information in the memory module is upgraded.
CN200710098118.2A 2007-04-13 2007-04-13 Method, system and device for switching stream media channel and altering broadcast media Active CN101137043B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200710098118.2A CN101137043B (en) 2007-04-13 2007-04-13 Method, system and device for switching stream media channel and altering broadcast media
PCT/CN2008/070699 WO2008125054A1 (en) 2007-04-13 2008-04-11 A method, system and apparatus for switching between channels belonging to multi-media stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710098118.2A CN101137043B (en) 2007-04-13 2007-04-13 Method, system and device for switching stream media channel and altering broadcast media

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN200910161200.4A Division CN101714977B (en) 2007-04-13 2007-04-13 Method, system and device for modifying playing streaming media

Publications (2)

Publication Number Publication Date
CN101137043A true CN101137043A (en) 2008-03-05
CN101137043B CN101137043B (en) 2010-04-21

Family

ID=39160835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710098118.2A Active CN101137043B (en) 2007-04-13 2007-04-13 Method, system and device for switching stream media channel and altering broadcast media

Country Status (2)

Country Link
CN (1) CN101137043B (en)
WO (1) WO2008125054A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008125054A1 (en) * 2007-04-13 2008-10-23 Huawei Technologies Co., Ltd. A method, system and apparatus for switching between channels belonging to multi-media stream
CN101867556A (en) * 2009-04-15 2010-10-20 上海灵慧软件销售有限公司 Method and system for switching video for mobile streaming media playing by stream interception way
CN101938456A (en) * 2009-06-30 2011-01-05 华为技术有限公司 Method, device and system for reducing media delays
CN102143132A (en) * 2010-08-10 2011-08-03 华为技术有限公司 Frequency channel switching method, switching agency, client and terminal for stream media
WO2011137837A1 (en) * 2010-06-30 2011-11-10 华为技术有限公司 Method, device and system for obtaining key information during fast channel switching
CN102577580A (en) * 2009-09-17 2012-07-11 诺基亚公司 Data path transfer for multiband communication
CN101909196B (en) * 2009-06-05 2013-04-17 华为技术有限公司 Channel-switching handling method, system and related equipment
CN104284239A (en) * 2013-07-11 2015-01-14 中兴通讯股份有限公司 Video playing method and device, video playing client side and multimedia server
CN107197394A (en) * 2017-05-05 2017-09-22 中广热点云科技有限公司 A kind of method of video playback sound intermediate frequency switching
CN109348297A (en) * 2018-11-28 2019-02-15 湖南快乐阳光互动娱乐传媒有限公司 A kind of data capture method and device
CN110933471A (en) * 2019-12-18 2020-03-27 腾讯科技(深圳)有限公司 Method, device, system and medium for safely switching channels

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414939B (en) * 2013-07-29 2017-09-05 深圳Tcl新技术有限公司 A kind of channel switching method and device
CN111314378B (en) * 2020-03-18 2022-07-29 浩云科技股份有限公司 Code stream data processing method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6335927B1 (en) * 1996-11-18 2002-01-01 Mci Communications Corporation System and method for providing requested quality of service in a hybrid network
EP1537714A1 (en) * 2002-08-28 2005-06-08 Koninklijke Philips Electronics N.V. Method of streaming multimedia data
US7454510B2 (en) * 2003-05-29 2008-11-18 Microsoft Corporation Controlled relay of media streams across network perimeters
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
US20080151885A1 (en) * 2005-02-08 2008-06-26 Uwe Horn On-Demand Multi-Channel Streaming Session Over Packet-Switched Networks
CN101137048A (en) * 2006-08-29 2008-03-05 中兴通讯股份有限公司 Method to reduce living broadcast channel switching time under single broadcast mode
CN101137043B (en) * 2007-04-13 2010-04-21 华为技术有限公司 Method, system and device for switching stream media channel and altering broadcast media

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008125054A1 (en) * 2007-04-13 2008-10-23 Huawei Technologies Co., Ltd. A method, system and apparatus for switching between channels belonging to multi-media stream
CN101867556A (en) * 2009-04-15 2010-10-20 上海灵慧软件销售有限公司 Method and system for switching video for mobile streaming media playing by stream interception way
CN101909196B (en) * 2009-06-05 2013-04-17 华为技术有限公司 Channel-switching handling method, system and related equipment
US8631452B2 (en) 2009-06-05 2014-01-14 Huawei Technologies Co., Ltd. Channel switching processing method, system, and related devices
CN101938456A (en) * 2009-06-30 2011-01-05 华为技术有限公司 Method, device and system for reducing media delays
US8607286B2 (en) 2009-06-30 2013-12-10 Huawei Technologies Co., Ltd. Method, equipment and system for reducing media delay
CN102577580B (en) * 2009-09-17 2015-06-24 诺基亚公司 Data path transfer for multiband communication
CN102577580A (en) * 2009-09-17 2012-07-11 诺基亚公司 Data path transfer for multiband communication
WO2011137837A1 (en) * 2010-06-30 2011-11-10 华为技术有限公司 Method, device and system for obtaining key information during fast channel switching
US8995463B2 (en) 2010-06-30 2015-03-31 Huawei Technologies Co., Ltd. Method, apparatus and system for obtaining key information during fast channel switching
WO2011110068A1 (en) * 2010-08-10 2011-09-15 华为技术有限公司 Stream media channel switch method, switch agent, client and terminal
CN102143132A (en) * 2010-08-10 2011-08-03 华为技术有限公司 Frequency channel switching method, switching agency, client and terminal for stream media
CN104284239A (en) * 2013-07-11 2015-01-14 中兴通讯股份有限公司 Video playing method and device, video playing client side and multimedia server
CN107197394A (en) * 2017-05-05 2017-09-22 中广热点云科技有限公司 A kind of method of video playback sound intermediate frequency switching
CN107197394B (en) * 2017-05-05 2019-12-13 中广热点云科技有限公司 audio switching method in video playing
CN109348297A (en) * 2018-11-28 2019-02-15 湖南快乐阳光互动娱乐传媒有限公司 A kind of data capture method and device
CN109348297B (en) * 2018-11-28 2021-03-23 湖南快乐阳光互动娱乐传媒有限公司 Data acquisition method and device
CN110933471A (en) * 2019-12-18 2020-03-27 腾讯科技(深圳)有限公司 Method, device, system and medium for safely switching channels
CN110933471B (en) * 2019-12-18 2020-12-15 腾讯科技(深圳)有限公司 Method, device, system and medium for safely switching channels

Also Published As

Publication number Publication date
CN101137043B (en) 2010-04-21
WO2008125054A1 (en) 2008-10-23

Similar Documents

Publication Publication Date Title
CN101137043B (en) Method, system and device for switching stream media channel and altering broadcast media
CN101207501B (en) IP broadcasting system and a multicast group management apparatus for the same
JP5329597B2 (en) Service center
US8531502B2 (en) Method, device and system for presenting virtual conference site of video conference
US8255555B2 (en) Reception apparatus and method for reducing time delay in channel switching
US20020184314A1 (en) Method and system for transmitting multicast data signals
CN108235042B (en) Multi-user network live broadcast method, device, joining device, system, server and computer readable storage medium
RU2480936C2 (en) Method, apparatus and system for ip television based information distribution
EP1694030A1 (en) Multimedia content delivery system
CN101714977B (en) Method, system and device for modifying playing streaming media
US8203989B2 (en) Distributing content in a communication network
US20130219423A1 (en) Algorithmic Media Stream Selection
CN102037703A (en) Switching between delivery methods in an IPTV communication network
US20140344854A1 (en) Method and System for Displaying Speech to Text Converted Audio with Streaming Video Content Data
CN101631029A (en) Method for switching live session and method and terminal for synchronizing multi-terminal channel switch
CN102271281B (en) Method and device for implementing FCC (fast channel change)
CN102131109A (en) Method, system and device for monitoring stream media broadcast
KR20120051466A (en) Request method for transmitting broadcasting program and transmission method thereof
JP2011124982A (en) Apparatus and method for allocating multicast connection identifier in wireless access system
CN108632681B (en) Method, server and terminal for playing media stream
KR20080061583A (en) System and method for reducing cannel zapping time of iptv
CN101883333A (en) Method, system and device for acquiring real-time media play information of designated user
KR101235093B1 (en) Delivering streaming data
CN101188740A (en) Multicast method for living broadcast network TV
KR20140086298A (en) Driving system and method for iptv cable modem capable of realtime viewing for several channel

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