CN104079957B - A kind of method and system of multimedia equipment simultaneously operating - Google Patents
A kind of method and system of multimedia equipment simultaneously operating Download PDFInfo
- Publication number
- CN104079957B CN104079957B CN201410294339.7A CN201410294339A CN104079957B CN 104079957 B CN104079957 B CN 104079957B CN 201410294339 A CN201410294339 A CN 201410294339A CN 104079957 B CN104079957 B CN 104079957B
- Authority
- CN
- China
- Prior art keywords
- media device
- pending packet
- time
- packet
- pending
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The present invention is applied to media device technical field there is provided a kind of method and system of multimedia equipment simultaneously operating, and methods described is applied to the media system constituted comprising at least one source media device, at least one target media devices, including:Source media device sends pending packet to target media devices;The execution temporal information of the pending packet is included in the pending packet;Target media devices receive the pending packet, and therefrom obtain the execution temporal information of the pending packet;Source media device and target media devices synchronously perform the pending packet according to the execution temporal information.By the present invention can effectively alleviate media device carry out time synchronized when caused by exceedingly transmitting specific synchronization packets network load and time delay floating so that enhance media device synchronization play media data or perform operational order accuracy.
Description
Technical field
The invention belongs to media device technical field, more particularly to a kind of multimedia equipment simultaneously operating method and be
System.
Background technology
With the development of the communication technology, many equipment in life all employ network to carry out communication interaction, such as intelligence
Multimedia system of energyization etc..When being communicated between multimedia equipment, because the uncertain factor in network transmission can shadow
Ring and arrive the network bandwidth, the network-induced delay that the transmitting-receiving of packet is produced is different, and this has just had influence on multimedia equipment
Between synchronous play and simultaneously operating.For this problem, use pass through between multimedia equipment substantially in the prior art
The intermittent specific synchronization packets of transmission to calculate the time difference of data transfer between media device, i.e. time delay in real time.
When multimedia equipment synchronizes broadcasting, reproduction time is corrected using the time delay, and then realize synchronous play.
However, due to when the time delay of network is not that the data volume transmitted in constant value, network is larger, during delay
Between size can produce larger floating, the error of reproduction time is corrected using the time delay also will increase.So
Need more frequently being to send synchronization packets between multimedia equipment to play out the correction of time, add again on the contrary
The load of network so that synchronous error increase.
The content of the invention
It is an object of the invention to provide a kind of method and system of multimedia equipment simultaneously operating, to mitigate media device
Caused network load and the floating of time delay during synchronization packets progress time synchronized specific by intermittent transmission,
Strengthen media device synchronization to play media data or perform the accuracy of operational order.
The present invention is achieved in that a kind of method of multimedia equipment simultaneously operating, applied to including at least one source
The media system of media device, at least one target media devices composition, methods described includes:
Source media device sends pending packet to target media devices;Wait to hold comprising this in the pending packet
The execution temporal information of row packet;
Target media devices receive the pending packet, and therefrom obtain the execution time of the pending packet
Information;
Source media device and target media devices synchronously perform the pending packet according to the execution temporal information.
Further, the pending packet is instructed comprising media data to be played or on-unit;
The source media device and target media devices synchronously perform the pending number according to the execution temporal information
It is specially according to bag:
Source media device and target media devices according to the execution temporal information synchronously the media data to be played or
Pending operational order described in person.
Further, the execution temporal information is a default tolerance, and the tolerance is the pending data
The difference for sending time and expected execution time of bag;
The source media device and target media devices synchronously perform the pending number according to the execution temporal information
It is specially according to bag:
When the source media device and target media devices are according to the transmission of the tolerance and the pending packet
Between calculate expection execution time of the pending packet, performed when reaching the expected execution time described pending
Packet.
Further, the system also includes the media device of an offer clock information, and methods described is set in source media
Before the standby pending packet to target media devices transmission, in addition to:
The source media device or target media devices obtain standard time peace from the media device for providing clock information
Equal network delay, to carry out clock alignment.
The second aspect of the present invention includes there is provided a kind of system of multimedia equipment simultaneously operating, the system:At least
One source media device, at least one target media devices;
The source media device, for sending pending packet to target media devices;In the pending packet
Execution temporal information comprising the pending packet;And the pending data are being performed according to the execution temporal information
Bag.
The target media devices, for receiving the pending packet, and therefrom obtain the pending packet
Execution temporal information;The pending packet is performed according to the execution temporal information.
Further, the pending packet is instructed comprising media data to be played or on-unit;
The source media device and target media devices specifically for:
The temporal information synchronously media data to be played or the pending operational order are performed according to described.
Further, the execution temporal information is a default tolerance;The tolerance is the pending data
The difference for sending time and expected execution time of bag;
The source media device and target media devices specifically for:
The pre- of the pending packet is gone out according to the transmission Time Calculation of the tolerance and the pending packet
Phase performs the time, and the pending packet is performed when reaching the expected execution time.
Further, the system also include one offer clock information media device, the source media device or
Target media devices are additionally operable to:
Standard time and average network delay are obtained from the media device for providing clock information, to carry out clock alignment.
The beneficial effect that the embodiment of the present invention exists compared with prior art is:The embodiment of the present invention is by pending packet
Execution temporal information be added in pending packet so that target media devices described with the addition of the execution time receiving
After the pending packet of information, it can be realized according to the execution temporal information and wait to hold described in performing with source media device synchronization
Row packet, enhances media device synchronization and plays media data or perform the accuracy of operational order, and effectively subtract
Light media device network load and delay caused by exceedingly transmitting specific synchronization packets when synchronizing
The floating of time.
Brief description of the drawings
Fig. 1 is the composition structure chart for the multimedia equipment synchronously operating system that the embodiment of the present invention one is provided;
Fig. 2 is the first implementation process figure of the multimedia equipment simultaneously operating method that the embodiment of the present invention two is provided;
Fig. 3 is the second implementation process figure of the multimedia equipment simultaneously operating method that the embodiment of the present invention three is provided;
Fig. 4 is in the multimedia equipment simultaneously operating method that the embodiment of the present invention three is provided between three main medium equipment
Interaction schematic diagram;
Fig. 5 is the composition structure chart for the multimedia equipment that the embodiment of the present invention four is provided.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The execution temporal information of pending packet is added in pending packet by the embodiment of the present invention so that target
Media device is real according to the execution temporal information after the pending packet that with the addition of execution temporal information is received
The pending packet now is performed with source media device synchronization, media device synchronization is enhanced and plays media data or execution
The accuracy of operational order, effectively alleviates media device when synchronizing due to exceedingly transmitting specific synchrodata
Network load caused by bag and the floating of time delay.
Embodiment one
Fig. 1 shows the composition structure of the system for the multimedia equipment simultaneously operating that the embodiment of the present invention one is provided, in order to
It is easy to explanation, illustrate only part related to the present embodiment.
As shown in figure 1, the system includes at least three media devices, one is to send media data to other media devices
Or source media device 1, a media data or the mesh of operational order for the transmission of reception source media device for operational order
Mark media device 2, a media device 3 to provide clock information.
It should be noted that the source media device 1, target media devices 2 and the media device 3 for providing clock information
It is that comparatively, a media device both can be source media device or target media devices, be worked as by the media device
Preceding performed function is determined.Specifically, when the media device will send media data or operation to other media devices
During instruction, it is source media device;When the media device is the media data or operational order that reception source media device is sent
When, it is target media devices.It is of course also possible to specify one of media device to be set as the media for providing clock information
It is standby.
In the present embodiment, using provide clock information media device time as the standard time.Start in media device
When, standard time and average network delay are obtained from the media device for providing clock information, to carry out clock alignment.
Enter the calibration of row clock during by starting so that each media device is (except the media device for providing clock information
Standard time and averaging network time-delay calculation that outside) can be based on acquisition go out prover time value, and by itself it is current when
Clock is adjusted to the prover time value.So as to ensure that the clock of all media devices in system is consistent, even if the short time
It is interior without calibration, the clocking error between media device is also little.Experimental data is drawn, by clock alignment during startup,
The error that media device is produced when having run 30 minutes is only 10 milliseconds, and the error produced at 1 hour is 10 milliseconds to 30
Millisecond.
When sending packet, the source media device 1 sends pending packet to target media devices 2, described to treat
Perform the execution temporal information for including the pending packet in packet;And treated according to being performed the execution temporal information
Perform packet.
The target media devices 2 are received after the pending packet, therefrom obtain the pending packet
Perform temporal information;The pending packet is performed according to the execution temporal information.
It is preferred that the, instructed in the pending packet comprising media data to be played or on-unit.
As the preferred embodiment of the present invention, the execution temporal information can be a default tolerance or pre-
Phase performs the time.It should be noted that transmission time and expected execution time of the tolerance for the pending packet
Difference, i.e., the transmission time of m- pending packet when tolerance=pending packet is expected to perform.The pending number
It it is the time that source media device sends the pending packet according to the time that sends of bag.Therefore, the tolerance characterizes source
Media device or target media devices perform described pending after the pending packet is sent in the time how long
Packet.
Preferably, the execution temporal information can be the expected execution time.The source media device 1 is set to target medium
Standby 2 send before pending packet, according to the transmission time of the default tolerance and pending packet, calculate and treat
The expection execution time of packet is performed, the expected execution time is added in pending packet and is together sent to mesh
Mark media device 2.
The target media devices 2 receive the pending packet, and therefrom obtain the expection of the packet and hold
The row time.
Source media device 1 and target media devices 2 perform the pending packet according to the expected execution time.
Preferably, when the execution temporal information can be tolerance.The source media device 1 is to target media devices 2
Send before pending packet, the tolerance is added in pending packet and is together sent to target media devices 2;
And according to the transmission time of the tolerance and pending packet, calculate the expection execution time of pending packet.
The target media devices 2 are received after the pending packet, therefrom obtain the tolerance.According to institute
The transmission time of tolerance and pending packet is stated, the expection execution time of pending packet is calculated.
Source media device 1 and target media devices 2 perform the pending packet according to the expected execution time.
In the present embodiment, the expection execution time of pending packet or default tolerance are added to pending
In packet so that target media devices are after the pending packet that with the addition of execution temporal information is received, directly
Read the expection execution time of the pending packet or the expected execution time calculated according to the default tolerance,
Realize and perform the pending packet with source media device synchronization, enhance media device synchronization and play media data or hold
The accuracy of row operational order.Further, because the present invention need not transmit specific synchrodata between media device
Bag, can effectively mitigate and the floating of network load caused by specific synchronization packets and time delay is transmitted between media device
It is dynamic.Further, the present invention is by setting a media device to provide the standard time, it is ensured that all media in system
The clock of equipment is consistent, even if without calibrating in the short time, the clocking error between media device is also little.
In addition, the tolerance in the present embodiment can be understood as having done error benefit to the network delay in data transmission procedure
Repay so that target media devices are when the time for receiving pending packet being less than the expected execution of the pending packet
Between, therefore, source media device and target media devices have ample time to be ready to carry out the pending packet, and source
The clock of media device and target media devices is synchronous, and it is also synchronous to perform the pending packet.The tolerance
Preferably 100 milliseconds.
Embodiment two
Fig. 2 shows the first implementation process of the method for the multimedia equipment simultaneously operating that the embodiment of the present invention two is provided,
Methods described includes:
In step s 201, source media device sends pending packet to target media devices;The pending data
The execution temporal information of the pending packet is included in bag.
In the present embodiment, the source media device and target media devices are that comparatively, a media device was both
It can be source media device or target media devices, be determined by the currently performed function of the media device.Specifically
, when the media device will send media data or operational order to other media devices, it is source media device;When this
When media device is the media data or operational order that reception source media device is sent, it is target media devices.
Preferably, the execution temporal information is a default tolerance.It should be noted that the tolerance is treated to be described
Perform the difference for sending time and expected execution time of packet, i.e., it is m- when tolerance=pending packet is expected to perform
The transmission time of pending packet.The transmission time of the pending packet is that source media device sends the pending number
According to the time of bag.Therefore, the tolerance characterizes source media device or target media devices in the pending packet
The pending packet is performed after transmission in time how long.
Preferably, it is described to perform the expection execution time that temporal information is pending packet.The expected execution time
Drawn, and set by the source media according to the transmission Time Calculation of default tolerance and pending packet by source media device
Standby be added in the pending packet together sends.
In step S202, target media devices receive the pending packet, and therefrom obtain the pending number
According to the execution temporal information of bag.
In step S203, source media device and target media devices are according to synchronously being performed the execution temporal information
Pending packet.
In the present embodiment, when the execution temporal information is the expection execution time of pending packet, the source matchmaker
Body equipment and target media devices perform the pending packet according to the expected time synchronized that performs.
When the execution temporal information is default tolerance, the source media device and target media devices are according to described
The transmission Time Calculation of tolerance and the pending packet goes out the expection execution time of the pending packet, according to institute
State the expected execution time execution pending packet.
Media data including but not limited to be played or on-unit instruction in the pending packet.Institute
When stating pending packet comprising media data to be played, the source media device and target media devices are performed according to described
Synchronously the media data to be played is played in the media data to be played, i.e. synchronization to temporal information;The pending number
During according to bag comprising on-unit instruction, the source media device and target media devices are same according to the execution temporal information
Walk the on-unit instruction, i.e., it is synchronous to perform the on-unit instruction.Herein, operational order is included but not
It is limited to volume increase, volume reduction, F.F., pause, retrogressing etc..
The embodiment of the present invention is treated by the way that the expection execution time of pending packet or default tolerance are added to
Perform in packet so that target media devices receive it is described with the addition of the pending packet for performing temporal information after,
Directly read the expection execution time of the pending packet or according to the default tolerance and pending packet
Transmission Time Calculation go out the expected execution time, realize and perform the pending packet with source media device synchronization, enhance
Media device synchronization plays media data or performs the accuracy of operational order.Further, because the present invention is being carried out together
Specific synchronization packets need not be transmitted between media device during step, can effectively mitigated due to the specific same step number of transmission
According to the floating of network load caused by bag and time delay.
Embodiment three
Fig. 3 shows the second implementation process of the method for the multimedia equipment simultaneously operating that the embodiment of the present invention three is provided,
Applied in the system shown in Fig. 1 embodiments, methods described includes:
In step S301, source media device or target media devices obtain mark from the media device for providing clock information
With average network delay between punctual, to carry out clock alignment.
In the present embodiment, when source media device or target media devices start, set with the media of offer clock information
It is standby repeatedly to be interacted, the standard time (time of the i.e. described media device that clock information is provided) is obtained, and calculate average
Network delay.The standard time is added into averaging network time delay, so as to obtain prover time value, by the clock of itself adjust to
The prover time value, so as to ensure that the clock of all media devices in system is consistent, even if in the short time without
Clocking error between calibration, media device is also little.Experimental data is drawn, by clock alignment during startup, media device
The error produced when having run 30 minutes is only 10 milliseconds, and the error produced at 1 hour is 10 milliseconds to 30 milliseconds.
Preferably, source media device or target media devices are repeatedly handed over providing the media device of clock information
Mutually, the step of calculating averaging network time delay be specially:
A. source media device or target media devices send network test bag to the media device for providing clock information, and
Record the transmission time value T1 of network test bag;
B. source media device or target media devices receive the response that the media device for providing clock information is returned
Test bag, and record the reception time T of response test bag4;The response test bag includes standard time T, network test
The reception time value T of bag2With the transmission time value T of response test bag3;
C. according to the transmission time value T of the network test bag1With reception time value T2, response test bag the transmission time
Value T3With reception time value T4, calculate averaging network time delay Δ T.
Wherein, the calculation formula of averaging network time delay is:
Δ T=((T4-T1)-(T3-T2))/2
Repeatedly interacted, obtained with providing the media device of clock information by source media device or target media devices
The average value of current network time delay is taken, to reduce error.
In step s 302, source media device sends pending packet to target media devices;The pending data
The execution temporal information of the pending packet is included in bag.
In the present embodiment, the pending packet also refers to comprising media data to be played or on-unit
Order.
The execution information can be expection execution time or a default tolerance for pending packet.Need
It is bright, the tolerance for the pending packet the difference for sending time and expected execution time, i.e., tolerance=
The transmission time of m- pending packet when pending packet is expected to perform.The transmission time of the pending packet is
Source media device sends the time of the pending packet.Therefore, the tolerance characterizes source media device or target
Media device performs the pending packet after the pending packet is sent in the time how long.
In step S303, target media devices receive the pending packet, and therefrom obtain the pending number
According to the execution temporal information of bag.
In step s 304, source media device and target media devices are according to synchronously being performed the execution temporal information
Pending packet.
In the present embodiment, when the execution temporal information is the expection execution time of pending packet, the source matchmaker
Body equipment and target media devices perform the pending packet according to the expected time synchronized that performs.
When the execution temporal information is default tolerance, the source media device and target media devices are according to described
The transmission Time Calculation of tolerance and the pending packet goes out the expection execution time of the pending packet, according to institute
State the expected execution time execution pending packet.
Media data including but not limited to be played or on-unit instruction in the pending packet.Institute
When stating pending packet comprising media data to be played, the source media device and target media devices are performed according to described
Temporal information synchronously plays the media data to be played;When the pending packet is instructed comprising on-unit,
The source media device and target media devices synchronously perform the on-unit according to the execution temporal information and instructed.
Here operational order includes but is not limited to volume increase, volume reduction, F.F., pause, retrogressing etc..
Fig. 4 shows three main medium equipment in the method for multimedia equipment simultaneously operating provided in an embodiment of the present invention
Between interaction schematic diagram.Here pending packet is comprising media data to be played and performs temporal information, described
It is expected execution time, default tolerance T to perform temporal informationrcFor 100ms.In Fig. 4, source media device and target medium
When device power-up starts, set time with providing the media device of clock information, obtain the standard time, and during by the standard
Between add averaging network time delay, so as to obtain prover time value, the time value that the clock of itself is the calibration is adjusted, to realize
Clock is synchronous.After oversampling clock synchronization, the clock T of source media devicedev1With the clock T of target media devicesdev2It is synchronous.
In transmission media data, source media device is according to (i.e. time transmission time of default tolerance and pending packet
Tdev1-1) calculate expection execution time of pending packet, i.e., the expection execution time T of pending packetdev1-p=treat
Perform the transmission time T of packetdev1-1+Trc, by the expection execution time T of the pending packetdev1-pIt is added to described
In pending packet, target media devices are together sent to.Target media devices are in Tdev2-2Receive the pending data
Bag, the expection execution time for therefrom reading out the pending packet is Tdev1-p.When clock reaches Tdev1-p(i.e. Tdev2-p), source
Media device and target media devices synchronously play the media data in the pending packet, it is achieved thereby that media device
It is synchronous to play media data.
The embodiment of the present invention is treated by the way that the expection execution time of pending packet or default tolerance are added to
Perform in packet so that target media devices receive it is described with the addition of the pending packet for performing temporal information after,
Directly read the expection execution time of the pending packet or according to the default tolerance and pending packet
Transmission Time Calculation go out the expected execution time, realize and perform the pending packet with source media device synchronization, enhance
Media device synchronization plays media data or performs the accuracy of operational order.Further, because the present invention does not need matchmaker
Specific synchronization packets are transmitted between body equipment, can effectively mitigate network caused by the specific synchronization packets of transmission
Load and the floating of time delay.Further, the present invention is by setting a media device to provide clock information, it is ensured that
The clock of all media devices in system is consistent, even if without calibration in the short time, the clock between media device
Error is also little.
Example IV
Fig. 5 shows the composition structure for the media device that the embodiment of the present invention four is provided, and for convenience of description, illustrate only
Part related to the present invention.
The media device includes:
Clock alignment module 51, during for obtaining standard time and averaging network from the media device for providing clock information
Prolong, to carry out clock alignment.
Packet sending module 52, for sending pending packet to target media devices;Included in the packet
The execution temporal information of the pending packet.
Packet-receiving module 53, for receiving the pending packet, and therefrom obtains the pending packet
Execution temporal information.
Packet performing module 54, it is described pending for being performed according to the execution temporal information of the pending packet
Packet.
Wherein, the content of the pending packet is that media data to be played or on-unit are instructed.
The expection execution time that temporal information is performed for pending packet or a default tolerance;It should be noted that
The tolerance sends the time with being expected the difference of execution time, i.e. tolerance=pending number for the pending packet
The transmission time of m- pending packet when being performed according to bag is expected.The transmission time of the pending packet is that source media are set
Preparation send the time of the pending packet.Therefore, the tolerance characterizes source media device or target media devices
After the pending packet is sent the pending packet is performed in the time how long.
It is described execution temporal information be default tolerance when, the packet performing module 54 specifically for:
The pre- of the pending packet is gone out according to the transmission Time Calculation of the tolerance and the pending packet
Phase performs the time, and the pending packet is performed according to the expected execution time.
The those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each
The division progress of functional unit is for example, in practical application, as needed can distribute above-mentioned functions by different work(
Can unit complete, will the internal structure of the terminal device be divided into different functional unit or module, retouched with completing the above
The all or part of function of stating.Each functional unit in embodiment can with it is integrated in a unit or each list
Only physical location is present, can also two or more units it is integrated in a unit, above-mentioned integrated unit both can be with
Realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, the specific name of each functional unit
Also only to facilitate mutually distinguishing, it is not limited to the protection domain of the application.Unit is specific in above-mentioned terminal device
The course of work, may be referred to the corresponding process in previous embodiment, will not be repeated here.
Those of ordinary skill in the art are further appreciated that all or part of step realized in above-described embodiment method is can
To instruct related hardware come what is completed by program, described program can be stored in a computer-readable recording medium,
Described storage medium, including ROM/RAM, disk, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
Any modifications, equivalent substitutions and improvements made within refreshing and principle etc., should be included in the scope of the protection.
Claims (8)
1. a kind of method of multimedia equipment simultaneously operating, it is characterised in that applied to comprising at least one source media device, extremely
The media system of few target media devices composition, methods described includes:
Source media device sends pending packet to target media devices;The pending number is included in the pending packet
According to the execution temporal information of bag;Wherein, the temporal information that performs is the pre- of a default tolerance or pending packet
Phase performs the time;The tolerance be source media device send pending packet send the pre- of time and pending packet
Phase performs the difference of time;
Target media devices receive the pending packet, and therefrom obtain the execution time letter of the pending packet
Breath;
Source media device and target media devices synchronously perform the pending packet according to the execution temporal information, specifically
For:
When the execution temporal information is a default tolerance, source media device is sent to target media devices to be waited to hold
Before row packet, the tolerance is added in pending packet and is together sent to target media devices, source media device
The pending data are gone out according to the transmission Time Calculation of the tolerance and the pending packet with target media devices
The expection execution time of bag, the pending packet is performed when reaching the expected execution time;
When the execution temporal information is the expection execution time of the pending packet, source media device is to target medium
Equipment is sent before pending packet, according to the transmission time of the default tolerance and pending packet, is calculated and is treated
The expection execution time of packet is performed, the expection execution time of the pending packet calculated is added to pending data
Target media devices are together sent in bag, target media devices receive the pending packet, and are therefrom treated described in acquisition
The expection execution time of packet is performed, source media device and target media devices are performed according to the expection execution time got
The pending packet.
2. the method for multimedia equipment simultaneously operating as claimed in claim 1, it is characterised in that the pending packet bag
Instructed containing media data to be played or on-unit;
The source media device and target media devices synchronously perform the pending packet according to the execution temporal information
Specially:
Source media device and target media devices according to the execution temporal information synchronously the media data to be played or
The on-unit instruction.
3. the method for multimedia equipment simultaneously operating as claimed in claim 1, it is characterised in that the system also includes one
The media device of clock information is provided, methods described source media device to target media devices send pending packet it
Before, in addition to:
The source media device or target media devices obtain standard time and average net from the media device for providing clock information
Network time delay, to carry out clock alignment.
4. the method for multimedia equipment simultaneously operating as claimed in claim 3, it is characterised in that the source media device or mesh
Mark media device and obtain standard time and average network delay from the media device for providing clock information, to carry out clock alignment
Step is specially:
The source media device or target media devices send network test bag to the media device for providing clock information, and record
The transmission time value of network test bag;
The source media device or target media devices receive the media device for providing clock information and surveyed according to the network
The response test bag that examination bag is returned, and record the reception time of response test bag;The response test bag includes described carry
The reception time value of standard time, network test bag for the media device of clock information and the transmission time of response test bag
Value;
The source media device or target media devices are according to the transmission time value of the network test bag and receive time value, sound
Answer the transmission time value of test bag and receive time value, calculate averaging network time delay;
The source media device or target media devices calculate school according to the standard time and average network delay of acquisition
Quasi- time value;
The clock of itself is adjusted to the prover time value by the source media device or target media devices.
5. a kind of system of multimedia equipment simultaneously operating, it is characterised in that the system includes:
At least one source media device, at least one target media devices;
The source media device, for sending pending packet to target media devices;Included in the pending packet
The execution temporal information of the pending packet;And the pending packet is being performed according to the execution temporal information;
The target media devices, for receiving the pending packet, and therefrom obtain holding for the pending packet
Row temporal information;The pending packet is performed according to the execution temporal information;
Wherein, it is described to perform the expection execution time that temporal information is a default tolerance or pending packet;It is described
Tolerance is the difference for sending time and expected execution time that the source media device sends pending packet;
When the execution temporal information is a default tolerance, source media device is sent to target media devices to be waited to hold
Before row packet, the tolerance is added in the pending packet and is together sent to target media devices, source media
Equipment and target media devices go out described pending according to the transmission Time Calculation of the tolerance and the pending packet
The expection execution time of packet, the pending packet is performed when reaching the expection execution time calculated;
When the execution temporal information is the expection execution time of the pending packet, source media device is to target medium
Equipment is sent before the execution packet, according to the transmission time of the default tolerance and the pending packet, meter
The expection execution time of the pending packet is calculated, the expection execution time of the pending packet calculated is added to
Target media devices are together sent in the pending packet, target media devices receive the pending packet, and
The expection execution time of the pending packet is therefrom obtained, source media device and target media devices are pre- according to what is got
Phase performs the time execution pending packet.
6. the system of multimedia equipment simultaneously operating as claimed in claim 5, it is characterised in that the pending packet bag
Instructed containing media data to be played or on-unit;
The source media device and target media devices specifically for:
According to the execution temporal information synchronously media data to be played or on-unit instruction.
7. the system of multimedia equipment simultaneously operating as claimed in claim 5, it is characterised in that the system also includes one
The media device of clock information is provided, the source media device or target media devices are additionally operable to:
Standard time and average network delay are obtained from the media device for providing clock information, to carry out clock alignment.
8. the system of multimedia equipment simultaneously operating as claimed in claim 7, it is characterised in that the source media device or
Target media devices specifically for:
Network test bag is sent to the media device for providing clock information, and records the transmission time value of network test bag;
The response test bag that the media device for providing clock information is returned according to the network test bag is received, and is recorded
The reception time of response test bag;When the response test bag includes the standard of the media device of the offer clock information
Between, the transmission time value of the reception time value of network test bag and response test bag;
During according to the transmission time value of the network test bag and reception time value, the transmission time value of response test bag and reception
Between be worth, calculate averaging network time delay;
Prover time value is calculated according to the standard time of acquisition and average network delay;
The clock of itself is adjusted to the prover time value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410294339.7A CN104079957B (en) | 2014-06-25 | 2014-06-25 | A kind of method and system of multimedia equipment simultaneously operating |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410294339.7A CN104079957B (en) | 2014-06-25 | 2014-06-25 | A kind of method and system of multimedia equipment simultaneously operating |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104079957A CN104079957A (en) | 2014-10-01 |
CN104079957B true CN104079957B (en) | 2017-09-01 |
Family
ID=51600964
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410294339.7A Active CN104079957B (en) | 2014-06-25 | 2014-06-25 | A kind of method and system of multimedia equipment simultaneously operating |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104079957B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104349199B (en) * | 2014-11-21 | 2017-09-26 | 王方淇 | A kind of information synchronization method and device |
CN104637505B (en) * | 2014-12-31 | 2017-06-16 | 小米科技有限责任公司 | Audio frequency playing method and device |
CN105159914B (en) * | 2015-07-09 | 2018-10-02 | 中央电视台 | Material processing, editing and back-migrating method and device |
CN106550248B (en) * | 2015-09-18 | 2020-05-01 | 中国移动通信集团公司 | Audio and video synchronization method and device |
CN105392040B (en) * | 2015-11-05 | 2019-02-19 | Oppo广东移动通信有限公司 | A kind of control method and control system that more equipment synchronize pause and play |
CN105430439B (en) * | 2015-11-20 | 2017-09-15 | 广东欧珀移动通信有限公司 | Synchronizing traffic data is played and synchronous played data provides method, device |
CN106302244A (en) * | 2016-08-11 | 2017-01-04 | 自连电子科技(上海)有限公司 | A kind of Apparatus for () and method therefor eliminating network transmission jitter |
CN106454421B (en) * | 2016-10-08 | 2019-07-16 | Oppo广东移动通信有限公司 | A kind of clock adjustment, device, terminal and multimedia synchronous play system |
CN106426169B (en) * | 2016-10-21 | 2018-11-20 | 中国科学院力学研究所 | Method and apparatus for multioperation end remote control single operation object |
TWI690878B (en) * | 2018-11-02 | 2020-04-11 | 緯創資通股份有限公司 | Synchronous playback system and synchronous playback method |
CN111193570A (en) * | 2019-12-30 | 2020-05-22 | 北京凯视达科技有限公司 | Method, device, system, medium and electronic equipment for executing instructions |
CN111913397B (en) * | 2020-07-10 | 2022-08-26 | 青岛易来智能科技股份有限公司 | Device control method, device, storage medium, and electronic apparatus |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1398931A1 (en) * | 2002-09-06 | 2004-03-17 | Sony International (Europe) GmbH | Synchronous play-out of media data packets |
WO2009112070A1 (en) * | 2008-03-12 | 2009-09-17 | Genelec Oy | Data transfer method and system for loudspeakers in a digital sound reproduction system |
CN102710982A (en) * | 2011-01-19 | 2012-10-03 | 美国博通公司 | Synchronizing media streams using time signal(s) from an independent time source |
CN202759552U (en) * | 2012-06-18 | 2013-02-27 | 李洋 | Multi-terminal video synchronous playing system based on IP network |
CN103109540A (en) * | 2010-07-19 | 2013-05-15 | Lg电子株式会社 | Method for transceiving media files and device for transmitting/receiving using same |
CN103155584A (en) * | 2010-10-15 | 2013-06-12 | 汤姆逊许可公司 | Method for synchronizing multimedia flows and corresponding device |
CN103220120A (en) * | 2012-01-20 | 2013-07-24 | 腾讯科技(深圳)有限公司 | Time synchronizing method of mobile terminal, mobile terminal and time synchronizing system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103839558B (en) * | 2012-11-23 | 2016-08-31 | 三星电子(中国)研发中心 | Synchronous broadcast method and server, player |
-
2014
- 2014-06-25 CN CN201410294339.7A patent/CN104079957B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1398931A1 (en) * | 2002-09-06 | 2004-03-17 | Sony International (Europe) GmbH | Synchronous play-out of media data packets |
WO2009112070A1 (en) * | 2008-03-12 | 2009-09-17 | Genelec Oy | Data transfer method and system for loudspeakers in a digital sound reproduction system |
CN103109540A (en) * | 2010-07-19 | 2013-05-15 | Lg电子株式会社 | Method for transceiving media files and device for transmitting/receiving using same |
CN103155584A (en) * | 2010-10-15 | 2013-06-12 | 汤姆逊许可公司 | Method for synchronizing multimedia flows and corresponding device |
CN102710982A (en) * | 2011-01-19 | 2012-10-03 | 美国博通公司 | Synchronizing media streams using time signal(s) from an independent time source |
CN103220120A (en) * | 2012-01-20 | 2013-07-24 | 腾讯科技(深圳)有限公司 | Time synchronizing method of mobile terminal, mobile terminal and time synchronizing system |
CN202759552U (en) * | 2012-06-18 | 2013-02-27 | 李洋 | Multi-terminal video synchronous playing system based on IP network |
Also Published As
Publication number | Publication date |
---|---|
CN104079957A (en) | 2014-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104079957B (en) | A kind of method and system of multimedia equipment simultaneously operating | |
US11751157B2 (en) | Methods for timing advance indication and timing relationships indication for non-terrestrial networks | |
US8155157B2 (en) | Method and apparatus for synchronizing applications of terminals in communication network | |
US9798515B1 (en) | Clock synchronization for audio playback devices | |
US10129844B2 (en) | Timing synchronization for small cells with limited backhaul | |
US20210344435A1 (en) | Method for exchanging time synchronization packet and network apparatus | |
US9826491B2 (en) | Method and apparatus for synchronization of devices | |
US20160165558A1 (en) | Techniques for synchronizing timing of wireless streaming transmissions to multiple sink devices | |
US11632617B2 (en) | Method, apparatus and device for synchronously playing audio | |
WO2012055360A1 (en) | Method for time synchronization and device and system thereof | |
JP6313466B2 (en) | Apparatus and method for wireless synchronization of multiple multimedia devices using a common timing framework | |
JP2014238357A (en) | Reception device, time difference calculation method and program | |
WO2015106654A1 (en) | Method for sending and detecting synchronisation information, and user device | |
TW201431392A (en) | Method of spectrum detection and design of detection frame structure in communication system | |
CN104836654B (en) | A kind of clock synchronizing method based on Ethernet POWERLINK | |
WO2018177320A1 (en) | Clock processing method, access network device and terminal device | |
WO2016065642A1 (en) | Synchronization device and method | |
CN105611191B (en) | Voice and video file synthesis method, apparatus and system | |
CN111769895B (en) | Multi-device timing method and system and device timing method and device | |
US20210243707A1 (en) | Communication apparatus and communication system | |
König et al. | Effectively capturing attention using the capture effect | |
US11381938B2 (en) | Method and apparatus for providing unicast-based multimedia service | |
CN102983959B (en) | Method for realizing one-step mode and two-step mode for PTP (precision time synchronization protocol) in a plurality of MAC | |
KR20180050983A (en) | Method and apparatus for transmitting rtp packet | |
US9979502B2 (en) | Apparatus and method for sample clock correction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
CP03 | Change of name, title or address |