CN106454449A - Master sound box, slave sound box and method for controlling synchronous playing of audio by router - Google Patents
Master sound box, slave sound box and method for controlling synchronous playing of audio by router Download PDFInfo
- Publication number
- CN106454449A CN106454449A CN201610932421.7A CN201610932421A CN106454449A CN 106454449 A CN106454449 A CN 106454449A CN 201610932421 A CN201610932421 A CN 201610932421A CN 106454449 A CN106454449 A CN 106454449A
- Authority
- CN
- China
- Prior art keywords
- audio
- sound box
- main sound
- audio amplifier
- resource address
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4305—Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4126—The peripheral being portable, e.g. PDAs or mobile phones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/439—Processing of audio elementary streams
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Reverberation, Karaoke And Other Acoustics (AREA)
Abstract
The invention relates to a master sound box. The master sound box communicates with a terminal and a slave sound box, and comprises a receiving module, a resource address sending module, a notification sending module, a first real-time playing module and an active synchronizing module, wherein the receiving module is used for receiving an audio resource address of the terminal via a streaming media transmission protocol; the resource address sending module is used for, after receiving the audio resource address of the terminal, sending the audio resource address from the sound box; the notification sending module is used for sending a notification of acquiring audio by accessing the audio resource address and playing the audio in real time to the sound box; the first real-time playing module is used for, after sending the notification to the sound box, acquiring the audio by accessing the audio resource address, and playing the audio in real time; and the active synchronizing module is used for, when the audio is played in real time, sending synchronous calibration information to the sound box. The invention further provides a slave sound box and a method for controlling synchronous playing of audio by a router. The invention achieves the effect of synchronous playing of multiple wireless sound boxes, and can be applied to classrooms, playgrounds, subways and other similar places.
Description
Technical field
The present invention relates to Audiotechnica field is and in particular to main sound box, control synchronously playing audio frequency from audio amplifier and router
Method.
Background technology
For saving the laying cost of voice band line, many audio amplifiers scheme just develops towards wireless direction at present, with an office
In the net of domain, multiple wireless sound boxes play out to same audio resource, but the network connection feelings due to each audio amplifier under wireless network
Condition is different, exists and play nonsynchronous problem between wireless sound box, when needs are using multiple stage wireless sound box simultaneously with a place
During broadcasting, will appear from the phenomenon of sound aliasing when audio amplifier is play.
Content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, provide main sound box, from audio amplifier and
The method that router controls synchronously playing audio frequency, overcomes multiple stage wireless sound box to play nonsynchronous defect.
The present invention solves its problem and be employed technical scheme comprise that:
The invention provides a kind of main sound box, described main sound box is communicated with terminal, from audio amplifier, and described main sound box includes
Receiver module, transmission resource address module, transmission notification module, the first real-time play module and active synchronization module;
Receiver module is used for receiving the audio resource address that described terminal is sent by Streaming transfer protocol;
Send resource address module to be used for, behind the audio resource address receiving described terminal, sending institute to described from audio amplifier
State audio resource address;
Send notification module to be used for going forward side by side to described transmission from audio amplifier by accessing described audio resource address acquisition audio frequency
The notice of row real-time play;
First real-time play module is used for sending after described notice to described from audio amplifier, by accessing described audio resource ground
Location obtains audio frequency, to carry out real-time play;
Active synchronization module is used for, in audio frequency described in real-time play, sending synchronous calibration information to described from audio amplifier.
Wherein, described synchronous calibration information includes the audio frequency playing progress rate of main sound box and the system time of main sound box.
Further, described active synchronization module sends described synchronous calibration to described from audio amplifier in the way of unicast or multicast
Information.
Further, when described active synchronization module sends described synchronous calibration information to described from audio amplifier in the way of unicast
When, described active synchronization module according to the described distance from audio amplifier from as far as near order successively to each from audio amplifier send institute
State synchronous calibration information.
Further, when described active synchronization module sends described synchronous calibration information to described from audio amplifier in the way of unicast
When, if the described quantity from audio amplifier is N, described active synchronization module sends synchronous calibration letter to described from audio amplifier every the N second
Breath, wherein, N is positive integer, and N is at least 1.
Present invention also offers one kind is from audio amplifier, described communicated with main sound box from audio amplifier, described include connecing from audio amplifier
Receive resource address module, receive notification module, the second real-time play module and passive and synchronous module.
Receive resource address module to be used for receiving the audio resource address that described main sound box sends;
Receive notification module and be used for receiving that described main sound box sends by accessing described audio resource address acquisition audio frequency
And carry out the notice of real-time play;
Second real-time play module is used for after receiving the described notice that described main sound box sends, by accessing described audio frequency
Resource address obtains audio frequency, to carry out real-time play;
Passive and synchronous module is used for, in audio frequency described in real-time play, receiving the synchronous calibration letter that described main sound box sends
Breath;Wherein, described synchronous calibration information includes the audio frequency playing progress rate of main sound box and the system time of main sound box.
Further, described passive and synchronous module is after receiving the synchronous calibration information that described main sound box sends, according to described
Main sound box system time calculating network time delay, broadcast according to the audio frequency that described network-induced delay recalculates described main sound box
Degree of putting into, and school is synchronized to described from the playing progress rate of audio amplifier according to the playing progress rate of the described main sound box recalculating
Accurate.
Further, if the playing progress rate of the main sound box recalculating lags behind the described playing progress rate from audio amplifier, described
Passive and synchronous module is play by time-out or is synchronized calibration by way of slowing down broadcasting speed.
Further, if the described playing progress rate lagging behind the main sound box recalculating from the playing progress rate of audio amplifier, described
Passive and synchronous module is play by frame-skipping or is synchronized calibration by way of accelerating broadcasting speed.
Present invention also offers a kind of method that router controls synchronously playing audio frequency, including step:
The audio resource address that terminal is sent by Streaming transfer protocol is forwarded to main sound box;
The described audio resource address that described main sound box is sent behind the audio resource address receiving described terminal forwards
To from audio amplifier;
Behind the described described audio resource address from audio amplifier reception, by the transmission of described main sound box by accessing described audio frequency
Resource address obtain audio frequency and carry out real-time play notice be forwarded to described from audio amplifier;
Described receive described notice from audio amplifier after, receive respectively described main sound box and described pass through to access from audio amplifier described
Audio resource address acquisition audio frequency is to carry out the request of real-time play;
After receiving described request respectively, by accessing described audio resource address acquisition audio frequency, and it is forwarded to institute respectively
State main sound box and described from audio amplifier;
The synchronous calibration information that described main sound box is sent be forwarded to described from audio amplifier so that described main sound box with from sound
Described audio frequency synchronously play by case.
Further, described synchronous calibration information includes the audio frequency playing progress rate of main sound box and the system time of main sound box, makes
Realized and the described main sound box synchronously described audio frequency of broadcasting according to described audio frequency playing progress rate and system time from audio amplifier described in obtaining.
The beneficial effects of the present invention is, it is different from multiple stage wireless sound box networking of the prior art and play nonsynchronous asking
Topic, the invention provides a kind of main sound box, the method controlling synchronously playing audio frequency from audio amplifier and router.When playing audio frequency, institute
State main sound box and adjust, to according to the described quantity from audio amplifier, the time interval sending synchronous calibration information, synchronize school from audio amplifier
On time, network-induced delay is calculated according to main sound box system time, improve the degree of accuracy of synchronous calibration, thus realizing preferably
Synchronous result of broadcast.
Brief description
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is main sound box and the working environment figure from audio amplifier of an embodiment of the present invention;
Fig. 2 is the functional block diagram of the main sound box of an embodiment of the present invention;
Fig. 3 is the functional block diagram from audio amplifier of an embodiment of the present invention;
Fig. 4 is the flow chart of the method for router control synchronously playing audio frequency of an embodiment of the present invention.
Specific embodiment
In conjunction with accompanying drawing, presently preferred embodiments of the present invention is elaborated.
Fig. 1 shows main sound box and the working environment figure from audio amplifier of an embodiment of the present invention, in the present embodiment,
Main sound box 20, terminal 22 and the focus being connected to router 26 offer by WiFi respectively from audio amplifier 30 access the Internet, eventually
End 22 is communicated with main sound box 20, after audio amplifier 30 networking.In the present embodiment, the quantity from audio amplifier 30 is at least one
Platform, when from the quantity of audio amplifier more than one, every all connects, by WiFi, the focus providing to router 26 from audio amplifier.
Fig. 2 shows the functional block diagram of the main sound box of an embodiment of the present invention, and the main sound box shown in Fig. 2 is applied to figure
In working environment shown in 1.In the present embodiment, main sound box 20 include receiver module 202, send resource address module 204,
Send notification module 206, the first real-time play module 208 and active synchronization module 210.
Receiver module 202 is used for receiving the audio resource address that described terminal 22 is sent by Streaming transfer protocol;?
In present embodiment, terminal 22 refers to the terminal with radio communication function, such as mobile phone, panel computer.Audio resource address is wrapped
Include the audio resource address in the audio frequency address server of terminal local.In the present embodiment, Streaming transfer protocol is
DLNA agreement, QPLAY agreement, AIRPLAY agreement or DUPLAY agreement.
Send resource address module 204 to be used for, behind the audio resource address of receiving terminal 22, sending sound to from audio amplifier 30
Frequency resource address;When from the quantity of audio amplifier 30 more than one, send resource address module 204 by way of unicast or multicast
Send audio resource address to from audio amplifier 30;Send sound when sending resource address module 204 to from audio amplifier 30 in the way of unicast
During frequency resource address, send resource address module 204 and set up the sequencing that is connected of communication successively to each according to from audio amplifier 30
Individual from audio amplifier send audio resource address.In the present embodiment, send resource address module 204 and send audio frequency to from audio amplifier 30
Resource address.
Send playing module 206 to be used for sending by accessing audio resource address acquisition audio frequency and carrying out reality to from audio amplifier 30
When the notice play;In the present embodiment, when from the quantity of audio amplifier 30 more than one, then send playing module 206 and pass through
Multicast mode sends broadcasting notice to from audio amplifier 30.In order to reach superior technique effect, receiving audio resource from audio amplifier 30
To sending playing module 206 transmission confirmation behind address, send playing module 206 after receiving this confirmation, Xiang Congyin
Case 30 sends by access audio resource address acquisition audio frequency and carries out the notice of real-time play.
First real-time play module 208 is used for sending after notice from audio amplifier 30, by accessing audio resource address acquisition
Audio frequency, to carry out real-time play.In the present embodiment, after audio amplifier 30 is notified, access audio resource address acquisition sound
Frequency simultaneously carries out real-time play, and meanwhile, the first real-time play module 208 is passed through to access audio resource address acquisition audio frequency, to carry out
Real-time play.
Active synchronization module 210 is used in real-time play audio frequency, sending synchronous calibration information to from audio amplifier 30, to notify
Synchronize calibration from audio amplifier 30.In the present embodiment, synchronous calibration information include main sound box 20 audio frequency playing progress rate and
The system time of main sound box 20;Active synchronization module 210 is in the way of unicast or multicast to from audio amplifier 30 synchronous calibration information.When
Active synchronization module 210 in the way of unicast to from audio amplifier 30 send synchronous calibration information when, active synchronization module 210 according to
From the distance of audio amplifier 30 from sending synchronous calibration information to each from audio amplifier successively as far as near order.When the number from audio amplifier 30
During for N, active synchronization module 210 sends synchronous calibration information every the N second to from audio amplifier 30, and wherein, N is positive integer, and N is at least
For 1.Synchronous calibration information includes the audio frequency playing progress rate of main sound box 20 and the system time of main sound box 20.In order to reach preferably
Technique effect, receiver module 202 is in real-time play audio frequency, if receiving the broadcasting control instruction of terminal 22, active synchronization
Module 210 sends the synchronous notice playing setting to from audio amplifier 30, the broadcasting setting of change itself after audio amplifier 30 is notified,
To keep consistent with the broadcasting of main sound box 20 setting.Play setting and include volume setting, tone setting or Audio conversion setting.
Fig. 3 shows the functional block diagram from audio amplifier of an embodiment of the present invention.It is applied to figure from audio amplifier shown in Fig. 3
In working environment shown in 1.In the present embodiment, include receiving resource address module 302, receive notification module from audio amplifier 30
304th, the second real-time play module 306 and passive and synchronous module 308.
Receive resource address module 302 to be used for receiving the audio resource address of main sound box 20 transmission.In the present embodiment,
Audio resource address includes the audio resource address in the audio frequency address server of terminal local.In the present embodiment, connect
Receive resource address module 302 and receive the audio resource address that main sound box 20 sends.
Receive notification module 304, for receive main sound box 20 transmission by access audio resource address acquisition audio frequency simultaneously
Carry out the notice of real-time play.In order to reach superior technique effect, receive resource address module 302 and receiving audio resource ground
Confirmation is sent to main sound box 20, main sound box 20, after receiving this confirmation, leads to receiving notification module 304 and sending behind location
Cross the notice accessing audio resource address acquisition audio frequency and carrying out real-time play.
Second real-time play module 306 is used for after receiving the notice that main sound box 20 sends, by accessing audio resource ground
Location obtains audio frequency, to carry out real-time play.In the present embodiment, after the second real-time play module is notified, access audio frequency
Resource address obtains audio frequency and carries out real-time play, and meanwhile, main sound box 20 passes through to access audio resource address acquisition audio frequency, to enter
Row real-time play.
Passive and synchronous module 308 is used for, in real-time play audio frequency, receiving the synchronous calibration information that main sound box 20 sends.?
In present embodiment, synchronous calibration information includes the audio frequency playing progress rate of main sound box 20 and the system time of main sound box 20;Passively
Synchronization module 308 receive main sound box 20 send synchronous calibration information after, according to the system time calculating network of main sound box 20
Time delay, recalculate the audio frequency playing progress rate of main sound box 20 according to network-induced delay, and according to the keynote recalculating
The playing progress rate of case 20 synchronizes calibration to from the playing progress rate of audio amplifier, and in the present embodiment, passive and synchronous module 308 is led to
The difference of the system time and system time when audio amplifier 30 receives synchronous calibration information of crossing main sound box 20 obtains network and prolongs
Time late, and network-induced delay is compensated to the audio frequency playing progress rate of main sound box 20, thus obtaining the main sound box 20 recalculating
Playing progress rate.If the playing progress rate of the main sound box recalculating 20 lags behind the playing progress rate from audio amplifier 30, passive and synchronous
Module 308 is play by time-out or is synchronized calibration by way of slowing down broadcasting speed;If the playing progress rate from audio amplifier 30 is delayed
In the playing progress rate of the main sound box 20 recalculating, then passive and synchronous module 308 is play by frame-skipping or is accelerated broadcasting speed
Mode synchronizes calibration.In the present embodiment, passive and synchronous module 308 carries out suspending and plays or slow down holding of broadcasting speed
The row time is adjusted according to the difference that main sound box 20 lags behind from the playing progress rate of audio amplifier 30, and passive and synchronous module 308 is carried out
The execution time that broadcasting speed was play or accelerated in frame-skipping enters according to the difference of the playing progress rate lagging behind main sound box 20 from audio amplifier 30
Row adjustment.In order to reach superior technique effect, main sound box 20 is in real-time play audio frequency, if receiving the broadcasting control of terminal 22
System instruction, then send the synchronous notice playing setting to passive and synchronous module 308, after passive and synchronous module 308 is notified more
Change the broadcasting setting of itself, to keep consistent with the broadcasting of main sound box 20 setting.Play setting and include volume setting, tone setting
Or Audio conversion setting.
Fig. 4 shows the flow chart that the router of an embodiment of the present invention controls the method for synchronously playing audio frequency, Fig. 4 institute
The method shown be applied to shown in main sound box 20 and the Fig. 3 shown in Fig. 2 from audio amplifier 30.
In step s 103, router 26 forwards audio resource address to main sound box 20.Terminal 22 is passed through by router 26
The audio resource address that Streaming transfer protocol sends is forwarded to main sound box 20;In the present embodiment, terminal 22 refers to have
The terminal of radio communication function, such as mobile phone, panel computer.Audio resource address includes the audio frequency address server of terminal local
On audio resource address.In the present embodiment, Streaming transfer protocol is DLNA agreement, QPLAY agreement, AIRPLAY association
View or DUPLAY agreement.
In step s 103, router 26 forwards audio resource address to from audio amplifier 30;Main sound box 20 is existed by router 26
The audio resource address sending behind the audio resource address of receiving terminal is forwarded to from audio amplifier;In in the present embodiment, keynote
Case 20, behind the audio resource address of receiving terminal 22, sends audio resource address to from audio amplifier 30;When the quantity from audio amplifier 30
During more than one, main sound box 20 sends audio resource address to from audio amplifier by way of unicast or multicast;When main sound box 20 with
To when audio amplifier 30 sends audio resource address, main sound box 20 sets up, according to from audio amplifier 30, the elder generation that communication is connected to the mode of unicast
Order sends audio resource address to each from audio amplifier successively afterwards.
In step S105, router 26 forwards to play and notifies to from audio amplifier 30.Receiving audio resource ground from audio amplifier 30
Behind location, router 26 by main sound box 20 send by accessing audio resource address acquisition audio frequency and carrying out the notice of real-time play
It is forwarded to from audio amplifier 30.In the present embodiment, when from the quantity of audio amplifier 30 more than one, then main sound box 20 passes through multicast side
Formula sends broadcasting notice to from audio amplifier 30.In order to reach superior technique effect, from audio amplifier 30 after receiving audio resource address
Send confirmation to main sound box 20, main sound box 20, after receiving this confirmation, sends by accessing audio frequency to from audio amplifier 30
Resource address obtains audio frequency and carries out the notice of real-time play.
In step s 107, router 26 receives main sound box 20 and the request from audio amplifier 30 respectively.Receiving from audio amplifier 30
After notice, router 26 receives main sound box 20 respectively and carries out reality from audio amplifier 30 by accessing audio resource address acquisition audio frequency
When the request play.
In step S109, router 26 obtains audio frequency and is forwarded to main sound box 20 and from audio amplifier 30.Please receiving respectively
After asking, router 26 passes through to access audio resource address acquisition audio frequency, and is forwarded to main sound box 20 respectively and from audio amplifier 30;
In step S111, router 26 forwards synchronous calibration information.The synchronous school that main sound box 20 is sent by router 26
Calibration information is forwarded to from audio amplifier 30, so that described main sound box synchronously plays described audio frequency with from audio amplifier.Preferably, synchronous calibration
Information include the audio frequency playing progress rate of main sound box 20 and the system time of main sound box 20 so that from audio amplifier 30 according to audio frequency play into
Degree and system time are realized and main sound box synchronously playing audio frequency.In the present embodiment, main sound box 20 is with the side of unicast or multicast
Formula is to from audio amplifier 30 synchronous calibration information.When main sound box 20 in the way of unicast to from audio amplifier 30 send synchronous calibration information when,
Main sound box 20 according to the distance from audio amplifier 30 from as far as near order successively to each from audio amplifier send synchronous calibration information.When
When the number of audio amplifier 30 is N, main sound box 20 sends synchronous calibration information every the N second to from audio amplifier 30, and wherein, N is positive integer,
And N is at least 1.In the present embodiment, from audio amplifier 30 after receiving the synchronous calibration information that main sound box 20 sends, according to keynote
The system time calculating network time delay of case 20, according to the audio frequency that network-induced delay recalculates main sound box 20 play into
Degree, and calibration is synchronized to from the playing progress rate of audio amplifier according to the playing progress rate of the main sound box 20 recalculating.In this enforcement
In mode, pass through the system time of main sound box 20 and system time when audio amplifier 30 receives synchronous calibration information from audio amplifier 30
Difference obtain network-induced delay, and network-induced delay is compensated to the audio frequency playing progress rate of main sound box 20, thus obtaining weight
The playing progress rate of the new main sound box 20 calculating.If the playing progress rate of the main sound box recalculating 20 lags behind the broadcasting from audio amplifier 30
Progress, then play by time-out from audio amplifier 30 or synchronize calibration by way of slowing down broadcasting speed;If the broadcasting from audio amplifier 30
Progress lags behind the playing progress rate of the main sound box 20 recalculating, then play by frame-skipping from audio amplifier 30 or accelerate broadcasting speed
Mode synchronizes calibration.In the present embodiment, carry out suspending the execution time playing or slowing down broadcasting speed from audio amplifier 30
It is adjusted according to the difference that main sound box 20 lags behind from the playing progress rate of audio amplifier 30, carry out frame-skipping broadcasting or quickening from audio amplifier 30
The execution time of broadcasting speed is adjusted according to the difference of the playing progress rate lagging behind main sound box 20 from audio amplifier 30.In order to reach
Superior technique effect, main sound box 20 is in real-time play audio frequency, if receiving the broadcasting control instruction of terminal 22, to from sound
Case 30 sends the notice of synchronous broadcasting setting, and the broadcasting setting of change itself after audio amplifier 30 is notified, with holding and keynote
The broadcasting setting of case 20 is consistent.Play setting and include volume setting, tone setting or Audio conversion setting.
In sum, an embodiment of the present invention provides main sound box, controls synchronously playing audio frequency from audio amplifier and router
Method.When playing audio frequency, main sound box is to according to the time interval sending synchronous calibration information from the quantity adjustment of audio amplifier, keynote
Case, to when audio amplifier timing sends synchronous calibration information, is believed to each from the one-to-one synchronous calibration that sends of audio amplifier in the way of unicast
During breath, decrease the network pressure of synchronization, and then reduce each network delay from audio amplifier reception synchronous calibration information;With
The mode of multicast to when audio amplifier sends synchronous calibration information, then improves network utilization.When audio amplifier synchronizes calibration,
Network delay being calculated according to main sound box system time, improving the degree of accuracy of synchronous calibration, thus realizing multiple stage wireless sound box
Synchronous result of broadcast, can be applicable to the places such as classroom, playground, subway.
It should be appreciated that above example, only in order to technical scheme to be described, is not intended to limit, to ability
For field technique personnel, the technical scheme described in above-described embodiment can be modified, or special to wherein portion of techniques
Levy and carry out equivalent;And all such modifications and replacement, all should belong to the protection domain of claims of the present invention.
Claims (10)
1. a kind of main sound box, described main sound box is communicated it is characterised in that being included with terminal, from audio amplifier:
Receiver module, for receiving the audio resource address that described terminal is sent by Streaming transfer protocol;
Send resource address module, for behind the audio resource address receiving described terminal, to described in the described transmission from audio amplifier
Audio resource address;
Send notification module, for sending by accessing described audio resource address acquisition audio frequency and carrying out reality to described from audio amplifier
When the notice play;
First real-time play module, for sending after described notice to described from audio amplifier, by accessing described audio resource address
Obtain audio frequency, to carry out real-time play;And
Active synchronization module, in audio frequency described in real-time play, sending synchronous calibration information to described from audio amplifier;Wherein,
Described synchronous calibration information includes the audio frequency playing progress rate of main sound box and the system time of main sound box.
2. main sound box according to claim 1 is it is characterised in that described active synchronization module is in the way of unicast or multicast
Send described synchronous calibration information to described from audio amplifier.
3. main sound box according to claim 2 is it is characterised in that work as described active synchronization module in the way of unicast to institute
State from audio amplifier send described synchronous calibration information when, described active synchronization module according to the described distance from audio amplifier from as far as near
Order successively to each from audio amplifier send described synchronous calibration information.
4. main sound box according to claim 2 is it is characterised in that work as described active synchronization module in the way of unicast to institute
State when audio amplifier sends described synchronous calibration information, if the described quantity from audio amplifier is N, described active synchronization module is every N
Second sends synchronous calibration information to described from audio amplifier, and wherein, N is positive integer, and N is at least 1.
5. one kind is from audio amplifier, described is communicated with main sound box it is characterised in that described include from audio amplifier from audio amplifier:
Receive resource address module, for receiving the audio resource address that described main sound box sends;
Receive notification module, for receiving going forward side by side by accessing described audio resource address acquisition audio frequency of described main sound box transmission
The notice of row real-time play;
Second real-time play module, for after receiving the described notice that described main sound box sends, by accessing described audio frequency money
Source address obtains audio frequency, to carry out real-time play;And
Passive and synchronous module, in audio frequency described in real-time play, receiving the synchronous calibration information that described main sound box sends;Its
In, described synchronous calibration information includes the audio frequency playing progress rate of main sound box and the system time of main sound box.
6. according to claim 5 from audio amplifier it is characterised in that described passive and synchronous module receive described main sound box send out
After the synchronous calibration information sent, according to described main sound box system time calculating network time delay, during according to described network delay
Between recalculate the audio frequency playing progress rate of described main sound box, and according to the playing progress rate of the described main sound box recalculating to described
Synchronize calibration from the playing progress rate of audio amplifier.
According to claim 6 from audio amplifier it is characterised in that if the playing progress rate of the main sound box recalculating lags behind
The described playing progress rate from audio amplifier, then described passive and synchronous module by suspend play or carry out by way of slowing down broadcasting speed with
Step calibration.
According to claim 6 from audio amplifier it is characterised in that if described lagging behind from the playing progress rate of audio amplifier is counted again
Calculate main sound box playing progress rate, then described passive and synchronous module by frame-skipping play or carry out by way of accelerating broadcasting speed with
Step calibration.
9. a kind of router controls the method for synchronously playing audio frequency it is characterised in that including step:
The audio resource address that terminal is sent by Streaming transfer protocol is forwarded to main sound box;
By described main sound box receive described terminal audio resource address after send described audio resource address be forwarded to from
Audio amplifier;
Behind the described described audio resource address from audio amplifier reception, by the transmission of described main sound box by accessing described audio resource
Address acquisition audio frequency and carry out real-time play notice be forwarded to described from audio amplifier;
Described from audio amplifier receive described notify after, receive respectively described main sound box and described from audio amplifier pass through access described audio frequency
Resource address obtains audio frequency to carry out the request of real-time play;
After receiving described request respectively, by accessing described audio resource address acquisition audio frequency, and it is forwarded to described master respectively
Audio amplifier and described from audio amplifier;And
The synchronous calibration information that described main sound box is sent be forwarded to described from audio amplifier so that described main sound box with from audio amplifier with
Step plays described audio frequency.
10. router according to claim 9 controls the method for synchronously playing audio frequency it is characterised in that described synchronous school
Calibration information includes the audio frequency playing progress rate of main sound box and the system time of main sound box so that described broadcast according to described audio frequency from audio amplifier
Degree of putting into and system time are realized synchronously playing described audio frequency with described main sound box.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610932421.7A CN106454449A (en) | 2016-10-25 | 2016-10-25 | Master sound box, slave sound box and method for controlling synchronous playing of audio by router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610932421.7A CN106454449A (en) | 2016-10-25 | 2016-10-25 | Master sound box, slave sound box and method for controlling synchronous playing of audio by router |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106454449A true CN106454449A (en) | 2017-02-22 |
Family
ID=58177481
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610932421.7A Pending CN106454449A (en) | 2016-10-25 | 2016-10-25 | Master sound box, slave sound box and method for controlling synchronous playing of audio by router |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106454449A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108111997A (en) * | 2017-12-15 | 2018-06-01 | 珠海市杰理科技股份有限公司 | Bluetooth equipment audio synchronization method and system |
CN108124222A (en) * | 2017-12-25 | 2018-06-05 | 广州市尊浪电器有限公司 | A kind of ad hoc network Bluetooth speaker system |
CN108156560A (en) * | 2017-12-25 | 2018-06-12 | 广州市尊浪电器有限公司 | A kind of multi-functional audio sound system |
CN108540829A (en) * | 2018-04-12 | 2018-09-14 | 青岛海信电器股份有限公司 | A kind of more playback equipment synchronous broadcast methods, system and terminal |
CN109587597A (en) * | 2018-10-29 | 2019-04-05 | 歌尔科技有限公司 | A kind of interaction control method of combination sound box, device and combination sound box |
CN109640141A (en) * | 2018-12-19 | 2019-04-16 | 深圳银澎云计算有限公司 | A kind of bearing calibration of audio time stamp, means for correcting and audio-video terminal |
CN111541926A (en) * | 2020-05-08 | 2020-08-14 | 浙江大华技术股份有限公司 | Multimedia file playing method and device, storage medium and electronic device |
CN112055242A (en) * | 2020-09-02 | 2020-12-08 | 中国第一汽车股份有限公司 | Video synchronous playing method, device, system and storage medium |
CN112399406A (en) * | 2019-08-15 | 2021-02-23 | 惠州迪芬尼声学科技股份有限公司 | Sound box system and networking control method thereof |
CN114339321A (en) * | 2022-01-12 | 2022-04-12 | 上海领路人科技股份有限公司 | Lamplight engineering-based video program tamper-proof intelligent management method and device |
CN116320902A (en) * | 2023-05-19 | 2023-06-23 | 南昌航天广信科技有限责任公司 | Sound box synchronous playing method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120022676A1 (en) * | 2009-10-21 | 2012-01-26 | Tomokazu Ishikawa | Audio signal processing apparatus, audio coding apparatus, and audio decoding apparatus |
CN102739661A (en) * | 2012-06-18 | 2012-10-17 | 李洋 | Method and system for network audio sync output on basis of data statistics |
CN102752642A (en) * | 2012-06-18 | 2012-10-24 | 李洋 | Method and system for synchronously broadcasting multi-terminal video based on IP (internet protocol) network |
CN103581816A (en) * | 2013-11-18 | 2014-02-12 | 广州市花都区中山大学国光电子与通信研究院 | Wireless multi-room music system synchronization mechanism based on UPnP protocol |
CN104581599A (en) * | 2014-12-30 | 2015-04-29 | 歌尔声学股份有限公司 | Method and system for synchronous broadcast of multiple speaker boxes, and speaker box |
CN104618785A (en) * | 2014-04-16 | 2015-05-13 | 腾讯科技(北京)有限公司 | Audio and video playing method, device and system |
CN105554522A (en) * | 2015-12-16 | 2016-05-04 | 广州酷狗计算机科技有限公司 | Method for playing audio in group, server and terminal |
-
2016
- 2016-10-25 CN CN201610932421.7A patent/CN106454449A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120022676A1 (en) * | 2009-10-21 | 2012-01-26 | Tomokazu Ishikawa | Audio signal processing apparatus, audio coding apparatus, and audio decoding apparatus |
CN102739661A (en) * | 2012-06-18 | 2012-10-17 | 李洋 | Method and system for network audio sync output on basis of data statistics |
CN102752642A (en) * | 2012-06-18 | 2012-10-24 | 李洋 | Method and system for synchronously broadcasting multi-terminal video based on IP (internet protocol) network |
CN103581816A (en) * | 2013-11-18 | 2014-02-12 | 广州市花都区中山大学国光电子与通信研究院 | Wireless multi-room music system synchronization mechanism based on UPnP protocol |
CN104618785A (en) * | 2014-04-16 | 2015-05-13 | 腾讯科技(北京)有限公司 | Audio and video playing method, device and system |
CN104581599A (en) * | 2014-12-30 | 2015-04-29 | 歌尔声学股份有限公司 | Method and system for synchronous broadcast of multiple speaker boxes, and speaker box |
CN105554522A (en) * | 2015-12-16 | 2016-05-04 | 广州酷狗计算机科技有限公司 | Method for playing audio in group, server and terminal |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108111997A (en) * | 2017-12-15 | 2018-06-01 | 珠海市杰理科技股份有限公司 | Bluetooth equipment audio synchronization method and system |
CN108111997B (en) * | 2017-12-15 | 2020-12-08 | 珠海市杰理科技股份有限公司 | Bluetooth device audio synchronization method and system |
CN108124222B (en) * | 2017-12-25 | 2020-02-28 | 广州市尊浪电器有限公司 | Ad-hoc network Bluetooth sound system |
CN108124222A (en) * | 2017-12-25 | 2018-06-05 | 广州市尊浪电器有限公司 | A kind of ad hoc network Bluetooth speaker system |
CN108156560A (en) * | 2017-12-25 | 2018-06-12 | 广州市尊浪电器有限公司 | A kind of multi-functional audio sound system |
CN108156560B (en) * | 2017-12-25 | 2020-09-11 | 广州市尊浪电器有限公司 | Multifunctional sound system |
CN108540829A (en) * | 2018-04-12 | 2018-09-14 | 青岛海信电器股份有限公司 | A kind of more playback equipment synchronous broadcast methods, system and terminal |
CN109587597A (en) * | 2018-10-29 | 2019-04-05 | 歌尔科技有限公司 | A kind of interaction control method of combination sound box, device and combination sound box |
CN109640141A (en) * | 2018-12-19 | 2019-04-16 | 深圳银澎云计算有限公司 | A kind of bearing calibration of audio time stamp, means for correcting and audio-video terminal |
CN112399406A (en) * | 2019-08-15 | 2021-02-23 | 惠州迪芬尼声学科技股份有限公司 | Sound box system and networking control method thereof |
CN111541926A (en) * | 2020-05-08 | 2020-08-14 | 浙江大华技术股份有限公司 | Multimedia file playing method and device, storage medium and electronic device |
CN112055242A (en) * | 2020-09-02 | 2020-12-08 | 中国第一汽车股份有限公司 | Video synchronous playing method, device, system and storage medium |
CN114339321A (en) * | 2022-01-12 | 2022-04-12 | 上海领路人科技股份有限公司 | Lamplight engineering-based video program tamper-proof intelligent management method and device |
CN116320902A (en) * | 2023-05-19 | 2023-06-23 | 南昌航天广信科技有限责任公司 | Sound box synchronous playing method and system |
CN116320902B (en) * | 2023-05-19 | 2023-08-25 | 南昌航天广信科技有限责任公司 | Sound box synchronous playing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106454449A (en) | Master sound box, slave sound box and method for controlling synchronous playing of audio by router | |
JP7230008B2 (en) | Systems and methods for providing real-time audio and data | |
CN103338348B (en) | Implementation method, system and the server of a kind of network audio-video meeting | |
CN1489356B (en) | Media source, media receiver, meida processing system and synchronous broadcasting of media data package | |
CN103338204B (en) | A kind of audio synchronization output method and system | |
US8677002B2 (en) | Streaming media system and method | |
CN103828449B (en) | Be used for the method and apparatus of the time synchronized of wireless network | |
JP5389931B2 (en) | Method and apparatus for plug and play venue cast co-channel in wide area network | |
WO2013169868A1 (en) | System and method for forming media networks from loosely coordinated media|rendering devices | |
US20040010623A1 (en) | Reducing the access delay for transmitting processed data over transmission data | |
CN104640013A (en) | Voice box control method and system | |
CN103959752A (en) | Method and arrangement for echo cancellation in conference systems | |
JP6313466B2 (en) | Apparatus and method for wireless synchronization of multiple multimedia devices using a common timing framework | |
CN104299632A (en) | Audio synchronization method and device and corresponding systems | |
CN104581599A (en) | Method and system for synchronous broadcast of multiple speaker boxes, and speaker box | |
CN102739661A (en) | Method and system for network audio sync output on basis of data statistics | |
CN101931881A (en) | Service content synchronization method, device and system | |
WO2013083133A1 (en) | System for multimedia broadcasting | |
CN109041200A (en) | The method and system of synchronous sound between a kind of multitone case | |
JP2016225922A (en) | Radio communication system and method | |
JP2009081654A (en) | Stream synchronous reproduction system and method | |
CN202978986U (en) | IP network-based text-to-speech public address system | |
Lee et al. | Implementation of independent audio mixing control using AoIP | |
CN101662356A (en) | Method and device for synchronizing control signaling in EMBMS system | |
CN105338420A (en) | Media playing method, media playing device, media providing device and media playing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170222 |