CN108540830A - A kind of more playback equipment synchronous broadcast methods, system and terminal - Google Patents

A kind of more playback equipment synchronous broadcast methods, system and terminal Download PDF

Info

Publication number
CN108540830A
CN108540830A CN201810328775.XA CN201810328775A CN108540830A CN 108540830 A CN108540830 A CN 108540830A CN 201810328775 A CN201810328775 A CN 201810328775A CN 108540830 A CN108540830 A CN 108540830A
Authority
CN
China
Prior art keywords
playback equipment
playing progress
system time
currently playing
saltus step
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.)
Pending
Application number
CN201810328775.XA
Other languages
Chinese (zh)
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.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201810328775.XA priority Critical patent/CN108540830A/en
Publication of CN108540830A publication Critical patent/CN108540830A/en
Pending legal-status Critical Current

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • 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
    • 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/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A kind of more playback equipment synchronous broadcast methods of present invention offer, system and terminal.Network delay saltus step amount is can determine by the first currently playing progress, the second currently playing progress from the first present system time of playback equipment, the second present system time and main playback equipment, that is, determines whether the network-induced delay of adjacent synchronization message twice occurs saltus step.The absolute value of determining network delay saltus step amount is compared with saltus step threshold value, and then determines whether execute this time synchronization message received from playback equipment.It is more than the synchronization message of saltus step threshold value due to not executing network delay saltus step amount from playback equipment, therefore the picture of the master and slave playback equipment because caused by changing greatly network delay can be avoided to show nonsynchronous problem, improves the synchronization accuracy of master and slave playback equipment.

Description

A kind of more playback equipment synchronous broadcast methods, system and terminal
Technical field
The present invention relates to field of video broadcasting technology more particularly to a kind of more playback equipment synchronous broadcast methods, system and Terminal.
Background technology
More playback equipments are played simultaneously as a kind of method that same video and/or audio is played simultaneously in more playback equipments, The places such as main application shows in advertisement, museum or Demonstration Hall.
Currently, the conventional method that more playback equipments are played simultaneously is:More playback equipments are connected to same LAN, setting A wherein playback equipment is main playback equipment, remaining playback equipment is from playback equipment.When more playback equipments play simultaneously When same video and/or audio, its currently playing progress is sent to from playback equipment by main playback equipment, from playback equipment according to The current playing progress rate is synchronized to the playing progress rate of main playback equipment.Attached drawing 1 shows that more playback equipments are same in the related technology Step plays the process schematic of video.By attached drawing 1 it is found that main playback equipment is sent out when playing progress rate is pos1 to from playback equipment Synchronization message is sent, after network-induced delay d1, receives the synchronization message from playback equipment, and be synchronized to main playback equipment Playing progress rate pos1.At this point, the playing progress rate of main playback equipment has progressed at pos1+d1, thus master and slave playback equipment Synchronous error be d1.Main playback equipment sends synchronization message when playing progress rate is pos2 to from playback equipment, due to network Delay time remains as d1, and therefore, the synchronous error of master and slave playback equipment remains as d1.When synchronous error is less than a frame video When the duration of data, visually it is difficult to find that video is nonsynchronous.
Under normal conditions, since network-induced delay is generally less than one-frame video data duration, it is connected to same Master and slave playback equipment in LAN just can reach high-precision synchronization without compensation.However, when network-induced delay is unexpected When becoming larger, the synchronous error of master and slave playback equipment can be more than number frame picture, can visually find out that apparent picture is asynchronous.It is such as attached In Fig. 1, main playback equipment sends synchronization message when playing progress rate is pos3 to from playback equipment, at this time since network is poor, Network-induced delay increases to d2 by d1.The synchronization message is received from playback equipment, and is synchronized to the broadcasting of main playback equipment Progress pos3.At this point, the playing progress rate of main playback equipment has progressed at pos3+d2, thus the synchronization of master and slave playback equipment Error is d2.When synchronous error d2 is reached a certain level, it can visually see that apparent picture is asynchronous.
Invention content
The present invention provides a kind of more playback equipment synchronous broadcast methods, system and terminal, with solve network delay it is larger when, The picture of master and slave playback equipment shows nonsynchronous problem.
In a first aspect, the present invention provides a kind of more playback equipment synchronous broadcast methods, including:
The synchronization message that main playback equipment is sent by preset sending frequency is obtained from playback equipment, the synchronization message includes The currently playing progress of the main playback equipment;
System time when getting the synchronization message is determined as the present system time from playback equipment;
According to described from the first present system time of playback equipment, the second present system time and the main playback equipment The first currently playing progress, the second currently playing progress determine network delay saltus step amount;Wherein, described first it is currently playing into Degree and the second currently playing progress are respectively the currently playing progress that the adjacent synchronization message twice got includes;Described System time when one present system time gets the first currently playing progress for described in from playback equipment;Described second System time when present system time gets the second currently playing progress for described in from playback equipment;
Judge whether the absolute value numerical value of the network delay saltus step amount is less than saltus step threshold value;
If being less than, the described second currently playing progress is determined as the currently playing progress from playback equipment;
If more than or be equal to, then it is described not execute the synchronization message from playback equipment.
Second aspect, the present invention provide a kind of more playback equipment synchronous playing systems, including:
Synchronization message acquisition module, for obtaining the synchronization that main playback equipment is sent by preset sending frequency from playback equipment Message;
Present system time determining module, for according to system time when getting the synchronization message determine it is described from The present system time of playback equipment;
Network delay jumps variant determination module, for according to first present system time from playback equipment, second First currently playing progress of present system time and the main playback equipment, the second currently playing progress determine that network delay is jumped Variable;
Saltus step amount judgment module, for judging whether the absolute value numerical value of the network delay saltus step amount is less than saltus step threshold Value;
Currently playing progress determining module is less than saltus step threshold value for the absolute value numerical value when the network delay saltus step amount When, the described second currently playing progress is determined as the currently playing progress from playback equipment;
Execution module is used for when the absolute value numerical value of the network delay saltus step amount is greater than or equal to saltus step threshold value, institute It states and does not execute the synchronization message from playback equipment.
The third aspect, the present invention provide a kind of terminal, include more playback equipment synchronous playing systems of second aspect.
The technical solution that the embodiment of the present invention provides can include the following benefits:
A kind of more playback equipment synchronous broadcast methods of present invention offer, system and terminal.Main playback equipment is sent as default The synchronization message that frequency is sent, multiple synchronization messages can be got from playback equipment, as soon as and often receive time synchronization message, System time when receiving synchronization message is determined as to the present system time from playback equipment.So, the last time receives The system time of synchronization message is just the first present system time, and the currently playing progress in the synchronization message received is the One currently playing progress;And the system time for this time receiving synchronization message is the second present system time, and receive same It is the second currently playing progress to walk the currently playing progress in message.According to from playback equipment the first present system time, First currently playing progress of two present system times and main playback equipment, the second currently playing progress determine network delay saltus step Amount determines the difference of the network-induced delay of adjacent synchronization message twice.By the absolute value of determining network delay saltus step amount with Saltus step threshold value is compared, and when the absolute value of network delay saltus step amount is greater than or equal to saltus step threshold value, is not held from playback equipment The row synchronization message.When the absolute value of network delay saltus step amount is less than saltus step threshold value, the synchronization message is executed from playback equipment, The second currently playing progress is determined as the currently playing progress from playback equipment, realizes that the broadcasting of master and slave playback equipment is same Step.It is more than the synchronization message of saltus step threshold value due to not executing network delay saltus step amount, can avoids changing because of network delay The picture of master and slave playback equipment shows nonsynchronous problem caused by larger.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not It can the limitation present invention.
Description of the drawings
In order to illustrate more clearly of the technical solution of the application, letter will be made to attached drawing needed in the embodiment below Singly introduce, it should be apparent that, for those of ordinary skills, without having to pay creative labor, Other drawings may also be obtained based on these drawings.
Fig. 1 is the playing process schematic diagram of the existing playback equipment of separate unit in the related technology;
Fig. 2 is the flow diagram of more playback equipment synchronous broadcast methods provided in an embodiment of the present invention;
Fig. 3 is transmittance process schematic diagram of the synchronization message provided in an embodiment of the present invention between master and slave playback equipment.
Specific implementation mode
When more playback equipments carry out audio video synchronization broadcasting, more playback equipments are connected to same LAN, set it In playback equipment be main playback equipment, remaining playback equipment is from playback equipment.When more playback equipments play together simultaneously When one video, its currently playing progress is sent to from playback equipment by main playback equipment, currently playing according to this from playback equipment Progress is synchronized to the playing progress rate of main playback equipment.Its currently playing progress is sent to the mistake from playback equipment by main playback equipment Cheng Zhong, there are network delays.Under normal conditions, since network-induced delay is generally less than one-frame video data duration, The master and slave playback equipment in same LAN is connected to without compensation, just can reach high-precision synchronization.Work as network-induced delay When becoming larger suddenly, the synchronous error of master and slave playback equipment can be more than number frame picture, can visually find out that apparent picture is asynchronous.
In view of the above-mentioned problems, a kind of more playback equipment synchronous broadcast methods of the embodiment of the present application offer, system and terminal.This Apply for that the core concept for more playback equipment synchronous broadcast methods that embodiment provides is:Main playback equipment is sent out by preset sending frequency Send synchronization message, multiple synchronization messages can be got from playback equipment, as soon as and often receive time synchronization message, will receive System time when synchronization message is determined as the present system time from playback equipment.So, the last time receives synchronization message System time be just the first present system time, and the currently playing progress in the synchronization message received is first currently to broadcast Degree of putting into;And the system time for this time receiving synchronization message is the second present system time, and in the synchronization message received Currently playing progress be the second currently playing progress.According to the first present system time from playback equipment, the second current system The first currently playing progress, the second currently playing progress of system time and main playback equipment determine network delay saltus step amount, i.e., really The difference of the network-induced delay of fixed adjacent synchronization message twice.By the absolute value of determining network delay saltus step amount and saltus step threshold value It is compared, when the absolute value of network delay saltus step amount is greater than or equal to saltus step threshold value, does not execute the synchronization from playback equipment Message.When the absolute value of network delay saltus step amount is less than saltus step threshold value, the synchronization message is executed from playback equipment, i.e., will be synchronized Currently playing progress in message is determined as the currently playing progress from playback equipment, realizes that the broadcasting of master and slave playback equipment is same Step.The synchronization message larger due to not executing network delay saltus step amount, can avoid drawing because network delay changes greatly The picture of the master and slave playback equipment risen shows nonsynchronous problem.
More playback equipment synchronous broadcast methods, system and terminal provided by the embodiments of the present application are specifically retouched below It states.
Attached drawing 2 is please referred to, attached drawing 2 shows the flow of more playback equipment synchronous broadcast methods provided by the embodiments of the present application Schematic diagram.
By attached drawing 2 it is found that more playback equipment synchronous broadcast methods provided by the embodiments of the present application specifically include:
S01:The synchronization message that main playback equipment is sent by preset sending frequency, the synchronization message are obtained from playback equipment Include the currently playing progress of the main playback equipment.
When playback equipment is played out with normal playback speed, i.e. a speed play, the forward speed of playing progress rate with broadcast The forward speed for putting the system time of equipment is consistent, if system time often advances 1s, then playing progress rate advance 1s.If one Film source length is 100s, then playback equipment, which plays this film source, needs 100s.
When multiple playback equipments carry out audio video synchronization broadcasting when, main playback equipment can according to setting transmission frequency by its own Currently playing progress be sent to respectively from playback equipment as synchronization message.Wherein, playing progress rate, that is, playing time or play when Between.Such as, when set transmission frequency as 10s/ times when, main playback equipment can be under the control of thread in 0s, 10s, 20s etc. Moment to respectively its playing progress rate at the moment such as 0s, 10s, 20s when is sent from playback equipment, that is, send it is currently playing into Degree, and remaining moment thread is then in a dormant state.In this way, in the embodiment of the present application, by the dormancy time control for controlling thread The transmission frequency of synchronization message processed.In the embodiment of the present application, preset sending frequency is generally 200ms/ times, is disappeared to avoid synchronizing Breath sends and frequently results in very much network congestion, and then network delay is caused to become larger.
In the embodiment of the present application, the adjacent progress currently playing twice that main playback equipment is sent first is referred to as to work as Preceding playing progress rate and the second currently playing progress, i.e., the currently playing progress that this time main playback equipment is sent are second currently playing Progress, the currently playing progress that last time main playback equipment is sent are the first currently playing progress, it is, first it is currently playing into Sending time of the sending time of degree earlier than the second currently playing progress.
Further, synchronization message further includes currently playing source name.After playback equipment gets synchronization message, first The currently playing source name received is compared with being played on source name.Only when current in synchronization message It, just can be according to currently playing in synchronization message from playback equipment when broadcasting piece source name is consistent with being played on source name Progress synchronizes broadcasting.
At the end of the dormancy time of thread, thread controls main playback equipment and sends synchronization message, to realize that main broadcaster is put Equipment sends synchronization message by preset sending frequency.Main playback equipment needs to obtain working as main playback equipment when sending synchronization message Preceding playing progress rate, to generate synchronization message.In more playback equipment synchronous broadcast methods provided by the embodiments of the present application, one is provided The method that the main playback equipment of kind obtains currently playing progress.Particular content is as follows:
S0111:It calls the system time of main playback equipment, preceding audio Presentation Time Stamp, preceding system time and preceding does not export Audio duration.
Often a frame audio is written to audio output module in playback equipment, will automatically record the Presentation Time Stamp of the audio The audio duration not exported in (i.e. audio Presentation Time Stamp), system time and audio output module.When write-in next frame sound When frequency, the audio duration not exported in audio Presentation Time Stamp, system time and audio output module can automatically update.By This, playback equipment can store three data simultaneously after a frame audio is written to audio output module, i.e., previous frame audio is aobvious Show timestamp, system time at that time and the audio duration not exported in audio output module at that time.The display of previous frame audio Audio is shown before timestamp, system time at that time and the audio duration that is not exported in audio output module at that time are briefly referred to as Timestamp, preceding system time and preceding audio duration is not exported.
S0112:It is determined according to system time, preceding system time, preceding audio Presentation Time Stamp and the preceding audio duration that do not export The currently playing progress of main playback equipment.
When main playback equipment is needed to when sending its currently playing progress from playback equipment, when with delivery time being current It carves, then playing progress rate at this time is currently playing progress, and system time is present system time at this time.When by current system Between subtracted with the sum of preceding audio Presentation Time Stamp before system time and the preceding audio duration that do not export obtain the current of main playback equipment Playing progress rate.
The method that above-mentioned main playback equipment obtains currently playing progress is only provided by the embodiments of the present application a kind of schematic Method, and above-described embodiment does not limit the acquisition methods of currently playing progress.
S02:By system time when getting the synchronization message be determined as it is described from the current system of playback equipment when Between.
System time when receiving synchronization message from playback equipment is determined as to the present system time from playback equipment. As shown in Fig. 3, main playback equipment sends synchronization message 1 when currently playing progress is pos1 to from playback equipment, by net After network postpones the d times, the synchronization message 1 is received when system time is sys1 from playback equipment, i.e., is received from playback equipment The sys1 moment to synchronization message 1 is the present system time from playback equipment.
S03:It is put from the first present system time, the second present system time and the main broadcaster of playback equipment according to described The first currently playing progress, the second currently playing progress of equipment determine network delay saltus step amount.
Since main playback equipment constantly sends synchronization message, and adjacent two according to preset sending frequency to from playback equipment Currently playing progress in subsynchronous message is respectively the first currently playing progress and the second currently playing progress, therefore, from broadcasting It puts system time when equipment receives adjacent synchronization message twice and is referred to as the first present system time and the second current system It unites the time.System time when will receive the synchronization message including the first currently playing progress from playback equipment is determined as One present system time, system time when receiving the synchronization message including the second currently playing progress from playback equipment is true It is set to the second present system time.Such as main playback equipment is respectively respectively in currently playing progress according to preset sending frequency Synchronization message 2-5 is sent to from playback equipment when pos2, pos3, pos4 and pos5, is disappeared from playback equipment according to getting to synchronize The time of breath 2-5 is determined as multiple present system times, i.e. present system time sys2, sys3, sys4 and sys5.If it is determined that main Second currently playing progress of playback equipment is pos5, then the currently playing progress of the first of main playback equipment is pos4;From broadcasting Second present system time of equipment is sys5, is sys4 from the first present system time of playback equipment.
If synchronization message in transmission process, causes network-induced delay to change due to network, i.e., front and back two Saltus step occurs for the network delay of subsynchronous message, then the screen display content for being easy to cause master and slave playback equipment is inconsistent.For This, it is thus necessary to determine that network delay saltus step whether occurs between adjacent synchronization message twice.
In the embodiment of the present application, according to the first present system time, the second present system time and master from playback equipment The first currently playing progress, the second currently playing progress of playback equipment determine network delay saltus step amount.Specifically,
S031:It will be determined as from the difference between the second present system time and the first present system time of playback equipment Time difference.
In attached drawing 3, if being sys3 from the second present system time of playback equipment, first from playback equipment is current System time is sys2.It will be between the second present system time sys3 and the first present system time sys2 of playback equipment Time difference is set as the time difference from playback equipment.Likewise, the difference between system time sys2, sys1 can also be set For from the time difference of playback equipment.
S032:Difference between the second of main playback equipment currently playing progress and the first currently playing progress is determined as Progress difference.
In attached drawing 3, if being sys3 from the second present system time of playback equipment, what is received from playback equipment is same It walks in message, the second currently playing progress of main playback equipment is pos3, and the first currently playing progress of main playback equipment is pos2.Difference between the second of the main playback equipment currently playing currently playing progress pos2 of progress pos3 and first is determined as The progress difference of main playback equipment.
S033:Difference between time difference and progress difference is determined as network delay saltus step amount.
After the progress difference of time difference and main playback equipment from playback equipment determines, by time difference and progress difference Between difference be determined as network delay saltus step amount.In attached drawing 3, network delay saltus step amount be time difference sys3-sys2 and Difference between progress difference pos3-pos2, i.e. sys3-sys2- (pos3-pos2)=D-d.For another example, network delay saltus step amount For the difference between time difference sys2-sys1 and progress difference pos2-pos1, i.e. sys2-sys1- (pos2-pos1)=0.
Further, it when receiving the synchronization message including currently playing progress for the first time from playback equipment, then receives The system time when synchronization message is the second present system time, and the first present system time is 0.In attached drawing 3, from broadcasting It is sys1 from the second present system time of playback equipment when putting equipment and receiving synchronization message 1, and from the first of playback equipment Present system time is 0, i.e., synchronization message was not received by before this receives synchronization message.
For this purpose, according to the first present system time, the second present system time and main playback equipment from playback equipment The first currently playing progress, before the second currently playing progress determines network delay saltus step amount, it is also necessary to determine from playback equipment Whether the synchronization message received is first time synchronization message, in order to decide whether to execute after determining network delay saltus step amount This synchronization message.
Specifically, judge whether the first present system time is zero.If the first present system time is zero, disappear synchronizing The first currently playing progress in breath is determined as the currently playing progress from playback equipment, i.e., directly executes this from playback equipment Synchronization message, to realize the synchronization of master and slave playback equipment.If the first present system time is not zero, according to from playback equipment The first present system time, the second present system time and main playback equipment the first currently playing progress, second currently broadcast Degree of putting into determines network delay saltus step amount.
S04:Judge whether the absolute value numerical value of the network delay saltus step amount is less than saltus step threshold value.
The synchronization message received whether is executed from playback equipment for ease of determination, then needs to judge determining network delay Whether the absolute value numerical value of saltus step amount is less than saltus step threshold value.
In the embodiment of the present application, saltus step threshold value is fixed saltus step threshold value or dynamic hop threshold value.Since network delay is Real-time change, thus the absolute value numerical value of network delay saltus step amount is usually not zero.For being played simultaneously for more playback equipments, It needs to accomplish accurate, Fast synchronization.For precisely synchronizing, then the setting value of saltus step threshold value wants small, to reduce network delay jump Become the influence to being played simultaneously.It for Fast synchronization, then needs to execute synchronization message as early as possible from playback equipment, i.e. saltus step threshold value Setting value is big, so as to constantly execute synchronization message from playback equipment.More playback equipments are precisely played simultaneously and soon as a result, It is contradictory that speed, which is played simultaneously,.Therefore, in the embodiment of the present application, to realize accurate, the Fast synchronization of more playback equipments, saltus step threshold Value is dynamic hop threshold value, as continually changing saltus step threshold value.
It is master and slave to broadcast to meet visual demand of the people to video when master and slave playback equipment carries out audio video synchronization broadcasting It puts when equipment synchronizes and needs to meet certain synchronization accuracy, i.e., meet certain broadcasting time difference when being played simultaneously, broadcast Ru master and slave It is 100ms to put equipment and the synchronization accuracy of video is played simultaneously.Assuming that synchronization when current master and slave playback equipment is played simultaneously video Precision is 100ms, when the broadcasting time difference when detecting main playback equipment and from playback equipment is less than synchronization accuracy requirement, is such as played The time difference is 50ms, at this point, dynamic hop threshold value is then automatically made smaller numerical value, is disappeared in order to allow to abandon Partial synchronization Breath, improves main playback equipment and the broadcasting precision from playback equipment.When detecting main playback equipment and from the broadcasting of playback equipment When the time difference is more than synchronization accuracy requirement, when such as the broadcasting time difference is 3s, at this point, dynamic hop threshold value is then automatically made larger number Value, but the numerical value improves main playback equipment and is set from broadcasting less than synchronization accuracy in order to abandon synchronization message as few as possible Standby synchronizing speed.
As a result, in the embodiment of the present application, determine that dynamic is jumped according to main playback equipment and from the synchronization accuracy of playback equipment Become threshold value, and the numerical value of dynamic hop threshold value is more than zero and is less than synchronization accuracy.Such as, when main playback equipment and from playback equipment Synchronization accuracy requires to be less than 50ms to play the time difference, then setting is all higher than zero and is less than 50ms dynamic hop threshold value every time.
S05:If being less than, the currently playing progress in the synchronization message is determined as described from the current of playback equipment Playing progress rate.
It is when the absolute value numerical value of network delay saltus step amount is less than saltus step threshold value, second in synchronization message is currently playing Progress is determined as the currently playing progress from playback equipment, i.e., this synchronization message is executed from playback equipment.
S06:If more than or be equal to, then it is described not execute the synchronization message from playback equipment.
When the absolute value numerical value of network delay saltus step amount is greater than or equal to saltus step threshold value, this is not executed from playback equipment Synchronization message, i.e., abandon this synchronization message from playback equipment.
In more playback equipment synchronous broadcast methods provided by the embodiments of the present application, by current from the first of playback equipment System time, the first currently playing progress of the second present system time and main playback equipment, the second currently playing progress can It determines network delay saltus step amount, that is, determines whether the network-induced delay of adjacent synchronization message twice occurs saltus step.It will be determining Whether the absolute value of network delay saltus step amount is compared with saltus step threshold value, and then determine to execute from playback equipment and receive This time synchronization message.When being more than the synchronization message of saltus step threshold value due to not executing network delay saltus step amount from playback equipment, The picture of the master and slave playback equipment because caused by changing greatly network delay can be avoided to show nonsynchronous problem, improve it is main, From the synchronization accuracy of playback equipment.
Based on more playback equipment synchronous broadcast methods provided by the embodiments of the present application, the embodiment of the present application also provides a kind of more Playback equipment synchronous playing system.More playback equipment synchronous playing systems provided by the embodiments of the present application include:
Synchronization message acquisition module, for obtaining the synchronization that main playback equipment is sent by preset sending frequency from playback equipment Message;
Present system time determining module, for being determined from playback equipment according to system time when getting synchronization message Present system time;
Network delay jumps variant determination module, for according to from the first present system time of playback equipment, second current First currently playing progress of system time and main playback equipment, the second currently playing progress determine network delay saltus step amount;
Saltus step amount judgment module, for judging whether the absolute value numerical value of network delay saltus step amount is less than saltus step threshold value;
Currently playing progress determining module is used for when the absolute value numerical value of network delay saltus step amount is less than saltus step threshold value, Second currently playing progress is determined as the currently playing progress from playback equipment;
Execution module is used for when the absolute value numerical value of network delay saltus step amount is greater than or equal to saltus step threshold value, from broadcasting Equipment does not execute synchronization message.
Based on more playback equipment synchronous playing systems provided by the embodiments of the present application, the embodiment of the present application also provides a kind of end End, which includes more playback equipment synchronous playing systems in foregoing description.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present invention can add by software The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present invention substantially or Say that the part that contributes to existing technology can be expressed in the form of software products, which can deposit Storage is in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are used so that computer equipment (can be with Be personal computer, server either network equipment etc.) execute certain part institutes of each embodiment of the present invention or embodiment The method stated.
Invention described above embodiment is not intended to limit the scope of the present invention..
Those skilled in the art will readily occur to its of the present invention after considering specification and putting into practice the disclosure invented here Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or Person's adaptive change follows the general principle of the present invention and includes undocumented common knowledge in the art of the invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the invention is not limited in the precision architectures for being described above and being shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (7)

1. a kind of more playback equipment synchronous broadcast methods, which is characterized in that including:
The synchronization message that main playback equipment is sent by preset sending frequency is obtained from playback equipment, the synchronization message includes described The currently playing progress of main playback equipment;
System time when getting the synchronization message is determined as the present system time from playback equipment;
According to described from the of the first present system time of playback equipment, the second present system time and the main playback equipment One currently playing progress, the second currently playing progress determine network delay saltus step amount;Wherein, the described first currently playing progress and Second currently playing progress is respectively the currently playing progress that the adjacent synchronization message twice got includes;Described first works as System time when preceding system time gets the first currently playing progress for described in from playback equipment;Described second is current System time when system time gets the second currently playing progress for described in from playback equipment;
Judge whether the absolute value numerical value of the network delay saltus step amount is less than saltus step threshold value;
If being less than, the described second currently playing progress is determined as the currently playing progress from playback equipment;
If more than or be equal to, then it is described not execute the synchronization message from playback equipment.
2. more playback equipment synchronous broadcast methods according to claim 1, which is characterized in that according to described from playback equipment The first present system time, the second present system time and the main playback equipment the first currently playing progress, second work as Preceding playing progress rate determines that network delay saltus step amount includes:
Difference between second present system time and the first present system time from playback equipment is determined as the time Difference;
Difference between the second currently playing progress and the first currently playing progress of the main playback equipment is determined as progress Difference;
Difference between the time difference and the progress difference is determined as network delay saltus step amount.
3. more playback equipment synchronous broadcast methods according to claim 1, which is characterized in that according to described from playback equipment The first present system time, the second present system time and the main playback equipment the first currently playing progress, second work as Before preceding playing progress rate determines network delay saltus step amount, including:
Judge whether the first present system time is zero;
If first present system time is zero, the first currently playing progress in the synchronization message is determined as described From the currently playing progress of playback equipment;
If first present system time is not zero, from the first present system time of playback equipment, second according to First currently playing progress of present system time and the main playback equipment, the second currently playing progress determine that network delay is jumped Variable.
4. more playback equipment synchronous broadcast methods according to claim 1, which is characterized in that the saltus step threshold value is to fix Saltus step threshold value or dynamic hop threshold value.
5. more playback equipment synchronous broadcast methods according to claim 4, which is characterized in that according to the main playback equipment Determine the dynamic hop threshold value from the synchronization accuracy of playback equipment with described, the numerical value of the dynamic hop threshold value be more than zero and Less than the synchronization accuracy.
6. a kind of more playback equipment synchronous playing systems, which is characterized in that including:
Synchronization message acquisition module disappears for obtaining main playback equipment from playback equipment by synchronizing of sending of preset sending frequency Breath;
Present system time determining module, it is described from broadcasting for being determined according to system time when getting the synchronization message The present system time of equipment;
Network delay jumps variant determination module, for according to first present system time from playback equipment, second current First currently playing progress of system time and the main playback equipment, the second currently playing progress determine network delay saltus step Amount;
Saltus step amount judgment module, for judging whether the absolute value numerical value of the network delay saltus step amount is less than saltus step threshold value;
Currently playing progress determining module is used for when the absolute value numerical value of the network delay saltus step amount is less than saltus step threshold value, Described second currently playing progress is determined as the currently playing progress from playback equipment;
Execution module, for when the absolute value numerical value of the network delay saltus step amount be greater than or equal to saltus step threshold value when, it is described from Playback equipment does not execute the synchronization message.
7. a kind of terminal, which is characterized in that including more playback equipment synchronous playing systems described in claim 6.
CN201810328775.XA 2018-04-13 2018-04-13 A kind of more playback equipment synchronous broadcast methods, system and terminal Pending CN108540830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810328775.XA CN108540830A (en) 2018-04-13 2018-04-13 A kind of more playback equipment synchronous broadcast methods, system and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810328775.XA CN108540830A (en) 2018-04-13 2018-04-13 A kind of more playback equipment synchronous broadcast methods, system and terminal

Publications (1)

Publication Number Publication Date
CN108540830A true CN108540830A (en) 2018-09-14

Family

ID=63480210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810328775.XA Pending CN108540830A (en) 2018-04-13 2018-04-13 A kind of more playback equipment synchronous broadcast methods, system and terminal

Country Status (1)

Country Link
CN (1) CN108540830A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111541926A (en) * 2020-05-08 2020-08-14 浙江大华技术股份有限公司 Multimedia file playing method and device, storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997027A (en) * 2005-12-23 2007-07-11 安捷伦科技有限公司 Removing delay fluctuation in network time synchronization
CN102447868A (en) * 2010-10-11 2012-05-09 扬智电子(上海)有限公司 Video stream fast playing method
US20120243454A1 (en) * 2011-03-24 2012-09-27 Hwang Hyo Sun Method and apparatus of sensor network supporting bidirectional event detection
CN103828288A (en) * 2011-10-06 2014-05-28 索尼公司 Frequency difference detection device, frequency difference detection method, and program
CN103842918A (en) * 2011-10-06 2014-06-04 索尼公司 Time control device, time control method, and program
CN104602037A (en) * 2015-02-10 2015-05-06 福州瑞芯微电子有限公司 Method, device, terminal and system for controlling synchronous playing of multiple devices
CN106792073A (en) * 2016-12-29 2017-05-31 北京奇艺世纪科技有限公司 Method, playback equipment and system that the audio, video data of striding equipment is synchronously played

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997027A (en) * 2005-12-23 2007-07-11 安捷伦科技有限公司 Removing delay fluctuation in network time synchronization
CN102447868A (en) * 2010-10-11 2012-05-09 扬智电子(上海)有限公司 Video stream fast playing method
US20120243454A1 (en) * 2011-03-24 2012-09-27 Hwang Hyo Sun Method and apparatus of sensor network supporting bidirectional event detection
CN103828288A (en) * 2011-10-06 2014-05-28 索尼公司 Frequency difference detection device, frequency difference detection method, and program
CN103842918A (en) * 2011-10-06 2014-06-04 索尼公司 Time control device, time control method, and program
CN104602037A (en) * 2015-02-10 2015-05-06 福州瑞芯微电子有限公司 Method, device, terminal and system for controlling synchronous playing of multiple devices
CN106792073A (en) * 2016-12-29 2017-05-31 北京奇艺世纪科技有限公司 Method, playback equipment and system that the audio, video data of striding equipment is synchronously played

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111541926A (en) * 2020-05-08 2020-08-14 浙江大华技术股份有限公司 Multimedia file playing method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN107580783B (en) Method, system and storage medium for synchronizing media content between different devices
CN106658133B (en) Audio and video synchronous playing method and terminal
CN107277594B (en) Method and device for synchronizing video and audio with bullet screen
CN109089130B (en) Method and device for adjusting timestamp of live video
CN111541913B (en) Video playing method and device of spliced screen, computer equipment and medium
US11595731B2 (en) Implementation method and system of real-time subtitle in live broadcast and device
US10728613B2 (en) Method and apparatus for content insertion during video playback, and storage medium
CN108540829B (en) Synchronous playing method, system and terminal for multi-playing device
CN110798458B (en) Data synchronization method, device, equipment and computer readable storage medium
CN105979346A (en) Method and device for playing streaming media
CN109167890B (en) Sound and picture synchronization method and device and display equipment
CN110213635B (en) Video mixing method, video mixing device and storage medium
US11606589B2 (en) Dynamic delay equalization for media transport
EP3174312A1 (en) Playback method and playback device for a multiroom sound system
CN107770569A (en) Multimedia synchronous broadcast method, apparatus and system
US9471272B2 (en) Skip of a portion of audio
CN104615432B (en) Splash screen information processing method and client
CN108540830A (en) A kind of more playback equipment synchronous broadcast methods, system and terminal
CN116527977A (en) Sound and picture synchronization method and device, electronic equipment and readable storage medium
CN107239253B (en) Wireless local area network player, system and method for synchronizing playing speed
CN111541531A (en) Double-end time delay alignment method and device, server and storage medium
US9806967B2 (en) Communication device and data processing method
CN111193570A (en) Method, device, system, medium and electronic equipment for executing instructions
CN113411636A (en) Live wheat-connecting method and device, electronic equipment and computer-readable storage medium
WO2022087845A1 (en) Terminal control method, apparatus, and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Visual Technology Co., Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180914

RJ01 Rejection of invention patent application after publication