CN104581599B - A kind of method and system that multiple speakers are played simultaneously - Google Patents

A kind of method and system that multiple speakers are played simultaneously Download PDF

Info

Publication number
CN104581599B
CN104581599B CN201410842333.9A CN201410842333A CN104581599B CN 104581599 B CN104581599 B CN 104581599B CN 201410842333 A CN201410842333 A CN 201410842333A CN 104581599 B CN104581599 B CN 104581599B
Authority
CN
China
Prior art keywords
speaker
sound box
main sound
supply network
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410842333.9A
Other languages
Chinese (zh)
Other versions
CN104581599A (en
Inventor
刘崧
赵俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Inc
Original Assignee
Goertek Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Inc filed Critical Goertek Inc
Priority to CN201410842333.9A priority Critical patent/CN104581599B/en
Publication of CN104581599A publication Critical patent/CN104581599A/en
Application granted granted Critical
Publication of CN104581599B publication Critical patent/CN104581599B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a kind of multiple speaker synchronous broadcast methods and systems, multiple speakers are connected by respective modulation /demodulation module with supply network by the present invention respectively, and it itself is main sound box that in multiple speakers a speaker is known according to the configuration-direct received and other speakers are from speaker.The method of the present invention includes:Main sound box and respective broadcast time-delay respectively is obtained from speaker;When playing audio-fequency data, the audio data that main sound box will acquire is sent to supply network by modulation /demodulation module, respectively obtains the audio data from supply network by modulation /demodulation module from speaker and stores;Main sound box and respectively being played simultaneously according to respective broadcast time-delay realization audio data from speaker.Technical solution of the present invention does not need to be routed, and each speaker placement location can arbitrarily change, and only achieves that being played simultaneously for all speakers by controlling main sound box, and during synchronous playback, the high stability of audio data transmission, and synchronous effect is preferable.

Description

A kind of method and system that multiple speakers are played simultaneously
Technical field
The present invention relates to speakers, and technical field is played simultaneously, in particular to a kind of method that multiple speakers are played simultaneously and is System.
Background technique
In the sound box system being currently made of multiple speakers, two ways is mostly used to be played simultaneously to realize greatly.One is Main sound box is connected to by Audio Data Line respectively from speaker, and audio data is sent to from speaker by main sound box by data line, this Kind method needs are routed between each speaker, and the position of each speaker is fixed after wiring, if to change speaker Position then needs rewiring.Another main sound box is sent audio data to from speaker by radio path, this method Due to will receive the influence of wireless network, the algorithm being played simultaneously realizes that more complicated and effect is not so good.
Summary of the invention
The main purpose of the present invention is to provide a kind of method and systems that multiple speakers are played simultaneously, existing for solving There is speaker to be played simultaneously to need to be routed or influence the problem that algorithm realizes complexity vulnerable to wireless network.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
The present invention provides a kind of multiple speaker synchronous broadcast methods, and multiple speakers are passed through respective modulation /demodulation respectively Module is connected with supply network, and in the multiple speaker a speaker knows itself for keynote according to the configuration-direct received Case and other speakers are from speaker;This method includes:
Main sound box and each respective broadcast time-delay is obtained from speaker;
When playing audio-fequency data, the audio data that main sound box will acquire is sent to power supply network by modulation /demodulation module Network, it is each that the audio data is obtained from supply network by modulation /demodulation module from speaker and is stored;
Main sound box and it is each from speaker according to respective broadcast time-delay, realize being played simultaneously for audio data.
Preferably, main sound box and it is each from speaker according to respective broadcast time-delay, that realizes audio data is played simultaneously packet It includes:
Main sound box determines that main sound box audio plays according to the sending instant of the audio data and the broadcast time-delay of main sound box It is start time, each according to the time of reception of the audio data and to be determined from speaker from the broadcast time-delay of speaker respectively from speaker Audio plays start time;
Main sound box plays broadcasting of the start time starting to the audio data in the main sound box audio, respectively from speaker point Broadcasting of the start time starting to the audio data is not played from speaker audio corresponding.
Preferably, the main sound box and each respective broadcast time-delay is obtained from speaker include:
Main sound box is to respectively synchronization request data are sent from speaker, according to the sending instant of synchronization request data and respectively from speaker The time of reception of response bag obtains and the respectively propagation delay time from speaker on supply network;
Main sound box determines the maximum value of propagation delay time from the propagation delay time;
The maximum value of the propagation delay time is sent to respectively by supply network from speaker by main sound box;
Main sound box is using the maximum value of propagation delay time as the broadcast time-delay of main sound box, each is from speaker according to should be from speaker The broadcast time-delay from speaker is obtained with the propagation delay time of main sound box and the maximum value of propagation delay time.
It is further preferred that the main sound box to respectively from speaker send synchronization request data, according to synchronization request data It sending instant and is respectively obtained from the time of reception of speaker response bag and with the propagation delay time respectively from speaker on supply network includes:
Main sound box sends synchronization request data to first from speaker in the first sending instant, takes in the synchronization request data With first from the mark of speaker, and the first response bag returned from speaker is received in first time of reception;Main sound box is according to The half that one time of reception subtracted the difference of the first sending instant obtains main sound box and the first transmission from speaker on supply network Time delay;Similarly, main sound box successively to other respectively from speaker send synchronization request data, and successively obtain main sound box and other respectively from Propagation delay time of the speaker on supply network;
Alternatively,
Main sound box sends synchronization request data from speaker to each simultaneously in sending instant;Main sound box is returned to each from speaker The response bag returned receives and parses through, and is determined respectively according to the slave speaker mark carried in the response bag from speaker return The time of reception of response bag;Main sound box is according to receiving the one of the difference for respectively subtracting sending instant from the time of reception of speaker response bag Partly get main sound box and the respectively propagation delay time from speaker on supply network;
It is described each from speaker according to should obtain from the maximum value of the propagation delay time and propagation delay time of speaker and main sound box Include to this from the broadcast time-delay of speaker:
Each subtracts the propagation delay time from speaker and main sound box according to the maximum value of propagation delay time from speaker and is somebody's turn to do From the broadcast time-delay of speaker.
Preferably, the multiple speaker is connect by respective wireless module with remote control device wireless telecommunications;
A speaker in the multiple speaker knows itself for main sound box and other sounds according to the configuration-direct received Case is to be specially from speaker:
A speaker in the multiple speaker is received by the wireless module in the speaker from the remote control device Configuration-direct, being known according to configuration-direct itself is main sound box and other speakers are from speaker.
It is further preferred that this method further includes:
The main sound box receives the broadcasting control information that the remote control device is sent by wireless module;
The main sound box sends supply network by modulation /demodulation module for the broadcasting control information, it is described it is each from Speaker obtains the broadcasting control information by modulation /demodulation module from supply network.
It is further preferred that this method further includes:The main sound box receives the audio of audio source transmission by wireless module Data.
The present invention also provides a kind of multiple speaker synchronous playing systems, which includes:Multiple speakers and supply network, The multiple speaker is connected by respective modulation /demodulation module with supply network respectively, wherein one in the multiple speaker It itself is main sound box that speaker is known according to the configuration-direct received and other speakers are from speaker;
Main sound box and each respective broadcast time-delay is obtained from speaker;In playing audio-fequency data,
The audio data that the main sound box will acquire is sent to supply network by modulation /demodulation module;
It is described each the audio data is obtained from supply network by respective modulation /demodulation module from speaker and is deposited Storage;
Main sound box and each being played simultaneously according to respective broadcast time-delay realization audio data from speaker.
Preferably, the system also includes remote control devices;The multiple speaker by respective wireless module with it is described distant Device wireless telecommunications connection is controlled,
The remote control device is played for sending the configuration-direct to the main sound box and sending to the main sound box Control information.
Another aspect, the present invention provides a kind of speaker, which includes:Main control module, for realizing audio data Modulation /demodulation module, the nothing for being carried out wireless communication with external equipment of data transmission format conversion on format and supply network Wire module needs the memory module of the audio data played and for audio data to be converted to sound and is broadcast for storing The sound card module put,
Wherein, the modulation /demodulation module, wireless module, memory module and sound card module are respectively connected to the main control Module;
The speaker is connected to supply network by the modulation /demodulation module, receives external set by the wireless module Configuration-direct, audio data and the broadcasting control information that preparation is sent.
The present invention uses is connected multiple speakers by respective modulation /demodulation module with supply network respectively, and will be multiple A speaker in speaker is configured to main sound box according to configuration-direct, other speakers are configured to from speaker;In playing audio-fequency data Before, main sound box and respective broadcast time-delay respectively is obtained from speaker;In playing audio-fequency data, audio number that main sound box will acquire Be sent to supply network according to by modulation /demodulation module, respectively obtained from supply network from speaker by modulation /demodulation module described in Audio data simultaneously stores;Main sound box and respectively the audio data is played from speaker when respective broadcast time-delay arrives, to realize The technical solution that is played simultaneously of multiple speakers to audio data.Compared with the prior art, the present invention does not need to be routed, each speaker Placement location can arbitrarily change, and only achieve that being played simultaneously for all speakers by controlling main sound box, and broadcast synchronizing During putting, the high stability of audio data transmission, synchronous effect is preferable, has well solved existing speaker and need are played simultaneously It is routed or influences algorithm vulnerable to wireless network and realize complicated problem.
Detailed description of the invention
Fig. 1 is a kind of multiple speaker synchronous broadcast method flow diagrams provided in an embodiment of the present invention;
Fig. 2 is a kind of multiple speaker synchronous playing system structural schematic diagrams provided in an embodiment of the present invention;
Fig. 3 is the working principle diagram of multiple speaker synchronously playing audio frequency data provided in an embodiment of the present invention;
Fig. 4 is a kind of loudspeaker box structure schematic diagram provided in an embodiment of the present invention;
Fig. 5 is schematic diagram of the main sound box according to its broadcast time-delay playing audio-fequency data;
Fig. 6 is from speaker according to the schematic diagram of its broadcast time-delay playing audio-fequency data.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Integral Thought of the invention is:Multiple speakers are passed through into respective modulation /demodulation module and supply network phase respectively Even, and main sound box is configured by one of speaker, other speakers are configured to from speaker;Before playing audio-fequency data, keynote Case and respective broadcast time-delay respectively is obtained from speaker;In playing audio-fequency data, main sound box passes through audio data to be played Supply network is sent to respectively from speaker, main sound box and is respectively broadcast from speaker according to the starting of respective broadcast time-delay to audio data It puts, to realize that audio data is played simultaneously in multiple speakers.
Multiple speakers are connected by respective modulation /demodulation module with supply network by the technical program respectively, multiple speakers One is formed with supply network, and network is played simultaneously.Wherein, supply network uses power line communication technology, that is, utilizes high-tension electricity Line (being often referred to 35kV and above in power carrier field), middle piezoelectricity route (10kV voltage class) or low with piezoelectricity The line of force (380/220V user's line) carries out a kind of specific communication mode of voice or data transmission as information transmitting medium.
A speaker in multiple speakers knows itself to be main sound box and other speakers are according to the configuration-direct received From speaker.It should be noted that each speaker can be main sound box, or from speaker, in actual use, speaker Role can be set by user.Such as user can be sent by some speaker of remote control device into multiple speakers and be matched Instruction is set, which includes pre- group and build up the mark that each speaker of network is played simultaneously.The speaker is according to receiving Configuration-direct, know that itself being set as main sound box other speakers is set as from speaker.
Fig. 1 is a kind of flow diagram of multiple speaker synchronous broadcast methods provided in an embodiment of the present invention.Such as Fig. 1 institute Show, multiple speaker synchronous broadcast methods of the embodiment of the present invention specifically include:
S100, main sound box and each obtains respective broadcast time-delay from speaker.
In the step s 100, main sound box can be made by following proposal and respectively obtains respective broadcast time-delay from speaker:
Main sound box is to respectively synchronization request data are sent from speaker, according to the sending instant of synchronization request data and respectively from speaker The time of reception of response bag obtains and the respectively propagation delay time from speaker on supply network;
Main sound box determines the maximum value of propagation delay time from propagation delay time;
The maximum value of propagation delay time is sent to respectively by supply network from speaker by main sound box;
Main sound box is using the maximum value of propagation delay time as the broadcast time-delay of main sound box, each is from speaker according to should be from speaker The broadcast time-delay from speaker is obtained with the propagation delay time of main sound box and the maximum value of propagation delay time.Preferably, each from Speaker subtracts the propagation delay time from speaker and main sound box according to the maximum value of propagation delay time and obtains the broadcast time-delay from speaker.
In the technical program main sound box by respectively from speaker send synchronization request data, according to the synchronization request data Sending instant and respectively from the time of reception of speaker response bag, obtains the broadcast time-delay of main sound box and respectively from the broadcast time-delay of speaker. Wherein, main sound box can be simultaneously to respectively sending synchronization request data from speaker, can also be successively to respectively synchronizing and ask from speaker transmission Seek data.
Illustratively, main sound box sends synchronization request data to first from speaker in the first sending instant, and the synchronization is asked The first mark from speaker of carrying in data is sought, and receives the first response bag returned from speaker in first time of reception;It is main Speaker according to first time of reception subtract the first sending instant difference half obtain main sound box and first from speaker in power supply network Propagation delay time on network;Similarly, main sound box successively respectively sends synchronization request data from speaker to other, and successively obtains main sound box With other each propagation delay times from speaker on supply network.Thus main sound box obtains and the respectively biography from speaker on supply network Defeated time delay.
Illustratively, main sound box is in sending instant simultaneously to respectively from speaker transmission synchronization request data;Main sound box to respectively from The response bag that speaker returns receives and parses through, and determines respectively to answer from what speaker returned according to the slave speaker mark carried in response bag Answer the time of reception of packet;Main sound box respectively subtracts the half of the difference of sending instant according to receiving from the time of reception of speaker response bag Get main sound box and the respectively propagation delay time from speaker on supply network.Thus main sound box obtains and respectively from speaker in power supply network Propagation delay time on network.
S101, when playing audio-fequency data, the audio data that main sound box will acquire is sent to confession by modulation /demodulation module Electric network respectively obtains audio data by modulation /demodulation module from speaker and is stored from supply network.
S102, main sound box and respectively being played simultaneously according to respective broadcast time-delay realization audio data from speaker.
Multiple speaker synchronous broadcast methods of the embodiment of the present invention, each speaker is by respective modulation /demodulation module by sound Frequency data format is converted to the format that data are transmitted on supply network and is transmitted, and family or office is made to utilize existing electric power Line and power outlet just can make up the supply network in the technical program, to can be realized as by ordinary power line multiple Speaker is played simultaneously, and in audio sync playing process, the transmission of audio data is no longer influenced by wireless network, Ke Yiyou Effect improves the stability of audio data transmission.
Multiple speakers are passed through respective modulatedemodulate mode transfer by this multiple speaker synchronous broadcast methods of the embodiment of the present invention Block is connected with supply network, and when audio data plays, main sound box will obtain the modulated demodulation module of audio data from audio-source It is sent on supply network, audio data is respectively obtained from supply network by modulation /demodulation module from speaker and deposits after modulation Storage, each speaker start the broadcasting to audio data according to respective broadcast time-delay, and then realize multiple speakers to audio data Be played simultaneously;Have the characteristics that plug and play, do not need to be routed, each speaker only needs to have power outlet, and position is unrestricted System can arbitrarily be put, and compared to prior art, the technical program can be completely free of existing speaker and need are played simultaneously It is routed or influences algorithm vulnerable to wireless network and realize complicated brought puzzlement.
Preferably, main sound box receives the audio data of audio source transmission by wireless module.It is further preferred that main sound box The broadcasting control information that remote control device is sent is received by wireless module;And broadcasting control information is passed through modulatedemodulate by main sound box Mode transfer block is sent to supply network, and the broadcasting control information is respectively obtained from supply network from speaker by modulation /demodulation module. To only achieve that being played simultaneously for all speakers by controlling main sound box.
Fig. 2 is a kind of multiple speaker synchronous playing system structural schematic diagrams provided in an embodiment of the present invention, the system packet It includes:Multiple speakers (22,23) and supply network 21.Plurality of speaker passes through respective modulation /demodulation module and power supply network respectively Network 21 is connected, and a speaker in multiple speakers knows itself for main sound box 22 and other speakers according to the configuration-direct received For from speaker 23.
It should be noted that each speaker can be main sound box, or from speaker, in actual use, speaker Role can be set by user.Such as user can be sent by some speaker of remote control device into multiple speakers Configuration-direct (configuration-direct includes to be placed for from the mark of each speaker of speaker), which refers to according to the configuration received It enables, itself will be set as main sound box, and according to configuration-direct, set other corresponding speakers to from speaker.
Before playing audio-fequency data, main sound box 22 and respective broadcast time-delay respectively is obtained from speaker 23.
Preferably, main sound box 22 and respective broadcast time-delay respectively is obtained from speaker 23 by following manner:
Main sound box 22 to respectively synchronization request data are sent from speaker 23, according to the sending instant of synchronization request data and respectively from The time of reception of 23 response bag of speaker obtains and the respectively propagation delay time from speaker 23 on supply network 21;Main sound box 22 is from transmission Shi Yanzhong determines the maximum value of propagation delay time;Main sound box 22 by the maximum value of propagation delay time by supply network 21 be sent to respectively from Speaker 23;Main sound box 22 is using the maximum value of propagation delay time as the broadcast time-delay of main sound box 22, each is from speaker 23 according to this The broadcast time-delay from speaker 23 is obtained from the maximum value of the propagation delay time and propagation delay time of speaker 23 and main sound box 22.It is preferred that Ground, each subtracts this according to the maximum value of propagation delay time from speaker 23 and is somebody's turn to do from speaker 23 and the propagation delay time of main sound box 22 From the broadcast time-delay of speaker 23.
In the technical program main sound box 22 by respectively from speaker 23 send synchronization request data, according to the synchronization request number According to sending instant and respectively from the time of reception of 23 response bag of speaker, obtain the broadcast time-delay of main sound box 22 and respectively from speaker 23 Broadcast time-delay.Wherein, main sound box 22 can be simultaneously to respectively synchronization request data be sent from speaker 23, can also be successively to respectively from sound Case 23 sends synchronization request data.
Illustratively, main sound box 22 sends synchronization request data, the synchronization to first from speaker 23 in the first sending instant The first mark from speaker 23 is carried in request data, and receives the first response returned from speaker in first time of reception Packet;The half for the difference that main sound box 22 subtracts the first sending instant according to first time of reception obtains main sound box 22 and first from speaker 23 propagation delay time on supply network 21;Similarly, main sound box 22 successively respectively sends synchronization request data from speaker 23 to other, And successively obtain main sound box 22 and other each propagation delay times from speaker 23 on supply network 21.Thus main sound box 22 obtain with The respectively propagation delay time from speaker 23 on supply network 21.
Illustratively, main sound box 22 is in sending instant simultaneously to respectively from the transmission synchronization request data of speaker 23;Main sound box 22 To respectively being received and parsed through from the response bag that speaker 23 returns, determined respectively according to the mark of slave speaker 23 carried in response bag from sound The time of reception for the response bag that case 23 returns;Main sound box 22 respectively subtracts hair from the time of reception of 23 response bag of speaker according to receiving The half of the difference at moment is sent to get main sound box 22 and the respectively propagation delay time from speaker 23 on supply network 21.Thus main sound box 22 obtain and the respectively propagation delay time from speaker 23 on supply network 21.
Multiple speaker synchronous playing systems of the present embodiment are in playing audio-fequency data, audio that main sound box 22 will acquire Data are sent to supply network 21 by modulation /demodulation module;Respectively from speaker 23 by respective modulation /demodulation module from power supply network Audio data is obtained on network 21 and is stored;Main sound box 22 and audio data respectively is realized from speaker 23 according to respective broadcast time-delay It is played simultaneously.
In a preferred embodiment of the present embodiment, this system further includes remote control device, is referred to for sending configuration to main sound box It enables and sends broadcasting control information to main sound box.Preferably, remote control device sends configuration-direct to multiple speakers, will wherein one A speaker is configured to main sound box, other speakers are configured to from speaker.
It is further preferred that multiple speakers of this system are connected by respective wireless module and remote control device wireless telecommunications It connects.
It is further preferred that main sound box receives the broadcasting control information that remote control device is sent by wireless module, and will Broadcasting control information is sent to respectively by supply network from speaker.
It is further preferred that main sound box also receives the audio data of audio source transmission by wireless module, and pass through nothing Wire module receives the broadcasting control information that the remote control device is sent.
In above preferred embodiment, each speaker of this system is carried out wireless communication by wireless module and remote control device, One of speaker can by wireless module receive remote control device send configuration-direct know itself for main sound box and other Speaker is from speaker.Wherein main sound box can also receive the audio data and come from remote control that audio-source is sent by its wireless module The broadcasting control information of device guarantees each speaker so that each speaker, which does not need data line, can realize interconnection It is relatively independent, it influences its placement location by other speakers, can arbitrarily change the position of each speaker, and only pass through control Main sound box processed achieves that being played simultaneously for all speakers.
Fig. 3 is the working principle diagram of multiple speaker synchronously playing audio frequency data provided in an embodiment of the present invention.
Before playing audio-fequency data, main sound box in multiple speaker synchronous playing system and respectively pass through from speaker respective Modulation /demodulation module is connected with supply network, main sound box by respectively from speaker send synchronization request, according to send synchronization request Sending instant and receive respectively from the time of reception of the response bag of speaker, obtain main sound box and respectively from the broadcast time-delay of speaker.
Specifically, main sound box sends synchronization request data data1 to first from speaker in the first sending instant t11, wherein The first mark from speaker is carried in synchronization request data data1;
Synchronization request data data1 respectively is received and parsed through from speaker, if the sound carried in synchronization request data data1 Case mark is consistent with self identification then to return to a response bag Ack1 to main sound box;
Main sound box receives the first response bag Ack1 returned from speaker in the first time of reception t12;
Main sound box obtains audio data according to formula T1=(t12-t11)/2 and is transferred to the first biography from speaker from main sound box The defeated time;
Similarly, main sound box successively to other from speaker send synchronization request data data2, data3 ..., datan, and obtain It obtains audio data and is transferred to other transmission time T2 ... Tn from speaker from main sound box;
If T1, T2 ..., maximum value is Tmax in Tn, then main sound box is calculated:
The broadcast time-delay Thost of main sound box is Tmax;First from the broadcast time-delay Tclient1 of speaker be Tmax-T1;The Two from the broadcast time-delay Tclient2 of speaker be Tmax-T2;... n-th from the broadcast time-delay Tclientn of speaker be Tmax-Tn.
It should be noted that main sound box and respective broadcast time-delay respectively can also be obtained in the following way from speaker.
Main sound box is in sending instant t0 simultaneously to respectively from speaker transmission synchronization request data;
Respectively receive synchronization request data from speaker, respectively to main sound box return a response bag Ack1, Ack2 ..., Ackn is wherein carried in response bag from the respective mark of speaker;
Main sound box to respectively from speaker return above-mentioned response bag Ack1, Ack2 ..., Ackn receive and parse through, according to response The slave speaker mark carried in packet determines the time of reception t1, t2 ... tn of the response bag respectively returned from speaker;
Main sound box obtains audio data according to formula T1=(t1-t0)/2 and is transferred to the first transmission from speaker from main sound box Time;Similarly main sound box obtains audio data and is transferred to other transmission time T2 ... Tn from speaker from main sound box;
If maximum value is Tmax in above-mentioned T1, T2 ... Tn, then main sound box is calculated:
The broadcast time-delay Thost of main sound box is Tmax;First from the broadcast time-delay Tclient1 of speaker be Tmax-T1;The Two from the broadcast time-delay Tclient2 of speaker be Tmax-T2;... n-th from the broadcast time-delay Tclientn of speaker be Tmax-Tn.
With reference to Fig. 3, which includes six speakers altogether, and wherein main sound box obtains its broadcasting through the above scheme Delay, and the audio data obtained from audio-source is saved in the buffer;Five from speaker, i.e., first from speaker, second From speaker ... the 4th from speaker, the 5th from speaker, respective broadcast time-delay is obtained through the above scheme.
In playing audio-fequency data, the audio data that main sound box is stored in buffer area carries out data by modulation /demodulation module It is sent to supply network after format conversion, the sound that will respectively obtain from supply network from speaker by respective modulation /demodulation module Audio data after conversion is cached in a local buffer area, and according to Data Format Transform is carried out by buffer area by frequency In audio data carry out the broadcast time-delay processing of local speaker after, send local speaker for the audio data in buffer area It is played out in sound card module, to realize being played simultaneously for multiple speakers.
Fig. 4 is a kind of loudspeaker box structure schematic diagram provided in an embodiment of the present invention, and the speaker includes:Main control module 41, Modulation /demodulation module 42, wireless module 43, memory module 44 and sound card module 45, wherein modulation /demodulation module 42, wireless module 43, memory module 44 and sound card module 45 are connect with main control module 41 respectively.
Modulation /demodulation module 42 is converted for realizing data transmission format on audio data format and supply network.
Specifically, modulation /demodulation module 42 includes two interfaces, the main control module 41 inside an interface connection speaker, Another interface connects the supply network outside speaker.
Wireless module 43, for being carried out wireless communication with external equipment.Such as wireless module 43 can be using bluetooth, red Outside, the wireless modes such as wifi is direct-connected, wifi hotspot or wifi and external equipment carry out wireless communication.
Memory module 44, for storing the audio data for needing to play.Preferably, the memory module 44 in the present embodiment is One buffer area of main control module 41.
Sound card module 45, for audio data to be converted to sound and is played.
Speaker in the present embodiment is connected to supply network by modulation /demodulation module, receives external set by wireless module Configuration-direct, audio data and the broadcasting control information that preparation is sent.
The speaker of multiple embodiment of the present invention can form synchronous playing system shown in Fig. 2.In plurality of speaker One speaker is configured as main sound box, other speakers are configured as from speaker, and when playing audio-fequency data, main sound box will need to play Audio data be sent to after modulation /demodulation module formats, be sent on supply network;Other respectively will be from from speaker After respective modulation /demodulation module formats, logical main control module is sent to received audio data on supply network Respective memory module carries out data storage.Wherein Fig. 5 and Fig. 6 is respectively main sound box and respectively prolongs from speaker according to respective broadcasting The schematic diagram that Shi Shixian audio data is played simultaneously.
As shown in figure 5, being schematic diagram of the main sound box according to its broadcast time-delay playing audio-fequency data, the master control molding of main sound box Block by wireless module from the buffer area that the received audio data of audio-source is cached to main control module, and by the sound in buffer area Frequency carries out Data Format Transform according to modulation /demodulation module is sent to, and the audio data after modulation /demodulation module converts format is sent out It is sent on supply network;Meanwhile main control module control also prolongs the audio data in buffer area through local broadcast time-delay Thost When processing after, be sent to sound card module and play out.
As shown in fig. 6, according to the schematic diagram of its broadcast time-delay playing audio-fequency data, to pass through power supply network from speaker from speaker Network obtains audio data, and after the modulated demodulation module of the audio data is formatted, and main control module is by the audio Data are preserved into buffer area, and by the audio data in buffer area after local broadcast time-delay Tclient delay process, are sent It is played out to sound card module.
In conclusion the present invention is used passes through respective modulation /demodulation module and supply network phase for multiple speakers respectively Even, and main sound box is configured according to configuration-direct by a speaker in multiple speakers, other speakers are configured to from speaker;It is broadcasting Before putting audio data, main sound box and respective broadcast time-delay respectively is obtained from speaker;In playing audio-fequency data, main sound box be will acquire To audio data supply network is sent to by modulation /demodulation module, respectively from speaker by modulation /demodulation module from supply network It is upper to obtain the audio data and store;When respective broadcast time-delay arrives main sound box and respectively the audio number is played from speaker According to realize multiple speakers to the technical solution of audio data being played simultaneously.Compared with the prior art, the present invention does not need Wiring, each speaker placement location can arbitrarily change, and only achieve that being played simultaneously for all speakers by controlling main sound box, and And during synchronous playback, the high stability of audio data transmission, synchronous effect is preferable, has well solved existing speaker It is played simultaneously to need to be routed or influence algorithm vulnerable to wireless network and realizes complicated problem.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (6)

1. a kind of multiple speaker synchronous broadcast methods, which is characterized in that multiple speakers are passed through respective modulatedemodulate mode transfer respectively Block is connected with supply network, and the multiple speaker is connect by respective wireless module with remote control device wireless telecommunications;User is logical It crosses some speaker of remote control device into multiple speakers and sends configuration-direct, which includes pre- group and build up a synchronization The mark for playing each speaker of network, a speaker in the multiple speaker, by the wireless module in the speaker receive come From the configuration-direct of the remote control device, being known according to the configuration-direct received itself is main sound box and other speakers are from sound Case;This method includes:
Main sound box and each respective broadcast time-delay is obtained from speaker;
When playing audio-fequency data, the audio data that main sound box will acquire is sent to supply network by modulation /demodulation module, respectively It is a that the audio data is obtained from supply network by modulation /demodulation module from speaker and is stored;
Main sound box and it is each from speaker according to respective broadcast time-delay, realize being played simultaneously for audio data;
This method further includes:
The main sound box receives the broadcasting control information that the remote control device is sent by wireless module;
The main sound box sends supply network by modulation /demodulation module for the broadcasting control information, described each from speaker The broadcasting control information is obtained from supply network by modulation /demodulation module.
2. the method according to claim 1, wherein main sound box and it is each from speaker according to it is respective broadcasting prolong When, realize audio data be played simultaneously including:
Main sound box determines that the broadcasting of main sound box audio starts according to the sending instant of the audio data and the broadcast time-delay of main sound box It is moment, each according to the time of reception of the audio data and to be determined from speaker from the broadcast time-delay of speaker respectively from speaker audio Play start time;
Main sound box plays broadcasting of the start time starting to the audio data in the main sound box audio, respectively exists respectively from speaker It is corresponding to play broadcasting of the start time starting to the audio data from speaker audio.
3. the method according to claim 1, wherein the main sound box and each obtaining respective broadcasting from speaker Delay includes:
Main sound box is to respectively synchronization request data are sent from speaker, according to the sending instant of synchronization request data and respectively from speaker response The time of reception of packet obtains and the respectively propagation delay time from speaker on supply network;
Main sound box determines the maximum value of propagation delay time from the propagation delay time;
The maximum value of the propagation delay time is sent to respectively by supply network from speaker by main sound box;
Main sound box is using the maximum value of propagation delay time as the broadcast time-delay of main sound box, each is from speaker according to should be from speaker and master The propagation delay time of speaker and the maximum value of propagation delay time obtain the broadcast time-delay from speaker.
4. according to the method described in claim 3, it is characterized in that, the main sound box is to respectively from speaker transmission synchronization request number According to according to the sending instant of synchronization request data and respectively from the acquisition of the time of reception of speaker response bag and respectively from speaker in power supply network Propagation delay time on network includes:
Main sound box sends synchronization request data to first from speaker in the first sending instant, and the is carried in the synchronization request data One from the mark of speaker, and receives the first response bag returned from speaker in first time of reception;Main sound box connects according to first The half that time receiving carves the difference for subtracting the first sending instant obtains main sound box and the first propagation delay time from speaker on supply network; Similarly, main sound box successively respectively sends synchronization request data from speaker to other, and successively obtains main sound box with other respectively from speaker Propagation delay time on supply network;Alternatively,
Main sound box sends synchronization request data from speaker to each simultaneously in sending instant;Main sound box to it is each from speaker return The response bag receives and parses through, and determines the response respectively returned from speaker according to the slave speaker mark carried in the response bag The time of reception of packet;Main sound box is obtained according to the half for receiving the difference for respectively subtracting sending instant from the time of reception of speaker response bag Get main sound box and the respectively propagation delay time from speaker on supply network;
It is described each from speaker according to should be somebody's turn to do from the maximum value of the propagation delay time and propagation delay time of speaker and main sound box Include from the broadcast time-delay of speaker:
Each subtracts the propagation delay time from speaker and main sound box according to the maximum value of propagation delay time from speaker and obtains this from sound The broadcast time-delay of case.
5. the method according to claim 1, wherein when playing audio-fequency data, this method further includes:The keynote Case receives the audio data of audio source transmission by wireless module.
6. a kind of multiple speaker synchronous playing systems, which is characterized in that the system includes:Multiple speakers, remote control device and power supply Network, the multiple speaker are connected by respective modulation /demodulation module with supply network respectively, and the multiple speaker passes through each From wireless module connect with the remote control device wireless telecommunications, user pass through some sound of remote control device into multiple speakers Case sends configuration-direct, which includes pre- group and build up the mark that each speaker of network is played simultaneously, wherein described A speaker in multiple speakers receives the configuration-direct from the remote control device, root by the wireless module in the speaker Knowing according to the configuration-direct received itself is main sound box and other speakers are from speaker;
Main sound box and each respective broadcast time-delay is obtained from speaker;In playing audio-fequency data,
The audio data that the main sound box will acquire is sent to supply network by modulation /demodulation module;
It is described each the audio data is obtained from supply network by respective modulation /demodulation module from speaker and is stored;
Main sound box and each being played simultaneously according to respective broadcast time-delay realization audio data from speaker;
The remote control device is also used to send broadcasting control information to the main sound box;
The main sound box receives the broadcasting control information that the remote control device is sent by wireless module;
The main sound box sends supply network by modulation /demodulation module for the broadcasting control information, described each from speaker The broadcasting control information is obtained from supply network by modulation /demodulation module.
CN201410842333.9A 2014-12-30 2014-12-30 A kind of method and system that multiple speakers are played simultaneously Active CN104581599B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410842333.9A CN104581599B (en) 2014-12-30 2014-12-30 A kind of method and system that multiple speakers are played simultaneously

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410842333.9A CN104581599B (en) 2014-12-30 2014-12-30 A kind of method and system that multiple speakers are played simultaneously

Publications (2)

Publication Number Publication Date
CN104581599A CN104581599A (en) 2015-04-29
CN104581599B true CN104581599B (en) 2018-11-27

Family

ID=53096615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410842333.9A Active CN104581599B (en) 2014-12-30 2014-12-30 A kind of method and system that multiple speakers are played simultaneously

Country Status (1)

Country Link
CN (1) CN104581599B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412771A (en) * 2015-07-27 2017-02-15 连信洲 Multichannel combined sound
CN106535059B (en) * 2015-09-14 2018-05-08 中国移动通信集团公司 Rebuild stereosonic method and speaker and position information processing method and sound pick-up
JP6569441B2 (en) * 2015-09-30 2019-09-04 ヤマハ株式会社 Audio equipment, audio system control program, and control terminal device
CN105259830A (en) * 2015-10-20 2016-01-20 北京小鸟听听科技有限公司 Voice box automatic switching method, apparatus and voice box device
CN105307078B (en) * 2015-11-04 2018-05-29 广东欧珀移动通信有限公司 A kind of speaker management method and user terminal
CN106028221B (en) * 2016-07-14 2019-04-16 Oppo广东移动通信有限公司 A kind of method and intelligent sound box controlling time synchronization
CN106162438B (en) * 2016-07-19 2019-03-22 吕建新 The operating method for the system that multifrequency section audio plays
CN107733745A (en) * 2016-08-10 2018-02-23 上海悟空信息科技有限公司 A kind of synchronous music player method and play system based on WIFI agreements
CN106452644B (en) * 2016-10-08 2019-02-01 Oppo广东移动通信有限公司 Control method for playing back, device and terminal
CN106454449A (en) * 2016-10-25 2017-02-22 深圳芯智汇科技有限公司 Master sound box, slave sound box and method for controlling synchronous playing of audio by router
CN107734444B (en) * 2017-10-23 2020-02-18 恒玄科技(上海)股份有限公司 Wireless multichannel sound synchronous playing control system and method
CN108449630B (en) * 2018-04-09 2020-05-22 歌尔股份有限公司 Audio synchronization method and system
CN108616767B (en) * 2018-04-28 2020-12-29 海信视像科技股份有限公司 Audio data transmission method and device
CN108989955A (en) * 2018-09-20 2018-12-11 钱军成 Module type stereo sound case
CN109219008A (en) * 2018-09-11 2019-01-15 北京爱德发科技有限公司 A kind of transmission method and system of wireless sound box combination
CN111049709B (en) * 2019-11-19 2022-03-04 广东好太太智能家居有限公司 Bluetooth-based interconnected loudspeaker box control method, equipment and storage medium
CN113037413B (en) * 2021-03-11 2023-04-21 成都德芯数字科技股份有限公司 Frequency modulation synchronization method, device, system, equipment and storage medium
CN116320902B (en) * 2023-05-19 2023-08-25 南昌航天广信科技有限责任公司 Sound box synchronous playing method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003042858A1 (en) * 2001-11-13 2003-05-22 Enikia Llc Media content and data distribution and consumption
JP2006237918A (en) * 2005-02-24 2006-09-07 Sony Corp Information processing system, reproducing terminal and reproducing method, information processing apparatus and method, and program
CN101465910A (en) * 2009-01-12 2009-06-24 深圳华为通信技术有限公司 Control method, terminal and system for playing stereo based on mobile terminal
CN101547404A (en) * 2008-03-24 2009-09-30 大唐移动通信设备有限公司 Method, system and equipment for realizing synchronization between radio network controllers
CN102103884A (en) * 2006-08-25 2011-06-22 中国移动通信集团公司 Audio playing device
CN103338204A (en) * 2013-07-05 2013-10-02 曾德钧 Audio synchronization output method and system
CN204425653U (en) * 2014-12-30 2015-06-24 歌尔声学股份有限公司 A kind of audio amplifier, audio frequency broadcast system and multiple audio amplifier synchronous playing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7672465B2 (en) * 2005-01-14 2010-03-02 Sony Corporation System and method for synchronization using GPS in home network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003042858A1 (en) * 2001-11-13 2003-05-22 Enikia Llc Media content and data distribution and consumption
JP2006237918A (en) * 2005-02-24 2006-09-07 Sony Corp Information processing system, reproducing terminal and reproducing method, information processing apparatus and method, and program
CN102103884A (en) * 2006-08-25 2011-06-22 中国移动通信集团公司 Audio playing device
CN101547404A (en) * 2008-03-24 2009-09-30 大唐移动通信设备有限公司 Method, system and equipment for realizing synchronization between radio network controllers
CN101465910A (en) * 2009-01-12 2009-06-24 深圳华为通信技术有限公司 Control method, terminal and system for playing stereo based on mobile terminal
CN103338204A (en) * 2013-07-05 2013-10-02 曾德钧 Audio synchronization output method and system
CN204425653U (en) * 2014-12-30 2015-06-24 歌尔声学股份有限公司 A kind of audio amplifier, audio frequency broadcast system and multiple audio amplifier synchronous playing system

Also Published As

Publication number Publication date
CN104581599A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104581599B (en) A kind of method and system that multiple speakers are played simultaneously
CN109302372A (en) A kind of communication means, equipment and storage medium
US20120033620A1 (en) Synchronization for data transfers between physical layers
EP3468070B1 (en) Method and apparatus for frame data transmission between near-end device and remote device
CN104640013A (en) Voice box control method and system
JP2009027725A (en) Wireless communication method for transmitting voice in wireless personal area network
CN110166989A (en) A kind of method and apparatus of high-speed transfer audio data
CN105592568A (en) Audio playing method and system
CN107040874A (en) Method, device and the bluetooth equipment of blue-teeth data simultaneously operating
CN105122827A (en) Extending a local area network
CN107040848A (en) Synchronization parameter transmission method, device and the equipment of AVDTP agreements
CN107733745A (en) A kind of synchronous music player method and play system based on WIFI agreements
CN103023534B (en) Electric power wireless communication system
CN109495594A (en) A kind of data transmission method, PNF SDN controller, VNF SDN controller and system
CN102237940A (en) Method, system and device for transferring sync-status message (SSM) in passive optical network
KR100652013B1 (en) Clock time synchronization method for wireless1394 heterogeneous networks
CN106789268A (en) A kind of network audio transmission method and system
US20220256314A1 (en) Method, apparatus and computer program for broadcast discovery service in wireless communication system, and recording medium therefor
US11108486B2 (en) Timing improvement for cognitive loudspeaker system
CN204425653U (en) A kind of audio amplifier, audio frequency broadcast system and multiple audio amplifier synchronous playing system
CN109565773A (en) Method of data synchronization, equipment and storage medium
CN208128259U (en) A kind of multi-channel digital power amplification system based on Dante network connection
CN209982711U (en) Intelligent sound box with multi-room music playing function through local area network
CN203813918U (en) LED illumination devices and wireless loudspeaker box system
KR101958374B1 (en) Services, systems and methods for precisely estimating a delay within a network

Legal Events

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

Address after: 261031 Dongfang Road, Weifang high tech Industrial Development Zone, Shandong, China, No. 268

Applicant after: Goertek Inc.

Address before: 261031 Dongfang Road, Weifang high tech Industrial Development Zone, Shandong, China, No. 268

Applicant before: Goertek Inc.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant