CN104637505B - Audio frequency playing method and device - Google Patents
Audio frequency playing method and device Download PDFInfo
- Publication number
- CN104637505B CN104637505B CN201410852328.6A CN201410852328A CN104637505B CN 104637505 B CN104637505 B CN 104637505B CN 201410852328 A CN201410852328 A CN 201410852328A CN 104637505 B CN104637505 B CN 104637505B
- Authority
- CN
- China
- Prior art keywords
- sound equipment
- information
- audio
- role
- keynote
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000001360 synchronised effect Effects 0.000 claims abstract description 26
- 230000008859 change Effects 0.000 claims description 88
- 238000001514 detection method Methods 0.000 claims description 37
- 238000012545 processing Methods 0.000 claims description 22
- 230000001131 transforming effect Effects 0.000 claims description 17
- 238000004891 communication Methods 0.000 abstract description 11
- 238000010586 diagram Methods 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 10
- 230000004048 modification Effects 0.000 description 10
- 238000012986 modification Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000002123 temporal effect Effects 0.000 description 4
- 230000000712 assembly Effects 0.000 description 3
- 238000000429 assembly Methods 0.000 description 3
- 238000011897 real-time detection Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000012092 media component Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Circuit For Audible Band Transducer (AREA)
- Stereophonic System (AREA)
Abstract
The disclosure belongs to electronic equipment and wireless communication field on a kind of audio frequency playing method and device.Method includes:Receive audio-frequency information and at least one Delay sent from sound equipment;Delay generation sent from sound equipment with each according to playing duration rings the reproduction time information with each from sound equipment corresponding to keynote;Audio-frequency information and each reproduction time information are sent to corresponding from sound equipment;When the moment indicated by the reproduction time information rung corresponding to keynote is reached, audio is played from play position, keynote rings synchronous from the broadcasting of sound equipment with least one, different acoustic is passed through into bluetooth connection, the result of broadcast of audio is enriched by different acoustic synchronously playing audio frequency, audio can be solved can only be played out by a sound equipment, cause the problem that result of broadcast is single, so that the result of broadcast of abundant audio.
Description
Technical field
This disclosure relates to electronic equipment and wireless communication field, more particularly to a kind of audio frequency playing method and device.
Background technology
People often use sound equipment when listening song, seeing a film, because common sound equipment is needed with connecting line and audio output
End is connected, and causes the putting position of sound equipment by connecting line length limitation, therefore, sound equipment needs to use bluetooth to realize the nothing of audio
Line is transmitted.
When being wirelessly transferred of audio is being realized using bluetooth, audio transmitting terminal sets up bluetooth connection, audio hair with sound equipment
Sending end is by using A2DP (Advanced Audio Distribution Profile, the agreement of Bluetooth audio frequency mode) association
View by high-quality audio transmission to sound equipment, by using AVRCP (Audio/Video Remote Control Profile,
Audio/video remote control specification) the agreement control that carries out to audio.
Publisher has found at least there is following defect in correlation technique during the disclosure is realized:Audio transmitting terminal
Bluetooth connection can only be set up with a sound equipment so that audio can only be played out by a sound equipment, cause result of broadcast single.
The content of the invention
Can only be played out by a sound equipment to solve audio, cause the problem that result of broadcast is single, the disclosure to provide
A kind of audio frequency playing method and device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of audio frequency playing method, including:
Audio-frequency information and at least one Delay sent from sound equipment are received, the audio-frequency information includes audio and described
The playing duration of audio, the Delay is used to indicate the keynote to ring and the corresponding propagation delay time between sound equipment;
Correspond to the keynote and ring and each according to the playing duration and each Delay generation sent from sound equipment
From the reproduction time information of sound equipment, the reproduction time information is used to indicate broadcasting indicated by each sound equipment from the playing duration
Put the moment that the audio is played at position;
The audio-frequency information and each reproduction time information are sent to corresponding from sound equipment;
When the moment indicated by the reproduction time information rung corresponding to the keynote is reached, broadcast from the play position
The audio is put, the keynote sound is synchronous from the broadcasting of sound equipment with described at least one.
Optionally, methods described, also includes:
Receive each ability information sent from sound equipment;
Role Information is configured from sound equipment for corresponding according to each ability information;
Each Role Information is sent to it is corresponding from sound equipment, the Role Information be used to indicating it is described from sound equipment to described
The broadcast mode of audio.
Optionally, it is described that Role Information is configured from sound equipment for corresponding according to each ability information, including:
Detect whether to receive role's configuration-direct that user triggers for each from sound equipment;
Role's configuration-direct is received if detecting, according to role's configuration-direct for each is configured from sound equipment
The Role Information;
Role's configuration-direct is not received if detecting, is corresponding according to configuration strategy and each ability information
The Role Information is configured from sound equipment.
Optionally, methods described also includes:
If being rung in the presence of other keynotes, whether described other keynotes of detection ring support role transforming;
If detecting that described other keynotes ring supports role transforming, described other keynotes are rung be defined as from sound equipment, be
It is described to configure Role Information from sound equipment, the Role Information is sent to described from sound equipment;
If detecting that described other keynotes ring does not support role transforming, described other keynotes of shielding ring.
Optionally, methods described also includes:
Detect whether to receive the Status Change information sent from sound equipment, the Status Change information is used to indicate to described
The current operating state obtained after being changed from the original operating state of sound equipment;
Receive the Status Change information if detecting, to except it is described from sound equipment in addition to send the shape from sound equipment
State modification information, the Status Change information is used to indicate each to be altered to the work at present from original operating state from sound equipment
State.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of audio frequency playing method, including:
Connection according to foundation is rung with keynote generates Delay, and the Delay is sent into the keynote rings, institute
Delay is stated for indicating the keynote to ring and the propagation delay time between sound equipment;
Receive the keynote and ring the audio-frequency information and reproduction time information for sending, the audio-frequency information includes audio and described
Playing duration, the reproduction time information is that the keynote sound is generated according to the playing duration and the Delay;
When the moment indicated by the reproduction time information is reached, from the play position indicated by the playing duration
The audio is played, it is described synchronous with the broadcasting that the keynote rings from sound equipment.
Optionally, the audio is played at the play position from indicated by the playing duration, including:
Role Information is obtained, with the broadcast mode indicated by the Role Information, broadcasting indicated by the playing duration
Put and the audio is played at position.
Optionally, methods described also includes:
Transmitting capacity information is rung to the keynote;
Receive the keynote and ring the Role Information for sending, the Role Information is the keynote sound according to the ability information
It is from sound equipment configuration;
If the Role Information that is stored with from sound equipment, the refusal storage Role Information;
If the Role Information that is not stored with from sound equipment, stores the Role Information.
Optionally, methods described also includes:
Detect whether to receive the Status Change information that user triggers, the Status Change information received if detecting,
The current operating state indicated by the Status Change information then is altered to from original operating state, and the Status Change is believed
Breath is sent to the keynote and rings, the keynote ring for by the Status Change information be sent to except it is described from sound equipment in addition to from
Sound equipment, the Status Change information is used to indicate each to be altered to the current operating state from original operating state from sound equipment;
Or,
Detect whether that receiving the keynote rings the Status Change information for sending, and the Status Change is received if detecting
Information, then be altered to the current operating state indicated by the Status Change information, the Status Change from original operating state
Information is to be sent to the keynote after other are altered to current operating state from sound equipment from original operating state to ring.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of audio playing apparatus, including:
Time delay receiver module, is configured as receiving audio-frequency information and at least one Delay sent from sound equipment, described
Audio-frequency information includes the playing duration of audio and the audio, the Delay be used to indicating the keynote sound with it is corresponding from
Propagation delay time between sound equipment;
Time generation module, each for being configured as being received according to the playing duration and the time delay receiver module is from sound
The Delay generation that sound sends rings the reproduction time information with each from sound equipment, the reproduction time letter corresponding to the keynote
Cease the moment for indicating the broadcasting audio at the play position indicated by each sound equipment from the playing duration;
Time sending module, when being configured as each broadcasting for generating the audio-frequency information and the time generation module
Between information be sent to it is corresponding from sound equipment;
Audio playing module, is configured as reaching the moment indicated by the reproduction time information rung corresponding to the keynote
When, the audio is played from the play position, the keynote sound is synchronous from the broadcasting of sound equipment with described at least one.
Optionally, described device also includes:
Ability information receiver module, is configured as receiving each ability information sent from sound equipment;
Role Information configuration module, be configured as according to the ability information receiver module receive each ability information be
It is corresponding to configure Role Information from sound equipment;
Role Information sending module, each Role Information for being configured as configuring the Role Information configuration module sends
To corresponding from sound equipment, the Role Information be used to indicating it is described from sound equipment to the broadcast mode of the audio.
Optionally, the Role Information configuration module, including:
Command detection submodule, is configured as detecting whether that receive user configures for each from the role of sound equipment triggering
Instruction;
First configuration submodule, is configured as detecting that receiving role's configuration refers in the command detection submodule
When making, according to role's configuration-direct for each configures the Role Information from sound equipment;
Second configuration submodule, is configured as detecting that not receiving the role configures in the command detection submodule
During instruction, the Role Information is configured from sound equipment for corresponding according to configuration strategy and each ability information.
Optionally, described device also includes:
Sound equipment detection module, is configured as when there is other keynotes sound, and whether described other keynotes of detection ring support angle
Color is changed;
First processing module, is configured as detecting that described other keynotes ring support role and turn in the sound equipment detection module
When changing, described other keynotes are rung and is defined as from sound equipment, be described from sound equipment configuration Role Information, the Role Information is sent
To described from sound equipment;
Second processing module, is configured as detecting that other keynotes sound does not support role in the sound equipment detection module
During conversion, described other keynotes of shielding ring.
Optionally, described device also includes:
State detection module, is configured as detecting whether to receive the Status Change information sent from sound equipment, the state
Modification information be used to indicating to it is described changed from the original operating state of sound equipment after the current operating state that obtains;
Status Change module, is configured as being detected in the state detection module and receives the Status Change information
When, to except it is described from sound equipment in addition to send the Status Change information from sound equipment, the Status Change information is used to indicating each
It is individual to be altered to the current operating state from original operating state from sound equipment.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of audio playing apparatus, including:
Time delay generation module, is configured as generating Delay according to the connection for ringing foundation with keynote, by time delay letter
Breath is sent to the keynote and rings, and the Delay is used to indicate the keynote to ring and the propagation delay time between sound equipment;
Time receiver module, is configured as receiving audio-frequency information and reproduction time information that the keynote rings transmission, described
Audio-frequency information includes audio and the playing duration, the reproduction time information be the keynote sound according to the playing duration and
The Delay generation;
Audio playing module, is configured as when the moment indicated by the reproduction time information is reached, from the broadcasting
The audio is played at play position indicated by duration, it is described synchronous with the broadcasting that the keynote rings from sound equipment.
Optionally, the audio playing module, specifically for obtaining Role Information, with broadcasting indicated by the Role Information
Mode is put, the audio is played from the play position indicated by the playing duration.
Optionally, described device also includes:
Ability information sending module, is configured as ringing transmitting capacity information to the keynote;
Role Information receiver module, is configured as receiving the Role Information that the keynote rings transmission, and the Role Information is
The keynote sound is to be configured from sound equipment according to the ability information;
First processing module, be configured as it is described be stored with from sound equipment Role Information when, the refusal storage role
Information;
Second processing module, be configured as it is described be not stored with from sound equipment Role Information when, store role letter
Breath.
Optionally, described device also includes:
First state changes module, the Status Change information for detecting whether to receive user's triggering is configured as, in detection
When going out to receive the Status Change information, the current work indicated by the Status Change information is altered to from original operating state
Make state, and the Status Change information be sent into the keynote to ring, the keynote is rung for by the Status Change information
Be sent to except it is described from sound equipment in addition to from sound equipment, the Status Change information is used to indicate each from sound equipment from initialization shape
State is altered to the current operating state;Or,
Second Status Change module, is configured as detecting whether that receiving the keynote rings the Status Change information for sending,
Detect receive the Status Change information when, be altered to indicated by the Status Change information from original operating state
Current operating state, the Status Change information is sent out after other are altered to current operating state from sound equipment from original operating state
Give what the keynote rang.
A kind of the 5th aspect according to the embodiment of the present disclosure, there is provided audio playing apparatus, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Audio-frequency information and at least one Delay sent from sound equipment are received, the audio-frequency information includes audio and described
The playing duration of audio, the Delay is used to indicate the keynote to ring and the corresponding propagation delay time between sound equipment;
Correspond to the keynote and ring and each according to the playing duration and each Delay generation sent from sound equipment
From the reproduction time information of sound equipment, the reproduction time information is used to indicate broadcasting indicated by each sound equipment from the playing duration
Put the moment that the audio is played at position;
The audio-frequency information and each reproduction time information are sent to corresponding from sound equipment;
When the moment indicated by the reproduction time information rung corresponding to the keynote is reached, broadcast from the play position
The audio is put, the keynote sound is synchronous from the broadcasting of sound equipment with described at least one.
A kind of the 6th aspect according to the embodiment of the present disclosure, there is provided audio playing apparatus, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Connection according to foundation is rung with keynote generates Delay, and the Delay is sent into the keynote rings, institute
Delay is stated for indicating the keynote to ring and the propagation delay time between sound equipment;
Receive the keynote and ring the audio-frequency information and reproduction time information for sending, the audio-frequency information includes audio and described
Playing duration, the reproduction time information is that the keynote sound is generated according to the playing duration and the Delay;
When the moment indicated by the reproduction time information is reached, from the play position indicated by the playing duration
The audio is played, it is described synchronous with the broadcasting that the keynote rings from sound equipment.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By receiving audio-frequency information and at least one Delay sent from sound equipment;According to playing duration and each from sound
The Delay generation that sound sends rings the reproduction time information with each from sound equipment corresponding to keynote;Audio-frequency information is broadcast with each
Put temporal information be sent to it is corresponding from sound equipment;When the moment indicated by the reproduction time information rung corresponding to keynote is reached,
Audio is played from play position, keynote rings synchronous from the broadcasting of sound equipment with least one, by different acoustic by bluetooth connection,
The result of broadcast of audio is enriched by different acoustic synchronously playing audio frequency, it is possible to resolve audio can only be broadcast by a sound equipment
Put, cause the problem that result of broadcast is single, so that the result of broadcast of abundant audio.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary, this can not be limited
It is open.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes a part for present disclosure specification, shows and meets the disclosure
Embodiment, and it is used to explain the principle of the disclosure together with specification.
Fig. 1 is the implementation environment schematic diagram according to involved by each exemplary embodiment.
Fig. 2 is a kind of flow chart of the audio frequency playing method according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of the audio frequency playing method according to an exemplary embodiment.
Fig. 4 is a kind of flow chart of the audio frequency playing method according to another exemplary embodiment.
Fig. 5 is a kind of block diagram of the audio playing apparatus according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of the audio playing apparatus according to another exemplary embodiment.
Fig. 7 is a kind of block diagram of the audio playing apparatus according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of the audio playing apparatus according to another exemplary embodiment.
Fig. 9 is a kind of block diagram of the device played for audio according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in implementation method do not represent all implementation methods consistent with the disclosure.Conversely, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
Fig. 1 is the implementation environment schematic diagram involved by each exemplary embodiment of the disclosure, as shown in figure 1, the implementation
Environment includes that audio-source 101, keynote rings 102 and from sound equipment 103.Audio-source 101 can be to provide the equipment of audio-frequency information, keynote
Put sound equipment in ringing 102 and being, from sound equipment 103 can be support side ring around, it is rearmounted around and at least one of subwoofer play
The sound equipment of mode.
Wherein, audio-source 101 and keynote are connected between ringing 102 by cable network or wireless network is connected.Now, audio
Source 101 can ring 102 and provide audio-frequency information by cable network or wireless network to keynote.
Keynote rings 102 and at least one and sets up network connection from sound equipment 103.The present embodiment with keynote ring 102 with from sound equipment
103 set up as a example by bluetooth connection and illustrate, then keynote ring 102 can be to nearby opening entering from sound equipment 103 for Bluetooth function
Line search, is matched with searching from sound equipment 103, sets up bluetooth connection.Keynote rings 102 and passes through between sound equipment 103
Bluetooth connection is communicated.
Fig. 2 is a kind of flow chart of the audio frequency playing method according to an exemplary embodiment, the audio frequency playing method
It is applied to the keynote shown in Fig. 1 to ring in 102, as shown in Fig. 2 the audio frequency playing method is comprised the following steps.
In step 201, audio-frequency information and at least one Delay sent from sound equipment are received, the audio-frequency information includes
The playing duration of audio and audio, the Delay is used to indicate keynote to ring and the corresponding propagation delay time between sound equipment.
Keynote rings can produce propagation delay time to each audio information transmissions by bluetooth from the process of sound equipment, cause keynote
Ringing cannot be synchronous with the time that audio is played from sound equipment, therefore, keynote sound is also needed except receiving the audio-frequency information that audio-source sends
The Delay sent from sound equipment is received, setting keynote further according to Delay rings and from sound equipment synchronously playing audio frequency.
In step 202., according to playing duration and each from sound equipment send Delay generation correspond to keynote ring and
, from the reproduction time information of sound equipment, the reproduction time information is for indicating the broadcasting indicated by each sound equipment from playing duration for each
The moment of audio is played at position.
Needed and each is from sound equipment synchronously playing audio frequency because keynote rings, and each is from the mutual not phase of the propagation delay time of sound equipment
Together, therefore, keynote sound can determine receive moment of reproduction time information from sound equipment according to Delay, then in reproduction time letter
The moment from sound equipment broadcasting audio is indicated in breath.
In step 203, audio-frequency information and each reproduction time information are sent to corresponding from sound equipment.
In step 204, when the moment indicated by the reproduction time information rung corresponding to keynote is reached, from play position
Place plays audio, and keynote rings synchronous from the broadcasting of sound equipment with least one.
In sum, the audio frequency playing method that the disclosure is provided, is sent out by receiving audio-frequency information and at least one from sound equipment
The Delay for sending;Correspond to that keynote rings and each is from sound according to playing duration and each Delay generation sent from sound equipment
Loud reproduction time information;Audio-frequency information and each reproduction time information are sent to corresponding from sound equipment;When arrival corresponds to
During moment indicated by the reproduction time information that keynote rings, play audio from play position, keynote ring with least one from sound
Loud broadcasting synchronization, by different acoustic by bluetooth connection, the broadcasting of audio is enriched by different acoustic synchronously playing audio frequency
Effect, it is possible to resolve audio can only be played out by a sound equipment, cause the problem that result of broadcast is single, so that abundant audio
Result of broadcast.
Fig. 3 is a kind of flow chart of the audio frequency playing method according to an exemplary embodiment, the audio frequency playing method
Be applied to shown in Fig. 1 from sound equipment 103, as shown in figure 3, the audio frequency playing method comprises the following steps.
In step 301, Delay is generated according to the connection that foundation is rung with keynote, Delay is sent to keynote
Ring, the Delay is used to indicate keynote to ring and from the propagation delay time between sound equipment.
From sound equipment with keynote ring set up bluetooth connection after, can by bluetooth connection set up process calculate from sound equipment with
Propagation delay time between keynote sound, generates Delay.
In step 302, receive keynote and ring the audio-frequency information and reproduction time information for sending, the audio-frequency information includes audio
And playing duration, the reproduction time information is that keynote sound is generated according to playing duration and Delay.
In step 303, when the moment indicated by reproduction time information is reached, the broadcasting position indicated by playing duration
Put place and play audio, it is synchronous with the broadcasting that keynote rings from sound equipment.
In sum, the audio frequency playing method that the disclosure is provided, rings the connection set up and generates time delay by basis and keynote
Information, is sent to Delay keynote and rings;Receive keynote and ring the audio-frequency information and reproduction time information for sending;Played when reaching
During moment indicated by temporal information, audio is played from the play position indicated by playing duration, rung from sound equipment and keynote
Play synchronous, by different acoustic by bluetooth connection, the result of broadcast of audio enriched by different acoustic synchronously playing audio frequency,
Audio can be solved can only be played out by a sound equipment, cause the problem that result of broadcast is single, so that the broadcasting of abundant audio
Effect.
Fig. 4 is a kind of flow chart of the audio frequency playing method according to another exemplary embodiment, the audio broadcasting side
Method is applied to ring 102 and from the audio frequency broadcast system of sound equipment 103 including keynote shown in Fig. 1, as shown in figure 4, the audio is broadcast
The method of putting comprises the following steps.
In step 401, transmitting capacity information is rung from sound equipment to keynote.
Wherein, ability information is the information for indicating the broadcast mode from sound equipment support, and the broadcast mode can include bass
Big gun broadcast mode, side ring are around broadcast mode and rearmounted circular broadcast mode etc..
It is to configure role from sound equipment because keynote rings needs so that each can play sound from sound equipment with the role for configuring
Frequently, to optimize result of broadcast, therefore, it is the role configured from sound equipment and the broadcast mode having from sound equipment to ensure that keynote rings
Correspondence, needs for ability information to be sent to keynote sound, to improve the accuracy of role's configuration from sound equipment.Wherein, role refer to from
Broadcast mode of the sound equipment to audio.Such as, when from sound equipment being the role of subwoofer, broadcast with the broadcast mode of subwoofer from sound equipment
Playback is frequently;When from sound equipment be side ring around role when, from sound equipment with side ring around broadcast mode play audio.
In step 402, keynote rings and receives each ability information sent from sound equipment;It is correspondence according to each ability information
Configure Role Information from sound equipment, the Role Information is used to indicate from sound equipment to the broadcast mode of audio.
Wherein, it is to configure Role Information from sound equipment that keynote is rung according to the ability information sent from sound equipment, rather than being at random
Role Information is configured from sound equipment, can both ensure the accuracy of the Role Information of configuration, it is also possible to avoided multiple from the angle of sound equipment
Color information is identical, causes the problem that result of broadcast is single, to optimize result of broadcast.Wherein, Role Information is that keynote sound is from sound
Ring the information of the role of configuration.
Wherein, Role Information is configured from sound equipment for corresponding according to each ability information, including:
1) detect whether to receive role's configuration-direct that user triggers for each from sound equipment;
If role's configuration-direct is received 2) detect, according to role's configuration-direct for each believes from sound equipment configuration role
Breath;
Do not receive role's configuration-direct if 3) detect, according to configuration strategy and each ability information for it is corresponding from
Sound equipment configures Role Information.
In the present embodiment, from the role of sound equipment can user's setting, or keynote ring and set, the present embodiment
It is not construed as limiting.Keynote sound can detect whether to receive user's triggering within a predetermined period of time after ability information is received
Role's configuration-direct.Can be from sound equipment configuration role's letter according to role's configuration-direct if receiving role's configuration-direct
Breath.If keynote rings does not receive role's configuration-direct within a predetermined period of time, the configuration strategy for prestoring is read, according to configuration plan
It is slightly to configure Role Information from sound equipment with ability information.
It is being that keynote sound can detect role's configuration-direct institute when configuring Role Information from sound equipment according to role's configuration-direct
The role of instruction whether with this from the capability information matching of sound equipment.If role indicated by role's configuration-direct with should be from sound equipment
Capability information matching, the then role that will be configured to from the role of sound equipment indicated by role's configuration-direct, obtains Role Information.If angle
Role indicated by color configuration-direct mismatches with the ability information from sound equipment, then can show the prompting letter of role's configuration error
Breath, so that user regenerates role's configuration-direct.Such as, when from the ability information of sound equipment indicate from sound equipment support side ring around
Broadcast mode and role's configuration-direct indicate keynote to ring for this from sound equipment configure the role of subwoofer when, due to the ability from sound equipment
Information is mismatched with the role indicated by role's configuration-direct, then show the prompt message of configuration error.
It is being that when configuring Role Information from sound equipment, a kind of broadcasting of support can be preferably according to configuration strategy and ability information
Mode from sound equipment configures Role Information, then from it is remaining do not configure from least two broadcast modes that sound equipment is supported, choosing
The broadcast mode not being configured is selected as this from the role of sound equipment, Role Information is obtained.
Such as, the broadcast mode of subwoofer is supported from sound equipment A, subwoofer and rearmounted circular broadcasting side is supported from sound equipment B
Formula, from sound equipment C support side ring around broadcast mode, then preferentially can will be configured to subwoofer from the role of sound equipment A, will be from sound equipment
The role of B be configured to it is rearmounted surround, by from the role of sound equipment C be configured to side ring around.
It should be noted that keynote sound with other keynotes in addition to being set up from sound equipment and being connected except that can also ring and set up
Connection, therefore, the audio frequency playing method that the present embodiment is provided can also include:
If 1) rung in the presence of other keynotes, detect whether other keynotes ring support role transforming;
2) if detecting that other keynotes ring supports role transforming, other keynotes are rung and is defined as from sound equipment, be from sound equipment
Configuration Role Information, Role Information is sent to from sound equipment;
3) if detecting that other keynotes ring does not support role transforming, other keynotes sound is shielded.
Keynote sound obtains other keynotes and rings the ability information for sending, according to the energy after being connected with the sound foundation of other keynotes
Force information detects whether other keynotes ring support role transforming.If detecting that other keynotes ring supports role transforming, by other
Sound equipment is defined as from sound equipment, and configures Role Information to be somebody's turn to do from sound equipment from the ability information of sound equipment according to this, if detecting other
Keynote rings does not support role transforming, then disconnect the connection rung with other keynotes, and shield other keynotes sound.
For example, keynote rings A after keynote sound B is searched, ring B foundation with keynote and be connected, keynote rings A and obtains keynote sound B's
Ability information, if the ability information indicates keynote to ring B supports that the broadcast mode that sound equipment is put in plays audio, disconnects and keynote
Ring the connection of B and shield keynote and ring B, if the ability information indicates keynote to ring B supports that the broadcast mode that sound equipment is put in plays sound
Then be defined as keynote sound B from sound equipment, and be main sound equipment B by frequency and also support subwoofer broadcast mode and side ring around broadcast mode
Configuration Role Information.
In step 403, be sent to for each Role Information corresponding from sound equipment by keynote sound.
In step 404, the Role Information that keynote rings transmission is received from sound equipment;If being stored with Role Information from sound equipment,
Then refusal stores Role Information;If not being stored with Role Information from sound equipment, Role Information is stored.
From sound equipment after the Role Information that keynote sound sends is received, whether the Role Information that itself is stored with is detected, if detection
Role Information is stored to itself, then refusal storage keynote rings the Role Information for sending, and is carried out according to the Role Information for having stored
Configuration;If detecting the Role Information that itself is not stored with, storage keynote ring send Role Information, using the Role Information as
The Role Information of follow-up default configuration.
Such as, the broadcast mode indicated by Role Information for receiving from sound equipment is subwoofer broadcast mode, then detection is
The no Role Information that has been stored with, side ring is indicated around the Role Information of broadcast mode, refusal storage master if detecting and being stored with
Sound equipment send Role Information, set this broadcast mode for side ring around broadcast mode;If detecting the Role Information that is not stored with,
Role Information is then stored, this broadcast mode is set to subwoofer broadcast mode.
In step 405, Delay is generated according to the connection that foundation is rung with keynote from sound equipment, Delay is sent to
Keynote rings, and the Delay is used to indicate keynote to ring and from the propagation delay time between sound equipment.
From sound equipment rung with keynote set up be connected after, it is necessary to be calculated propagation delay time according to the connection, when this is transmitted
Keynote sound is delivered in delayed action, the propagation delay time is processed by keynote sound so that propagation delay time does not interfere with each sound equipment synchronization
Play audio.
In a step 406, keynote rings and receives audio-frequency information and at least one Delay sent from sound equipment, audio letter
Breath includes the playing duration of audio and audio.
Keynote rings to complete to match somebody with somebody each from the role of sound equipment and postpones, and receives the audio-frequency information that audio-source sends, audio letter
Breath includes the playing duration of audio and audio.Wherein, playing duration is used to indicate the play position of audio.Such as, audio is total
Shi Changwei 1 hour, playing duration is 10 minutes, then when next time plays the audio, audio is commenced play out from the 10th minute.
In the present embodiment, keynote rings and also needs to receive at least one Delay sent from sound equipment.Wherein, time delay letter
Breath is rung and the bluetooth connection calculating gained that should be set up from sound equipment by from sound equipment according to keynote.Wherein, due to keynote ring with each from
The distance between sound equipment difference, each is also different from the Delay that keynote rings from sound equipment.Such as, 1 is rung apart from keynote from sound equipment A
Rice, from sound equipment A according to the time delay that the Delay that the bluetooth connection that foundation is rung with keynote is calculated is 2 seconds;From sound equipment B distances
Keynote rings 3 meters, from sound equipment B according to the time delay that the Delay that the bluetooth connection that foundation is rung with keynote is calculated is 4 seconds.
In step 407, keynote sound corresponds to master according to playing duration and each Delay generation sent from sound equipment
Sound equipment and each from the reproduction time information of sound equipment, the reproduction time information is used to indicate indicated by each sound equipment from playing duration
Play position at play audio moment.
Wherein, the sound equipment in step 407 is main sound equipment or from sound equipment.
Needed and each is from sound equipment synchronously playing audio frequency because keynote rings, and each is from the mutual not phase of the propagation delay time of sound equipment
Together, therefore, keynote sound can determine receive moment of reproduction time information from sound equipment according to Delay, then in reproduction time letter
The moment from sound equipment broadcasting audio is indicated in breath.
Wherein, it is determined that during reproduction time information, keynote rings and compares each Delay from sound equipment, obtains maximum delay
Information, obtains delay inequality, according to each delay inequality and broadcasting after maximum delay information is subtracted into each Delay from sound equipment
Duration obtains corresponding to each reproduction time information from sound equipment.It should be noted that the reproduction time information that keynote rings is root
Generated according to maximum delay information and playing duration.
Such as, keynote rings being respectively 1 second, 2 seconds and 3 seconds corresponding to the Delay from sound equipment A, B, C and being played for acquisition
Duration is 40 seconds, then be individually subtracted within 3 seconds maximum delay information 1 second, 2 seconds and 3 seconds, obtains time delay difference 2 seconds, 1 second and 0 second,
It is " audio of the 40th second is commenced play out after receiving audio-frequency information 2 seconds " corresponding to the reproduction time information from sound equipment A;Correspond to
It is " audio of the 40th second is commenced play out after receiving audio-frequency information 1 second " from the reproduction time information of sound equipment B;Corresponding to from sound equipment
The reproduction time information of C is " receiving the audio for immediately beginning to play the 40th second after audio-frequency information ";The reproduction time that keynote rings
Information is " sending audio-frequency information commences play out the 40th second audio after 3 seconds ".
In a step 408, be sent to for audio-frequency information and each reproduction time information corresponding from sound equipment by keynote sound.
After reproduction time information is generated, audio-frequency information and each reproduction time information are sent to each from sound by keynote sound
Ring.
In step 409, audio-frequency information and reproduction time information that keynote rings transmission are received from sound equipment.
From sound equipment receive keynote ring send audio-frequency information and reproduction time information, from sound equipment receive audio-frequency information and
After reproduction time information, audio is played under the instruction of reproduction time information.
In step 410, when the moment indicated by the reproduction time information rung corresponding to keynote is reached, keynote sound is from broadcasting
Broadcasting audio at position is put, keynote rings synchronous from the broadcasting of sound equipment with least one.
Keynote ring with each play position from sound equipment according to indicated by corresponding reproduction time information from playing duration
Play audio so that keynote rings can play audio with from sound equipment in synchronization.
It is corresponding, when the moment indicated by reproduction time information is reached, the broadcasting indicated by sound equipment from playing duration
Audio is played at position, it is synchronous with the broadcasting that keynote rings from sound equipment.
Such as, the reproduction time information according to step 407, sound is played from sound equipment A after 2 seconds of audio-frequency information are obtained
Frequently, audio is played behind 1 second after obtaining audio-frequency information from sound equipment B, sound is played immediately after audio-frequency information is obtained from sound equipment C
Frequently, keynote sound plays audio after sending 3 seconds of audio-frequency information, i.e. keynote sound after 3 seconds of audio-frequency information are sent, keynote rings,
From sound equipment A, B and C synchronously playing audio frequency.
Wherein, audio is played from the play position indicated by playing duration, including:
1) Role Information is obtained;
2) with the broadcast mode indicated by Role Information;
3) audio is played from the play position indicated by playing duration.
Need to play audio with the role for determining from sound equipment, therefore, before audio is played, need to obtain role's letter from sound equipment
Breath.Wherein, the mode of acquisition Role Information can be:The Role Information that keynote sound sends according to default configuration strategy;Or, with
The Role Information that family is indicated by Role Information configuration-direct;Or, the Role Information of itself storage.Role is being got from sound equipment
After information, with the broadcast mode indicated by Role Information, audio is played from the play position indicated by playing duration
Such as, if from sound equipment determine broadcast mode for subwoofer broadcast mode, playing duration be 40 seconds, delay inequality be 3 seconds
When, from sound equipment from after 3 seconds that obtain audio-frequency information, audio is played with subwoofer broadcast mode.
In step 411, detect whether to receive the Status Change information of user's triggering from sound equipment, received if detecting
Status Change information, then be altered to the current operating state indicated by Status Change information from original operating state.
User is adjusted when audio is appreciated if desired for audio, can send adjust instruction to from sound equipment.Exist from sound equipment
When playing audio, can detect whether to receive the Status Change information generated according to adjust instruction, shape is received if detecting
State modification information, then be altered to the current operating state indicated by Status Change information from original operating state.Such as, from sound equipment
After the halted state modification information for receiving user's triggering, current operating state is changed to pause.
In step 412, Status Change information is sent into keynote from sound equipment to ring.
In step 413, keynote rings and detects whether to receive the Status Change information sent from sound equipment;If detecting reception
To Status Change information, then to except this from sound equipment in addition to send Status Change information from sound equipment.
Keynote is rung operationally, in order to synchronous, it is necessary to whether real-time detection receives with the working condition holding from sound equipment
From the Status Change information that sound equipment sends, if receiving the Status Change information sent from sound equipment, current operating state is carried out
Adjustment, and by the Status Change information send to except send the information from sound equipment in addition to it is all from sound equipment so that each is from sound
Ring synchronous with the working condition holding that keynote rings.
For example, after keynote rings the halted state modification information for detecting and being sent from sound equipment A, receiving halted state change letter
Breath, is then set to pause, and the Status Change information is sent to other from sound equipment B, C, D by current operating state so that
Pause is also changed to from the current operating state of sound equipment B, C, D.
If other ring from sound equipment to keynote have sent Status Change information, detect whether that receiving keynote rings hair from sound equipment
The Status Change information sent, Status Change information is received if detecting, Status Change letter is altered to from original operating state
The indicated current operating state of breath.
In order to the working condition of each sound equipment in audio frequency broadcast system keeps synchronous, it is except keynote sound needs real-time detection
It is no to receive the Status Change information sent from sound equipment, it is also required to whether real-time detection receives the shape that keynote rings transmission from sound equipment
State modification information, if receiving the Status Change information of keynote sound, current operating state is changed according to the Status Change information.
In sum, the audio frequency playing method that the disclosure is provided, is sent out by receiving audio-frequency information and at least one from sound equipment
The Delay for sending;Correspond to that keynote rings and each is from sound according to playing duration and each Delay generation sent from sound equipment
Loud reproduction time information;Audio-frequency information and each reproduction time information are sent to corresponding from sound equipment;When arrival corresponds to
During moment indicated by the reproduction time information that keynote rings, play audio from play position, keynote ring with least one from sound
Loud broadcasting synchronization, by different acoustic by bluetooth connection, the broadcasting of audio is enriched by different acoustic synchronously playing audio frequency
Effect, it is possible to resolve audio can only be played out by a sound equipment, cause the problem that result of broadcast is single, so that abundant audio
Result of broadcast.
In addition, being rung by the way that Status Change information is sent into keynote from sound equipment;Keynote sound in addition to from sound equipment from sound
Ring and send Status Change information, can be when current operating state be altered to from original operating state from sound equipment for one, by keynote
Ring and other are also altered to current operating state from sound equipment from original operating state, it is ensured that keynote rings and each is between sound equipment
Working condition synchronization.
Fig. 5 is a kind of block diagram of the audio playing apparatus according to an exemplary embodiment, and the audio playing apparatus should
In for terminal, as shown in figure 5, the audio playing apparatus include:Time delay receiver module 501, time generation module 502, time
Sending module 503 and audio playing module 504.
The time delay receiver module 501, is configured as receiving audio-frequency information and at least one Delay sent from sound equipment,
Audio-frequency information includes the playing duration of audio and audio, and Delay is used to indicate keynote to ring and the corresponding biography between sound equipment
Defeated time delay;
The time generation module 502, each for being configured as being received according to playing duration and time delay receiver module 501 is from sound
The Delay generation that sound sends rings the reproduction time information with each from sound equipment corresponding to keynote, and reproduction time information is used to refer to
Show the moment that audio is played at the play position indicated by each sound equipment from playing duration;
The time sending module 503, when being configured as each broadcasting for generating audio-frequency information and time generation module 502
Between information be sent to it is corresponding from sound equipment;
The audio playing module 504, be configured as reach corresponding to keynote ring reproduction time information indicated by when
During quarter, audio is played from play position, keynote rings synchronous from the broadcasting of sound equipment with least one.
In sum, the audio playing apparatus that the disclosure is provided, are sent out by receiving audio-frequency information and at least one from sound equipment
The Delay for sending;Correspond to that keynote rings and each is from sound according to playing duration and each Delay generation sent from sound equipment
Loud reproduction time information;Audio-frequency information and each reproduction time information are sent to corresponding from sound equipment;When arrival corresponds to
During moment indicated by the reproduction time information that keynote rings, play audio from play position, keynote ring with least one from sound
Loud broadcasting synchronization, by different acoustic by bluetooth connection, the broadcasting of audio is enriched by different acoustic synchronously playing audio frequency
Effect, it is possible to resolve audio can only be played out by a sound equipment, cause the problem that result of broadcast is single, so that abundant audio
Result of broadcast.
Fig. 6 is a kind of block diagram of the audio playing apparatus according to another exemplary embodiment, the audio playing apparatus
It is applied in terminal, as shown in fig. 6, the audio playing apparatus include:Time delay receiver module 501, time generation module 502, when
Between sending module 503 and audio playing module 504.
The time delay receiver module 501, is configured as receiving audio-frequency information and at least one Delay sent from sound equipment,
Audio-frequency information includes the playing duration of audio and audio, and Delay is used to indicate keynote to ring and the corresponding biography between sound equipment
Defeated time delay;
The time generation module 502, each for being configured as being received according to playing duration and time delay receiver module 501 is from sound
The Delay generation that sound sends rings the reproduction time information with each from sound equipment corresponding to keynote, and reproduction time information is used to refer to
Show the moment that audio is played from the play position indicated by sound equipment from playing duration;
The time sending module 503, when being configured as each broadcasting for generating audio-frequency information and time generation module 502
Between information be sent to it is corresponding from sound equipment;
The audio playing module 504, be configured as reach corresponding to keynote ring reproduction time information indicated by when
During quarter, audio is played from play position, keynote rings synchronous from the broadcasting of sound equipment with least one.
Optionally, device also includes:Ability information receiver module 505, Role Information configuration module 506 and Role Information hair
Send module 507.
The ability information receiver module 505, is configured as receiving each ability information sent from sound equipment;
The Role Information configuration module 506, is configured as each ability letter received according to ability information receiver module 505
Cease and configure Role Information from sound equipment for corresponding;
The Role Information sending module 507, is configured as each Role Information for configuring Role Information configuration module 506
It is sent to corresponding from sound equipment, Role Information is used to indicate the broadcast mode from sound equipment to audio.
Optionally, Role Information configuration module 506, including:Command detection submodule 5061, first configures submodule 5062
With the second configuration submodule 5063.
The command detection submodule 5061, is configured as detecting whether to receive the angle that user triggers for each from sound equipment
Color configuration-direct;
The first configuration submodule 5062, is configured as detecting that receiving role configures in command detection submodule 5061
During instruction, according to role's configuration-direct for each configures Role Information from sound equipment;
The second configuration submodule 5063, is configured as detecting that not receiving role matches somebody with somebody in command detection submodule 5061
When putting instruction, Role Information is configured from sound equipment for corresponding according to configuration strategy and each ability information.
Optionally, device also includes:Sound equipment detection module 508, first processing module 509 and Second processing module 510.
The sound equipment detection module 508, is configured as, when there is other keynotes sound, detecting whether other keynotes ring support angle
Color is changed;
The first processing module 509, is configured as detecting that other keynotes ring support role and turn in sound equipment detection module 508
When changing, other keynotes are rung and is defined as from sound equipment, be to configure Role Information from sound equipment, Role Information is sent to from sound equipment;
The Second processing module 510, is configured as detecting that other keynotes sound does not support role in sound equipment detection module 508
During conversion, other keynotes sound is shielded.
Optionally, device also includes:State detection module 511 and Status Change module 512.
The state detection module 511, is configured as detecting whether to receive the Status Change information sent from sound equipment, state
Modification information is used for the current operating state for indicating to be obtained after to being changed from the original operating state of sound equipment;
The Status Change module 512, is configured as being detected in state detection module 511 and receives Status Change information
When, Status Change information is sent from sound equipment in addition to from sound equipment, Status Change information is used to indicate each from sound equipment from first
Beginning working condition is altered to current operating state.
In sum, the audio playing apparatus that the disclosure is provided, are sent out by receiving audio-frequency information and at least one from sound equipment
The Delay for sending;Correspond to that keynote rings and each is from sound according to playing duration and each Delay generation sent from sound equipment
Loud reproduction time information;Audio-frequency information and each reproduction time information are sent to corresponding from sound equipment;When arrival corresponds to
During moment indicated by the reproduction time information that keynote rings, play audio from play position, keynote ring with least one from sound
Loud broadcasting synchronization, by different acoustic by bluetooth connection, the broadcasting of audio is enriched by different acoustic synchronously playing audio frequency
Effect, it is possible to resolve audio can only be played out by a sound equipment, cause the problem that result of broadcast is single, so that abundant audio
Result of broadcast.
In addition, being rung by the way that Status Change information is sent into keynote from sound equipment;Keynote sound in addition to from sound equipment from sound
Ring and send Status Change information, can be when current operating state be altered to from original operating state from sound equipment for one, by keynote
Ring and other are also altered to current operating state from sound equipment from original operating state, it is ensured that keynote rings and each is between sound equipment
Working condition synchronization.
Fig. 7 is a kind of block diagram of the audio playing apparatus according to another exemplary embodiment, the audio playing apparatus
It is applied in terminal, as shown in fig. 7, the audio playing apparatus include:Time delay generation module 701, time receiver module 702 and sound
Frequency playing module 703.
The time delay generation module 701, is configured as generating Delay according to the connection for ringing foundation with keynote, and time delay is believed
Breath is sent to keynote sound, and Delay is used to indicate keynote to ring and from the propagation delay time between sound equipment;
The time receiver module 702, is configured as receiving the broadcasting that keynote rings the audio-frequency information and keynote sound transmission for sending
Temporal information, audio-frequency information includes audio and playing duration, and reproduction time information is that keynote sound is believed according to playing duration and time delay
Breath generation;
The audio playing module 703, is configured as when the moment indicated by reproduction time information is reached, from playing duration
Audio is played at indicated play position, it is synchronous with the broadcasting that keynote rings from sound equipment.
In sum, the audio playing apparatus that the disclosure is provided, Delay is generated according to the connection that foundation is rung with keynote,
Delay is sent into keynote to ring;Receive keynote and ring the audio-frequency information and reproduction time information for sending;When arrival reproduction time
During moment indicated by information, audio is played from the play position indicated by playing duration, from the broadcasting that sound equipment and keynote ring
It is synchronous, by different acoustic by bluetooth connection, the result of broadcast of audio is enriched by different acoustic synchronously playing audio frequency, can solve
Certainly audio can only be played out by a sound equipment, cause the problem that result of broadcast is single, so that the result of broadcast of abundant audio.
Fig. 8 is a kind of block diagram of the audio playing apparatus according to another exemplary embodiment, the audio playing apparatus
It is applied in terminal, as shown in figure 8, the audio playing apparatus include:Time delay generation module 701, time receiver module 702 and sound
Frequency playing module 703.
The time delay generation module 701, is configured as generating Delay according to the connection for ringing foundation with keynote, and time delay is believed
Breath is sent to keynote sound, and Delay is used to indicate keynote to ring and from the propagation delay time between sound equipment;
The time receiver module 702, is configured as receiving audio-frequency information and reproduction time information that keynote rings transmission, audio
Information includes audio and playing duration, and reproduction time information is that keynote sound is generated according to playing duration and Delay;
The audio playing module 703, is configured as when the moment indicated by reproduction time information is reached, from playing duration
Audio is played at indicated play position, it is synchronous with the broadcasting that keynote rings from sound equipment.
Optionally, audio playing module 703, specifically for obtaining Role Information, with the broadcasting side indicated by Role Information
Formula, audio is played from the play position indicated by playing duration.
Optionally, device also includes:Ability information sending module 704, the treatment mould of Role Information receiver module 705, first
Block 706 and Second processing module 707.
The ability information sending module 704, is configured as ringing transmitting capacity information to keynote;
The Role Information receiver module 705, is configured as receiving the Role Information that keynote rings transmission, and Role Information is keynote
It is to be configured from sound equipment to ring according to ability information;
The first processing module 706, is configured as when Role Information is stored with from sound equipment, refusal storage role's letter
Breath;
The Second processing module 707, is configured as, when Role Information is not stored with from sound equipment, storing Role Information.
Optionally, device also includes:First state changes the Status Change module 709 of module 708 and second.
The first state changes module 708, is configured as the Status Change information for detecting whether to receive user's triggering,
Detect when receiving Status Change information, the work at present shape indicated by Status Change information is altered to from original operating state
State, and Status Change information is sent to keynote sound, keynote is rung for Status Change information to be sent in addition to from sound equipment
From sound equipment, Status Change information is used to indicate each to be altered to current operating state from original operating state from sound equipment;Or,
The second Status Change module 709, is configured as detecting whether that receiving keynote rings the Status Change information for sending,
Detect receive Status Change information when, be altered to the work at present indicated by Status Change information from original operating state
State, Status Change information is that keynote sound is sent to after other are altered to current operating state from sound equipment from original operating state
's.
In sum, the audio playing apparatus that the disclosure is provided, ring the connection set up and generate time delay by basis and keynote
Information, is sent to Delay keynote and rings;Receive keynote and ring the audio-frequency information and reproduction time information for sending;Played when reaching
During moment indicated by temporal information, audio is played from the play position indicated by playing duration, rung from sound equipment and keynote
Play synchronous, by different acoustic by bluetooth connection, the result of broadcast of audio enriched by different acoustic synchronously playing audio frequency,
Audio can be solved can only be played out by a sound equipment, cause the problem that result of broadcast is single, so that the broadcasting of abundant audio
Effect.
In addition, being rung by the way that Status Change information is sent into keynote from sound equipment;Keynote sound in addition to from sound equipment from sound
Ring and send Status Change information, can be when current operating state be altered to from original operating state from sound equipment for one, by keynote
Ring and other are also altered to current operating state from sound equipment from original operating state, it is ensured that keynote rings and each is between sound equipment
Working condition synchronization.
Fig. 9 is a kind of block diagram of the device 900 played for audio according to an exemplary embodiment.For example, dress
It can be that the keynote with audio playing function rings to put 900, from sound equipment etc..
Reference picture 9, device 900 can include following one or more assemblies:Processing assembly 902, memory 904, power supply
Component 906, multimedia groupware 908, audio-frequency assembly 910, the interface 912 of input/output (I/O), sensor cluster 914, and
Communication component 916.
The integrated operation of the usual control device 900 of processing assembly 902, such as with display, call, data communication, phase
Machine is operated and the associated operation of record operation.Processing assembly 902 can refer to including one or more processors 918 to perform
Order, to complete all or part of step of above-mentioned method.Additionally, processing assembly 902 can include one or more modules, just
Interaction between processing assembly 902 and other assemblies.For example, processing assembly 902 can include multi-media module, it is many to facilitate
Interaction between media component 908 and processing assembly 902.
Memory 904 is configured as storing various types of data supporting the operation in device 900.These data are shown
Example includes the instruction for any application program or method operated on device 900, and contact data, telephone book data disappears
Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile
Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 906 provides electric power for the various assemblies of device 900.Power supply module 906 can include power management system
System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 900.
Multimedia groupware 908 is included in one screen of output interface of offer between described device 900 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings
Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action
Border, but also detection and the touch or slide related duration and pressure.In certain embodiments, many matchmakers
Body component 908 includes a front camera and/or rear camera.When device 900 be in operator scheme, such as screening-mode or
During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 910 is configured as output and/or input audio signal.For example, audio-frequency assembly 910 includes a Mike
Wind (MIC), when device 900 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebody
It is set to reception external audio signal.The audio signal for being received can be further stored in memory 904 or via communication set
Part 916 sends.In certain embodiments, audio-frequency assembly 910 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 902 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 912
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented
Estimate.For example, sensor cluster 914 can detect the opening/closed mode of device 900, the relative positioning of component is for example described
Component is the display and keypad of device 900, and sensor cluster 914 can be with 900 1 components of detection means 900 or device
Position change, user is presence or absence of with what device 900 was contacted, the orientation of device 900 or acceleration/deceleration and device 900
Temperature change.Sensor cluster 914 can include proximity transducer, be configured to be detected when without any physical contact
The presence of neighbouring object.Sensor cluster 914 can also include optical sensor, such as CMOS or ccd image sensor, for into
As being used in application.In certain embodiments, the sensor cluster 914 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device
900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation
In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 916 also includes near-field communication (NFC) module, to promote junction service.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be by one or more application specific integrated circuits (ASIC), numeral letter
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components realization, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 904 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 918 of device 900.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
Those skilled in the art will readily occur to other of the disclosure after considering specification and putting into practice disclosure herein
Embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure or
Conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following power
Profit requires to point out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and
And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.
Claims (9)
1. a kind of audio frequency playing method, it is characterised in that in being rung for keynote, including:
Audio-frequency information and at least one Delay sent from sound equipment are received, the audio-frequency information includes audio and the audio
Playing duration, the Delay is used to indicate the keynote to ring and the corresponding propagation delay time between sound equipment;
Correspond to that the keynote rings and each is from sound according to the playing duration and each Delay generation sent from sound equipment
Loud reproduction time information, the reproduction time information is used to indicate the broadcasting position indicated by each sound equipment from the playing duration
Put the moment that place plays the audio;
The audio-frequency information and each reproduction time information are sent to corresponding from sound equipment;
When the moment indicated by the reproduction time information rung corresponding to the keynote is reached, institute is played from the play position
Audio is stated, the keynote sound is synchronous from the broadcasting of sound equipment with described at least one;
Methods described also includes:
If being rung in the presence of other keynotes, whether described other keynotes of detection ring support role transforming;
If detecting that described other keynotes ring supports role transforming, described other keynotes are rung and is defined as from sound equipment, be described
Role Information is configured from sound equipment, the Role Information is sent to described from sound equipment;
If detecting that described other keynotes ring does not support role transforming, described other keynotes of shielding ring.
2. method according to claim 1, it is characterised in that methods described also includes:
Receive each ability information sent from sound equipment;
Role Information is configured from sound equipment for corresponding according to each ability information;
Each Role Information is sent to it is corresponding from sound equipment, the Role Information be used to indicating it is described from sound equipment to the audio
Broadcast mode.
3. method according to claim 2, it is characterised in that described to be matched somebody with somebody from sound equipment for corresponding according to each ability information
Role Information is put, including:
Detect whether to receive role's configuration-direct that user triggers for each from sound equipment;
Role's configuration-direct is received if detecting, according to role's configuration-direct is configured for each from sound equipment
Role Information;
Role's configuration-direct is not received if detecting, is corresponding from sound according to configuration strategy and each ability information
Ring the configuration Role Information.
4. the method according to any one of claims 1 to 3, it is characterised in that methods described also includes:
Detect whether to receive the Status Change information sent from sound equipment, the Status Change information is used to indicate to described from sound
The current operating state that loud original operating state is obtained after being changed;
Receive the Status Change information if detecting, to except it is described from sound equipment in addition to send the state from sound equipment and become
More information, the Status Change information is used to indicate each to be altered to the work at present shape from original operating state from sound equipment
State.
5. a kind of audio playing apparatus, it is characterised in that in being rung for keynote, including:
Time delay receiver module, is configured as receiving audio-frequency information and at least one Delay sent from sound equipment, the audio
Information includes the playing duration of audio and the audio, and the Delay is used to indicate the keynote sound with corresponding from sound equipment
Between propagation delay time;
Time generation module, each for being configured as being received according to the playing duration and the time delay receiver module is sent out from sound equipment
The Delay generation sent rings the reproduction time information with each from sound equipment corresponding to the keynote, and the reproduction time information is used
The moment of the audio is played at the play position indicated indicated by each sound equipment from the playing duration;
Time sending module, is configured as each reproduction time letter for generating the audio-frequency information and the time generation module
Breath is sent to corresponding from sound equipment;
Audio playing module, when being configured as reaching the moment indicated by the reproduction time information rung corresponding to the keynote,
The audio is played from the play position, the keynote sound is synchronous from the broadcasting of sound equipment with described at least one;
Described device also includes:
Sound equipment detection module, is configured as when there is other keynotes sound, and whether described other keynotes of detection ring supports that role turns
Change;
First processing module, is configured as detecting that described other keynotes ring support role transforming in the sound equipment detection module
When, described other keynotes are rung and is defined as from sound equipment, it is described from sound equipment configuration Role Information, the Role Information is sent to
It is described from sound equipment;
Second processing module, is configured as detecting that other keynotes sound does not support role transforming in the sound equipment detection module
When, described other keynotes of shielding ring.
6. device according to claim 5, it is characterised in that described device also includes:
Ability information receiver module, is configured as receiving each ability information sent from sound equipment;
Role Information configuration module, each ability information for being configured as being received according to the ability information receiver module is correspondence
From sound equipment configure Role Information;
Role Information sending module, be configured as by the Role Information configuration module configure each Role Information be sent to it is right
Answer from sound equipment, the Role Information be used to indicating it is described from sound equipment to the broadcast mode of the audio.
7. device according to claim 6, it is characterised in that the Role Information configuration module, including:
Command detection submodule, is configured as detecting whether that receive user refers to for each from role's configuration of sound equipment triggering
Order;
First configuration submodule, is configured as being detected in the command detection submodule and receives role's configuration-direct
When, according to role's configuration-direct for each configures the Role Information from sound equipment;
Second configuration submodule, is configured as being detected in the command detection submodule and does not receive role's configuration-direct
When, the Role Information is configured from sound equipment for corresponding according to configuration strategy and each ability information.
8. the device according to any one of claim 5 to 7, it is characterised in that described device also includes:
State detection module, is configured as detecting whether to receive the Status Change information sent from sound equipment, the Status Change
Information be used to indicating to it is described changed from the original operating state of sound equipment after the current operating state that obtains;
Status Change module, is configured as when the state detection module is detected and receives the Status Change information, to
Except it is described from sound equipment in addition to send the Status Change information from sound equipment, the Status Change information is used to indicate each from sound
Sound is altered to the current operating state from original operating state.
9. a kind of audio playing apparatus, it is characterised in that in being rung for keynote, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Audio-frequency information and at least one Delay sent from sound equipment are received, the audio-frequency information includes audio and the audio
Playing duration, the Delay is used to indicate the keynote to ring and the corresponding propagation delay time between sound equipment;
Correspond to that the keynote rings and each is from sound according to the playing duration and each Delay generation sent from sound equipment
Loud reproduction time information, the reproduction time information is used to indicate the broadcasting position indicated by each sound equipment from the playing duration
Put the moment that place plays the audio;
The audio-frequency information and each reproduction time information are sent to corresponding from sound equipment;
When the moment indicated by the reproduction time information rung corresponding to the keynote is reached, institute is played from the play position
Audio is stated, the keynote sound is synchronous from the broadcasting of sound equipment with described at least one;
The processor is additionally configured to:
If being rung in the presence of other keynotes, whether described other keynotes of detection ring support role transforming;
If detecting that described other keynotes ring supports role transforming, described other keynotes are rung and is defined as from sound equipment, be described
Role Information is configured from sound equipment, the Role Information is sent to described from sound equipment;
If detecting that described other keynotes ring does not support role transforming, described other keynotes of shielding ring.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410852328.6A CN104637505B (en) | 2014-12-31 | 2014-12-31 | Audio frequency playing method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410852328.6A CN104637505B (en) | 2014-12-31 | 2014-12-31 | Audio frequency playing method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104637505A CN104637505A (en) | 2015-05-20 |
| CN104637505B true CN104637505B (en) | 2017-06-16 |
Family
ID=53216165
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410852328.6A Active CN104637505B (en) | 2014-12-31 | 2014-12-31 | Audio frequency playing method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104637505B (en) |
Families Citing this family (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105025390B (en) * | 2015-07-09 | 2018-11-16 | 广东欧珀移动通信有限公司 | Playing scene storage method and system, playing terminal and control terminal |
| CN105163155A (en) * | 2015-08-26 | 2015-12-16 | 小米科技有限责任公司 | Method and device for synchronous playing |
| CN105307078B (en) * | 2015-11-04 | 2018-05-29 | 广东欧珀移动通信有限公司 | Sound box management method and user terminal |
| CN106028221B (en) * | 2016-07-14 | 2019-04-16 | Oppo广东移动通信有限公司 | Method for controlling time synchronization and intelligent sound box |
| FR3054393B1 (en) * | 2016-07-22 | 2019-08-16 | Tap Sound System | CONTROL OF CONNECTED MULTIMEDIA DEVICES |
| CN106385611B (en) * | 2016-10-08 | 2019-04-12 | Oppo广东移动通信有限公司 | Media data playing method, device and system |
| CN108156560B (en) * | 2017-12-25 | 2020-09-11 | 广州市尊浪电器有限公司 | Multifunctional sound system |
| CN108124222B (en) * | 2017-12-25 | 2020-02-28 | 广州市尊浪电器有限公司 | Ad-hoc network Bluetooth sound system |
| CN109040911B (en) * | 2018-10-12 | 2021-09-17 | 上海摩软通讯技术有限公司 | Intelligent sound box and determination method for target placement position thereof |
| CN110677801B (en) * | 2019-08-23 | 2021-02-23 | 华为技术有限公司 | Sound box control method, sound box and sound box system |
| CN111049709B (en) * | 2019-11-19 | 2022-03-04 | 广东好太太智能家居有限公司 | Bluetooth-based interconnected loudspeaker box control method, equipment and storage medium |
| CN111147301A (en) * | 2019-12-27 | 2020-05-12 | 咻享智能(深圳)有限公司 | Wireless Internet of things grouping management method and related device |
| CN112188415B (en) * | 2020-09-27 | 2021-11-26 | 展讯半导体(成都)有限公司 | Low-power-consumption Bluetooth synchronous data streaming transmission method and device |
| CN112449285A (en) * | 2020-12-15 | 2021-03-05 | 广州市登宝路电器有限公司 | Method and system for synchronously playing multiple sound boxes |
| CN117768993B (en) * | 2023-12-25 | 2024-11-15 | 广东保伦电子股份有限公司 | Audio synchronization method, audio playing system and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012137190A1 (en) * | 2011-04-08 | 2012-10-11 | Sonos, Inc. | Multi-channel pairing in a media system |
| CN103065658A (en) * | 2012-12-18 | 2013-04-24 | 华为技术有限公司 | Control method and device of multi-terminal synchronized playing |
| CN103581816A (en) * | 2013-11-18 | 2014-02-12 | 广州市花都区中山大学国光电子与通信研究院 | Wireless multi-room music system synchronization mechanism based on UPnP protocol |
| CN104079957A (en) * | 2014-06-25 | 2014-10-01 | 广东欧珀移动通信有限公司 | Multimedia device synchronous operation method and system |
| CN104243133A (en) * | 2013-06-21 | 2014-12-24 | 华为技术有限公司 | A synchronization method and device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101987756B1 (en) * | 2012-07-24 | 2019-06-11 | 삼성전자주식회사 | Media reproducing method and apparatus thereof |
-
2014
- 2014-12-31 CN CN201410852328.6A patent/CN104637505B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012137190A1 (en) * | 2011-04-08 | 2012-10-11 | Sonos, Inc. | Multi-channel pairing in a media system |
| CN103065658A (en) * | 2012-12-18 | 2013-04-24 | 华为技术有限公司 | Control method and device of multi-terminal synchronized playing |
| CN104243133A (en) * | 2013-06-21 | 2014-12-24 | 华为技术有限公司 | A synchronization method and device |
| CN103581816A (en) * | 2013-11-18 | 2014-02-12 | 广州市花都区中山大学国光电子与通信研究院 | Wireless multi-room music system synchronization mechanism based on UPnP protocol |
| CN104079957A (en) * | 2014-06-25 | 2014-10-01 | 广东欧珀移动通信有限公司 | Multimedia device synchronous operation method and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104637505A (en) | 2015-05-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104637505B (en) | Audio frequency playing method and device | |
| CN104104986B (en) | The synchronous method and device of audio and captions | |
| CN105262452A (en) | Method and apparatus for adjusting volume, and terminal | |
| CN104318934A (en) | Method, terminal, wearable device and play device for closing multimedia file | |
| CN104699248A (en) | Electronic equipment, device and method for control of audio play | |
| CN104112459B (en) | Method and apparatus for playing audio data | |
| CN104599691B (en) | Audio frequency playing method and device | |
| US20240357293A1 (en) | Terminal, audio cooperative reproduction system, and content display apparatus | |
| CN105187594A (en) | Echo canceling method and device | |
| CN105138319A (en) | Event reminding method and apparatus | |
| CN104618456A (en) | Information publish method and device | |
| CN104618783A (en) | Remote control method and device | |
| CN104315661A (en) | Method and device for controlling work of air purifier | |
| CN105101013A (en) | Method and device for playing voice signals | |
| CN105430184A (en) | Audio playing method and device | |
| CN104378715A (en) | Device and method for lowering earphone POP sound | |
| CN105451056B (en) | Audio and video synchronization method and device | |
| CN104682908A (en) | Method and device for controlling volume | |
| CN105634639A (en) | Clock synchronization method and device | |
| CN104159283A (en) | Method and device for controlling message transmission | |
| CN104486295B (en) | Audio frequency playing method and device | |
| CN105448300A (en) | Method and device for calling | |
| CN104104987A (en) | Method and device for synchronizing picture and sound in video playing | |
| CN105516451A (en) | Sound effect adjustment method and device | |
| CN104008634A (en) | Equipment control method, device and 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 | ||
| GR01 | Patent grant |