CN106941635A - Audio amplifier connection method and device - Google Patents
Audio amplifier connection method and device Download PDFInfo
- Publication number
- CN106941635A CN106941635A CN201611200764.0A CN201611200764A CN106941635A CN 106941635 A CN106941635 A CN 106941635A CN 201611200764 A CN201611200764 A CN 201611200764A CN 106941635 A CN106941635 A CN 106941635A
- Authority
- CN
- China
- Prior art keywords
- audio
- frequency apparatus
- played
- audio amplifier
- audio frequency
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/02—Casings; Cabinets ; Supports therefor; Mountings therein
- H04R1/04—Structural association of microphone with electric circuitry therefor
Abstract
Present disclose provides a kind of audio amplifier connection method and device, belong to field of terminal equipment.Methods described includes:After audio frequency apparatus and the first audio amplifier are set up and be connected, determine that audio frequency apparatus is located at different regions with positioning the distance between reference device, the first audio amplifier from positioning reference device;When audio frequency apparatus is less than distance threshold with positioning the distance between reference device, the connection of audio frequency apparatus and the first audio amplifier is disconnected.Region of the disclosure where by determining whether audio frequency apparatus leaves the first audio amplifier, and at the region where audio frequency apparatus leaves the first audio amplifier, disconnect the connection of audio frequency apparatus and the first audio amplifier, during so that audio frequency apparatus leaving the region where the first audio amplifier, audio frequency apparatus can disconnect itself connection between the first audio amplifier automatically, so as to the operation for simplifying audio frequency apparatus in this case and when the first audio amplifier is disconnected, the flexibility disconnected is improved.
Description
Technical field
This disclosure relates to field of terminal equipment, more particularly to a kind of audio amplifier connection method and device.
Background technology
With the development of science and technology, wireless sound box is increasingly common in daily life.Wireless sound
Case can be set up with audio frequency apparatus by communication (such as bluetooth, Wireless Fidelity) and is connected, and it is logical to receive audio frequency apparatus
The audio of communication transmission is crossed, to be played out to the audio.Wherein, above-mentioned audio frequency apparatus is referred to channel radio
Telecommunication function, and the equipment that audio can be exported, such as mobile phone, panel computer.In actual applications, wireless sound box often volume compared with
Greatly, it is not portable, therefore, when user carry audio frequency apparatus leave region where wireless sound box and audio frequency apparatus still with nothing
When line audio amplifier keeps connection, user can be caused can not to listen to the sound of wireless sound box broadcasting or need other equipment to play audio
The audio of equipment output, is now accomplished by user and disconnects connection between the audio frequency apparatus and wireless sound box manually.For example, wireless
Audio amplifier can be arranged in parlor, when user carry audio frequency apparatus leave parlor into bedroom but audio frequency apparatus still with wirelessly
When audio amplifier keeps connection, user possibly can hear the sound of wireless sound box broadcasting, and now user needs to disconnect the audio manually
Connection between equipment and wireless sound box, is played out by the audio frequency apparatus or other audio amplifiers to voice data.
In correlation technique, user can open the list for the equipment being connected with the audio frequency apparatus in audio frequency apparatus, and
Above-mentioned wireless sound box is chosen in the list, then triggers that the wireless sound box is corresponding to disconnect option, so as to disconnect the audio
Connection between equipment and wireless sound box.
During the disclosure is realized, inventor has found that prior art at least has problems with:
In correlation technique, region and the two equipment where user's carrying audio frequency apparatus leaves wireless sound box are still
When keeping connection, user needs the manually operated connection to disconnect between the audio frequency apparatus and wireless sound box, and operating process is more
Cumbersome, operating flexibility is poor.
The content of the invention
Operating process is more when the connection between audio frequency apparatus and wireless sound box is disconnected present in correlation technique to overcome
It is cumbersome, the problem of operating flexibility is poor, present disclose provides a kind of audio amplifier connection method and device.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of audio amplifier connection method, including:
After audio frequency apparatus and the first audio amplifier are set up and be connecteds, determine the audio frequency apparatus and position between reference device away from
From first audio amplifier is located at different regions from the positioning reference device;
When the distance between the audio frequency apparatus and described positioning reference device are less than distance threshold, the audio is disconnected
Equipment and the connection of first audio amplifier.
Optionally, the positioning reference device can broadcast Bluetooth signal, and the determination audio frequency apparatus is joined with positioning
The distance between equipment is examined, including:
Receive the Bluetooth signal of the positioning reference device broadcast;
Determine the received signal strength indicator RSSI of Bluetooth signal size;
It is accordingly, described when the audio frequency apparatus is less than distance threshold with described positioning the distance between reference device,
The connection of the audio frequency apparatus and the first audio amplifier is disconnected, including:
When the RSSI is more than preset signal strength threshold value, the company of the audio frequency apparatus and first audio amplifier is disconnected
Connect.
Optionally, methods described also includes:
When the distance between the audio frequency apparatus and described positioning reference device are less than the distance threshold, set up described
The connection of audio frequency apparatus and the second audio amplifier, second audio amplifier is located in the same area with the positioning reference device.
Optionally, methods described also includes:
When the audio frequency apparatus and first audio amplifier are in connection status, obtain to be played in the audio frequency apparatus
Audio;
Determine the playback level of the audio to be played;
When the playback level is more than predetermined level, the audio to be played is sent to first audio amplifier, by institute
State the first audio amplifier and play the audio to be played;
When the playback level is not more than predetermined level, the audio to be played is played.
Optionally, the playback level for determining the audio to be played, including:
Determine the audio types of the audio to be played;
The playback level of the audio to be played is determined according to the audio types of the audio to be played.
Optionally, the audio types include:Prompt tone and non-prompt tone, the corresponding playback level of the prompt tone are little
In the predetermined level, the corresponding playback level of the non-prompt tone is more than the predetermined level.
Optionally, the playback level for determining the audio to be played, including:
Determine the playing duration of the audio to be played;
The playback level of the audio to be played is determined according to the playing duration of the audio to be played.
Optionally, the playing duration and playback level positive correlation.
Optionally, first audio amplifier passes through bluetooth connection with the audio frequency apparatus.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of audio amplifier attachment means, including:
Apart from determining module, for after audio frequency apparatus and the first audio amplifier are set up and be connected, determining the audio frequency apparatus with determining
The distance between position reference device, first audio amplifier is located at different regions from the positioning reference device;
Connection disconnects module, for being set in the audio frequency apparatus determined apart from determining module with the positioning reference
It is the distance between standby when being less than distance threshold, disconnect the connection of the audio frequency apparatus and first audio amplifier.
Optionally, the positioning reference device can broadcast Bluetooth signal, described apart from determining module, be used for:
Receive the Bluetooth signal of the positioning reference device broadcast;
Determine the received signal strength indicator RSSI of Bluetooth signal size;
Accordingly, the connection disconnects module, is used for:
When the RSSI apart from determining module determination is more than preset signal strength threshold value, disconnects the audio and set
The standby connection with first audio amplifier.
Optionally, described device also includes:
Connection establishment module, for being set in the audio frequency apparatus determined apart from determining module with the positioning reference
It is the distance between standby when being less than the distance threshold, set up the connection of the audio frequency apparatus and the second audio amplifier, second audio amplifier
It is located at the positioning reference device in the same area.
Optionally, described device also includes:
Acquisition module, for when the audio frequency apparatus and first audio amplifier are in connection status, obtaining the audio
Audio to be played in equipment;
Level determination module, the playback level for determining the audio to be played that the acquisition module is obtained;
Sending module, when the playback level for being determined in the level determination module is more than predetermined level, by institute
State audio to be played and be sent to first audio amplifier, the audio to be played is played by first audio amplifier;
Playing module, when the playback level for being determined in the level determination module is not more than predetermined level, broadcasts
Put the audio to be played.
Optionally, the level determination module, is used for:
Determine the audio types of the audio to be played;
The playback level of the audio to be played is determined according to the audio types of the audio to be played.
Optionally, the audio types include:Prompt tone and non-prompt tone, the corresponding playback level of the prompt tone are little
In the predetermined level, the corresponding playback level of the non-prompt tone is more than the predetermined level.
Optionally, the level determination module, is used for:
Determine the playing duration of the audio to be played;
The playback level of the audio to be played is determined according to the playing duration of the audio to be played.
Optionally, the playing duration and playback level positive correlation.
Optionally, first audio amplifier passes through bluetooth connection with the audio frequency apparatus.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of audio amplifier attachment means, including:
Processor;
Memory for storing the executable instruction of processor;
Wherein, the processor is configured as:
After audio frequency apparatus and the first audio amplifier are set up and be connecteds, determine the audio frequency apparatus and position between reference device away from
From first audio amplifier is located at different regions from the positioning reference device;
When the distance between the audio frequency apparatus and described positioning reference device are less than distance threshold, the audio is disconnected
Equipment and the connection of first audio amplifier.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By determining audio frequency apparatus and with the first audio amplifier not in the distance positioned between reference device of the same area, with true
Determine whether audio frequency apparatus leaves region where the first audio amplifier.At the region where audio frequency apparatus leaves the first audio amplifier, namely
It is that audio frequency apparatus can disconnect itself and first when audio frequency apparatus and the distance positioned between reference device are less than distance threshold
The connection of audio amplifier, this cause audio frequency apparatus leave the first audio amplifier where region when, it can disconnect itself and the first sound automatically
Connection between case, so as to simplify audio frequency apparatus in this case and operation when the first audio amplifier is disconnected, improves disconnection
The flexibility of connection.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of schematic diagram of audio amplifier connection system according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of audio amplifier connection method according to an exemplary embodiment.
Fig. 3 A are a kind of flow charts of audio amplifier connection method according to an exemplary embodiment.
Fig. 3 B are the position views of a kind of audio frequency apparatus according to an exemplary embodiment and the first audio amplifier.
Fig. 4 A are a kind of block diagrams of audio amplifier attachment means according to an exemplary embodiment.
Fig. 4 B are a kind of block diagrams of audio amplifier attachment means according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of audio amplifier attachment means according to an exemplary embodiment.
Embodiment
To make the purpose, technical scheme and advantage of the disclosure clearer, below in conjunction with accompanying drawing to disclosure embodiment party
Formula is described in further detail.
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 embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of schematic diagram for audio amplifier connection system that the embodiment of the present disclosure is provided.As shown in figure 1, the audio amplifier is connected
System can include:Wireless sound box 110 and audio frequency apparatus 120.Wherein, the audio frequency apparatus 120 can be mobile phone, panel computer etc.
Terminal device.It can be communicated between wireless sound box 110 and audio frequency apparatus 120 by wireless network.
Fig. 2 is a kind of flow chart of audio amplifier connection method according to an exemplary embodiment, as shown in Fig. 2 the sound
Case connection method is used in the audio frequency apparatus 120 in audio amplifier connection system as shown in Figure 1, and the audio amplifier connection method includes following
Step:
Step 201, after audio frequency apparatus and the first audio amplifier are set up and be connecteds, audio frequency apparatus determines itself with positioning reference device
The distance between, the first audio amplifier is located at different regions from positioning reference device.
Step 202, when audio frequency apparatus is less than distance threshold with positioning the distance between reference device, audio frequency apparatus disconnects
Itself connection with the first audio amplifier.
In summary, the embodiment of the present disclosure provide audio amplifier connection method, by determine audio frequency apparatus and with the first audio amplifier
Not the same area positioning reference device between distance, with determine audio frequency apparatus whether leave the first audio amplifier where area
Domain.At the region where audio frequency apparatus leaves the first audio amplifier, that is to say audio frequency apparatus and positioning reference device between away from
During from less than distance threshold, audio frequency apparatus can disconnect the connection of itself and the first audio amplifier, and this make it that audio frequency apparatus leaves first
During region where audio amplifier, it can disconnect itself connection between the first audio amplifier automatically, so as to simplify sound in this case
Operation when frequency equipment is disconnected with the first audio amplifier, improves the flexibility disconnected.
Fig. 3 A are a kind of flow charts of audio amplifier connection method according to an exemplary embodiment, as shown in Figure 3A, should
Audio amplifier connection method be used for audio amplifier connection system as shown in Figure 1 in audio frequency apparatus 120 in, the audio amplifier connection method include with
Lower step:
Step 301, after audio frequency apparatus and the first audio amplifier are set up and be connecteds, audio frequency apparatus receives what positioning reference device was broadcasted
Bluetooth signal, the positioning reference device is located at different regions from positioning reference device.
In actual applications, audio frequency apparatus can be set up with the first audio amplifier by way of radio communication and is connected, in connection
After foundation, the audio in itself can be sent to the first audio amplifier by audio frequency apparatus by way of radio communication so that first
Audio amplifier can play the audio.For example, user can open music application in audio frequency apparatus, it is possible to broadcast in the music
Put and " youth practise austerities handbook " this song chosen in application, then audio frequency apparatus detect user to " youth practises austerities handbook " this
Song is chosen after operation, and the audio of " youth practises austerities handbook " this song can be sent to by way of radio communication to the
One audio amplifier, the first audio amplifier, which is received, can be played after the audio " youth practises austerities handbook " this song.It should be noted that above-mentioned
Communication can be Blue-tooth communication method, that is to say, the first audio amplifier and audio frequency apparatus can by bluetooth connection, when
So, there are other communications in actual applications, the disclosure is not repeated one by one herein.
After audio frequency apparatus and the first audio amplifier are set up and be connected, user can carry audio frequency apparatus and be moved relative to the first audio amplifier
Dynamic, in some cases, user even can carry audio frequency apparatus and be moved in the region different from the first audio amplifier.In this feelings
Under condition, the audio in itself still can be sent to the first audio amplifier by audio frequency apparatus, it be played out by the first audio amplifier, so
And, it is moved to due to user in the region different from the first audio amplifier, therefore, user can probably hear the first audio amplifier and broadcast
The audio put.For example, as shown in Figure 3 B, when initial, user A, audio frequency apparatus B and the first audio amplifier C are all located in parlor 31, and
Afterwards, at a time, user A rests into bedroom 32, and carries with audio frequency apparatus B to be entertained while rest,
Now, user A carry audio frequency apparatus B be moved in the region different from the first audio amplifier C (the first audio amplifier C be located at parlor 31 in,
And user A is moved in bedroom 32), user A is likely to can't hear the sound that first audio amplifier C is played in parlor 31 in bedroom 32
Frequently.
In these cases, in order to ensure the auditory perception of user, audio frequency apparatus needs to disconnect itself and the first audio amplifier
Connection so that the audio in audio frequency apparatus is no longer played out by the first audio amplifier.This purpose is realized, its prerequisite is exactly
Accurately determine whether audio frequency apparatus is moved in the region different from the first audio amplifier.And step 301 and step 302 are
Judge the technical process whether audio frequency apparatus is moved in the region different from the first audio amplifier.
The embodiment of the present disclosure can set positioning reference device in the region different from the first audio amplifier, and positioning reference is set
It is standby to broadcast Bluetooth signal, for example, in above-mentioned Fig. 3 B citing, the positioning reference device can be arranged in bedroom 32,
Then it is located in different zones (the first audio amplifier C is located in parlor 31) with the first audio amplifier C.Audio frequency apparatus can receive positioning reference
The Bluetooth signal of device broadcasts, and judged according to the power of the Bluetooth signal received between audio frequency apparatus and positioning reference device
Distance, so as to realize the technical process for judging whether audio frequency apparatus is moved to the regions different from the first audio amplifier.
Step 302, audio frequency apparatus determine the RSSI (Received of the Bluetooth signal of the positioning reference device broadcast received
Signal Strength Indication, received signal strength indicator) size.
As described above, audio frequency apparatus can judge that audio frequency apparatus is referred to positioning according to the power of the Bluetooth signal received
The distance between equipment, so as to realize the technology mistake for judging whether audio frequency apparatus is moved to the regions different from the first audio amplifier
Journey.That is to say, in order to judge whether audio frequency apparatus is moved in the region different from the first audio amplifier, audio frequency apparatus it needs to be determined that
The power of the Bluetooth signal received.And in actual applications, the RSSI of Bluetooth signal size can reflect Bluetooth signal
Power, and, the RSSI of Bluetooth signal size and the strong and weak positive correlation of Bluetooth signal that is to say, RSSI is bigger, Bluetooth signal is got over
By force, RSSI is smaller, and Bluetooth signal is weaker.Therefore, in order to obtain the power of the Bluetooth signal received, audio frequency apparatus can be performed
Step 302, the power of Bluetooth signal received is determined with the RSSI by the Bluetooth signal for determining to receive.
Step 303, when above-mentioned RSSI is more than preset signal strength threshold value, audio frequency apparatus disconnects itself with the first audio amplifier
Connection.
In actual applications, the stronger explanation audio frequency apparatus of Bluetooth signal (being broadcasted by positioning reference device) received is with determining
The distance between position reference device is nearer, conversely, Bluetooth signal (being broadcasted by positioning reference device) the weaker explanation sound received
Frequency equipment and the distance between positioning reference device are more remote.Therefore, when audio frequency apparatus and the distance between positioning reference device are sufficient
When enough nearly (being less than distance threshold), when that is to say that above-mentioned RSSI is more than preset signal strength threshold value, you can illustrate that audio frequency apparatus is moved
The regions different from the first audio amplifier are moved, now, audio frequency apparatus can disconnect the connection of itself and the first audio amplifier.
For example, in above-mentioned Fig. 3 B citing, positioning reference device can be arranged in bedroom 32, and preset signal strength
Threshold value is -40.When audio frequency apparatus B is located at the p points in Fig. 3 B, the RSSI value of the Bluetooth signal that audio frequency apparatus B is received for-
80, its be less than preset signal strength threshold value -40, then illustrate now audio frequency apparatus B be not moved to it is different from the first audio amplifier C
In region.When audio frequency apparatus B is located at the q points in Fig. 3 B, the RSSI value for the Bluetooth signal that audio frequency apparatus B is received is -20, its
More than preset signal strength threshold value -40, then illustrate that now audio frequency apparatus B is moved in the region different from the first audio amplifier C, this
When, audio frequency apparatus B can disconnect itself connection between the first audio amplifier C.
Step 304, when above-mentioned RSSI is more than preset signal strength threshold value, audio frequency apparatus sets up itself with the second audio amplifier
Connection, the second audio amplifier is located in the same area with positioning reference device.
In actual applications, when audio frequency apparatus is moved to the regions different from the first audio amplifier, if should be with the first audio amplifier not
The second audio amplifier is provided with same region, then audio frequency apparatus can set up itself connection with second audio amplifier automatically, so that the
Two audio amplifiers can play the audio in audio frequency apparatus.For example, in above-mentioned Fig. 3 B citing, bedroom 32 be with the first audio amplifier C not
Same region (the first audio amplifier C is located in parlor 31), if being provided with the second audio amplifier in bedroom 32, sets when user A carries audio
When standby B is entered in bedroom 32, on the one hand audio frequency apparatus B can disconnect the connection with the first audio amplifier C, on the other hand can set up with
The connection of second audio amplifier.It can be set it should be noted that above-mentioned audio frequency apparatus sets up itself with the connection of the second audio amplifier for audio
The standby connection that itself and the second audio amplifier are set up by bluetooth, certainly, also has other audio frequency apparatuses to set up certainly in actual applications
The mode connected between body and the second audio amplifier, the disclosure is not repeated this one by one.It should also be noted that, the disclosure some
In embodiment, audio frequency apparatus can not also perform step 304.
In addition, in actual applications, as described above, in audio frequency apparatus and the first audio amplifier or the second audio amplifier (following explanation
Only by taking the first audio amplifier as an example) to set up after connection, the audio in itself can be sent to by audio frequency apparatus by communication
First audio amplifier, is played out by the first audio amplifier to the audio.However, in actual applications, user may be not intended to the first sound
Case plays some of audio frequency apparatus audio, for example, user, which may be not intended to the first audio amplifier, plays short message prompt tones, low battery
The prompt tones such as prompt tone, are interfered because playing these prompt tones and may listen to music etc. to user.In this case,
Audio frequency apparatus can be screened according to some rules to the audio in itself, and those only are sent into the by the audio of screening
One audio amplifier is played out, so that meeting user is not intended to the demand that the first audio amplifier plays some of audio frequency apparatus audio.
Specifically, in the embodiment of the present disclosure, audio frequency apparatus can be screened to the audio in itself in the following manner,
Specifically:
Audio frequency apparatus can obtain the audio to be played in itself, and then audio frequency apparatus can determine broadcasting for audio to be played
Grade is put, when above-mentioned playback level is more than predetermined level, the audio to be played can be sent to the first audio amplifier by audio frequency apparatus,
Audio to be played is played by the first audio amplifier, when above-mentioned playback level is not more than predetermined level, audio frequency apparatus, which can be played, to be waited to broadcast
Playback is frequently.Then audio frequency apparatus can screen the audio to be played that playback level is more than predetermined level, send it to the
One audio amplifier, is played out by the first audio amplifier, and playback level be not more than the audio to be played of predetermined level then by audio frequency apparatus from
Body is played, so that meeting user is not intended to the demand that the first audio amplifier plays some of audio frequency apparatus audio.Certainly, in reality
In, audio frequency apparatus can not also play the audio to be played that playback level is not more than predetermined level, and the disclosure is not done to this
It is specific to limit.
It should be noted that in actual applications, the audio that the playback level of audio to be played can be with audio to be played
Type is corresponding, can also be corresponding with the playing duration of audio to be played, and the disclosure is not specifically limited to this.
When the playback level of audio to be played is corresponding with the audio types of audio to be played, audio frequency apparatus can be first true
The audio types of fixed audio to be played, then determine the playback level of audio to be played according to the audio types of audio to be played.
In actual applications, the audio types of audio to be played can include prompt tone and non-prompt tone, wherein, prompt tone is corresponding to be broadcast
Put grade and be not more than above-mentioned predetermined level, rather than the corresponding playback level of prompt tone is more than above-mentioned predetermined level.
When the playback level of audio to be played is corresponding with the playing duration of audio to be played, audio frequency apparatus can be first true
The playing duration of fixed audio to be played, then determines the playback level of audio to be played according to the playing duration of audio to be played.
In actual applications, the playback level positive correlation of the playing duration of audio to be played and audio to be played, that is to say, sound to be played
The playing duration of frequency is longer, and the playback level of audio to be played is bigger, and the playing duration of audio to be played is shorter, sound to be played
The playback level of frequency is smaller.
In summary, the embodiment of the present disclosure provide audio amplifier connection method, by determine audio frequency apparatus and with the first audio amplifier
Not the same area positioning reference device between distance, with determine audio frequency apparatus whether leave the first audio amplifier where area
Domain.At the region where audio frequency apparatus leaves the first audio amplifier, that is to say audio frequency apparatus and positioning reference device between away from
During from less than distance threshold, audio frequency apparatus can disconnect the connection of itself and the first audio amplifier, and this make it that audio frequency apparatus leaves first
During region where audio amplifier, it can disconnect itself connection between the first audio amplifier automatically, so as to simplify sound in this case
Operation when frequency equipment is disconnected with the first audio amplifier, improves the flexibility disconnected.
Fig. 4 A are a kind of block diagrams of audio amplifier attachment means 400 according to an exemplary embodiment.Reference picture 4A, the sound
Case attachment means include disconnecting module 402 apart from determining module 401 and connection.
This is apart from determining module 401, for after audio frequency apparatus and the first audio amplifier are set up and be connected, determining audio frequency apparatus with determining
The distance between position reference device, the first audio amplifier is located at different regions from positioning reference device.
The connection disconnects module 402, for the audio frequency apparatus that is determined apart from determining module 401 with position reference device it
Between distance when being less than distance threshold, disconnect the connection of audio frequency apparatus and the first audio amplifier.
In one embodiment of the disclosure, positioning reference device can broadcast Bluetooth signal, apart from determining module 401,
For:
Receive the Bluetooth signal of positioning reference device broadcast;
Determine the received signal strength indicator RSSI of Bluetooth signal size;
Accordingly, connection disconnects module 402, is used for:
When the RSSI determined apart from determining module 401 is more than preset signal strength threshold value, audio frequency apparatus and first is disconnected
The connection of audio amplifier.
In one embodiment of the disclosure, the first audio amplifier passes through bluetooth connection with audio frequency apparatus.
Fig. 4 B are a kind of block diagram of audio amplifier attachment means 410 according to an exemplary embodiment, audio amplifier connection dress
410 are put in addition to the modules comprising audio amplifier attachment means 400, can also be included:Connection establishment module 403, acquisition module
404th, level determination module 405, sending module 406 and playing module 407.
The connection establishment module 403, for being referred at this apart from the audio frequency apparatus that determining module 401 is determined with the positioning
When the distance between equipment is less than the distance threshold, the connection of the audio frequency apparatus and the second audio amplifier is set up, second audio amplifier is with being somebody's turn to do
Reference device is positioned to be located in the same area.
The acquisition module 404, for when the audio frequency apparatus and first audio amplifier are in connection status, obtaining the audio and setting
Audio to be played in standby.
The level determination module 405, the playback level for determining the audio to be played that the acquisition module 404 is obtained.
The sending module 406, when the playback level for being determined in the level determination module 405 is more than predetermined level,
The audio to be played is sent to first audio amplifier, the audio to be played is played by first audio amplifier.
The playing module 407, playback level for being determined in the level determination module 405 is not more than predetermined level
When, play the audio to be played.
In one embodiment of the disclosure, the level determination module 405 is used for:
Determine the audio types of the audio to be played;
The playback level of the audio to be played is determined according to the audio types of the audio to be played.
Wherein, the audio types include:Prompt tone and non-prompt tone, it is pre- that the corresponding playback level of the prompt tone is not more than this
If grade, the corresponding playback level of the non-prompt tone is more than the predetermined level.
In one embodiment of the disclosure, the level determination module 405 is used for:
Determine the playing duration of the audio to be played;
The playback level of the audio to be played is determined according to the playing duration of the audio to be played.
Wherein, the playing duration and playback level positive correlation.
In summary, the embodiment of the present disclosure provide audio amplifier attachment means, by determine audio frequency apparatus and with the first audio amplifier
Not the same area positioning reference device between distance, with determine audio frequency apparatus whether leave the first audio amplifier where area
Domain.At the region where audio frequency apparatus leaves the first audio amplifier, that is to say audio frequency apparatus and positioning reference device between away from
During from less than distance threshold, the connection of audio frequency apparatus and the first audio amplifier can be disconnected, this make it that audio frequency apparatus leaves the first audio amplifier
During the region at place, itself connection between the first audio amplifier can be disconnected automatically, so as to simplify audio frequency apparatus in this case
Operation when being disconnected with the first audio amplifier, improves the flexibility disconnected.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 5 is a kind of block diagram of audio amplifier attachment means 500 according to an exemplary embodiment.For example, device 500 can
To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices are good for
Body equipment, personal digital assistant etc..
Reference picture 5, device 500 can include following one or more assemblies:Processing assembly 502, memory 504, power supply
Component 506, multimedia groupware 508, audio-frequency assembly 510, the interface 512 of input/output (I/O), sensor cluster 514, and
Communication component 516.
The integrated operation of the usual control device 500 of processing assembly 502, such as with display, call, data communication, phase
Machine operates the operation associated with record operation.Processing assembly 502 can refer to including one or more processors 520 to perform
Order, to complete all or part of step of above-mentioned method.In addition, processing assembly 502 can include one or more modules, just
Interaction between processing assembly 502 and other assemblies.For example, processing assembly 502 can include multi-media module, it is many to facilitate
Interaction between media component 508 and processing assembly 502.
Memory 504 is configured as storing various types of data supporting the operation in device 500.These data are shown
Example includes the instruction of any application program or method for operating on device 500, and contact data, telephone book data disappears
Breath, picture, video etc..Memory 504 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 506 provides electric power for the various assemblies of device 500.Power supply module 506 can include power management system
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 500.
Multimedia groupware 508 is included in the screen of one output interface of offer between described device 500 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 touches or slide related duration and pressure with described.In certain embodiments, many matchmakers
Body component 508 includes a front camera and/or rear camera.When device 500 be in operator scheme, such as screening-mode or
During video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each front camera and
Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 510 is configured as output and/or input audio signal.For example, audio-frequency assembly 510 includes a Mike
Wind (MIC), when device 500 be in operator scheme, when such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The audio signal received can be further stored in memory 504 or via communication set
Part 516 is sent.In certain embodiments, audio-frequency assembly 510 also includes a loudspeaker, for exports audio signal.
I/O interfaces 512 is provide interface between processing assembly 502 and peripheral interface module, above-mentioned peripheral interface module can
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 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented
Estimate.For example, sensor cluster 514 can detect opening/closed mode of device 500, the relative positioning of component is for example described
Component is the display and keypad of device 500, and sensor cluster 514 can be with 500 1 components of detection means 500 or device
Position change, the existence or non-existence that user contacts with device 500, the orientation of device 500 or acceleration/deceleration and device 500
Temperature change.Sensor cluster 514 can include proximity transducer, be configured to detect in not any physical contact
The presence of neighbouring object.Sensor cluster 514 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 514 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device
500 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 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 516 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 500 can be believed by one or more application specific integrated circuits (ASIC), numeral
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, 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 504 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 520 of device 500.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..
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium is additionally provided, when the storage is situated between
Instruction in matter by mobile terminal computing device when so that mobile terminal is able to carry out following methods:Audio frequency apparatus with
After the foundation connection of first audio amplifier, determine that audio frequency apparatus is set with positioning the distance between reference device, the first audio amplifier with positioning reference
It is standby to be located at different regions;When audio frequency apparatus is less than distance threshold with positioning the distance between reference device, disconnects audio and set
The standby connection with the first audio amplifier.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's 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
Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
Claims (15)
1. a kind of audio amplifier connection method, it is characterised in that methods described includes:
After audio frequency apparatus and the first audio amplifier are set up and be connected, the audio frequency apparatus is determined with positioning the distance between reference device,
First audio amplifier is located at different regions from the positioning reference device;
When the distance between the audio frequency apparatus and described positioning reference device are less than distance threshold, the audio frequency apparatus is disconnected
With the connection of first audio amplifier.
2. according to the method described in claim 1, it is characterised in that the positioning reference device can broadcast Bluetooth signal, institute
State the determination audio frequency apparatus and position the distance between reference device, including:
Receive the Bluetooth signal of the positioning reference device broadcast;
Determine the received signal strength indicator RSSI of Bluetooth signal size;
Accordingly, it is described when the audio frequency apparatus is less than distance threshold with described positioning the distance between reference device, disconnect
The connection of the audio frequency apparatus and the first audio amplifier, including:
When the RSSI is more than preset signal strength threshold value, the connection of the audio frequency apparatus and first audio amplifier is disconnected.
3. according to the method described in claim 1, it is characterised in that methods described also includes:
When the distance between the audio frequency apparatus and described positioning reference device are less than the distance threshold, the audio is set up
Equipment and the connection of the second audio amplifier, second audio amplifier are located in the same area with the positioning reference device.
4. according to the method described in claim 1, it is characterised in that methods described also includes:
When the audio frequency apparatus and first audio amplifier are in connection status, the sound to be played in the audio frequency apparatus is obtained
Frequently;
Determine the playback level of the audio to be played;
When the playback level is more than predetermined level, the audio to be played is sent to first audio amplifier, by described the
One audio amplifier plays the audio to be played;
When the playback level is not more than predetermined level, the audio to be played is played.
5. method according to claim 4, it is characterised in that the playback level of the determination audio to be played, bag
Include:
Determine the audio types of the audio to be played;
The playback level of the audio to be played is determined according to the audio types of the audio to be played.
6. method according to claim 5, it is characterised in that the audio types include:Prompt tone and non-prompt tone, institute
State the corresponding playback level of prompt tone and be not more than the predetermined level, the corresponding playback level of the non-prompt tone is more than described pre-
If grade.
7. method according to claim 4, it is characterised in that the playback level of the determination audio to be played, bag
Include:
Determine the playing duration of the audio to be played;
The playback level of the audio to be played is determined according to the playing duration of the audio to be played.
8. a kind of audio amplifier attachment means, it is characterised in that described device includes:
Apart from determining module, for after audio frequency apparatus and the first audio amplifier are set up and be connected, determining that the audio frequency apparatus is joined with positioning
The distance between equipment is examined, first audio amplifier is located at different regions from the positioning reference device;
Connection disconnect module, for it is described apart from determining module determine the audio frequency apparatus with it is described positioning reference device it
Between distance when being less than distance threshold, disconnect the connection of the audio frequency apparatus and first audio amplifier.
9. device according to claim 8, it is characterised in that the positioning reference device can broadcast Bluetooth signal, institute
State apart from determining module, be used for:
Receive the Bluetooth signal of the positioning reference device broadcast;
Determine the received signal strength indicator RSSI of Bluetooth signal size;
Accordingly, the connection disconnects module, is used for:
When it is described be more than preset signal strength threshold value apart from the RSSI that determining module is determined when, disconnect the audio frequency apparatus with
The connection of first audio amplifier.
10. device according to claim 8, it is characterised in that described device also includes:
Connection establishment module, for it is described apart from determining module determine the audio frequency apparatus with it is described positioning reference device it
Between distance be less than the distance threshold when, set up the connection of the audio frequency apparatus and the second audio amplifier, second audio amplifier and institute
Positioning reference device is stated to be located in the same area.
11. device according to claim 8, it is characterised in that described device also includes:
Acquisition module, for when the audio frequency apparatus and first audio amplifier are in connection status, obtaining the audio frequency apparatus
In audio to be played;
Level determination module, the playback level for determining the audio to be played that the acquisition module is obtained;
Sending module, when the playback level for being determined in the level determination module is more than predetermined level, is treated described
Play audio and be sent to first audio amplifier, the audio to be played is played by first audio amplifier;
Playing module, when the playback level for being determined in the level determination module is not more than predetermined level, plays institute
State audio to be played.
12. device according to claim 11, it is characterised in that the level determination module, is used for:
Determine the audio types of the audio to be played;
The playback level of the audio to be played is determined according to the audio types of the audio to be played.
13. device according to claim 12, it is characterised in that the audio types include:Prompt tone and non-prompt tone,
The corresponding playback level of the prompt tone is not more than the predetermined level, and the corresponding playback level of the non-prompt tone is more than described
Predetermined level.
14. device according to claim 11, it is characterised in that the level determination module, is used for:
Determine the playing duration of the audio to be played;
The playback level of the audio to be played is determined according to the playing duration of the audio to be played.
15. a kind of audio amplifier attachment means, it is characterised in that including:
Processor;
Memory for storing the executable instruction of processor;
Wherein, the processor is configured as:
After audio frequency apparatus and the first audio amplifier are set up and be connected, the audio frequency apparatus is determined with positioning the distance between reference device,
First audio amplifier is located at different regions from the positioning reference device;
When the distance between the audio frequency apparatus and described positioning reference device are less than distance threshold, the audio frequency apparatus is disconnected
With the connection of first audio amplifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611200764.0A CN106941635B (en) | 2016-12-22 | 2016-12-22 | Speaker connection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611200764.0A CN106941635B (en) | 2016-12-22 | 2016-12-22 | Speaker connection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106941635A true CN106941635A (en) | 2017-07-11 |
CN106941635B CN106941635B (en) | 2019-09-10 |
Family
ID=59469739
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611200764.0A Active CN106941635B (en) | 2016-12-22 | 2016-12-22 | Speaker connection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106941635B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107613424A (en) * | 2017-09-25 | 2018-01-19 | 解君 | A kind of audio amplifier control method and device |
CN109547301A (en) * | 2018-11-14 | 2019-03-29 | 三星电子(中国)研发中心 | A kind of autocontrol method for electronic equipment, device and equipment |
WO2019104774A1 (en) * | 2017-11-30 | 2019-06-06 | 歌尔科技有限公司 | Communication method and communication device |
CN110430562A (en) * | 2019-08-30 | 2019-11-08 | RealMe重庆移动通信有限公司 | Bluetooth communication method and relevant apparatus |
CN111757218A (en) * | 2019-03-29 | 2020-10-09 | 深圳市冠旭电子股份有限公司 | Audio file playing method, distributed sound system and main sound box |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3825589B2 (en) * | 1999-09-27 | 2006-09-27 | 三洋電機株式会社 | Multimedia terminal equipment |
CN102347845A (en) * | 2010-08-05 | 2012-02-08 | 盛乐信息技术(上海)有限公司 | Broadcasting system |
CN105812906A (en) * | 2016-03-22 | 2016-07-27 | 广东欧珀移动通信有限公司 | Communication control method and device for playing device |
CN105872654A (en) * | 2016-03-22 | 2016-08-17 | 广东欧珀移动通信有限公司 | Method and device for switching Bluetooth connection in audio playing system, and system |
-
2016
- 2016-12-22 CN CN201611200764.0A patent/CN106941635B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3825589B2 (en) * | 1999-09-27 | 2006-09-27 | 三洋電機株式会社 | Multimedia terminal equipment |
CN102347845A (en) * | 2010-08-05 | 2012-02-08 | 盛乐信息技术(上海)有限公司 | Broadcasting system |
CN105812906A (en) * | 2016-03-22 | 2016-07-27 | 广东欧珀移动通信有限公司 | Communication control method and device for playing device |
CN105872654A (en) * | 2016-03-22 | 2016-08-17 | 广东欧珀移动通信有限公司 | Method and device for switching Bluetooth connection in audio playing system, and system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107613424A (en) * | 2017-09-25 | 2018-01-19 | 解君 | A kind of audio amplifier control method and device |
CN107613424B (en) * | 2017-09-25 | 2019-08-27 | 湖南国声声学科技股份有限公司 | A kind of speaker control method and device |
WO2019104774A1 (en) * | 2017-11-30 | 2019-06-06 | 歌尔科技有限公司 | Communication method and communication device |
CN109547301A (en) * | 2018-11-14 | 2019-03-29 | 三星电子(中国)研发中心 | A kind of autocontrol method for electronic equipment, device and equipment |
CN111757218A (en) * | 2019-03-29 | 2020-10-09 | 深圳市冠旭电子股份有限公司 | Audio file playing method, distributed sound system and main sound box |
CN110430562A (en) * | 2019-08-30 | 2019-11-08 | RealMe重庆移动通信有限公司 | Bluetooth communication method and relevant apparatus |
CN110430562B (en) * | 2019-08-30 | 2022-06-07 | RealMe重庆移动通信有限公司 | Bluetooth communication method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN106941635B (en) | 2019-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105262452A (en) | Method and apparatus for adjusting volume, and terminal | |
CN106941635B (en) | Speaker connection method and device | |
CN105451111A (en) | Earphone play control method and apparatus and terminal | |
CN107493500A (en) | Multimedia resource player method and device | |
CN106454644A (en) | Audio playing method and device | |
CN105138319A (en) | Event reminding method and apparatus | |
CN104935729B (en) | Audio-frequency inputting method and device | |
CN105260247A (en) | Method and device for controlling terminal application | |
CN104378715A (en) | Device and method for lowering earphone POP sound | |
CN105426218A (en) | Method and device for controlling audio playing | |
CN104636110A (en) | Method and device for controlling volume | |
CN103986999A (en) | Method, device and terminal equipment for detecting earphone impedance | |
CN105391477A (en) | A communication method and device between bluetooth devices | |
CN108549529A (en) | Control the method and device of audio output | |
CN104394137A (en) | Voice call reminding method and device | |
CN105468236A (en) | Message prompting method and apparatus and terminal | |
CN109087650A (en) | voice awakening method and device | |
CN106126058A (en) | Based reminding method and device | |
CN105554631B (en) | Audio switching method, device and electronic equipment | |
CN105068651A (en) | Method, device, terminal and server for controlling alarm clock | |
CN105511852A (en) | Screen display processing method, and device and equipment | |
CN105101013A (en) | Method and device for playing voice signals | |
CN105119803A (en) | Processing method and device of voice message | |
CN104506703A (en) | Voice message leaving method, voice message leaving device, voice message playing method and voice message playing device | |
CN106453838A (en) | Method and apparatus for adjusting volume |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |