CN102572611A - Method for watching network live stream synchronously with different users and system thereof - Google Patents

Method for watching network live stream synchronously with different users and system thereof Download PDF

Info

Publication number
CN102572611A
CN102572611A CN2010105774424A CN201010577442A CN102572611A CN 102572611 A CN102572611 A CN 102572611A CN 2010105774424 A CN2010105774424 A CN 2010105774424A CN 201010577442 A CN201010577442 A CN 201010577442A CN 102572611 A CN102572611 A CN 102572611A
Authority
CN
China
Prior art keywords
stream
time
packet
client
receives
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
CN2010105774424A
Other languages
Chinese (zh)
Other versions
CN102572611B (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201010577442.4A priority Critical patent/CN102572611B/en
Publication of CN102572611A publication Critical patent/CN102572611A/en
Application granted granted Critical
Publication of CN102572611B publication Critical patent/CN102572611B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for watching network live stream synchronously with different users and a system thereof. The method comprises the following steps: when publishing program live stream, a stream publishing server marks a time stamp TS for each data packet according to an output sequence of the data packet and sends each data packet; each stream receiving client receives the program live stream, and the data packet is cached or dropped according to the time stamp TS of each received data packet and present system time TCi of each stream receiving client; when the time stamp TS of the cached data packet and present system time of the stream publishing server are equal, the cached data packet is decoded and played. According to the method and the system, through reserving time-delay play duration of each program in the time stamp of each data packet, when actual reception time delay of each stream receiving client is less than time-delay play duration of each program, each stream receiving client can watch the network live stream of each program synchronously, thus a watching experience of a user is provided.

Description

Different user is watched the method and system of network direct broadcasting stream synchronously
Technical field
The present invention relates to the broadband streaming media field, especially, relate to the method and system that a kind of different user is watched network direct broadcasting stream synchronously.
Background technology
In existing network direct broadcasting technology, live TV stream ubiquity from the process of issue source arrival client receiving terminal is watched nonsynchronous problem, that is, when different user was watched the live TV stream of same issue source, synchronization can not be seen same picture, had the time difference successively.When more live important competitive sports in real time and since watch asynchronously caused the experience between user and the user to descend.
Summary of the invention
The technical problem that the present invention will solve provides the method and system that a kind of different user is watched network direct broadcasting stream synchronously, makes different user can watch the consolidated network live TV stream synchronously.
According to an aspect of the present invention; Propose a kind of different user and watched the method for network direct broadcasting stream synchronously; When being included in issue living broadcast of programs stream; The stream publisher server is stamped time stamp T S and is sent each packet for each packet in proper order according to the output of packet, time stamp T S for the time-delay playing duration of current system time and each program of stream publisher server and; Each stream receives client program receiving live TV stream, receives the current system time TC of client according to time stamp T S and each stream of each packet that receives iBuffer memory or packet discard, wherein, i receives the numbering of client for each stream; When the time stamp T S of cached data packet equates with the current system time of stream publisher server, cached data packet is decoded and play.
According to an embodiment of the inventive method, this method also is included in before the issue living broadcast of programs stream, and the stream publisher server is according to the current system time of the current system time NC calibration flow publisher server of NTP server; Before stream publisher server program downloading live TV stream, calculate and preserve the current system time TC that each stream receives client respectively iTime difference θ with the current system time NC of NTP server i, wherein, θ i=NC-TC i
According to another embodiment of the inventive method, receive the current system time TC of client according to time stamp T S and each stream of each packet that receives iThe step of buffer memory or packet discard comprises the time stamp T S of each packet and the current system time TC of each stream reception client iCompare; Time stamp T S>TC at packet i+ θ iThe time, data cached bag, otherwise packet discard.
According to the another embodiment of the inventive method, the time-delay playing duration of each program is relevant with the code stream and the network delay of the buffer time of each program, each program.
According to an embodiment again of the inventive method, this method also comprises if the quantity of packet discard reaches predetermined value continuously, then finishes stream and receives the session between client and the stream publisher server, and ask the program receiving live TV stream again.
According to a further aspect in the invention; Also propose a kind of different user and watched the system of network direct broadcasting stream synchronously; Comprise that the stream publisher server receives client with a plurality of streams that link to each other with the stream publisher server, wherein, the stream publisher server; Be used for stamping time stamp T S and sending each packet for each packet in proper order according to the output of packet, time stamp T S for the time-delay playing duration of current system time and each program of stream publisher server and; Each stream receives client, is used for flowing the current system time TC that receives client according to the time stamp T S of each packet that receives with each iBuffer memory or packet discard, and when the time stamp T S of cached data packet equates with the current system time of stream publisher server are decoded and are play cached data packet, and wherein, i flows numbering of reception client for each.
According to an embodiment of system of the present invention, the stream publisher server also was used for before issue living broadcast of programs stream, according to the current system time of the current system time NC calibration flow publisher server of NTP server; Each stream receives client, also is used for calculating and preserve the current system time TC that each stream receives client respectively before stream publisher server program downloading live TV stream iTime difference θ with the current system time NC of NTP server i, wherein, θ i=NC-TC i
According to another embodiment of system of the present invention, each stream receives client and comprises comparison module, is used for the time stamp T S of each packet and the current system time TC of each stream reception client iCompare; Processing module links to each other with comparison module, is used for the time stamp T S>TC at packet i+ θ iThe time, data cached bag, otherwise packet discard; Playing module links to each other with processing module, is used for when the time stamp T S of cached data packet equates with the current system time of stream publisher server, and cached data packet is decoded and play.
The another embodiment of system according to the invention, the time-delay playing duration of each program is relevant with the code stream and the network delay of the buffer time of each program, each program.
An embodiment again of system according to the invention, each stream receives client, also is used for reaching in the quantity of packet discard continuously finishing under the situation of predetermined value and the session of flowing between the publisher server, and asks the program receiving live TV stream again.
Different user provided by the invention is watched the method and system of network direct broadcasting stream synchronously; Through in the timestamp of each packet, reserving the time-delay playing duration of each program; The actual reception time delay that receives client at each stream is during less than the time-delay playing duration of each program; Can watch that synchronously the network direct broadcasting of each program flows so that each stream receives client, and then user's the experience of watching is provided.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part.In the accompanying drawings:
Fig. 1 is the schematic flow sheet of an embodiment of the inventive method.
Fig. 2 is the schematic flow sheet of another embodiment of the inventive method.
Fig. 3 is the schematic flow sheet of the another embodiment of the inventive method.
Fig. 4 is the schematic flow sheet of an embodiment again of the inventive method.
Fig. 5 is the schematic flow sheet of an embodiment again of the inventive method.
Fig. 6 is the structural representation of an embodiment of system of the present invention.
Fig. 7 is the structural representation of the another embodiment of system of the present invention.
Embodiment
With reference to the accompanying drawings the present invention is more comprehensively described, exemplary embodiment of the present invention wherein is described.Exemplary embodiment of the present invention and explanation thereof are used to explain the present invention, but do not constitute improper qualification of the present invention.
Below be illustrative to the description only actually of at least one exemplary embodiment, never as any restriction to the present invention and application or use.
Fig. 1 is the schematic flow sheet of an embodiment of the inventive method.
As shown in Figure 1, this embodiment can may further comprise the steps:
S102; When issue living broadcast of programs stream; (the stream publisher server is the source of live TV stream to the stream publisher server; Be appreciated that aggregate for acquisition of media, coding and stream output) stamp time stamp T S and send each packet for each packet in proper order according to the output of packet; Time stamp T S for the time-delay playing duration of the current system time of stream publisher server and preset each program with, wherein, the time-delay playing duration of each preset program is relevant with the code stream and the network delay of the buffer time of each program, each program;
S104, each stream reception client (each stream receives client and is appreciated that the aggregate that receives, decodes and play into stream) program receiving live TV stream is according to the time stamp T S of each packet that receives and the current system time TC of each stream reception client iBuffer memory or packet discard, wherein, i is the numbering of each stream reception client, 1≤i≤N, N receive the quantity of client for stream;
S106 when the time stamp T S of cached data packet equates with the current system time of stream publisher server, decodes and plays cached data packet.
This embodiment is through reserving the time-delay playing duration of each program in the timestamp of each packet; The actual reception time delay that receives client at each stream is during less than the time-delay playing duration of each preset program; Can watch that synchronously the network direct broadcasting of each program flows so that each stream receives client, and then user's the experience of watching is provided.
Fig. 2 is the schematic flow sheet of another embodiment of the inventive method.
As shown in Figure 2, this embodiment can may further comprise the steps:
S202; Before issue living broadcast of programs stream; The stream publisher server is according to NTP (Network Transmission Protocol; NTP) the current system time of the current system time NC calibration flow publisher server of server (ntp server is for supporting the NTP server of NTPv3 (RFC1305) standard agreement), that is, and before the issue of living broadcast of programs stream; The stream publisher server carries out time synchronized by ntp server, and makes system time into consistent with the system time of ntp server.
S204 before stream publisher server program downloading live TV stream, calculates and preserves the current system time TC that each stream receives client respectively iTime difference θ with the current system time NC of ntp server i, that is, stream receives client and carries out the time check and correction by ntp server, only preserves the time difference of ntp server and each stream reception client, and does not revise the system time of self, wherein, and θ i=NC-T CI is because the stream publisher server is consistent with the system clock of ntp server, so each stream receives the time difference θ of client and ntp server iBe each stream and receive the time difference between client and the stream publisher server.
S206; When issue living broadcast of programs stream; The stream publisher server is stamped time stamp T S and is sent each packet for each packet in proper order according to the output of packet, time stamp T S for the time-delay playing duration of current system time and each program of stream publisher server and, wherein; The time-delay playing duration of each program is greater than zero, and relevant with the code stream and the network delay of buffer time of each program, each program.
S208, each stream receives client program receiving live TV stream, receives the current system time TC of client according to time stamp T S and each stream of each packet that receives iBuffer memory or packet discard, wherein, i receives the numbering of client for each stream;
Particularly, can be with the time stamp T S of each packet and the current system time TC of each stream reception client iCompare; Time stamp T S>TC at packet i+ θ iThe time, data cached bag, otherwise packet discard; In other words; When each stream receives client-requested and program receiving live TV stream buffer time stamp value overgauge time value packet; Wherein, Standard time value=stream receive the current system time of client+with time difference of ntp server, and the sequencing of the packet in the buffering area by timestamp sorted; If the timestamp value of the packet that receives is less than or equal to the standard time value, then abandon this packet;
Illustrate, the time-delay playing duration of supposing program 1 is 3, and the current system time of stream publisher server when distributing data bag 1 is 10, and stream receives the time difference θ between client 1 and the stream publisher server 1=1, let flow receives the time difference θ between client 2 and the stream publisher server 1=3, let flow receives the time difference θ between client 3 and the stream publisher server 1=-1, let flow receives the time difference θ between client 4 and the stream publisher server 1=-3; The true time delay that stream receives client 1 reception packet 1 is 1; The true time delay that stream receives client 2 reception packets 1 is 4; The true time delay that stream receives client 3 reception packets 1 is 2, and the true time delay that stream reception client 4 receives packet 1 is 5, and then the timestamp of packet 1 is TS=13;
TC when stream reception client 1 receives packet 1 1+ θ 1=11, at this moment, TS>TC 1+ θ 1, then earlier packet 1 is cached to stream and receives in the buffering area of client 1;
TC when stream reception client 2 receives packet 1 2+ θ 2=14, at this moment, TS<TC 2+ θ 2, then packet discard 1;
TC when stream reception client 3 receives packet 1 3+ θ 3=12, at this moment, TS>TC 3+ θ 3, then earlier packet 1 is cached to stream and receives in the buffering area of client 3;
TC when stream reception client 4 receives packet 1 4+ θ 4=15, at this moment, TS<TC 4+ θ 4, then packet discard 1.
S210 when the time stamp T S of cached data packet equates with the current system time of stream publisher server, decodes and plays cached data packet;
Illustrate, when the current system time of stream publisher server equates with the time stamp T S of packet 1, that is, and TS=TC i+ θ i, receive decoding and playback data 1 on the client 1 and 3 at stream.
The Streaming Media transmission control protocol that this embodiment not only goes for standard (for example; RTSP (Real Time Streaming Protocol), RTP (Real-time Transport Protocol), RTMP (Real Time Messaging Protocol) etc.), can also be applicable to special-purpose proprietary protocol.In addition, this embodiment can get rid of the difference that stream receives the software and hardware decoding capability of client self, and the synchronous playing precision that makes various flows receive client can be controlled in the 500ms.
Fig. 3 is the schematic flow sheet of the another embodiment of the inventive method.
As shown in Figure 3, this embodiment can may further comprise the steps:
S302; When issue living broadcast of programs stream; The stream publisher server is stamped time stamp T S and is sent each packet for each packet in proper order according to the output of packet; Time stamp T S for the time-delay playing duration of current system time and each program of stream publisher server and, wherein, the time-delay playing duration of each program is relevant with the code stream and the network delay of the buffer time of each program, each program.
S304, each stream receives client program receiving live TV stream, receives the current system time TC of client according to time stamp T S and each stream of each packet that receives iBuffer memory or packet discard, wherein, i receives the numbering of client for each stream;
S306 when the time stamp T S of cached data packet equates with the current system time of stream publisher server, decodes and plays cached data packet;
S308 if the quantity of packet discard reaches predetermined value continuously, then finishes stream and receives the session between client and the stream publisher server, and ask the program receiving live TV stream again.
This embodiment can find the loss situation of packet, and timely end session when continuous lost data packets, and ask living broadcast of programs stream again recovering the reception to packet as early as possible, and then reduces the discover degree of user to the data packet loss.
Fig. 4 is the schematic flow sheet of an embodiment again of the inventive method.
As shown in Figure 4, this embodiment can may further comprise the steps:
S402, the stream publisher server passed through the communication of standard Network Time Protocol with ntp server before issue living broadcast of programs stream, proofread and correct the system clock of self, so that the system clock of self is consistent with the clock of ntp server;
S404, each stream receive client before stream publisher server program downloading live TV stream, pass through the communication of standard Network Time Protocol with ntp server, and calculating effluents receives the time difference θ of client and ntp server i,, also be θ so each stream receives the time difference of client and stream publisher server because the clock of stream publisher server is consistent with the clock of ntp server i, that is, and θ iFor the system clock that flows publisher server deducts the system clock that each stream receives client, each stream receives the θ of client iValue maybe be different, receive client storage θ separately by each stream iValue wherein, converts system clock into integer when calculating;
S406; Stream publisher server issue living broadcast of programs stream; And by output sequencing stamp time stamp T imestamp for each packet; The time-delay playing duration of the current on-demand system of Timestamp=stream publisher server time+each program; The time-delay playing duration of each program is the duration value that factor such as code stream and the network delay of buffer time of having considered each program, each program is calculated, and each program has time-delay playing duration separately, the time-delay playing duration that the stream publisher server is preserved all programs;
S408, stream receives the client-requested packet;
S410, stream receives client and receives live TV stream;
S412, stream receive client and judge that the Timestamp of each packet and stream receive the current on-demand system time T C of client i+ θ iRelation;
S414 is if Timestamp>stream receives the current on-demand system time T C of client i+ θ i, then this packet being saved in the buffering area, the packet in the buffering area is pressed the sequencing of Timestamp and is arranged, and changes S418;
If S416 is Timestamp≤TC i+ θ i, then abandon this packet, change S420;
S418, whether the Timestamp of first packet that judges buffering area is smaller or equal to TC i+ θ i
S420 is as the Timestamp≤TC of first packet of buffering area i+ θ iThe time, then begin to deliver to decoder to the packet of buffering area successively and carry out decodes and plays, otherwise, S410 changeed;
S422 judges whether to cause a certain amount of packet because of Timestamp≤TC owing to the packet receiving network speed that flows the reception client is lower than program stream i+ θ iAnd abandon continuously;
S424 is lower than program stream if stream receives the packet receiving network speed of client, causes a certain amount of packet because of Timestamp≤TC i+ θ iAnd abandon continuously, then stream receives the session that client finishes this and flows publisher server, stops to receive packet, and changes S408,, can skip out-of-date packet that is, receives up-to-date live TV stream, if continuous packet loss do not occur, then changes S410 at once.
Fig. 5 is the schematic flow sheet of an embodiment again of the inventive method.
As shown in Figure 5, this embodiment can may further comprise the steps:
S502, the stream publisher server sends the query time request through Network Time Protocol and gives ntp server;
S504, ntp server return query time and respond to the stream publisher server;
S506, the stream publisher server is proofreaied and correct the system time of self according to return information, makes it consistent with the time of ntp server;
S508; Stream receives client 1 and receives client 1 with N(stream and receive the client that on behalf of all, client N receive live TV streams with stream, each client can be understood as that stream receives, decoding and the aggregate play) send the query time request to ntp server by Network Time Protocol;
S510, ntp server return query time and respond to the stream publisher server;
S512, stream reception client 1 is calculated to effluent according to return information with N and is received the time difference θ of client and ntp server 1And θ N,, also be θ so stream receives the time difference of client and stream publisher server because the time of stream publisher server is consistent with the time of ntp server i, that is, and θ iSystem clock-the stream of=stream publisher server receives the system clock of client, and each stream receives the θ of client iValue maybe be different, receive client storage θ separately by each stream iValue is preserved θ so stream receives client 1 1, stream receives client N and preserves θ N
S514; The live TV stream of stream publisher server issue programme content; Make it received client by stream and obtain, the stream publisher server is that each packet of live TV stream is stamped time stamp T imestamp, the time-delay playing duration of on-demand system time+program that Timestamp=stream publisher server is current by the sequencing of output; Wherein, the time-delay playing duration of program is a duration value having considered that factors such as program buffer time, program stream and network delay are calculated; Each program has time-delay playing duration separately, the time-delay playing duration that the stream publisher server is preserved all programs;
The message that S516, stream receive client 1 and N sends the request live TV stream of a certain programme content to the stream publisher server;
S518, stream publisher server receive the identical live TV stream packet of client 1 and N output same program content to stream;
S520, stream receive client 1 and receive live TV stream with N, and check the Timestamp of each packet, if Timestamp>TC i+ θ i, then this packet being saved in buffering area, the packet in the buffering area is pressed the sequencing of Timestamp and is arranged; Wherein, TC iBe meant that stream receives the current on-demand system time of client; Various flows receives the TC of client iValue and θ iValue has difference, and stream receives client 1 and N difference respective value TC 1, θ 1And TC N, θ N
S522 is as the Timestamp≤TC that flows first packet that receives client 1 and N buffering area i+ θ iThe time, then begin to deliver to decoder to the packet of buffering area successively and carry out decodes and plays;
S524, stream receive client 1 and receive live TV stream with N, and check the Timestamp of each packet, if Timestamp≤TC i+ θ i, then abandon this packet.
S526 is lower than program stream if stream receives the packet receiving network speed of client, because of the Timestamp≤TC of packet i+ θ i, abandon continuously and a certain amount of packet occurs;
The client that receives S528, stream finishes this and the session of flowing publisher server, and stops to receive packet;
S530, stream receive client again to stream publisher server request live TV stream;
S532, the up-to-date live TV stream of stream publisher server transmission receives client for stream, processing can be skipped out-of-date packet like this, receives up-to-date live TV stream, avoid constantly repeating receiving the outdated data bag, constantly abandon and cause can't normal play.
Fig. 6 is the structural representation of an embodiment of system of the present invention.
As shown in Figure 6, the system 10 of this embodiment can comprise that stream publisher server 11 receives client with a plurality of streams that link to each other with stream publisher server 12, wherein,
Stream publisher server 11; Be used for stamping time stamp T S and sending each packet for each packet in proper order according to the output of packet; Time stamp T S for the time-delay playing duration of current system time and each program of stream publisher server and; Wherein, the code stream and the network delay of the buffer time of the time-delay playing duration of each program and each program, each program are relevant;
Each stream receives client 12, is used for flowing the current system time TC that receives client according to the time stamp T S of each packet that receives with each iBuffer memory or packet discard, and when the time stamp T S of cached data packet equates with the current system time of stream publisher server are decoded and are play cached data packet, and wherein, i flows numbering of reception client for each.
The stream publisher server of this embodiment is realized simple; For various streaming media server softwares, need not to carry out software alteration or upgrading, only need to increase the time adjustment processing module; This processing can independently be accomplished through time adjustment software or hardware, does not influence the processing procedure of Streaming Media.
In another embodiment of system of the present invention, the stream publisher server also was used for before issue living broadcast of programs stream, according to the current system time of the current system time NC calibration flow publisher server of NTP server; Each stream receives client, also is used for calculating and preserve the current system time TC that each stream receives client respectively before stream publisher server program downloading live TV stream iTime difference θ with the current system time NC of NTP server i, wherein, θ i=NC-TC i
Fig. 7 is the structural representation of the another embodiment of system of the present invention.
As shown in Figure 7, to compare with embodiment among Fig. 6, each stream in the system 20 of this embodiment receives client 21 and can comprise:
Comparison module 211 is used for the time stamp T S of each packet and the current system time TC of each stream reception client iCompare;
Processing module 212 links to each other with comparison module 211, is used for the time stamp T S>TC at packet i+ θ iThe time, data cached bag, otherwise packet discard;
Playing module 213 links to each other with processing module 212, is used for when the time stamp T S of cached data packet equates with the current system time of stream publisher server, and cached data packet is decoded and play.
In an embodiment again of system of the present invention, each stream receives client, also is used for reaching in the quantity of packet discard continuously finishing under the situation of predetermined value and the session of flowing between the publisher server, and asks the program receiving live TV stream again.
Though specific embodiments more of the present invention are specified through example, it should be appreciated by those skilled in the art that above example only is in order to describe, rather than in order to limit scope of the present invention.It should be appreciated by those skilled in the art, can under situation about not departing from the scope of the present invention with spirit, above embodiment be made amendment.Scope of the present invention is limited accompanying claims.

Claims (10)

1. the method that different user is watched network direct broadcasting stream synchronously is characterized in that, comprising:
When issue living broadcast of programs stream; The stream publisher server is stamped time stamp T S and is sent each packet for each packet in proper order according to the output of packet, said time stamp T S be said stream publisher server current system time and each program the time-delay playing duration and;
Each flows reception client and receives said living broadcast of programs stream, according to the time stamp T S of each packet that receives and the current system time TC of said each stream reception client iBuffer memory or packet discard, wherein, i receives the numbering of client for each stream;
When the time stamp T S of cached data packet equates with the current system time of said stream publisher server, said cached data packet is decoded and play.
2. method according to claim 1 is characterized in that, said method also comprises:
Before the said living broadcast of programs stream of issue, said stream publisher server is calibrated the current system time of said stream publisher server according to the current system time NC of NTP server;
Download said living broadcast of programs stream from said stream publisher server before, calculate and preserve the current system time TC that each stream receives client respectively iTime difference θ with the current system time NC of said NTP server i, wherein, θ i=NC-TC i
3. method according to claim 2 is characterized in that, the said current system time TC that receives client according to time stamp T S and said each stream of each packet that receives iThe step of buffer memory or packet discard comprises:
With the time stamp T S of each packet and the current system time TC of said each stream reception client iCompare;
Time stamp T S>TC at packet i+ θ iThe time, the said packet of buffer memory, otherwise abandon said packet.
4. method according to claim 1 is characterized in that, the time-delay playing duration of said each program is relevant with the code stream and the network delay of the buffer time of each program, each program.
5. method according to claim 1 is characterized in that, said method also comprises:
If the quantity of packet discard reaches predetermined value continuously, then finish stream and receive the session between client and the said stream publisher server, and request receives said living broadcast of programs stream again.
6. the system that different user is watched network direct broadcasting stream synchronously is characterized in that, comprises that the stream publisher server receives client with a plurality of streams that link to each other with said stream publisher server, wherein,
Said stream publisher server is used for stamping time stamp T S and sending each packet for each packet in proper order according to the output of packet, said time stamp T S be said stream publisher server current system time and each program the time-delay playing duration with;
Each stream receives client, is used for according to the time stamp T S of each packet that receives and the current system time TC of said each stream reception client iBuffer memory or packet discard, and when the time stamp T S of cached data packet equates with the current system time of said stream publisher server are decoded and are play said cached data packet, and wherein, i is numbering that each stream receives client.
7. system according to claim 6 is characterized in that,
Said stream publisher server also is used for before the said living broadcast of programs stream of issue, calibrating the current system time of said stream publisher server according to the current system time NC of NTP server;
Said each stream receives client, also is used for download said living broadcast of programs stream from said stream publisher server before, calculating and preserve the current system time TC that each stream receives client respectively iTime difference θ with the current system time NC of said NTP server i, wherein, θ i=NC-TC i
8. system according to claim 7 is characterized in that, said each stream receives client and comprises:
Comparison module is used for the time stamp T S of each packet and the current system time TC of said each stream reception client iCompare;
Processing module links to each other with said comparison module, is used for the time stamp T S>TC at packet i+ θ iThe time, the said packet of buffer memory, otherwise abandon said packet;
Playing module links to each other with said processing module, is used for when the time stamp T S of cached data packet equates with the current system time of said stream publisher server, and said cached data packet is decoded and play.
9. system according to claim 6 is characterized in that, the time-delay playing duration of said each program is relevant with the code stream and the network delay of the buffer time of each program, each program.
10. system according to claim 6 is characterized in that,
Said each stream receives client, also be used for the quantity of packet discard continuously reach finish under the situation of predetermined value with said stream publisher server between session, and request receives said living broadcast of programs and flows again.
CN201010577442.4A 2010-12-07 2010-12-07 Method for watching network live stream synchronously with different users and system thereof Active CN102572611B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010577442.4A CN102572611B (en) 2010-12-07 2010-12-07 Method for watching network live stream synchronously with different users and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010577442.4A CN102572611B (en) 2010-12-07 2010-12-07 Method for watching network live stream synchronously with different users and system thereof

Publications (2)

Publication Number Publication Date
CN102572611A true CN102572611A (en) 2012-07-11
CN102572611B CN102572611B (en) 2015-05-13

Family

ID=46416868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010577442.4A Active CN102572611B (en) 2010-12-07 2010-12-07 Method for watching network live stream synchronously with different users and system thereof

Country Status (1)

Country Link
CN (1) CN102572611B (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686409A (en) * 2013-12-06 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for synchronous broadcasting through desktop background and direct-broadcast interface
CN105392040A (en) * 2015-11-05 2016-03-09 广东欧珀移动通信有限公司 Control method and control system of synchronous suspending and playing of multiple devices
CN105933800A (en) * 2016-04-29 2016-09-07 联发科技(新加坡)私人有限公司 Video play method and control terminal
CN106452643A (en) * 2016-10-08 2017-02-22 广东欧珀移动通信有限公司 Playing control method and device, terminal and playing system
CN106454553A (en) * 2016-11-15 2017-02-22 深圳市视维科技有限公司 A precise time delay live video network transmission control method
CN106997620A (en) * 2016-01-26 2017-08-01 滴滴(中国)科技有限公司 Charging method and device based on GPS data point
CN107135400A (en) * 2017-06-12 2017-09-05 上海高顿教育培训有限公司 A kind of method for reducing network direct broadcasting delay
CN107682715A (en) * 2016-08-01 2018-02-09 腾讯科技(深圳)有限公司 Video synchronization method and device
WO2018041092A1 (en) * 2016-08-29 2018-03-08 上海交通大学 Multimedia resource synchronous pushing method based on heterogeneous network
CN107968950A (en) * 2016-10-20 2018-04-27 上海交通大学 A kind of multimedia resource synchronized push method based on heterogeneous network
CN107995503A (en) * 2017-11-07 2018-05-04 西安万像电子科技有限公司 Audio and video playing method and apparatus
CN108259987A (en) * 2017-12-19 2018-07-06 湖北鸿云科技股份有限公司 Mobile terminal low delay DST PLAYER and playback method
CN108712299A (en) * 2018-03-15 2018-10-26 北京百度网讯科技有限公司 A kind of method, apparatus, equipment and the computer storage media of monitoring live streaming delay
CN109660816A (en) * 2018-11-16 2019-04-19 视联动力信息技术股份有限公司 Information processing method and device
CN109756744A (en) * 2017-11-02 2019-05-14 腾讯科技(深圳)有限公司 Data processing method, electronic equipment and computer storage medium
CN111381792A (en) * 2020-03-12 2020-07-07 上海曼恒数字技术股份有限公司 Virtual reality data transmission method and system supporting multi-person cooperation
CN109714634B (en) * 2018-12-29 2021-06-29 海信视像科技股份有限公司 Decoding synchronization method, device and equipment for live data stream
US11265587B2 (en) 2016-08-29 2022-03-01 Shanghai Jiao Tong University Multimedia resource synchronous pushing method based on heterogeneous network
US11449908B2 (en) 2015-07-29 2022-09-20 Beijing Didi Infinity Technology And Development Co., Ltd. Method and system for determining transport service fee

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859373A (en) * 2005-11-02 2006-11-08 华为技术有限公司 Method and device for correting time of customer end through network time protocol
CN101193311A (en) * 2006-12-21 2008-06-04 腾讯科技(深圳)有限公司 Audio and video data synchronization method in P2P system
CN101271720A (en) * 2008-04-22 2008-09-24 中兴通讯股份有限公司 Synchronization process for mobile phone stream media audio and video
CN101640698A (en) * 2009-08-21 2010-02-03 广东威创视讯科技股份有限公司 Distributed image synchronous display method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859373A (en) * 2005-11-02 2006-11-08 华为技术有限公司 Method and device for correting time of customer end through network time protocol
CN101193311A (en) * 2006-12-21 2008-06-04 腾讯科技(深圳)有限公司 Audio and video data synchronization method in P2P system
CN101271720A (en) * 2008-04-22 2008-09-24 中兴通讯股份有限公司 Synchronization process for mobile phone stream media audio and video
CN101640698A (en) * 2009-08-21 2010-02-03 广东威创视讯科技股份有限公司 Distributed image synchronous display method

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686409A (en) * 2013-12-06 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for synchronous broadcasting through desktop background and direct-broadcast interface
US11449908B2 (en) 2015-07-29 2022-09-20 Beijing Didi Infinity Technology And Development Co., Ltd. Method and system for determining transport service fee
CN105392040A (en) * 2015-11-05 2016-03-09 广东欧珀移动通信有限公司 Control method and control system of synchronous suspending and playing of multiple devices
CN105392040B (en) * 2015-11-05 2019-02-19 Oppo广东移动通信有限公司 A kind of control method and control system that more equipment synchronize pause and play
CN106997620A (en) * 2016-01-26 2017-08-01 滴滴(中国)科技有限公司 Charging method and device based on GPS data point
CN105933800A (en) * 2016-04-29 2016-09-07 联发科技(新加坡)私人有限公司 Video play method and control terminal
US10097878B2 (en) 2016-04-29 2018-10-09 Mediatek Singapore Pte. Ltd. Video playback method and control terminal thereof
CN107682715B (en) * 2016-08-01 2019-12-24 腾讯科技(深圳)有限公司 Video synchronization method and device
CN107682715A (en) * 2016-08-01 2018-02-09 腾讯科技(深圳)有限公司 Video synchronization method and device
US11265587B2 (en) 2016-08-29 2022-03-01 Shanghai Jiao Tong University Multimedia resource synchronous pushing method based on heterogeneous network
WO2018041092A1 (en) * 2016-08-29 2018-03-08 上海交通大学 Multimedia resource synchronous pushing method based on heterogeneous network
CN106452643B (en) * 2016-10-08 2018-07-27 广东欧珀移动通信有限公司 Control method for playing back, device, terminal and play system
CN106452643A (en) * 2016-10-08 2017-02-22 广东欧珀移动通信有限公司 Playing control method and device, terminal and playing system
CN107968950A (en) * 2016-10-20 2018-04-27 上海交通大学 A kind of multimedia resource synchronized push method based on heterogeneous network
CN106454553A (en) * 2016-11-15 2017-02-22 深圳市视维科技有限公司 A precise time delay live video network transmission control method
CN107135400A (en) * 2017-06-12 2017-09-05 上海高顿教育培训有限公司 A kind of method for reducing network direct broadcasting delay
CN109756744A (en) * 2017-11-02 2019-05-14 腾讯科技(深圳)有限公司 Data processing method, electronic equipment and computer storage medium
CN109756744B (en) * 2017-11-02 2022-04-12 腾讯科技(深圳)有限公司 Data processing method, electronic device and computer storage medium
CN107995503A (en) * 2017-11-07 2018-05-04 西安万像电子科技有限公司 Audio and video playing method and apparatus
CN108259987A (en) * 2017-12-19 2018-07-06 湖北鸿云科技股份有限公司 Mobile terminal low delay DST PLAYER and playback method
CN108712299A (en) * 2018-03-15 2018-10-26 北京百度网讯科技有限公司 A kind of method, apparatus, equipment and the computer storage media of monitoring live streaming delay
CN109660816A (en) * 2018-11-16 2019-04-19 视联动力信息技术股份有限公司 Information processing method and device
CN109660816B (en) * 2018-11-16 2021-09-28 视联动力信息技术股份有限公司 Information processing method and device
CN109714634B (en) * 2018-12-29 2021-06-29 海信视像科技股份有限公司 Decoding synchronization method, device and equipment for live data stream
CN111381792A (en) * 2020-03-12 2020-07-07 上海曼恒数字技术股份有限公司 Virtual reality data transmission method and system supporting multi-person cooperation
CN111381792B (en) * 2020-03-12 2023-06-02 上海曼恒数字技术股份有限公司 Virtual reality data transmission method and system supporting multi-user cooperation

Also Published As

Publication number Publication date
CN102572611B (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN102572611B (en) Method for watching network live stream synchronously with different users and system thereof
US10820065B2 (en) Service signaling recovery for multimedia content using embedded watermarks
AU2012207719B2 (en) Apparatus and method for configuring a control message in a broadcast system
KR100406122B1 (en) Apparatus and method for injecting synchronized data for digital data broadcasting
KR101887506B1 (en) Apparatus and method for playing broadcast contents in broadcast systems
US8832291B2 (en) Broadcast transport stream distribution system, and broadcast transport stream distribution apparatus, user terminal device and distribution method for use in the system
US20070157283A1 (en) Transport mechanisms for dynamic rich media scenes
KR100842262B1 (en) System and Method for speeding channel change over Internet Protocol Television Service or Digital Broadcasting Environment
US9392327B2 (en) Broadcast/digital network switchover system and method
CN105247437A (en) Synchronizing multiple over the top streaming clients
KR20120083747A (en) Method and apparatus for transmission in integrating system of broadcasting-communication service and multimedia service
CN101179484A (en) Method and system of synchronizing different media stream
CN102752669A (en) Transfer processing method and system for multi-channel real-time streaming media file and receiving device
CN101103566B (en) Method of transmitting mpeg streams over ip and corresponding device, receiving method and receiver
CN101127850B (en) System and method for providing notification message in DVB-H system
EP3772220A1 (en) Methods and systems for low latency streaming
AU2005259240A1 (en) Method for transmitting packets in a transmission system
Concolato et al. Synchronized delivery of multimedia content over uncoordinated broadcast broadband networks
CN101540947A (en) Analog live broadcasting method of mobile streaming media and content switching method thereof
CN100544448C (en) A kind of clock system of mobile multimedia network
CN100592790C (en) Multimedia channel switching
KR100649399B1 (en) Method and system for providing digital broadcasting service over ip
CN101202918B (en) Method of terminal correcting clock
CN102740131A (en) Real-time transport protocol-based network television direct transmission method and system
KR20180058211A (en) Method and apparatus for broadcasting retransmission

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