CN101969431A - Method for implementing unicast and multicast seamless switching for streaming media play - Google Patents
Method for implementing unicast and multicast seamless switching for streaming media play Download PDFInfo
- Publication number
- CN101969431A CN101969431A CN2010102962169A CN201010296216A CN101969431A CN 101969431 A CN101969431 A CN 101969431A CN 2010102962169 A CN2010102962169 A CN 2010102962169A CN 201010296216 A CN201010296216 A CN 201010296216A CN 101969431 A CN101969431 A CN 101969431A
- Authority
- CN
- China
- Prior art keywords
- streaming media
- multicast
- media server
- medium data
- client
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000005516 engineering process Methods 0.000 claims description 6
- 238000007689 inspection Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a method for implementing unicast and multicast seamless switching for streaming media play and solves the problems of interruption, lag and frame skipping of a video program during unicast and multicast switching for streaming media play. In the switching process, a streaming media server simultaneously transmits streaming media data to a client of which the playing mode is needed to be switched in unicast and multicast modes; after receiving the repeated streaming media data packets, the client of which the playing mode is needed to be switched transmits a success message to the streaming media server; and if receiving the transmitted success message in the specified time, the streaming media server stops transmitting the streaming media data to the client which transmits the success message in the original playing mode and only transmits the streaming media data to the client which transmits the success message in the switched playing mode so as to realize no packet loss and normal video playing during unicast and multicast switching.
Description
Technical field
The present invention relates to a kind of player method of media video, the method for particularly a kind of streaming media playing clean culture, multicast seamless switching.
Background technology
In the multicasting technology,, can reduce and have a plurality of recipients and listen to or check network traffic under the same asset situation simultaneously by transmitting single message stream mode to a plurality of recipients.And concurrent multicast group quantity of switch support while is limited, in order to save network traffic as far as possible, needs the multicast group of reasonable use switch.
The same stream medium data of new client-requested is arranged, and when the summation of asking the new number clients of same stream medium data and old number clients surpassed threshold values (setting according to system situation), then the streaming media server mode that sends stream medium data switched to multicast by clean culture; Have the part client no longer to ask same stream medium data or circuit to disconnect, and remaining number clients is when being lower than threshold values, then the streaming media server mode that sends stream medium data switches to clean culture by multicast.
The patent of publication number CN 101616060A has proposed a kind of this method of IPTV terminal multicast commentaries on classics clean culture changing method and comprised: the IPTV terminal of receiving group RTP packet is set up unicast channel after receiving that multicast changes the clean culture instruction; After unicast channel is built up, withdraw from multicast channel, and the request unicast data; Receive the time stamp and the numbering of RTP packet at last according to the multicast channel of record, and the up-to-date time stamp and the numbering of receiving the RTP packet of record, the RTP packet of receiving is filtered.This method might cause packet loss in multicast, clean culture when switching.
The patent of publication number CN 101547108 proposes by adopt F.F. when receiving unicast service, guarantee after switching to multicast service, to pull up to live progress, thereby solved the problem that program lags behind, cause the phenomenon of frame-skipping easily in video playback, and the transmission of very most of data all can not send (as real-time video etc.) in the mode of F.F., and also there is very big restriction in this mode.
Summary of the invention
The present invention proposes a kind of method that realizes streaming media playing clean culture, multicast seamless switching, in order to solve the problem of existing streaming media playing clean culture, the video frequency program interruption that exists when multicast is switched, hysteresis, frame-skipping.
A kind of method that realizes streaming media playing clean culture, multicast seamless switching that the present invention proposes comprises that streaming media playing clean culture seamless switching becomes the method for multicast to become the method for clean culture with streaming media playing multicast seamless switching, and general plotting is as follows:
In the process of switching, streaming media server sends stream medium data in the mode of clean culture, multicast to the client that broadcast mode need switch simultaneously;
After the client that described broadcast mode need switch is received the flow media data packet of repetition, send success message to streaming media server;
If the success message that streaming media server receives in the duration of regulation, then streaming media server switches the mode that sends stream medium data to the client of the same stream medium data of request;
Described success message switches to multicast if the switching of broadcast mode is clean culture, then is meant the adding success message, if the switching of broadcast mode is that multicast switches to clean culture, then is meant and withdraws from success message;
A kind of streaming media playing clean culture seamless switching of realizing becomes the method for multicast, may further comprise the steps:
1), streaming media server asks the client of same stream medium data to send adding multicast group command to all; And
Described streaming media server sends stream medium data in the mode of clean culture and multicast to old client simultaneously, and sends stream medium data in the mode of multicast to new client;
Wherein, described old client was meant before receiving described adding multicast group command by the client of mode of unicast from described streaming media server receiving stream media data; Described new client is meant the client except old client in the client of the same stream medium data of the described streaming media server request of forward direction.
2), described old client is according to described adding multicast group command, add the multicast group, and check whether the stream medium data that receives by multicast and mode of unicast has repetition: if having, then abandon the stream medium data of repetition, and send the adding success message to described streaming media server; With
Described new client adds the multicast group according to described adding multicast group command, receives the stream medium data that described streaming media server sends in the multicast mode, and sends the adding success message to described streaming media server;
3), if described streaming media server receives the described adding success message that described client sends in the regulation duration, then described streaming media server stops to send stream medium data in the mode of clean culture to clients corresponding, and only the mode with multicast sends stream medium data to described clients corresponding.
Wherein, described step 3 also comprises: if described streaming media server does not receive the described adding success message that described client sends in the regulation duration, then described streaming media server sends a query statement to clients corresponding, check described clients corresponding state, if do not receive receiveing the response of described clients corresponding, then described clients corresponding is deleted from the multicast group, no longer send stream medium data to described clients corresponding.
Wherein, make described client receive the stream medium data that described streaming media server sends in the mode of mode of unicast and multicast respectively by the multiplexed port technology by identical port.
A kind of streaming media playing multicast seamless switching of realizing becomes the method for clean culture, may further comprise the steps:
1), streaming media server withdraws from the multicast group command to the client transmission of the same stream medium data of current request; And
Described streaming media server sends stream medium data in the mode of clean culture and multicast to described client simultaneously;
2), described client is according to the described multicast group command that withdraws from, withdraw from the multicast group, and check whether the stream medium data that receives by clean culture and multicast mode has repetition: if having, then abandon the flow media data packet of repetition, withdraw from the multicast group, and withdraw from success message to described streaming media server transmission;
3), if described streaming media server receives the described success message that withdraws from that described client sends in the regulation duration, then described streaming media server stops to send stream medium data in the mode of multicast to clients corresponding, and only the mode with clean culture sends stream medium data to described clients corresponding.
Wherein, described step 3 also comprises: if described streaming media server does not receive the described success message that withdraws from that described client sends in the duration of regulation, then described streaming media server sends a query statement to clients corresponding, check the state of described clients corresponding, if do not receive receiveing the response of described clients corresponding, then described clients corresponding is deleted from the multicast group, no longer send stream medium data to described clients corresponding.
Wherein, make described client receive the stream medium data that described streaming media server sends in the mode of mode of unicast and multicast respectively by the multiplexed port technology by identical port.
A kind of method that realizes streaming media playing clean culture, clean culture seamless switching that the present invention proposes, in the process of switching, mode with clean culture and multicast sends stream medium data to the client that broadcast mode need switch simultaneously, client guarantees that the flow media data packet that receives repetition just sends the adding success message or withdraws from success message to streaming media server, not frame losing, not frame-skipping are switched in assurance, the problem of the interruption that may occur in the existing streaming media playing clean culture of solution, the multicast handoff procedure, hysteresis, frame-skipping realizes streaming media playing clean culture, multicast seamless switching.
Description of drawings
Sequential chart when Fig. 1 clean culture switches to multicast;
Sequential chart when Fig. 2 multicast switches to clean culture.
Embodiment
A kind of streaming media playing clean culture seamless switching of realizing becomes the method for multicast, and as Fig. 1, concrete steps are as follows:
1), streaming media server asks the client of same stream medium data to send the order of multicast group address, port information and adding multicast group to all; And
Streaming media server simultaneously sends stream medium data in the mode of clean culture and multicast to old client, in the mode of multicast to new client transmission stream medium data;
Wherein, described old client was meant before receiving described adding multicast group command by the client of mode of unicast from described streaming media server receiving stream media data; Described new client is meant the client except old client in the client of the same stream medium data of the described streaming media server request of forward direction.
2), the stream medium data that sends in the mode of clean culture of old client receiving stream media server, and according to the multicast group address that receives, port information, adding multicast group command, add the multicast group, intercept the port of appointment, the stream medium data that the receiving stream media server sends in the multicast mode, whether inspection has repetition by the stream medium data that multicast and mode of unicast receive: if having, then abandon the flow media data packet of repetition, the co-current flow media server sends and adds success message; If no, then do not send the adding success message to streaming media server;
In the present embodiment, to receive port that multi-case data uses consistent with the port that old client receives the unicast data use for old client;
After the order of new client according to the multicast group address that receives, port information, adding multicast group, add the multicast group, intercept the port of appointment, the stream medium data that the receiving stream media server sends in the multicast mode, co-current flow media server send and add success message;
3), if described streaming media server receives the described adding success message that described client sends in the regulation duration, then described streaming media server stops to send stream medium data in the mode of clean culture to clients corresponding, and only the mode with multicast sends stream medium data to described clients corresponding.
If described streaming media server does not receive the described adding success message that described client sends in the regulation duration, then described streaming media server sends a query statement to clients corresponding, check described clients corresponding state, if do not receive receiveing the response of described clients corresponding, then described clients corresponding is deleted from the multicast group, no longer send stream medium data to described clients corresponding.
A kind of streaming media playing multicast seamless switching of realizing becomes the method for clean culture, and as Fig. 2, concrete steps are as follows:
1), streaming media server sends the multicast group address, withdraws from the order of multicast group to the client of the same stream medium data of current request; And
Streaming media server sends stream medium data in the mode of clean culture and multicast to described client simultaneously;
2), described client receives the stream medium data that the mode with multicast sends, and according to the multicast group address, the port information that receive, withdraw from the multicast group command, withdraw from the multicast group, use the port multiplex technique, intercept the port of appointment, the stream medium data that the receiving stream media server sends in the mode of clean culture, whether inspection has repetition by the flow media data packet that multicast and mode of unicast receive: if having, then abandon the flow media data packet of repetition, withdraw from the multicast group, the co-current flow media server sends and withdraws from success message; If no, then do not withdraw from success message to the streaming media server transmission;
3), if described streaming media server receives the described success message that withdraws from that described client sends in the regulation duration, then described streaming media server stops to send stream medium data in the mode of multicast to clients corresponding, discharge multicast group resource, only the mode with clean culture sends stream medium data to clients corresponding.
If described streaming media server does not receive the described success message that withdraws from that described client sends in the duration of regulation, then described streaming media server sends a query statement to clients corresponding, check the state of described clients corresponding, if do not receive receiveing the response of described clients corresponding, then described clients corresponding is deleted from the multicast group, no longer send stream medium data to described clients corresponding.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.
Claims (6)
1. realize that streaming media playing clean culture seamless switching becomes the method for multicast for one kind, it is characterized in that, may further comprise the steps:
1), streaming media server asks the client of same stream medium data to send adding multicast group command to all; And
Described streaming media server sends stream medium data in the mode of clean culture and multicast to old client simultaneously, and sends stream medium data in the mode of multicast to new client;
2), described old client is according to described adding multicast group command, add the multicast group, and check whether the stream medium data that receives by multicast and mode of unicast has repetition: if having, then abandon the stream medium data of repetition, and send the adding success message to described streaming media server; With
Described new client adds the multicast group according to described adding multicast group command, receives the stream medium data that described streaming media server sends in the multicast mode, and sends the adding success message to described streaming media server;
3), if described streaming media server receives the described adding success message that described client sends in the regulation duration, then described streaming media server stops to send stream medium data in the mode of clean culture to clients corresponding, and only the mode with multicast sends stream medium data to described clients corresponding.
2. a kind of streaming media playing clean culture seamless switching of realizing according to claim 1 becomes the method for multicast, it is characterized in that, described step 3 also comprises: if described streaming media server does not receive the described adding success message that described client sends in the regulation duration, then described streaming media server sends a query statement to clients corresponding, check described clients corresponding state, if do not receive receiveing the response of described clients corresponding, then described clients corresponding is deleted from the multicast group, no longer send stream medium data to described clients corresponding.
3. become the method for multicast according to the described a kind of streaming media playing clean culture seamless switching of realizing of claim 1, it is characterized in that, make described client receive the stream medium data that described streaming media server sends in the mode of mode of unicast and multicast respectively by identical port by the multiplexed port technology.
4. realize that streaming media playing multicast seamless switching becomes the method for clean culture for one kind, it is characterized in that, may further comprise the steps:
1), streaming media server withdraws from the multicast group command to the client transmission of the same stream medium data of current request; And
Described streaming media server sends stream medium data in the mode of clean culture and multicast to described client simultaneously;
2), described client is according to the described multicast group command that withdraws from, withdraw from the multicast group, and check whether the stream medium data that receives by clean culture and multicast mode has repetition: if having, then abandon the flow media data packet of repetition, withdraw from the multicast group, and withdraw from success message to described streaming media server transmission;
3), if described streaming media server receives the described success message that withdraws from that described client sends in the regulation duration, then described streaming media server stops to send stream medium data in the mode of multicast to clients corresponding, and only the mode with clean culture sends stream medium data to described clients corresponding.
5. become the method for clean culture according to the described a kind of streaming media playing multicast seamless switching of realizing of claim 4, it is characterized in that, described step 3 also comprises: if described streaming media server does not receive the described success message that withdraws from that described client sends in the duration of regulation, then described streaming media server sends a query statement to clients corresponding, check the state of described clients corresponding, if do not receive receiveing the response of described clients corresponding, then described clients corresponding is deleted from the multicast group, no longer send stream medium data to described clients corresponding.
6. become the method for clean culture according to the described a kind of streaming media playing multicast seamless switching of realizing of claim 4, it is characterized in that, described client is by the multiplexed port technology, uses identical port to receive the stream medium data that described streaming media server sends in the mode of mode of unicast and multicast respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010296216 CN101969431B (en) | 2010-09-28 | 2010-09-28 | Method for implementing unicast and multicast seamless switching for streaming media play |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010296216 CN101969431B (en) | 2010-09-28 | 2010-09-28 | Method for implementing unicast and multicast seamless switching for streaming media play |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101969431A true CN101969431A (en) | 2011-02-09 |
CN101969431B CN101969431B (en) | 2013-06-12 |
Family
ID=43548535
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010296216 Expired - Fee Related CN101969431B (en) | 2010-09-28 | 2010-09-28 | Method for implementing unicast and multicast seamless switching for streaming media play |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101969431B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102510541A (en) * | 2011-12-30 | 2012-06-20 | Tcl数码科技(深圳)有限责任公司 | Multi-screen interaction video and audio content switching method and media player |
CN103685314A (en) * | 2013-12-27 | 2014-03-26 | 广东威创视讯科技股份有限公司 | Method for achieving seamless switching of unicast and multicast of stream media playing |
CN104105009A (en) * | 2014-08-05 | 2014-10-15 | 成都瑞博慧窗信息技术有限公司 | Digital multimedia broadcast control optimizing method |
US20140362694A1 (en) * | 2011-07-18 | 2014-12-11 | Verizon Patent And Licensing Inc. | Systems and methods for dynamically switching between unicast and multicast delivery of media content in a wireless network |
CN105578308A (en) * | 2015-12-29 | 2016-05-11 | 武汉市烽视威科技有限公司 | RTP multicast live and HLS (Http Live Streaming) unicast time shifting combined realization method |
CN107613367A (en) * | 2016-07-11 | 2018-01-19 | 成都鼎桥通信技术有限公司 | Stream medium data player method and player |
US10397290B2 (en) | 2014-05-29 | 2019-08-27 | Interdigital Ce Patent Holdings | Method and system for switching and simultaneous replay of home media streaming |
CN113475084A (en) * | 2019-02-27 | 2021-10-01 | 英国电讯有限公司 | Multicast Assisted Delivery |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6973081B1 (en) * | 2000-10-12 | 2005-12-06 | Realnetworks, Inc. | System and method for seamlessly joining multicast session |
WO2007149029A1 (en) * | 2006-06-19 | 2007-12-27 | Telefonaktiebolaget Lm Ericsson (Publ) | Media channel management |
CN101340558A (en) * | 2007-07-03 | 2009-01-07 | 华为技术有限公司 | Media stream switching method, system and equipment in time-shifted TV service |
CN101547108A (en) * | 2008-03-28 | 2009-09-30 | 华为技术有限公司 | Method for switching streaming media service, playing device and server |
-
2010
- 2010-09-28 CN CN 201010296216 patent/CN101969431B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6973081B1 (en) * | 2000-10-12 | 2005-12-06 | Realnetworks, Inc. | System and method for seamlessly joining multicast session |
WO2007149029A1 (en) * | 2006-06-19 | 2007-12-27 | Telefonaktiebolaget Lm Ericsson (Publ) | Media channel management |
CN101340558A (en) * | 2007-07-03 | 2009-01-07 | 华为技术有限公司 | Media stream switching method, system and equipment in time-shifted TV service |
CN101547108A (en) * | 2008-03-28 | 2009-09-30 | 华为技术有限公司 | Method for switching streaming media service, playing device and server |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140362694A1 (en) * | 2011-07-18 | 2014-12-11 | Verizon Patent And Licensing Inc. | Systems and methods for dynamically switching between unicast and multicast delivery of media content in a wireless network |
US10374818B2 (en) * | 2011-07-18 | 2019-08-06 | Verizon Patent And Licensing Inc. | Systems and methods for dynamically switching between unicast and multicast delivery of media content in a wireless network |
CN102510541A (en) * | 2011-12-30 | 2012-06-20 | Tcl数码科技(深圳)有限责任公司 | Multi-screen interaction video and audio content switching method and media player |
CN102510541B (en) * | 2011-12-30 | 2014-12-17 | Tcl数码科技(深圳)有限责任公司 | Multi-screen interaction video and audio content switching method and media player |
CN103685314A (en) * | 2013-12-27 | 2014-03-26 | 广东威创视讯科技股份有限公司 | Method for achieving seamless switching of unicast and multicast of stream media playing |
US10397290B2 (en) | 2014-05-29 | 2019-08-27 | Interdigital Ce Patent Holdings | Method and system for switching and simultaneous replay of home media streaming |
CN104105009A (en) * | 2014-08-05 | 2014-10-15 | 成都瑞博慧窗信息技术有限公司 | Digital multimedia broadcast control optimizing method |
CN105578308A (en) * | 2015-12-29 | 2016-05-11 | 武汉市烽视威科技有限公司 | RTP multicast live and HLS (Http Live Streaming) unicast time shifting combined realization method |
CN107613367A (en) * | 2016-07-11 | 2018-01-19 | 成都鼎桥通信技术有限公司 | Stream medium data player method and player |
CN107613367B (en) * | 2016-07-11 | 2019-12-03 | 成都鼎桥通信技术有限公司 | Stream medium data playback method and player |
CN113475084A (en) * | 2019-02-27 | 2021-10-01 | 英国电讯有限公司 | Multicast Assisted Delivery |
CN113475084B (en) * | 2019-02-27 | 2024-02-02 | 英国电讯有限公司 | multicast assisted delivery |
Also Published As
Publication number | Publication date |
---|---|
CN101969431B (en) | 2013-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101969431B (en) | Method for implementing unicast and multicast seamless switching for streaming media play | |
CN100531381C (en) | The method for IPTV STB/unicast seamless switching based on RTP protocol | |
CN101207501B (en) | IP broadcasting system and a multicast group management apparatus for the same | |
KR101477202B1 (en) | Access network handover for a mobile television system | |
CN101309393B (en) | Method and system for inter-cut video monitoring in interactive network television | |
WO2007062567A1 (en) | A method, a device and a system for realizing time shift tv | |
CN104144359A (en) | Method and system for fast channel change of IPTV multicast | |
CN1980246B (en) | Two-layer multi-casting flow retransmission method | |
CN101867804B (en) | Internet protocol television direct broadcast system and method | |
CN102724048A (en) | Method and device for notifying rendezvous point by sparse-mode protocol independent multicast | |
EP2214431B1 (en) | Method, system and device for service switching | |
CN103685314A (en) | Method for achieving seamless switching of unicast and multicast of stream media playing | |
CN101360114A (en) | A multimedia system providing real-time scenes and its implementation method | |
US9288136B2 (en) | Method and apparatus for in-band channel change for multicast data | |
CN109963108B (en) | One-to-many talkback method and device | |
CN101998147A (en) | Transmission method of media data, network-side apparatus and communication system | |
CN101060467B (en) | Method and system for processing abnormal power failure of multicast user terminal | |
CN102006507B (en) | Internet protocol television channel playing method and system | |
CN100596157C (en) | A method and streaming media server for realizing streaming media switching | |
WO2011023034A1 (en) | Method for implementing near video on demand (nvod) channel, media control server and nvod channel system thereof | |
CN101521798B (en) | Method and device for switching play modes | |
CN101668193A (en) | Play switching method and system | |
KR20070060969A (en) | How to move watch time on IPTV service | |
CN101998143B (en) | Method for multicasting video data, unicast server and client | |
CN107147923A (en) | A kind of time shift order method |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130612 Termination date: 20190928 |