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

Method for realizing synchronization of multimedia terminals Download PDF

Info

Publication number
CN101977222A
CN101977222A CN2010105222664A CN201010522266A CN101977222A CN 101977222 A CN101977222 A CN 101977222A CN 2010105222664 A CN2010105222664 A CN 2010105222664A CN 201010522266 A CN201010522266 A CN 201010522266A CN 101977222 A CN101977222 A CN 101977222A
Authority
CN
China
Prior art keywords
multimedia terminal
synchronizing information
master synchronization
synchronous
multimedia
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
CN2010105222664A
Other languages
Chinese (zh)
Other versions
CN101977222B (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

Synchronous method is carried out in a kind of multimedia terminal
Technical field
The present invention relates to the multimedia field, particularly a kind of multimedia terminal simultaneous techniques has proposed a kind of multimedia terminal and has carried out synchronous method.
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 exist factors such as the software that moves on device difference and the hardware platform is subjected to that chance event influences between the multimedia terminal, can't accomplish between the multimedia terminal on the play content synchronously, solve this problem so need do some innovations technically.
Traditional method for synchronous is to establish a clock source device within application system, this clock source device all player terminals in system send the synchronizing signal that is associated with playing progress rate, each multimedia terminal is adjusted playing progress rate automatically after receiving clock signal, thereby has reached synchronous effect.
Can reach synchronous purpose though use the method for synchronous of this thought, its shortcoming is:
(1) whether normally to depend on the operate as normal that equipment takes place in the clock source synchronously;
(2) because introduced the clock source equipment taking place in the system, has increased cost and maintenance cost thus.
Summary of the invention
The objective of the invention is to solve the problems of the technologies described above, provide a kind of multimedia terminal to carry out synchronous method, 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 under the prior art condition multimedia terminal carry out when synchronous problems such as auxiliary equipment dependence height, no adaptivity, cost and maintenance cost height such as clock source generation equipment.
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:
Synchronous method is carried out in a kind of multimedia terminal, 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 slave synchronously, 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 is set up according to following formula settling time:
Ttc=(IPpl?&( -IPmask))/5
Wherein, Ttc is synchronous settling time, IPpl is that 16 systems of the IP address of multimedia terminal are represented, 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 the master synchronization age of this synchronizing information greater than oneself, this master synchronization is abandoned the master synchronization identity of oneself so.
Further, if in 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 packet that has lock in time and content information in the 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
Carry out synchronous method according to multimedia terminal 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 multimedia terminal carry out when synchronous high problems of auxiliary equipment dependence such as clock source generation equipment.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,, will between the multimedia terminal, produce synchronous effect automatically as long as link together by local area network (LAN).
(3) self-organizing system
Carry out synchronous method according to multimedia terminal of the present invention, the quantity number of the multimedia terminal that couples together by local area network (LAN) no matter, the multimedia terminal all can constitute a synchro system automatically.
(4) wholesomeness
Carry out synchronous method according to multimedia terminal 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 being mentioned can be identical content, also can be different contents.If inconsistent on the content of playing on the line lock in time between the multimedia terminal,, can realize playing special efficacy then based on the inventive method.
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 exist factors such as the software that moves on device difference and the hardware platform is subjected to that chance event influences between the multimedia terminal, can't accomplish between the multimedia terminal on the play content synchronously, solve this problem so need do some innovations technically.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 multimedia terminal carry out when synchronous high problems of auxiliary equipment dependence such as clock source generation equipment.
According to the method for the invention, described master synchronization is meant the multimedia terminal that produces and send synchronizing information.
Described synchronous slave is meant the multimedia terminal of accepting synchronizing information.
Described synchronizing information is meant the packet that has lock in time and content information in the local area network (LAN).
The described synchronizing information transmission cycle is meant that master synchronization periodically sends the time interval of synchronizing information.
The described master synchronization age is an integer, and the multimedia that this synchronizing information is sent in representative sends the time cycle counting that terminal becomes master synchronization.
Described master synchronization is meant that multimedia sends terminal according to parameters such as own networks settling time, the time that becomes master synchronization that calculates, if multimedia sends terminal and also do not receive 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 are represented, 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 the multimedia terminal at present, 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; Finish settling time after the back is 400 milliseconds at the smallest synchronization main frame for No. 01 when the described multimedia terminal that has smallest synchronization main frame settling time, this multimedia terminal promptly sends synchronizing information to network No. 01, after other multimedia terminals receive this synchronizing information, promptly 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.
Under perfect condition, 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 at 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 No. 06 multimedia terminal to enter network now, 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 promptly abandoned becoming in this new multimedia terminal, and will oneself change synchronous slave into;
If this new multimedia terminal in the master synchronization settling time of oneself overtime after, 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, from network, to withdraw from 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 be provided with.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 multimedia terminal and carry out synchronous method, 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 promptly 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 is brought, this method does not rely on independent synchronization signal generating apparatus and relevant software and hardware, effectively customer service under the prior art condition multimedia terminal carry out when synchronous problems such as auxiliary equipment dependence height, no adaptivity, cost and maintenance cost height such as clock source generation equipment.

Claims (10)

1. synchronous method is carried out in a multimedia terminal, it 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 slave synchronously, 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.
2. synchronous method is carried out in multimedia terminal according to claim 1, it is characterized in that, described master synchronization is set up according to following formula settling time:
Ttc=(IPpl&( -IPmask))/5
Wherein, Ttc is synchronous settling time, IPpl is that 16 systems of the IP address of multimedia terminal are represented, 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.
3. synchronous method is carried out in multimedia terminal according to claim 1, it is characterized in that, when sending synchronizing information for the first time, the master synchronization age is 1.
4. synchronous method is carried out in multimedia terminal according to claim 1, it is characterized in that, 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.
5. carry out synchronous method according to claim 1 or 4 described 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 the master synchronization age of this synchronizing information greater than oneself, this master synchronization is abandoned the master synchronization identity of oneself so, becomes synchronous slave.
6. synchronous method is carried out in multimedia terminal according to claim 1, it is characterized in that, if in 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.
7. synchronous method is carried out in multimedia terminal according to claim 1, it is characterized in that, described synchronizing information is the packet that has lock in time and content information in the local area network (LAN).
8. synchronous method is carried out in multimedia terminal according to claim 1, it is characterized in that, described master synchronization is the multimedia terminal that produces and send synchronizing information.
9. synchronous method is carried out in multimedia terminal according to claim 1, it is characterized in that, described synchronous slave is the multimedia terminal of accepting synchronizing information.
10. carry out synchronous method according to claim 1 or 3 described multimedia terminals, it is characterized in that, the described master synchronization age is an integer.
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 true CN101977222A (en) 2011-02-16
CN101977222B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475908A (en) * 2013-07-23 2013-12-25 北京九华互联科技有限公司 Multi-screen synchronization play method and device
CN103839558A (en) * 2012-11-23 2014-06-04 三星电子(中国)研发中心 Method and server for synchronous playing and player
WO2018141210A1 (en) * 2017-02-06 2018-08-09 中兴通讯股份有限公司 Terminal control method and device, mobile terminal, and synchronized display system
CN109618209A (en) * 2018-12-25 2019-04-12 深圳创维-Rgb电子有限公司 Audio video synchronization playback method, equipment 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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103839558A (en) * 2012-11-23 2014-06-04 三星电子(中国)研发中心 Method and server for synchronous playing and player
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
WO2018141210A1 (en) * 2017-02-06 2018-08-09 中兴通讯股份有限公司 Terminal control method and device, mobile terminal, and synchronized display system
CN109618209A (en) * 2018-12-25 2019-04-12 深圳创维-Rgb电子有限公司 Audio video synchronization playback method, equipment and computer readable storage medium
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

Also Published As

Publication number Publication date
CN101977222B (en) 2013-01-23

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
CN105635752B (en) A kind of multistage synchronous display system and display methods for distributed mosaic screen
CN101399757B (en) Method and device for tracing time clock source
CN1826742B (en) Synchronous circuitry and system, method for synchronizing circuitry
EP3706340A1 (en) Method for synchronisation of clocks in nodes of a vehicle network and node adapted to carry out the method
CN101123465A (en) Method and device for synchronization of network devices in wireless communication system
CN105515708B (en) A kind of clock synchronization accuracy test device and method based on FC networks
DE19808103A1 (en) Timer synchronisation apparatus for cyclic communication system
CN110798276A (en) Time synchronization method and system for SDN (software defined network) of intelligent substation
CN109842603A (en) A kind of method for synchronizing time and device
CN107959537B (en) State synchronization method and device
EP2493126B1 (en) Method and system for clock recovery in packet switched network
CN103378916A (en) Clock transmission method, boundary clock and transparent clock
CN103684647B (en) Time delay removing method that PTP packet is changed between Ethernet and E1 agreement and device
CN101902319B (en) Method for synchronizing network clock stamps
CN102983960A (en) Method and device for implementing rapid synchronous switching in PTP (precision time protocol)
CN111478863A (en) Switch system and network port time synchronization method thereof
WO2002043321A3 (en) Method of bus arbitration in a multi-master system
CN109842456A (en) A kind of clock synchronizing method based on AFDX network
CN112235067B (en) Centralized 1588 time synchronization method and time synchronization system
CN103441509A (en) Reactive power compensation cabinet and control method
CN104022515A (en) A reactive compensation cabinet and a control method for reactive compensation units of the reactive compensation cabinet

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