CN106060680A - Playing progress synchronization method and device - Google Patents
Playing progress synchronization method and device Download PDFInfo
- Publication number
- CN106060680A CN106060680A CN201610511133.4A CN201610511133A CN106060680A CN 106060680 A CN106060680 A CN 106060680A CN 201610511133 A CN201610511133 A CN 201610511133A CN 106060680 A CN106060680 A CN 106060680A
- Authority
- CN
- China
- Prior art keywords
- time
- equipment
- playback equipment
- playing progress
- current time
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8547—Content authoring involving timestamps for synchronizing content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4305—Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/43615—Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
Abstract
The embodiment of the invention discloses a playing progress synchronization method. The playing progress synchronization method is applied to pushing equipment. A timestamp difference value between the pushing equipment and playing equipment is obtained in advance. The method comprises the following steps of: sending a request for synchronizing a playing progress to the playing equipment; receiving response information of the playing equipment for the request, wherein the response information includes a future time value of the playing equipment and a first playing progress corresponding to the future time value; obtaining the current time of the pushing equipment; determining the current time of the playing equipment according to the current time and the timestamp difference value; determining the current playing progress of the playing equipment according to the future time value, the first playing progress and the current time of the playing equipment; and updating the current playing progress of the pushing equipment according to the current playing progress of the playing equipment. By means of the embodiment of the invention, the pushing equipment can accurately update the playing progress.
Description
Technical field
The present invention relates to simultaneous techniques field, particularly to a kind of playing progress rate synchronous method and device.
Background technology
Along with development and the maturation of multi-screen interactive technology, increasing software and hardware equipment starts to support pushing away of video
Send playing function.Such as one application scenarios the most common: user will be just regarding that mobile phone (pushing equipment) is above play
Frequency pushes to be play at intelligent television (playback equipment), and completes to show the interactive operations such as playing progress rate by mobile phone.And equipment room
Playing progress rate to synchronize to be that video throws of screen class application important alternately, it is desirable to pushing equipment can accurately, obtain timely
The playing progress rate of playback equipment.
It is all to use " request/response " pattern (the most common DLNA, Airplay association that existing video throws screen class application
View) complete the task that pushing equipment obtains the playing progress rate of playback equipment.I.e. pushing equipment according to certain interval to broadcasting
Equipment sends request playing progress rate order;Playback equipment after the request receiving pushing equipment, by currently playing for playback equipment enter
Degree is sent to pushing equipment as response;Pushing equipment, after the response receiving playback equipment, enters according to the broadcasting in response
Degree updates the progress bar of pushing equipment;Pushing equipment sends the order of request playing progress rate again to playback equipment.
This " request/response " pattern depends on network and carries out the transmission of order and response, therefore can be by network delay
With the impact of shake, making playback equipment receive, pushing equipment sends that order is not prompt enough and/or pushing equipment receives response not
Enough timely, the accuracy causing pushing equipment renewal playing progress rate is the highest.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of playing progress rate synchronous method and device, to improve pushing equipment more
The accuracy of new playing progress rate.
For reaching above-mentioned purpose, the embodiment of the invention discloses a kind of playing progress rate synchronous method, be applied to pushing equipment,
Time tolerance described pushing equipment and playback equipment between is obtained ahead of time;Including:
The request for synchronizing playing progress rate is sent to described playback equipment;
Receive the described playback equipment response message for described request, wherein, described response message include described in broadcast
Put the future time instance value of equipment and first playing progress rate corresponding with described future time instance value;
Obtain the current time of described pushing equipment;
According to described current time and described time tolerance, determine the current time of described playback equipment;
According to described future time instance value, described first playing progress rate and the current time of described playback equipment, determine institute
State the currently playing progress of playback equipment;
Currently playing progress with described playback equipment updates the currently playing progress of described pushing equipment.
It is also preferred that the left the time tolerance being obtained ahead of time between described pushing equipment and playback equipment, including:
Time synchronized is carried out with Network Time Protocol server;
Receive carry out that the described playback equipment after time synchronized sends with described Network Time Protocol server current time
Between;
Current time according to described pushing equipment and the current time of received described playback equipment, determine described
Time tolerance between pushing equipment and playback equipment.
It is also preferred that the left described according to described current time and described time tolerance, when determining described playback equipment current
Between, including:
According to described current time and described time tolerance, utilize formula T1=T2+D, determine described playback equipment
Current time, wherein, T1 is the current time of described playback equipment;T2 is the current time of described pushing equipment;D pushes away described in being
Send the time tolerance between equipment and playback equipment.
It is also preferred that the left according to described future time instance value, described first playing progress rate and the current time of described playback equipment,
Determine the currently playing progress of described playback equipment, including:
According to described future time instance value, described first playing progress rate and the current time of described playback equipment, utilize public affairs
Formula P1=P0-(T0-T1), determines the currently playing progress of described playback equipment, wherein, P1 be described playback equipment currently playing enter
Degree;P0 is described first playing progress rate;T0 is described future time instance value.
It is also preferred that the left described method also includes: update described pushing equipment in the currently playing progress with described playback equipment
Currently playing progress after, according to the current time of described future time instance value Yu described playback equipment, determine described play into
Effective duration that degree updates;
Current time according to described pushing equipment and described effective duration, determine the termination time point of effectively renewal;
Any instant in the current time extremely described termination time point of described pushing equipment, sets to described broadcasting again
Preparation send the request for synchronizing playing progress rate.
For achieving the above object, the embodiment of the present invention additionally provides a kind of playing progress rate synchronizer, is applied to propelling movement and sets
Standby, including: first obtain module, sending module, receiver module, second obtain module, first determine module, second determine module
More new module, wherein,
Described first obtains module, for time tolerance described pushing equipment and playback equipment between is obtained ahead of time;
Described sending module, for sending the request for synchronizing playing progress rate to described playback equipment;
Described receiver module, for receiving the described playback equipment response message for described request, wherein, described response
Information includes the future time instance value of described playback equipment and first playing progress rate corresponding with described future time instance value;
Described second obtains module, for obtaining the current time of described pushing equipment;
Described first determines module, for according to described current time and described time tolerance, determining that described broadcasting sets
Standby current time;
Described second determines module, for according to described future time instance value, described first playing progress rate and described broadcasting
The current time of equipment, determines the currently playing progress of described playback equipment;
Described more new module, for updating currently broadcasting of described pushing equipment with the currently playing progress of described playback equipment
Degree of putting into.
It is also preferred that the left described first obtains module, specifically for:
Time synchronized is carried out with Network Time Protocol server;
Receive carry out that the described playback equipment after time synchronized sends with described Network Time Protocol server current time
Between;
Current time according to described pushing equipment and the current time of received described playback equipment, determine described
Time tolerance between pushing equipment and playback equipment.
It is also preferred that the left described first determines module, specifically for:
According to described current time and described time tolerance, utilize formula T1=T2+D, determine described playback equipment
Current time, wherein, T1 is the current time of described playback equipment;T2 is the current time of described pushing equipment;D pushes away described in being
Send the time tolerance between equipment and playback equipment.
It is also preferred that the left described second determines module, specifically for:
According to described future time instance value, described first playing progress rate and the current time of described playback equipment, utilize public affairs
Formula P1=P0-(T0-T1), determines the currently playing progress of described playback equipment, wherein, P1 be described playback equipment currently playing enter
Degree;P0 is described first playing progress rate;T0 is described future time instance value.
It is also preferred that the left described device also includes that the 3rd determines module, specifically for:
According to the current time of described future time instance value Yu described playback equipment, determine that described playing progress rate updates effective
Duration;
Current time according to described pushing equipment and described effective duration, determine the termination time point of effectively renewal.
As seen from the above technical solution, disclosed in the embodiment of the present invention, a kind of playing progress rate synchronous method and device, be used for
Pushing equipment, is obtained ahead of time the time tolerance between described pushing equipment and playback equipment;Described method includes: broadcast to described
Equipment of putting sends for the request synchronizing playing progress rate;Receive the described playback equipment response message for described request, wherein,
Described response message includes that the future time instance value and corresponding with described future time instance value first of described playback equipment is play
Progress;Obtain the current time of described pushing equipment;According to described current time and described time tolerance, determine described broadcasting
The current time of equipment;According to described future time instance value, described first playing progress rate and the current time of described playback equipment,
Determine the currently playing progress of described playback equipment;Working as of described pushing equipment is updated with the currently playing progress of described playback equipment
Front playing progress rate.
The technical scheme that the application embodiment of the present invention is provided, described pushing equipment can make propelling movement according to time tolerance
The renewal of the playing progress rate of equipment is unrelated with network delay or network jitter, enable pushing equipment update accurately play into
Degree.
Certainly, arbitrary product or the method for implementing the present invention must be not necessarily required to reach all the above excellent simultaneously
Point.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.
The schematic flow sheet of a kind of playing progress rate synchronous method that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of playing progress rate synchronous method that Fig. 2 provides for the embodiment of the present invention;
The structural representation of a kind of playing progress rate synchronizer that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the another kind of playing progress rate synchronizer that Fig. 4 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
For solving prior art problem, embodiments provide a kind of playing progress rate synchronous method and device.Below
First a kind of playing progress rate synchronous method provided the embodiment of the present invention is introduced.
It should be noted that the embodiment of the present invention is preferably applied to pushing equipment, pushing equipment is obtained ahead of time described propelling movement
Time tolerance between equipment and playback equipment.Concrete, be obtained ahead of time between described pushing equipment and playback equipment time
Between stab difference, time synchronized can be carried out with Network Time Protocol server;Receive to enter with described Network Time Protocol server
The current time that described playback equipment after row time synchronized sends;Current time according to described pushing equipment is with received
The current time of described playback equipment, determine the time tolerance between described pushing equipment and playback equipment.
Exemplary, with pushing equipment as mobile phone, playback equipment is to illustrate as a example by television set.
First, television set and Network Time Protocol server carry out time synchronized, it is assumed that the time after synchronization is 1:11:
03.The network address of the Network Time Protocol server that mobile phone is synchronized to television set request television set.Television set receives mobile phone
After the request sent, return to the network address of Network Time Protocol server to mobile phone.Mobile phone is to Network Time Protocol server
Ask lock in time.Request lock in time of Network Time Protocol server response mobile phone, it is assumed that the time after synchronization is 1:11:
00.Mobile phone, further according to current time and the received television set current time of mobile phone, determines between mobile phone and television set
Time tolerance, according to current time 1:11:00 and current time 1:11:03 of television set of mobile phone, determines mobile phone and TV
The time tolerance of machine is 3 seconds.
The schematic flow sheet of a kind of playing progress rate synchronous method that Fig. 1 provides for the embodiment of the present invention, may include that
S101: send the request for synchronizing playing progress rate to described playback equipment.
Concrete, it is pushed to as a example by television set be described in detail by mobile phone below.
Mobile phone sends the request synchronizing X video playing progress rate to television set.
S102: receiving the described playback equipment response message for described request, wherein, described response message includes institute
State the future time instance value of playback equipment and first playing progress rate corresponding with described future time instance value.
Concrete, mobile phone receives the response message of the playing progress rate for video X of television set, and response message is video X
Playing progress rate when future time instance 1:12:30 is 00:30:37, and i.e. when future time instance 1 when 12 points and 30 seconds, video X is played to
30 points at 37 seconds.
S103: obtain the current time of described pushing equipment.
Concrete, in actual applications, the current time of described pushing equipment is, described pushing equipment receive described in broadcast
Equipment of putting is for the time corresponding during the response message of described request.
In actual applications, it is assumed that it is 1:12:10 that mobile phone receives the current time of the response message of television set.
S104: according to described current time and described time tolerance, determine the current time of described playback equipment.
Assuming in normal operating conditions, the delay between mobile phone and television set is A, mobile phone timestamp be the Ta moment to
Television set sends the request for synchronizing playing progress rate.
Then, television set receives the timestamp of the corresponding mobile phone of request that mobile phone sends is Tb=Ta+A;
When mobile phone receives the response of television set, the current time of mobile phone is T2=Ta+A+A, now the current time of television set
For T1=Ta+A+A+D=T2+D, wherein D is the time tolerance of mobile phone and TV.
Concrete, in actual applications, according to described current time and described time tolerance, utilize formula T1=T2+
D, determines the current time of described playback equipment, and wherein, T1 is the current time of described playback equipment;T2 is described pushing equipment
Current time;D is the time tolerance between described pushing equipment and playback equipment;
According to the result in S103 step, current time T2 of mobile phone is 1:12:10, and mobile phone and the time of television set
Stamp difference is 3 seconds, then current time T1 of television set is 1:12:13.
S105: according to described future time instance value, described first playing progress rate and the current time of described playback equipment, really
The fixed currently playing progress of described playback equipment.
Because pushing equipment is D with the time tolerance of playback equipment, therefore pushing equipment receives the response of playback equipment
Time, the future time of the pushing equipment that future time instance value is corresponding is T0-D, therefore:
Currently playing progress P1=P0-of playback equipment (T0-T1).
Concrete, according to described future time instance value, described first playing progress rate and the current time of described playback equipment,
Utilizing formula P1=P0-(T0-T1), determine the currently playing progress of described playback equipment, wherein, P1 is that described playback equipment is current
Playing progress rate;P0 is described first playing progress rate;T0 is described future time instance value.
In actual applications, the video X comprised according to the response message in the S102 step broadcasting in the 1:12:30 moment is entered
Degree is 00:30:37, then:
According to the current time of the television set in S104 step, calculate the currently playing progress P1=P0-(T0-of television set
T1)=00:30:37-(1:12:30-1:12:13)=00:30:20.
S106: update the currently playing progress of described pushing equipment with the currently playing progress of described playback equipment.
Playing progress rate current for pushing equipment is updated to P1.
Concrete, according to currently playing progress 00:30:20 of the television set that S105 step draws, currently broadcasting mobile phone
Degree of putting into is updated to 00:30:20.
The technical scheme that the application embodiment of the present invention is provided, the future time instance of playback equipment and the difference pair of current time
Should be to time on pushing equipment, the size of this difference will not change, therefore according to playing progress rate and this time difference of future time instance
The currently playing progress of the playback equipment determined is equal with the playing progress rate that pushing equipment should update.Therefore, push away described in
Send equipment the renewal of playing progress rate of pushing equipment can be made unrelated with network delay or network jitter according to timestamp, make to push away
Send equipment can update playing progress rate accurately.
The schematic flow sheet of the another kind of playing progress rate synchronous method that Fig. 2 provides for the embodiment of the present invention, at Fig. 1 of the present invention
On the basis of illustrated embodiment, increase S107: according to the current time of described future time instance value Yu described playback equipment, determine institute
State effective duration that playing progress rate updates;Current time according to described pushing equipment and described effective duration, determine effectively
The termination time point updated.
Illustrate as a example by the result of S106 step below.
Concrete, in actual applications: described future time instance value is 1:12:30, the current time of television set is 1:12:
13。
Then have, playing progress rate update effective time a length of 30-13=17 second.
Current time 1:12:10 according to mobile phone and effective duration 17 seconds, determine that the termination time point of effectively renewal is 1:
12:27。
Mobile phone is the playing progress rate of the most more new video X in effective duration 17 seconds, decrease mobile phone to television set send into
The number of times of degree synchronization request, reduces the occupancy of wireless signal-path band width.
In order to ensure the accuracy that playing progress rate updates, can be when the current time of described pushing equipment to described termination
Between any instant in point, again send for synchronizing the request of playing progress rate to described playback equipment.
Exemplary, any instant can be selected between 1:12:10 to 1:12:27, when mobile phone time arrives selection
During the moment, again send the request synchronizing X video playing progress rate to television set, play out the renewal of progress.
Applying embodiment illustrated in fig. 2 of the present invention, pushing equipment automatically updates playing progress rate in effective duration, decreases and push away
Send the data exchange times between equipment and playback equipment, reduce the occupancy of wireless signal-path band width.
Corresponding with said method embodiment, the embodiment of the present invention additionally provides a kind of playing progress rate synchronizer.
The structural representation of a kind of playing progress rate synchronizer that Fig. 3 provides for the embodiment of the present invention, is applied to propelling movement and sets
Standby, can include, first obtain module 301, sending module 302, receiver module 303, second obtain module 304, first determine
Module 305, second determine module 306 and more new module 307, wherein,
Described first obtains module 301, poor for the timestamp being obtained ahead of time between described pushing equipment and playback equipment
Value.
Concrete, in actual applications, described first obtains module 301, specifically for:
Time synchronized is carried out with Network Time Protocol server;
Receive carry out that the described playback equipment after time synchronized sends with described Network Time Protocol server current time
Between;
Current time according to described pushing equipment and the current time of received described playback equipment, determine described
Time tolerance between pushing equipment and playback equipment.
Described sending module 302, for sending the request for synchronizing playing progress rate to described playback equipment.
Described receiver module 303, for receiving the described playback equipment response message for described request, wherein, described
Response message includes the future time instance value of described playback equipment and first playing progress rate corresponding with described future time instance value.
Described second obtains module 304, for obtaining the current time of described pushing equipment.
Described first determines module 305, for according to described current time and described time tolerance, determining described broadcasting
The current time of equipment.
Concrete, in actual applications, described first determines module 305, specifically for:
According to described current time and described time tolerance, utilize formula T1=T2+D, determine described playback equipment
Current time, wherein, T1 is the current time of described playback equipment;T2 is the current time of described pushing equipment;D pushes away described in being
Send the time tolerance between equipment and playback equipment.
Described second determines module 306, for according to described future time instance value, described first playing progress rate and described in broadcast
Put the current time of equipment, determine the currently playing progress of described playback equipment.
Concrete, in actual applications, described second determines module 306, specifically for:
According to described future time instance value, described first playing progress rate and the current time of described playback equipment, utilize public affairs
Formula P1=P0-(T0-T1), determines the currently playing progress of described playback equipment, wherein, P1 be described playback equipment currently playing enter
Degree;P0 is described first playing progress rate;T0 is described future time instance value.
Described more new module 307, for updating working as of described pushing equipment with the currently playing progress of described playback equipment
Front playing progress rate.
The device that the application embodiment of the present invention is provided, the future time instance of playback equipment corresponds to the difference of current time
Time on pushing equipment, the size of this difference will not change, and therefore playing progress rate and this event difference according to future time instance determine
The currently playing progress of playback equipment be equal with the playing progress rate that pushing equipment should update.Therefore, pushing equipment
The renewal of playing progress rate is unrelated with network delay or network jitter, enables pushing equipment to update playing progress rate accurately.
The structural representation of the another kind of playing progress rate synchronizer that Fig. 4 provides for the embodiment of the present invention, at Fig. 3 of the present invention
On the basis of illustrated embodiment, increase the 3rd and determine module 308.
3rd determines module 308, for the current time according to described future time instance value Yu described playback equipment, determines institute
State effective duration that playing progress rate updates;Current time according to described pushing equipment and described effective duration, determine effectively
The termination time point updated.
Sending module 302 described in the embodiment of the present invention, is additionally operable to the current time extremely described end at described pushing equipment
The only any instant in time point, sends the request for synchronizing playing progress rate to playback equipment.
Applying Fig. 4 shown device of the present invention, pushing equipment automatically updates playing progress rate in effective duration, decreases propelling movement
Data exchange times between equipment and playback equipment, reduces the occupancy of wireless signal-path band width.
It should be noted that in this article, the relational terms of such as first and second or the like is used merely to a reality
Body or operation separate with another entity or operating space, and deposit between not necessarily requiring or imply these entities or operating
Relation or order in any this reality.And, term " includes ", " comprising " or its any other variant are intended to
Comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include that those are wanted
Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that
Including process, method, article or the equipment of described key element there is also other identical element.
Each embodiment in this specification all uses relevant mode to describe, identical similar portion between each embodiment
Dividing and see mutually, what each embodiment stressed is the difference with other embodiments.Real especially for device
For executing example, owing to it is substantially similar to embodiment of the method, so describe is fairly simple, relevant part sees embodiment of the method
Part illustrate.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method embodiment is can
Completing instructing relevant hardware by program, described program can be stored in computer read/write memory medium,
The storage medium obtained designated herein, such as: ROM/RAM, magnetic disc, CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.All
Any modification, equivalent substitution and improvement etc. made within the spirit and principles in the present invention, are all contained in protection scope of the present invention
In.
Claims (10)
1. a playing progress rate synchronous method, it is characterised in that be applied to pushing equipment, is obtained ahead of time described pushing equipment and broadcasts
Put the time tolerance between equipment;Described method includes:
The request for synchronizing playing progress rate is sent to described playback equipment;
Receiving the described playback equipment response message for described request, wherein, described response message includes that described broadcasting sets
Standby future time instance value and first playing progress rate corresponding with described future time instance value;
Obtain the current time of described pushing equipment;
According to described current time and described time tolerance, determine the current time of described playback equipment;
According to described future time instance value, described first playing progress rate and the current time of described playback equipment, determine described in broadcast
The currently playing progress of equipment of putting;
Currently playing progress with described playback equipment updates the currently playing progress of described pushing equipment.
Method the most according to claim 1, it is characterised in that be obtained ahead of time between described pushing equipment and playback equipment
Time tolerance, including:
Time synchronized is carried out with Network Time Protocol server;
Receive and carry out, with described Network Time Protocol server, the current time that the described playback equipment after time synchronized sends;
Current time according to described pushing equipment and the current time of received described playback equipment, determine described propelling movement
Time tolerance between equipment and playback equipment.
Method the most according to claim 1, it is characterised in that described poor according to described current time and described timestamp
Value, determines the current time of described playback equipment, including:
According to described current time and described time tolerance, utilize formula T1=T2+D, determine the current of described playback equipment
Time, wherein, T1 is the current time of described playback equipment;T2 is the current time of described pushing equipment;D is that described propelling movement sets
Time tolerance between standby and playback equipment.
Method the most according to claim 3, it is characterised in that described according to described future time instance value, described first play
Progress and the current time of described playback equipment, determine the currently playing progress of described playback equipment, including:
According to described future time instance value, described first playing progress rate and the current time of described playback equipment,
Utilizing formula P1=P0-(T0-T1), determine the currently playing progress of described playback equipment, wherein, P1 is described playback equipment
Currently playing progress;P0 is described first playing progress rate;T0 is described future time instance value.
Method the most according to claim 1, it is characterised in that described method also includes:
After update the currently playing progress of described pushing equipment with the currently playing progress of described playback equipment, according to described
Future time instance value and the current time of described playback equipment, determine effective duration that described playing progress rate updates;
Current time according to described pushing equipment and described effective duration, determine the termination time point of effectively renewal;
Any instant in the current time extremely described termination time point of described pushing equipment, sends out to described playback equipment again
Send the request for synchronizing playing progress rate.
6. a playing progress rate synchronizer, it is characterised in that be applied to pushing equipment, described device includes: first obtains mould
Block, sending module, receiver module, second obtain module, first determine module, second determine module and more new module, wherein,
Described first obtains module, for time tolerance described pushing equipment and playback equipment between is obtained ahead of time;
Described sending module, for sending the request for synchronizing playing progress rate to described playback equipment;
Described receiver module, for receiving the described playback equipment response message for described request, wherein, described response message
Include the future time instance value of described playback equipment and first playing progress rate corresponding with described future time instance value;
Described second obtains module, for obtaining the current time of described pushing equipment;
Described first determines module, for according to described current time and described time tolerance, determining described playback equipment
Current time;
Described second determines module, for according to described future time instance value, described first playing progress rate and described playback equipment
Current time, determine the currently playing progress of described playback equipment;
Described more new module, for the currently playing progress of described playback equipment update described pushing equipment currently playing enter
Degree.
Device the most according to claim 6, it is characterised in that described first obtains module, specifically for:
Time synchronized is carried out with Network Time Protocol server;
Receive and carry out, with described Network Time Protocol server, the current time that the described playback equipment after time synchronized sends;
Current time according to described pushing equipment and the current time of received described playback equipment, determine described propelling movement
Time tolerance between equipment and playback equipment.
Device the most according to claim 6, it is characterised in that described first determines module, specifically for:
According to described current time and described time tolerance, utilize formula T1=T2+D, determine the current of described playback equipment
Time, wherein, T1 is the current time of described playback equipment;T2 is the current time of described pushing equipment;D is that described propelling movement sets
Time tolerance between standby and playback equipment.
Device the most according to claim 8, it is characterised in that described second determines module, specifically for:
According to described future time instance value, described first playing progress rate and the current time of described playback equipment, utilize formula P1
=P0-(T0-T1), determines the currently playing progress of described playback equipment, wherein,
P1 is the currently playing progress of described playback equipment;P0 is described first playing progress rate;T0 is described future time instance value.
Device the most according to claim 6, it is characterised in that described device also includes: the 3rd determines module, specifically uses
In:
According to the current time of described future time instance value Yu described playback equipment, determine that described playing progress rate updates effective time
Long;
Current time according to described pushing equipment and described effective duration, determine the termination time point of effectively renewal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610511133.4A CN106060680B (en) | 2016-06-30 | 2016-06-30 | A kind of playback progress synchronous method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610511133.4A CN106060680B (en) | 2016-06-30 | 2016-06-30 | A kind of playback progress synchronous method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106060680A true CN106060680A (en) | 2016-10-26 |
CN106060680B CN106060680B (en) | 2019-06-14 |
Family
ID=57201540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610511133.4A Active CN106060680B (en) | 2016-06-30 | 2016-06-30 | A kind of playback progress synchronous method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106060680B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108200457A (en) * | 2018-01-19 | 2018-06-22 | 深圳市沃特沃德股份有限公司 | The method and playback equipment that multiple playback equipments are played simultaneously |
CN112073791A (en) * | 2020-08-03 | 2020-12-11 | 上海商泰汽车信息系统有限公司 | Playing synchronization method and device, storage medium and user side |
CN115022694A (en) * | 2022-06-27 | 2022-09-06 | 北京奇艺世纪科技有限公司 | Screen-casting time statistical method, device and system, background server and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110044601A1 (en) * | 2009-08-24 | 2011-02-24 | Samsung Electronics Co., Ltd. | Method for play synchronization and device using the same |
CN102170584A (en) * | 2011-03-14 | 2011-08-31 | 华为技术有限公司 | Method, device and system for playing media between synchronic HS (HTTP (HyperText Transfer Protocol) Streaming) terminal equipment |
CN103198848A (en) * | 2013-01-31 | 2013-07-10 | 广东欧珀移动通信有限公司 | Method and system for synchronized broadcast |
CN103209360A (en) * | 2013-03-04 | 2013-07-17 | 北京小米科技有限责任公司 | Multi-party video sharing method and device |
CN103220301A (en) * | 2013-04-28 | 2013-07-24 | 青岛海信移动通信技术股份有限公司 | Media play controlling method and device |
WO2014094573A1 (en) * | 2012-12-18 | 2014-06-26 | 华为技术有限公司 | Method and apparatus for controlling multiple terminals in synchronous playback |
-
2016
- 2016-06-30 CN CN201610511133.4A patent/CN106060680B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110044601A1 (en) * | 2009-08-24 | 2011-02-24 | Samsung Electronics Co., Ltd. | Method for play synchronization and device using the same |
CN102170584A (en) * | 2011-03-14 | 2011-08-31 | 华为技术有限公司 | Method, device and system for playing media between synchronic HS (HTTP (HyperText Transfer Protocol) Streaming) terminal equipment |
WO2014094573A1 (en) * | 2012-12-18 | 2014-06-26 | 华为技术有限公司 | Method and apparatus for controlling multiple terminals in synchronous playback |
CN103198848A (en) * | 2013-01-31 | 2013-07-10 | 广东欧珀移动通信有限公司 | Method and system for synchronized broadcast |
CN103209360A (en) * | 2013-03-04 | 2013-07-17 | 北京小米科技有限责任公司 | Multi-party video sharing method and device |
CN103220301A (en) * | 2013-04-28 | 2013-07-24 | 青岛海信移动通信技术股份有限公司 | Media play controlling method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108200457A (en) * | 2018-01-19 | 2018-06-22 | 深圳市沃特沃德股份有限公司 | The method and playback equipment that multiple playback equipments are played simultaneously |
WO2019140747A1 (en) * | 2018-01-19 | 2019-07-25 | 深圳市沃特沃德股份有限公司 | Method for synchronous playing of multiple playing devices, and playing device |
CN112073791A (en) * | 2020-08-03 | 2020-12-11 | 上海商泰汽车信息系统有限公司 | Playing synchronization method and device, storage medium and user side |
CN115022694A (en) * | 2022-06-27 | 2022-09-06 | 北京奇艺世纪科技有限公司 | Screen-casting time statistical method, device and system, background server and medium |
CN115022694B (en) * | 2022-06-27 | 2023-10-27 | 北京奇艺世纪科技有限公司 | Screen time statistics method, device, system, background server and medium |
Also Published As
Publication number | Publication date |
---|---|
CN106060680B (en) | 2019-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101809906B (en) | Synchronizing related data streams in interconnection networks | |
CN103220301B (en) | A kind of media play controlling method and device thereof | |
CN104160708B (en) | The distributed AC servo system of synchronizing content | |
CN101969460B (en) | Multi-screen synchronized video playing method and system | |
CN103856607B (en) | Video on mobile phone terminal is rendered to the method and system that video playback apparatus is play | |
CN103533388A (en) | Method and system for synchronously playing multimedia files | |
US10203924B2 (en) | Display apparatus, controlling method thereof and controlling method of display system | |
CN109218795A (en) | A kind of more device plays progress synchronous method, device and terminal device | |
CN110166788B (en) | Information synchronous playing method, device and storage medium | |
KR101243390B1 (en) | Apparatus, systems and methods to synchronize communication of content to a presentation device and a mobile device | |
CN106060680A (en) | Playing progress synchronization method and device | |
CN108366283B (en) | Media synchronous playing method among multiple devices | |
CN101446972B (en) | Method and system for dynamic data synchronization | |
US11722976B2 (en) | Time code synchronization method | |
CN103839558A (en) | Method and server for synchronous playing and player | |
CN110784747A (en) | Synchronous playing method of advertisement player | |
CN111954050B (en) | Method and system for synchronizing videos among multiple devices | |
CN106231372A (en) | The synchronous broadcast method of a kind of Online Video and device | |
CN107770569A (en) | Multimedia synchronous broadcast method, apparatus and system | |
CN103198851A (en) | Multi-terminal synchronous broadcast method based on timestamp messages | |
CN104467928A (en) | Method and equipment for cooperation between terminal equipment | |
CN104811582A (en) | A method and device for playing multiple intelligent devices synchronously | |
CN104506957A (en) | Method and device for displaying subtitles | |
CN112684992A (en) | Method and device for realizing screen-casting playing synchronization and computer main equipment | |
CN109040819A (en) | Playback progress synchronous method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |