CN101977222B - Method for realizing synchronization of multimedia terminals - Google Patents

Method for realizing synchronization of multimedia terminals Download PDF

Info

Publication number
CN101977222B
CN101977222B CN2010105222664A CN201010522266A CN101977222B CN 101977222 B CN101977222 B CN 101977222B CN 2010105222664 A CN2010105222664 A CN 2010105222664A CN 201010522266 A CN201010522266 A CN 201010522266A CN 101977222 B CN101977222 B CN 101977222B
Authority
CN
China
Prior art keywords
synchronizing information
multimedia
synchronization
multimedia terminal
master synchronization
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.)
Active
Application number
CN2010105222664A
Other languages
Chinese (zh)
Other versions
CN101977222A (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.)
BEIJING JIUHUA HULIAN TECHNOLOGY Co Ltd
Original Assignee
BEIJING JIUHUA HULIAN TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING JIUHUA HULIAN TECHNOLOGY Co Ltd filed Critical BEIJING JIUHUA HULIAN TECHNOLOGY Co Ltd
Priority to CN2010105222664A priority Critical patent/CN101977222B/en
Publication of CN101977222A publication Critical patent/CN101977222A/en
Application granted granted Critical
Publication of CN101977222B publication Critical patent/CN101977222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of multimedia, in particular to a multimedia terminal synchronization technique, and provides a method for realizing synchronization of multimedia terminals. The method comprises the following steps: (1) a multimedia terminal receives synchronizing information in a local area network when entering the local area network; (2) if receiving the synchronizing information within the synchronous host machine setting time, the multimedia terminal serves as a synchronous slave machine and adjusts the play progress and contents of the synchronizing information; if not receiving the synchronizing information within the synchronous host machine setting time, the multimedia terminal serves as the synchronous host machine, and periodically transmits synchronizing information to the local area network; (3) and every time the multimedia terminal transmits synchronizing information, the age of the synchronous host machine increases by 1. The invention effectively overcomes the defects of high dependence, no adaptability, high cost and maintenance expense, and the like for auxiliary apparatus, such as a clock source generating apparatus and the like, when the multimedia terminal carries out synchronization under the prior technical conditions.

Description

A kind of method of realizing synchronization of multimedia terminals
Technical field
The present invention relates to MultiMedia Field, particularly a kind of multimedia terminal simultaneous techniques has proposed a kind of method of realizing synchronization of multimedia terminals.
Background technology
The occasion of using at many multimedias all needs a plurality of multimedia terminals synchronous on playing progress rate, but in fact owing to existing the factors such as the software that moves on device difference and the hardware platform is subjected to that chance event affects between the multimedia terminal, can't accomplish between the multimedia terminal on the play content synchronously, solve this problem so need to do technically some innovations.
Traditional method for synchronous is to establish a clock source within application system, this clock source sends the synchronizing signal that is associated with playing progress rate to all player terminals in the system, each multimedia terminal is adjusted playing progress rate automatically after receiving clock signal, thereby has reached synchronous effect.
Can reach synchronous purpose although use the method for synchronous of this thought, its shortcoming is:
(1) the synchronous normal operation that whether normally will depend on the clock source generation;
(2) in the system because introduced the clock source generation, increased thus cost and maintenance cost.
Summary of the invention
The object of the invention is to solve the problems of the technologies described above, a kind of method of realizing synchronization of multimedia terminals is provided, to solve owing to hardware differences and to operate in the nonsynchronous problem of play content that the system's chance event on the hardware is brought, the present invention does not rely on independent synchronization signal generating apparatus and relevant software and hardware, effectively customer service high to auxiliary equipment dependences such as clock source generations during realizing synchronization of multimedia terminals under the prior art condition, without problems such as adaptivity, cost and maintenance cost height.
In order to solve the problems of the technologies described above, according to specific embodiment provided by the invention, the present invention has announced following technical scheme:
A kind of method of realizing synchronization of multimedia terminals comprises the steps:
When (1) multimedia terminal enters local area network (LAN), receive the synchronizing information in the local area network (LAN);
(2) whether multimedia terminal monitoring receives synchronizing information, if in master synchronization in settling time, the multimedia terminal has received synchronizing information and has been about to ownly to synchronous slave, adjusts playing progress rate and content according to synchronizing information; If in settling time, the multimedia terminal does not receive synchronizing information in master synchronization, so much media termination as master synchronization, and is periodically issued synchronizing information to local area network (LAN) with own;
(3) synchronizing information of the every transmission in multimedia terminal, master synchronization age number adds 1.
Further, master synchronization settling time is according to following Formula:
Ttc=(IPpl?&( -IPmask))/5
Wherein, Ttc is synchronous settling time, IPpl is that 16 systems of the IP address of multimedia terminal represent, IPmask is the subnet mask of multimedia terminal, be after the subnet mask of multimedia terminal is done the negate computing, do and computing with the IP address, multimedia terminal of conversion behind 16 systems, the result of gained is again divided by 5 again, is single multimedia terminal master synchronization settling time.
Further, when sending synchronizing information for the first time, the master synchronization age is 1.
Further, if master synchronization more than 1 is arranged in the local area network (LAN), slave is as the criterion with the oldest synchronizing information of the master synchronization that receives so synchronously.
Further, if the master synchronization in the local area network (LAN) has received the synchronizing information that other master synchronization are sent, and send the master synchronization age of this synchronizing information greater than the master synchronization age of oneself, this master synchronization is abandoned the master synchronization identity of oneself so.
Further, if within limited synchronizing information transmission cycle, the synchronous slave in the local area network (LAN) is not received synchronizing information, and all synchronous slaves enter step (2) so.
Further, synchronizing information is the interior packet with lock in time and content information of local area network (LAN).
Further, master synchronization is the multimedia terminal that produces and send synchronizing information.
Further, slave is the multimedia terminal of accepting synchronizing information synchronously.
Further, the master synchronization age is an integer.
Compared with prior art, the present invention has following advantage:
(1) adaptivity
Method according to realizing synchronization of multimedia terminals of the present invention, do not rely on independent synchronization signal generating apparatus and relevant software and hardware, effectively customer service under the prior art condition during realizing synchronization of multimedia terminals to high problems of auxiliary equipment dependence such as clock source generations.In synchro system, no matter when increase or reduce the quantity of multimedia terminal, can be not influential to synchronous function.
(2) spontaneity
Carry out synchronous multimedia terminal according to the method for the invention, as long as link together by local area network (LAN), will between the multimedia terminal, automatically produce synchronous effect.
(3) self-organizing system
According to the method for realizing synchronization of multimedia terminals of the present invention, the quantity number of the multimedia terminal that no matter couples together by local area network (LAN), the multimedia terminal all can consist of a synchro system automatically.
(4) wholesomeness
According to the method for realizing synchronization of multimedia terminals of the present invention, for the broadcast of a plurality of multimedia terminals content provides synchronous function on the timeline, the content of the broadcast of mentioning can be identical content, also can be different contents.If inconsistent on the content that lock in time, line was play between the multimedia terminal, then take the inventive method as the basis, can realize playing special efficacy.
Description of drawings
Fig. 1 the inventive method schematic flow sheet.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage are become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
The occasion of using at many multimedias all needs a plurality of multimedia terminals synchronous on playing progress rate, but in fact owing to existing the factors such as the software that moves on device difference and the hardware platform is subjected to that chance event affects between the multimedia terminal, can't accomplish between the multimedia terminal on the play content synchronously, solve this problem so need do technically some innovations.Multimedia is carried out synchronous method according to the present invention, do not rely on independent synchronization signal generating apparatus and relevant software and hardware, effectively customer service under the prior art condition during realizing synchronization of multimedia terminals to high problems of auxiliary equipment dependence such as clock source generations.
According to the method for the invention, described master synchronization refers to produce and send the multimedia terminal of synchronizing information.
Described synchronous slave refers to accept the multimedia terminal of synchronizing information.
Described synchronizing information refers to the interior packet with lock in time and content information of local area network (LAN).
The described synchronizing information transmission cycle refers to that master synchronization periodically sends the time interval of synchronizing information.
The described master synchronization age is an integer, represents the time cycle counting that the multimedia transmitting terminal of sending this synchronizing information becomes master synchronization.
Described master synchronization refers to that the multimedia transmitting terminal is according to parameters such as own networks settling time, the time that becomes master synchronization that calculates, if the multimedia transmitting terminal is not also received the synchronizing information from local area network (LAN) when master synchronization arrives settling time, so just own as master synchronization.
Supposing does not have the multimedia terminal in a local area network (LAN), be carved with one or several multimedia terminals when a certain and start in network, and each multimedia terminal is according to the network parameter of itself and the master synchronization settling time of following formula calculating oneself.
Ttc=(IPpl?&( -IPmask))/5
Wherein, Ttc is synchronous settling time, IPpl is that 16 systems of the IP address of multimedia terminal represent, IPmask is the subnet mask of multimedia terminal, be after the subnet mask of multimedia terminal is done the negate computing, do and computing with the IP address, multimedia terminal of conversion behind 16 systems, the result of gained is again divided by 5 again, is single multimedia terminal master synchronization settling time.
As mentioned above, in local area network (LAN), do not have at present the multimedia terminal, be carved with No. 01 multimedia terminal, No. 02 multimedia terminal, No. 03 multimedia terminal, No. 04 multimedia terminal, No. 05 multimedia terminal when a certain and enter network.
The subnet mask of No. 01 multimedia terminal is: 255.255.255.0
The IP address is: 192.168.1.2
According to master synchronization formula settling time, calculate its master synchronization and be settling time:
The Ttc01=400 millisecond;
The subnet mask of No. 02 multimedia terminal is: 255.255.255.0
The IP address is: 192.168.1.3
According to master synchronization formula settling time, calculate its master synchronization and be settling time:
The Ttc02=600 millisecond;
The subnet mask of No. 03 multimedia terminal is: 255.255.255.0
The IP address is: 192.168.1.4
According to master synchronization formula settling time, calculate its master synchronization and be settling time:
The Ttc03=800 millisecond;
The subnet mask of No. 04 multimedia terminal is: 255.255.255.0
The IP address is: 192.168.1.5
According to master synchronization formula settling time, calculate its master synchronization and be settling time:
The Ttc04=1000 millisecond;
The subnet mask of No. 05 multimedia terminal is: 255.255.255.0
The IP address is: 192.168.1.6
According to master synchronization formula settling time, calculate its master synchronization and be settling time:
The Ttc05=1200 millisecond;
In all multimedia terminals, have the master synchronization settling time of a minimum, i.e. No. 01 multimedia terminal; When No. 01, the described multimedia terminal that has smallest synchronization main frame settling time is 400 milliseconds after the smallest synchronization main frame finishes settling time after, this multimedia terminal namely sends synchronizing information to network No. 01, after other multimedia terminals receive this synchronizing information, namely withdraw from synchronous competition, all multimedia terminals in the network enter synchronous regime at this moment.No. 01 the multimedia terminal becomes master synchronization, and other multimedia terminals become synchronous slave.
In the ideal situation, a plurality of multimedia terminals start simultaneously, what finally become master synchronization is that master synchronization is set up that the shortest multimedia terminal, but under actual conditions, different multimedia starting terminal speed can be variant, may be random so finally become the multimedia terminal of master synchronization.
Suppose to have existed in the network Duo Tai multimedia terminal and reached synchronous regime, have this moment new multimedia terminal to join in the network, after new multimedia terminal adds, immediately according to oneself master synchronization settling time of calculation of parameter oneself.
As mentioned above, there has been the multimedia terminal in the network No. 01, No. 02, No. 03, No. 04, No. 05, and reached synchronous regime.
Have now No. 06 multimedia terminal to enter network, its subnet mask is: 255.255.255.0
The IP address is: 192.168.1.7
Master synchronization is settling time: 1400 milliseconds
If in master synchronization is 1400 milliseconds in settling time, received the synchronizing information that other-end sends in this No. 06 multimedia terminal, master synchronization is namely abandoned becoming in this new multimedia terminal, and will oneself change synchronous slave into;
If after this new multimedia terminal is overtime in the master synchronization settling time of oneself, soon oneself be made as master synchronization, and beginning sends synchronizing information to network.
After after a while, the synchronizing information that original master synchronization is sent in the present networks can be received in new multimedia terminal, the age of this synchronizing information and the main frame age of oneself are compared, if the master synchronization age of former master synchronization is greater than the master synchronization age of oneself, this moment, the master synchronization identity of oneself was abandoned in this new multimedia terminal, will oneself be made as synchronous slave.
When setting up at a synchronization mechanism, in the network of steady operation, to withdraw from from network as the multimedia terminal of master synchronization, do not had master synchronization in the network this moment.Synchronizing information is not received in remaining a plurality of multimedia terminals in default synchronizing information sends periodicity, the master synchronization settling time of oneself is recomputated in each multimedia terminal, and reenters the process of competition master synchronization.
The above-mentioned synchronizing information transmission cycle can arrange.The synchronized transmission cycle can be according to the occasion setting of practical application, and as can being made as 5 seconds or 10 seconds, synchronizing information sends the cycle can be greater than the master synchronization settling time of certain multimedia terminal, also can be less than the master synchronization settling time of certain multimedia terminal.
The present invention proposes a kind of method of realizing synchronization of multimedia terminals, described method comprises the steps: (1) when the multimedia terminal enters local area network (LAN), receives the synchronizing information in the local area network (LAN); (2) if in master synchronization in settling time, the multimedia terminal has received synchronizing information and has namely adjusted playing progress rate and content according to synchronizing information; If in settling time, the multimedia terminal does not receive synchronizing information in master synchronization, so much media termination thinks it oneself is master synchronization, and periodically issues synchronizing information to local area network (LAN); (3) synchronizing information of the every transmission in multimedia terminal, master synchronization age number adds 1.The invention solves because hardware differences and operate in the nonsynchronous problem of play content that the system's chance event on the hardware brings, this method does not rely on independent synchronization signal generating apparatus and relevant software and hardware, effectively customer service high to auxiliary equipment dependences such as clock source generations during realizing synchronization of multimedia terminals under the prior art condition, without problems such as adaptivity, cost and maintenance cost height.

Claims (8)

1. the method for a realizing synchronization of multimedia terminals is characterized in that, described method comprises the steps:
When (1) multimedia terminal enters local area network (LAN), receive the synchronizing information in the local area network (LAN);
(2) whether multimedia terminal monitoring receives synchronizing information, if in master synchronization in settling time, the multimedia terminal has received synchronizing information and has been about to ownly to synchronous slave, adjusts playing progress rate and content according to synchronizing information; If in settling time, the multimedia terminal does not receive synchronizing information in master synchronization, so much media termination as master synchronization, and is periodically issued synchronizing information to local area network (LAN) with own;
(3) synchronizing information of the every transmission in multimedia terminal, master synchronization age number adds 1;
Wherein, the described master synchronization age is an integer, represents the time cycle counting that the multimedia transmitting terminal of sending this synchronizing information becomes master synchronization;
Described master synchronization refers to the multimedia transmitting terminal according to the parameter of own network settling time, and the time that becomes master synchronization that calculates, described master synchronization settling time is according to following Formula:
Ttc=(IPp1&( -IPmask))/5
Wherein, Ttc is synchronous settling time, IPp1 is that 16 systems of the IP address of multimedia terminal represent, IPmask is the subnet mask of multimedia terminal, be after the subnet mask of multimedia terminal is done the negate computing, do and computing with the IP address, multimedia terminal of conversion behind 16 systems, the result of gained is divided by 5 again, is single multimedia terminal master synchronization settling time.
2. the method for realizing synchronization of multimedia terminals according to claim 1 is characterized in that, when sending synchronizing information for the first time, the master synchronization age is 1.
3. the method for realizing synchronization of multimedia terminals according to claim 1 is characterized in that, if the master synchronization more than 1 is arranged in the local area network (LAN), slave is as the criterion with the oldest synchronizing information of the master synchronization that receives so synchronously.
4. according to claim 1 or the method for 3 described realizing synchronization of multimedia terminals, it is characterized in that, if the master synchronization in the local area network (LAN) has received the synchronizing information that other master synchronization are sent, and send the master synchronization age of this synchronizing information greater than the master synchronization age of oneself, this master synchronization is abandoned the master synchronization identity of oneself so, becomes synchronous slave.
5. the method for realizing synchronization of multimedia terminals according to claim 1 is characterized in that, if within limited synchronizing information transmission cycle, the synchronous slave in the local area network (LAN) is not received synchronizing information, and all synchronous slaves enter step (2) so.
6. the method for realizing synchronization of multimedia terminals according to claim 1 is characterized in that, described synchronizing information is the interior packet with lock in time and content information of local area network (LAN).
7. the method for realizing synchronization of multimedia terminals according to claim 1 is characterized in that, described master synchronization is the multimedia terminal that produces and send synchronizing information.
8. the method for realizing synchronization of multimedia terminals according to claim 1 is characterized in that, described synchronous slave is the multimedia terminal of accepting synchronizing information.
CN2010105222664A 2010-10-28 2010-10-28 Method for realizing synchronization of multimedia terminals Active CN101977222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105222664A CN101977222B (en) 2010-10-28 2010-10-28 Method for realizing synchronization of multimedia terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105222664A CN101977222B (en) 2010-10-28 2010-10-28 Method for realizing synchronization of multimedia terminals

Publications (2)

Publication Number Publication Date
CN101977222A CN101977222A (en) 2011-02-16
CN101977222B true CN101977222B (en) 2013-01-23

Family

ID=43577067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105222664A Active CN101977222B (en) 2010-10-28 2010-10-28 Method for realizing synchronization of multimedia terminals

Country Status (1)

Country Link
CN (1) CN101977222B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103839558B (en) * 2012-11-23 2016-08-31 三星电子(中国)研发中心 Synchronous broadcast method and server, player
CN103475908A (en) * 2013-07-23 2013-12-25 北京九华互联科技有限公司 Multi-screen synchronization play method and device
CN108401144A (en) * 2017-02-06 2018-08-14 中兴通讯股份有限公司 A kind of terminal control method and device, mobile terminal and synchronous display systems
CN109618209B (en) * 2018-12-25 2021-03-30 深圳创维-Rgb电子有限公司 Video synchronous playing method and device and computer readable storage medium
CN111901210A (en) * 2020-07-13 2020-11-06 珠海格力电器股份有限公司 Voice equipment awakening method, device, medium and equipment based on equipment network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1645766A (en) * 2004-11-30 2005-07-27 西安电子科技大学 Inter-synchronuos method for mobile wireless self-organized network
CN101072359A (en) * 2007-05-18 2007-11-14 腾讯科技(深圳)有限公司 Method, system and user end for realizing network media audio-video synchronization
CN101385020A (en) * 2006-02-14 2009-03-11 三星电子株式会社 Method of synchronizing a plurality of content directory service (cds) devices, cds device, and system
CN201403170Y (en) * 2009-04-30 2010-02-10 福州星网视易信息系统有限公司 Multi-terminal audio-video synchronizing device in rail transit digital film and television system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1645766A (en) * 2004-11-30 2005-07-27 西安电子科技大学 Inter-synchronuos method for mobile wireless self-organized network
CN101385020A (en) * 2006-02-14 2009-03-11 三星电子株式会社 Method of synchronizing a plurality of content directory service (cds) devices, cds device, and system
CN101072359A (en) * 2007-05-18 2007-11-14 腾讯科技(深圳)有限公司 Method, system and user end for realizing network media audio-video synchronization
CN201403170Y (en) * 2009-04-30 2010-02-10 福州星网视易信息系统有限公司 Multi-terminal audio-video synchronizing device in rail transit digital film and television system

Also Published As

Publication number Publication date
CN101977222A (en) 2011-02-16

Similar Documents

Publication Publication Date Title
CN101977222B (en) Method for realizing synchronization of multimedia terminals
CN103905135B (en) Realize the method, apparatus and system of time synchronized
CN103051406B (en) Clock synchronization method and system in 1588-2008 protocol
CN107251620A (en) Wireless synchronization based on beacon
CN101123465B (en) Method and device for synchronization of network devices in wireless communication system
CN101689919B (en) Method for implementing digital mobile radio private network communication, digital mobile radio private network communication terminal, relay station and system
CN105635752B (en) A kind of multistage synchronous display system and display methods for distributed mosaic screen
EP3016306A1 (en) Method and apparatus for providing in-vehicle network time synchronization using redundant grandmaster
CN110798276B (en) Time synchronization method and system for SDN (software defined network) of intelligent substation
CN101217330A (en) A method and device for time synchronism calibration
EP3706340A1 (en) Method for synchronisation of clocks in nodes of a vehicle network and node adapted to carry out the method
CN108055564B (en) Method and system for synchronously playing played contents of multiple playing terminals
DE19808103A1 (en) Timer synchronisation apparatus for cyclic communication system
CN107959537B (en) State synchronization method and device
CN103378916A (en) Clock transmission method, boundary clock and transparent clock
CN103796277B (en) Method, system and device for indicating beacon frame sending and sending beacon frame
CN109639339B (en) Bandwidth allocation method suitable for managing large satellite FDMA communication mode
WO2002043321A3 (en) Method of bus arbitration in a multi-master system
CN104022515B (en) Reactive compensation cabinet and the control method of reactive compensation unit
CN102983960A (en) Method and device for implementing rapid synchronous switching in PTP (precision time protocol)
JP2003179662A5 (en)
CN109842456A (en) A kind of clock synchronizing method based on AFDX network
CN112235067B (en) Centralized 1588 time synchronization method and time synchronization system
JP6503271B2 (en) Time synchronization system
CN105978702A (en) Bidirectional communication method and device for point-to-multipoint network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant