CN105516777A - Synchronizing method and device between media streams - Google Patents

Synchronizing method and device between media streams Download PDF

Info

Publication number
CN105516777A
CN105516777A CN201510932581.7A CN201510932581A CN105516777A CN 105516777 A CN105516777 A CN 105516777A CN 201510932581 A CN201510932581 A CN 201510932581A CN 105516777 A CN105516777 A CN 105516777A
Authority
CN
China
Prior art keywords
clock
time
equipment
system clock
value
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
CN201510932581.7A
Other languages
Chinese (zh)
Other versions
CN105516777B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510932581.7A priority Critical patent/CN105516777B/en
Publication of CN105516777A publication Critical patent/CN105516777A/en
Application granted granted Critical
Publication of CN105516777B publication Critical patent/CN105516777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4305Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a synchronizing method and device between media streams. The method comprises the following steps: a plurality of multimedia devices synchronously starting respective own clock according to a synchronized system clock after synchronizing the system clocks; the plurality of multimedia devices performing the synchronization between the media streams according to the own clock. Through the adoption of the technical scheme disclosed by the invention, the synchronization reliability between the media streams is improved, and the user experience of an intelligent multimedia system is promoted.

Description

Method and apparatus synchronous between a kind of Media Stream
Technical field
The present invention relates to multimedia technology field, be specifically related to method and apparatus synchronous between a kind of Media Stream.
Background technology
Intelligent multimedia system is as the one of Smart Home, often be made up of multiple stage intelligent multimedia equipment, these intelligent multimedia equipment can be controlled to perform a certain operation by Network Synchronization, the such as a certain song of synchronous broadcasting, the media data transmission of each equipment is regarded as a Media Stream, the synchronous broadcasting between so multiple equipment just can be understood as between stream synchronous.
Prior art all uses system clock as basis synchronous between stream, by carrying out system clock synchronization to all devices in intelligent multimedia system, then obtain based on system clock the transmitting time that transmitting terminal sends media data, estimate according to network delay the reference reproduction time that receiving terminal plays this media data, receiving terminal by comparison play reference time and the time of local system clock realize flowing between synchronous broadcasting.
But, often system clock has more than for being play, the functions such as such as alarm clock just need to use system clock, this just needs the equipment in multimedia system in some cases to carry out clock synchronous to local area network (LAN) outside, and synchronization scenario does not allow the change of clock between the existing stream based on system clock, because the change of clock can have influence on the use of reference reproduction time at receiving terminal of transmitting terminal estimation, can cause cannot be synchronous between multimedia equipment.
Summary of the invention
The embodiment of the present invention provides method and apparatus synchronous between a kind of Media Stream, to improve reliability synchronous between Media Stream.
For solving the problems of the technologies described above and reaching above-mentioned beneficial effect, the invention provides a kind of method synchronous between Media Stream, for comprising the multimedia system of multiple stage multimedia equipment, described method comprises: after described multiple stage multimedia equipment carries out system clock synchronization, and described multiple stage multimedia equipment starts respective own clock according to the system clock synchronization after synchronous; It is synchronous that described multiple stage multimedia equipment carries out between Media Stream according to described own clock.
The present invention also provides device synchronous between a kind of Media Stream, for comprising the multimedia system of multiple stage multimedia equipment, described device comprises: start module, for after described multiple stage multimedia equipment carries out system clock synchronization, being described multiple stage multimedia equipment starts respective own clock according to the system clock synchronization after synchronous; Synchronization module, synchronous for making described multiple stage multimedia equipment carry out between Media Stream according to described own clock.
Hinge structure, the present invention adopts the multiple stage multimedia of multimedia system to establish according to synchronous system clock, synchronous averaging own clock separately, the synchronous technical scheme between Media Stream is carried out according to described own clock, change strong correlation that is synchronous between Media Stream and system clock, avoid the function synchronously being needed to be adjusted to system clock between stream by other affect, even if there is the system clock of equipment component to be changed, what be also not easy to have influence between Media Stream is synchronous, thus improve reliability synchronous between Media Stream, improve the Consumer's Experience of intelligent multimedia system.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present invention technical scheme, be briefly described to the accompanying drawing used required in embodiment and description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of method synchronous between the Media Stream that provides of the embodiment of the present invention;
Fig. 2 is the structural representation of device synchronous between the Media Stream that provides of the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of method synchronous between Media Stream, to solve the problem improving reliability synchronous between Media Stream.The embodiment of the present invention also provides corresponding device.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
Below by specific embodiment, be described in detail respectively.
Embodiment one,
Please refer to Fig. 1, the embodiment of the present invention provides a kind of method synchronous between Media Stream, for comprising the multimedia system of multiple stage multimedia equipment, the intelligent multimedia equipment that described multimedia equipment can be usually said, this multimedia system also can be called intelligent multimedia system.Described method can comprise:
110, after described multiple stage multimedia equipment carries out system clock synchronization, described multiple stage multimedia equipment starts respective own clock according to the system clock synchronization after synchronous.
In order to avoid the unreliable problem that strong correlation that is synchronous between Media Stream and system clock causes, in the embodiment of the present invention, first system clock synchronization is carried out between multiple stage multimedia equipment, then, based on synchronous system clock, each multimedia equipment synchronous averaging own clock separately, so as follow-up follow-up have that clock carries out between Media Stream by oneself synchronous.Time value after said own Clock enable increase not with described system clock for reference, such as, own clock can be associated with counter, that is, use the counting of counter to realize own clock average rate in time and increase.Here counter can be software counter, also can be the counting that the crystal oscillator of hardware produces.Be appreciated that the own clock in the embodiment of the present invention can be realized by software, also can be realized by hardware.
120, to carry out between Media Stream according to described own clock synchronous for described multiple stage multimedia equipment.
With in prior art according to system clock carry out between Media Stream synchronous unlike, in the embodiment of the present invention, it is synchronous that multiple stage multimedia equipment carries out between Media Stream according to own clock.Because the time growth of own clock does not rely on system clock, but increase according to the counter of association, therefore, even if a certain or a few equipment carry out synchronous with some equipment of its exterior and change system clock, what also can not affect between multimedia system inner multimedia stream is synchronous.
Comprise a multimedia equipment as leading equipment in usual multimedia system, and multiple stage is as the multimedia equipment of non-dominant equipment.In some embodiments, above-mentioned steps 120 specifically can comprise:
1201, described leading equipment obtains the transmitting time of system time as message of current system time clock;
1202, described leading equipment sends instruction message respectively to other multimedia equipment in described multimedia system, described instruction message comprises described transmitting time and length of delay, and described length of delay represents the time delay between multimedia equipment and described leading equipment receiving described instruction message;
1203, the multimedia equipment receiving described instruction message determines the start-up time of own clock according to the transmitting time in described instruction message and length of delay, start own clock in described start-up time according to the initial value preset.
Visible, can be initiated the start-up operation of own clock by leading equipment, each multimedia equipment determines according to internetwork length of delay the start-up time initiating self own clock, ensures that each multimedia equipment starts own clock simultaneously.Usually, give an initial value, such as 0 can to the own clock started.
1204, each self-starting of described multiple stage multimedia equipment record is had the start-up time of clock by oneself and is started the initial value of own clock.
Optionally, the original records of start-up time and the own clock of startup that each self-starting can be had by oneself clock by described multiple stage multimedia equipment is got off, so that as the follow-up foundation of carrying out clock correction etc. and operating.
Visible, carry out between Media Stream according to own clock synchronous, just can change strong correlation that is synchronous between Media Stream and system clock, avoid stream between synchronously needed to be adjusted to by other function of system clock affect, even if there is the system clock of equipment component to be changed, what be also not easy to have influence between Media Stream is synchronous, thus improves reliability synchronous between Media Stream, promotes the Consumer's Experience of intelligent multimedia system.
Optionally, in some embodiments of the invention, in order to reduce clock jitter, improve reliability synchronous between Media Stream further, embodiment of the present invention method can also comprise the aligning step of following own clock:
The deviation that described multiple stage multimedia equipment produces in running according to described system clock correction own clock separately.
Suppose that described first equipment is arbitrary in described multiple stage multimedia equipment, this step is equivalent to: the first equipment deviation that own clock produces in running according to described system clock correction.
What only need interval corrects by system clock the deviation that own clock produces in running, just can further improve reliability synchronous between Media Stream.
Visible, what only need interval corrects by system clock the deviation that own clock produces in running, just can improve reliability further.
For ease of better understanding the technical scheme that the embodiment of the present invention provides, be that example is introduced below by the execution mode under a concrete scene.
The startup of scene example one, own clock.
Steps A: the equipment room in intelligent multimedia system carries out system clock synchronization.
Step B: be associated with the counter in system by own clock, that is: use the counting of counter to realize own clock average rate in time and increase.Here counter can be software counter, also can be the counting that the crystal oscillator of hardware produces, etc.
Step C: the leading equipment in intelligent multimedia system obtains the system time of current system time clock, as the transmitting time sending the instruction message starting own clock, the reference factors such as stacking network transmission delay, system processing delay, time margin calculate length of delay, and transmitting time are superposed the time of implementation that length of delay draws the instruction message performing the own clock of startup.
Step C: leading equipment sends instruction message to all devices in intelligent multimedia system.Instruction message comprises the time of implementation.But need to illustrate, send to the instruction message of distinct device, the time of implementation that it comprises may be different.
Step D: start own clock in the time of implementation with the initial value (V_start) of the own clock of agreement after intelligent multimedia equipment receives the instruction message starting own clock.Here initial value is generally 0, can certainly be the value that other are appointed.
Step e: record starts the time (T_start) of system clock when having clock by oneself, and the initial value (V_start) starting own clock, for follow-up correction calculation of carrying out own clock.
The correction of scene example two, own clock.
Steps A: the equipment room in intelligent multimedia system carries out system clock synchronization.
Step B: judge between the last correction being corrected to this own clock of having clock by oneself, whether system clock change occurred, if this is the correction of having clock first by oneself, then judge to start system clock between own clock to the correction of having clock first by oneself and whether change occurred, if occurred to change, then go to step C, if not there is change, then went to step G.
Step C: the currency (V_current) being obtained from clock, is calculated the runtime value (V_diff=V_current-V_start) of own clock by the currency (V_current) of own clock and the initial value (V_start) of own clock.
Step D: the corresponding relation increased according to the growth of the value of own clock and the time of system clock, converses the time increasing value (T_diff) of the system clock corresponding to runtime value (V_diff) of own clock.
Step e: the currency (T_current) obtaining modified system clock, calculate on the time shaft of modified system clock, start the time (T_start_calculate=T_current – T_diff) of system clock during own clock.
Step F: be used on the time shaft of modified system clock, the time (T_start=T_start_calculate) of system clock when clock is had in the startup of replacing record of the time (T_start_calculate) of system clock by oneself when clock is had in the startup calculated by oneself.Then go to step K.
Step G: the currency (T_current) obtaining system clock, when clock is had in the startup of reading record by oneself, the time (T_start) of system clock, calculates and starts the time increasing value (T_diff=T_current – T_start) of own clock to current system clock.
Step H: the corresponding relation increased according to the growth of the value of own clock and the time of system clock, converses the runtime value (V_diff) of the own clock corresponding to time increasing value (T_diff) of system clock.
Step I: the initial value (V_start) of clock is had in the startup of reading record by oneself, the value calculating correct own clock corresponding to time of current system time clock should be (V_current_calculate=V_start+V_diff).
Step J: the currency (V_current) being obtained from clock, the value (V_current_calculate) of the correct own clock corresponding with the time of the current system time clock calculated is compared, if the two difference does not exceed certain threshold values, then do not need to correct, if the two difference exceedes certain threshold values, then stop own clock, and using the value (V_current_calculate) of correct own clock corresponding to the time of the current system time clock calculated as initial value, restart own clock current.Then go to step K.
Step K: wait for certain time interval, again carry out own clock correction, go to step A.
In short, above-mentioned aligning step comprises:
Judge in section current correction time, whether described system clock change occurred;
If occurred to change, obtained the currency of own clock described in current time; Initial value during currency and described own Clock enable according to described own clock, calculates the runtime value of described own clock; According to the corresponding relation that the time of described own clock and described system clock increases, and the runtime value of described own clock, calculate the time increasing value that described system clock is corresponding; Obtain the currency of system clock described in current time, the time increasing value corresponding according to described system clock, calculate described system clock change after time shaft on start initial value after the change of described own clock; Initial value during the described own Clock enable utilizing initial value after described change to replace in record;
If not there is change, obtained the currency of system clock described in current time, and obtained the start-up time of described own clock; Calculate the time increasing value of described system clock from described start-up time to current time; According to the corresponding relation that the time of described own clock and described system clock increases, and described time increasing value, calculate the theoretical runtime value of described own clock; According to initial value during described own Clock enable and described theoretical runtime value, calculate the theoretical value of described own clock in current time; Correct according to the currency of described theoretical value to described own clock;
Wherein, describedly carry out correction according to the currency of described theoretical value to described own clock and can comprise: the difference calculating the currency of described theoretical value and described own clock; When described difference is greater than setting threshold, stops described own clock, restart own clock using described theoretical value as initial value in current time.
Therefore in embodiment of the present invention technical scheme, the growth due to the provided time value for own clock synchronous between Media Stream is no longer reference with system clock, but with software counting or crystal oscillator counting etc. as a reference.So then change strong correlation that is synchronous between Media Stream and system clock, avoid the function synchronously being needed to be adjusted to system clock between stream by other affect, thus improve reliability synchronous between Media Stream, also improve the Consumer's Experience of intelligent multimedia system.Optionally, what only need interval corrects by system clock the deviation that own clock produces in running, just can improve reliability further.
In order to better implement the such scheme of the embodiment of the present invention, be also provided for below coordinating the relevant apparatus implementing such scheme.
Embodiment two,
Please refer to Fig. 2, the embodiment of the present invention provides device 200 synchronous between a kind of Media Stream, and for comprising the multimedia system of multiple stage multimedia equipment, described device 200 can comprise:
Start module 201, for after described multiple stage multimedia equipment carries out system clock synchronization, being described multiple stage multimedia equipment starts respective own clock according to the system clock synchronization after synchronous, the time value after described own Clock enable increase not with described system clock for reference;
Synchronization module 202, synchronous for making described multiple stage multimedia equipment carry out between Media Stream according to described own clock.
Wherein, described own clock can be associated with counter; That is, use the counting of counter to realize own clock average rate in time to increase.
In some embodiments of the invention, described multiple stage multimedia equipment comprises leading equipment, and described startup module 201 comprises: acquiring unit, obtains the system time of current system time clock as message transmitting time for making described leading equipment; Transmitting element, instruction message is sent respectively to other multimedia equipment in described multimedia system for making described leading equipment, described instruction message comprises described transmitting time and length of delay, and described length of delay represents the time delay between multimedia equipment and described leading equipment receiving described instruction message; Receiving element, the multimedia equipment for making to receive described instruction message to determine the start-up time of own clock according to the transmitting time in described instruction message and length of delay, start own clock in described start-up time according to the initial value preset; Can also comprise: record cell, have the start-up time of clock by oneself for making each self-starting of described multiple stage multimedia equipment record and start the initial value of own clock.
In some embodiments of the invention, device 200 also comprises:
Correction module 203, for making the first equipment deviation that own clock produces in running according to described system clock correction, described first equipment is arbitrary in described multiple stage multimedia equipment.
In some embodiments of the invention, described correction module 203 can comprise: judging unit, for judging in section current correction time, whether described system clock change occurred; Acquiring unit, if judge to occur to change for described judging unit, obtains the currency of own clock described in current time; First computing unit, for according to the initial value when currency of described own clock and described own Clock enable, calculates the runtime value of described own clock; Second computing unit, for the corresponding relation increased according to the time of described own clock and described system clock, and the runtime value of described own clock, calculate the time increasing value that described system clock is corresponding; 3rd computing unit, for obtaining the currency of system clock described in current time, the time increasing value corresponding according to described system clock, calculate described system clock change after time shaft on start initial value after the change of described own clock; Replacement unit, initial value during the described own Clock enable replacing in record for utilizing initial value after described change.
In some embodiments of the invention, described correction module 203 can comprise: judging unit, for judging in section current correction time, whether described system clock change occurred; Acquiring unit, if judge change not to occur for described judging unit, obtains the currency of system clock described in current time, and obtains the start-up time of described own clock; First computing unit, for calculating the time increasing value of described system clock from described start-up time to current time; Second computing unit, for the corresponding relation increased according to the time of described own clock and described system clock, and described time increasing value, calculate the theoretical runtime value of described own clock; 3rd computing unit, for according to initial value during described own Clock enable and described theoretical runtime value, calculates the theoretical value of described own clock in current time; Correcting unit, for correcting according to the currency of described theoretical value to described own clock.Further, described correcting unit, specifically may be used for the difference of the currency calculating described theoretical value and described own clock; When described difference is greater than setting threshold, stops described own clock, restart own clock using described theoretical value as initial value in current time.
Be appreciated that the function of each functional module of embodiment of the present invention device can according to the method specific implementation in said method embodiment, its specific implementation process can refer to the associated description in said method embodiment, repeats no more herein.
Therefore, in feasible execution modes more of the present invention, the multiple stage multimedia of multimedia system is adopted to establish according to synchronous system clock, synchronous averaging own clock separately, the synchronous technical scheme between Media Stream is carried out according to described own clock, wherein, time value after own Clock enable increase not with described system clock for reference, like this, just change strong correlation that is synchronous between Media Stream and system clock, avoid the function synchronously being needed to be adjusted to system clock between stream by other affect, even if there is the system clock of equipment component to be changed, what be also not easy to have influence between Media Stream is synchronous, thus improve reliability synchronous between Media Stream, improve the Consumer's Experience of intelligent multimedia system.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiment.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other order or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Between a kind of Media Stream provided the embodiment of the present invention above, synchronous method and apparatus is described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a method synchronous between Media Stream, for comprising the multimedia system of multiple stage multimedia equipment, is characterized in that, described method comprises:
After described multiple stage multimedia equipment carries out system clock synchronization, described multiple stage multimedia equipment starts respective own clock according to the system clock synchronization after synchronous;
It is synchronous that described multiple stage multimedia equipment carries out between Media Stream according to described own clock.
2. method according to claim 1, is characterized in that, described multiple stage multimedia equipment comprises leading equipment, and the step that described multiple stage multimedia equipment starts respective own clock according to the system clock synchronization after synchronous comprises:
Described leading equipment obtains the transmitting time of system time as message of current system time clock;
Described leading equipment sends instruction message respectively to other multimedia equipment in described multimedia system, described instruction message comprises described transmitting time and length of delay, and described length of delay represents the time delay between multimedia equipment and described leading equipment receiving described instruction message;
The multimedia equipment receiving described instruction message determines the start-up time of own clock according to the transmitting time in described instruction message and length of delay, start own clock in described start-up time according to the initial value preset;
The each self-starting of described multiple stage multimedia equipment record is had the start-up time of clock by oneself and is started the initial value of own clock.
3., according to described method arbitrary in claim 1 to 2, it is characterized in that, also comprise:
The first equipment deviation that own clock produces in running according to described system clock correction, described first equipment is arbitrary in described multiple stage multimedia equipment.
4. method according to claim 3, is characterized in that, the step of described first equipment deviation that own clock produces in running according to described system clock correction comprises:
Judge in section current correction time, whether described system clock change occurred;
If occurred to change, obtained the currency of own clock described in current time;
Initial value during currency and described own Clock enable according to described own clock, calculates the runtime value of described own clock;
According to the corresponding relation that the time of described own clock and described system clock increases, and the runtime value of described own clock, calculate the time increasing value that described system clock is corresponding;
Obtain the currency of system clock described in current time, the time increasing value corresponding according to described system clock, calculate described system clock change after time shaft on start initial value after the change of described own clock;
Initial value during the described own Clock enable utilizing initial value after described change to replace in record.
5. method according to claim 3, is characterized in that, the step of described first equipment deviation that own clock produces in running according to described system clock correction comprises:
Judge in section current correction time, whether described system clock change occurred;
If not there is change, obtained the currency of system clock described in current time, and obtained the start-up time of described own clock;
Calculate the time increasing value of described system clock from described start-up time to current time;
According to the corresponding relation that the time of described own clock and described system clock increases, and described time increasing value, calculate the theoretical runtime value of described own clock;
According to initial value during described own Clock enable and described theoretical runtime value, calculate the theoretical value of described own clock in current time;
Correct according to the currency of described theoretical value to described own clock.
6. a device synchronous between Media Stream, for comprising the multimedia system of multiple stage multimedia equipment, is characterized in that, described device comprises:
Start module, for after described multiple stage multimedia equipment carries out system clock synchronization, being described multiple stage multimedia equipment starts respective own clock according to the system clock synchronization after synchronously;
Synchronization module, synchronous for making described multiple stage multimedia equipment carry out between Media Stream according to described own clock.
7. device according to claim 6, is characterized in that, described multiple stage multimedia equipment comprises leading equipment, and described startup module comprises:
Acquiring unit, obtains the system time of current system time clock as message transmitting time for making described leading equipment;
Transmitting element, instruction message is sent respectively to other multimedia equipment in described multimedia system for making described leading equipment, described instruction message comprises described transmitting time and length of delay, and described length of delay represents the time delay between multimedia equipment and described leading equipment receiving described instruction message;
Receiving element, the multimedia equipment for making to receive described instruction message to determine the start-up time of own clock according to the transmitting time in described instruction message and length of delay, start own clock in described start-up time according to the initial value preset;
Record cell, has the start-up time of clock by oneself for making each self-starting of described multiple stage multimedia equipment record and starts the initial value of own clock.
8., according to described device arbitrary in claim 6 to 7, it is characterized in that, also comprise:
Correction module, for making the first equipment deviation that own clock produces in running according to described system clock correction, described first equipment is arbitrary in described multiple stage multimedia equipment.
9. device according to claim 8, is characterized in that, described correction module comprises:
Judging unit, for judging in section current correction time, whether described system clock change occurred;
Acquiring unit, if judge to occur to change for described judging unit, obtains the currency of own clock described in current time;
First computing unit, for according to the initial value when currency of described own clock and described own Clock enable, calculates the runtime value of described own clock;
Second computing unit, for the corresponding relation increased according to the time of described own clock and described system clock, and the runtime value of described own clock, calculate the time increasing value that described system clock is corresponding;
3rd computing unit, for obtaining the currency of system clock described in current time, the time increasing value corresponding according to described system clock, calculate described system clock change after time shaft on start initial value after the change of described own clock;
Replacement unit, initial value during the described own Clock enable replacing in record for utilizing initial value after described change.
10. device according to claim 8, is characterized in that, described correction module comprises:
Judging unit, for judging in section current correction time, whether described system clock change occurred;
Acquiring unit, if judge change not to occur for described judging unit, obtains the currency of system clock described in current time, and obtains the start-up time of described own clock;
First computing unit, for calculating the time increasing value of described system clock from described start-up time to current time;
Second computing unit, for the corresponding relation increased according to the time of described own clock and described system clock, and described time increasing value, calculate the theoretical runtime value of described own clock;
3rd computing unit, for according to initial value during described own Clock enable and described theoretical runtime value, calculates the theoretical value of described own clock in current time;
Correcting unit, for correcting according to the currency of described theoretical value to described own clock.
CN201510932581.7A 2015-12-14 2015-12-14 Synchronous method and apparatus between a kind of Media Stream Active CN105516777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510932581.7A CN105516777B (en) 2015-12-14 2015-12-14 Synchronous method and apparatus between a kind of Media Stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510932581.7A CN105516777B (en) 2015-12-14 2015-12-14 Synchronous method and apparatus between a kind of Media Stream

Publications (2)

Publication Number Publication Date
CN105516777A true CN105516777A (en) 2016-04-20
CN105516777B CN105516777B (en) 2017-10-17

Family

ID=55724364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510932581.7A Active CN105516777B (en) 2015-12-14 2015-12-14 Synchronous method and apparatus between a kind of Media Stream

Country Status (1)

Country Link
CN (1) CN105516777B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108366283A (en) * 2018-02-12 2018-08-03 苏州佳世达电通有限公司 The media sync playback method of more equipment rooms
CN114499732A (en) * 2022-02-09 2022-05-13 中央广播电视总台 Clock calibration method and device, computer equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101410773A (en) * 2003-07-28 2009-04-15 索诺斯公司 System and method for synchronizing operations among a plurality of independently clocked digital data processing devices
EP2150062A1 (en) * 2008-07-28 2010-02-03 Harris Corporation Improved method, system and apparatus for synchronizing signals
US20110276648A1 (en) * 2010-05-07 2011-11-10 Microsoft Corporation Clock synchronization for shared media playback
CN103338204A (en) * 2013-07-05 2013-10-02 曾德钧 Audio synchronization output method and system
CN104581189A (en) * 2014-12-29 2015-04-29 上海智物信息技术有限公司 Multi-screen controlling method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101410773A (en) * 2003-07-28 2009-04-15 索诺斯公司 System and method for synchronizing operations among a plurality of independently clocked digital data processing devices
EP2150062A1 (en) * 2008-07-28 2010-02-03 Harris Corporation Improved method, system and apparatus for synchronizing signals
US20110276648A1 (en) * 2010-05-07 2011-11-10 Microsoft Corporation Clock synchronization for shared media playback
CN103338204A (en) * 2013-07-05 2013-10-02 曾德钧 Audio synchronization output method and system
CN104581189A (en) * 2014-12-29 2015-04-29 上海智物信息技术有限公司 Multi-screen controlling method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108366283A (en) * 2018-02-12 2018-08-03 苏州佳世达电通有限公司 The media sync playback method of more equipment rooms
CN108366283B (en) * 2018-02-12 2021-01-05 苏州佳世达电通有限公司 Media synchronous playing method among multiple devices
CN114499732A (en) * 2022-02-09 2022-05-13 中央广播电视总台 Clock calibration method and device, computer equipment and readable storage medium
CN114499732B (en) * 2022-02-09 2023-11-17 中央广播电视总台 Clock calibration method, clock calibration device, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN105516777B (en) 2017-10-17

Similar Documents

Publication Publication Date Title
US11678118B2 (en) Wireless audio synchronization
US10666417B1 (en) Time synchronization using timestamp exchanges
CN102132575B (en) Information processing system and information processing device
EP2738971A1 (en) Mehtod and device for clock synchronization
US9167545B2 (en) Receiver, method of calculating time difference, and program
CN104464767A (en) Audio frequency playing method and system synchronizing multi-player
US9396762B2 (en) Systems and methods for networked media synchronization
US20110167040A1 (en) Method, apparatus and system for executing synchronization
US11394480B2 (en) Systems and methods for synchronizing device clocks
CN107947888B (en) A kind of task level synchronous method based on network communication
CN104467928A (en) Method and equipment for cooperation between terminal equipment
WO2015096041A1 (en) Clock synchronization method for multiple clock domains, line card, and ethernet device
US20160087738A1 (en) Time synchronization slave apparatus capable of adjusting time synchronization period, and method of determining time synchronization period
CN107800529B (en) Clock frequency synchronization method of network node
CN105516777A (en) Synchronizing method and device between media streams
CN114095109A (en) Clock synchronization method, device, equipment and storage medium
US10680972B2 (en) State report control method and apparatus
CN108683546B (en) Synchronous updating method for intelligent household equipment based on Internet of things
WO2016177240A1 (en) Frequency synchronization method and device
CN115412192A (en) Time synchronization method, device, equipment and medium for network television private network
JP2013074338A (en) Time server, terminal, time synchronization system, time synchronization method, and program
CN102984078A (en) Method and system for realizing flow control on web pages
JP2009171053A (en) Communication synchronization method and communication terminal
CN112311521B (en) Equipment group audio synchronization method and device, electronic equipment and storage medium
US20220070804A1 (en) Delaying rendering time for audio computing systems

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
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.

CP01 Change in the name or title of a patent holder