CN106569772A - Volume adjusting method, mobile terminal and voice box - Google Patents
Volume adjusting method, mobile terminal and voice box Download PDFInfo
- Publication number
- CN106569772A CN106569772A CN201610942115.1A CN201610942115A CN106569772A CN 106569772 A CN106569772 A CN 106569772A CN 201610942115 A CN201610942115 A CN 201610942115A CN 106569772 A CN106569772 A CN 106569772A
- Authority
- CN
- China
- Prior art keywords
- audio amplifier
- mobile terminal
- user
- signal strength
- signal intensity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a volume adjusting method, a mobile terminal and a voice box. The volume adjusting method comprises steps of detecting an equivalent distance between a user/mobile terminal and a voice box, or detecting strength of a signal of the voice box and received by the mobile terminal, acquiring a voice box target volume value corresponding to the equivalent distance/the signal strength, driving the voice box to play via the target volume value to enable the playing volume of the voice box to be kept stable corresponding to the user/mobile terminal. With detection of the equivalent distance between the user/mobile terminal and the voice box, the playing volume of the mobile terminal or the voice box can be adjusted in time, so the playing volume of the voice box can be kept stable corresponding to the user and mobile terminal; and user experience can be enhanced.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of volume adjusting method and mobile terminal, audio amplifier.
Background technology
With the popularity more and more higher of the fast development of communications industry, blue-tooth intelligence audio amplifier and mobile terminal, mobile phone
Can be connected with audio amplifier by bluetooth Deng mobile terminal, audio frequency is played with more preferable tonequality, wherein the audio frequency played by audio amplifier
Volume directly affects the experience of user.
However, in actual use, because user and mobile terminal may not stop movement, and audio amplifier is in static
State, the sound so heard when user or mobile terminal move to different positions has bigger difference, and now user is past
Toward the volume for needing continually to adjust manually mobile terminal or audio amplifier, audio experience is persistently bothered.
The content of the invention
The invention mainly solves the technical problem of a kind of volume adjusting method and mobile terminal, audio amplifier are provided, can be certainly
The dynamic output volume for adjusting mobile terminal or audio amplifier, so as to ensure that the volume that audio amplifier is broadcasted keeps relative to user and mobile terminal
It is stable.
To solve above-mentioned technical problem, the present invention provides a kind of volume adjusting method, including:Detection user/mobile terminal
Equivalent distances between audio amplifier, or detect that the mobile terminal receives the signal strength signal intensity of the audio amplifier;Obtain described equivalent
The target sound value of the corresponding audio amplifier of distance/signal strength signal intensity;The audio amplifier is driven to play with the target sound value, so that
The volume for obtaining the audio amplifier broadcasting keeps stable relative to the user/mobile terminal, realizes automatically adjusting for volume, strengthens use
Experience at family.
Wherein, the signal strength signal intensity that the detection mobile terminal receives the audio amplifier includes:Set up described mobile whole
Wireless connection between end and the audio amplifier;The mobile terminal detects the intensity of the wireless connection, to obtain what is received
The signal strength signal intensity of the audio amplifier.
Wherein, the signal strength signal intensity that the detection mobile terminal receives the audio amplifier includes:Driven by calling bluetooth
The dynamic RSSI fields for reading the bluetooth protocol repertory physical layer in the wireless connection, with obtain the mobile terminal receive it is described
The signal strength signal intensity of audio amplifier.
Wherein, the equivalent distances between the detection user/mobile terminal and the audio amplifier include:Detection is described mobile whole
Termination receives the signal strength signal intensity of the audio amplifier;Obtain between the corresponding user/mobile terminal of the signal strength signal intensity and the audio amplifier
Equivalent distances.
Wherein, the equivalent distances obtained between the corresponding user/mobile terminal of signal strength signal intensity and the audio amplifier
Including:The corresponding equivalent distances value of each signal strength signal intensity is measured in advance;Each signal strength signal intensity is set up with corresponding equivalent distances value
Between mapping table, look into the mapping table and obtain the corresponding equivalent distances of the signal strength signal intensity.
Wherein, the equivalent distances obtained between the corresponding user/mobile terminal of signal strength signal intensity and the audio amplifier
Including according to the quantitative equation calculating equivalent distances:
D (A)=10^ ((abs (RSSI (A))-S)/(10*n))
Wherein:A represents the position that the user/mobile terminal is located;RSSI (A) is in for the user/mobile terminal
During the location A, the mobile terminal receives the signal strength signal intensity of the audio amplifier;D (A) is that signal strength signal intensity RSSI (A) is right
Equivalent distances between the user/mobile terminal answered and the audio amplifier;When S is separated by 1 meter for the mobile terminal with the audio amplifier,
The mobile terminal receives the signal strength signal intensity of the audio amplifier;N is the environmental attenuation factor.
Wherein, the target sound value for obtaining the corresponding audio amplifier of the equivalent distances includes, according to quantitative equation
Calculate target sound value of the audio amplifier in any position:
Vol (B)=Vol (0)+(d (B)-d (0)) * m
Wherein:When Vol (B) is that the user/mobile terminal is in target location, the target sound value of the audio amplifier;Vol
(0) be audio amplifier when user/mobile terminal is in initial position initial volume value, the initial volume value sets by user
Put;D (B) and d (0) are respectively the user/mobile terminal in the target location and during the initial position, the use
Equivalent distances between family/mobile terminal and the audio amplifier;M is mapping-factor.
Wherein, the target sound value for obtaining the corresponding audio amplifier of the signal strength signal intensity includes, according to quantitative equation
Calculate target sound value of the audio amplifier in any position:
Vol (B)=Vol (0)+10^ ((abs (RSSI (B))-abs (RSSI (0)))/(10*n)) * m
Wherein:When Vol (B) is that the user/mobile terminal is in target location, the target sound value of the audio amplifier;Vol
(0) be audio amplifier when user/mobile terminal is in initial position initial volume value, the initial volume value sets by user
Put;RSSI (B) and RSSI (0) are respectively the user/mobile terminal in the target location and during the initial position, institute
State the signal strength signal intensity that mobile terminal receives the audio amplifier;M is mapping-factor;N is the environmental attenuation factor.
To solve above-mentioned technical problem, another technical solution used in the present invention is:A kind of mobile terminal is provided, is wrapped
Include:Detection module, for detecting the equivalent distances between the user/mobile terminal and the audio amplifier, or detect the user/
The signal strength signal intensity of the audio amplifier that mobile terminal is received;Volume acquisition module, for obtaining the equivalent distances/signal strength signal intensity
The target sound value of the corresponding audio amplifier, the equivalent distances be between the mobile terminal and the audio amplifier it is equivalent away from
From the signal strength signal intensity is the signal strength signal intensity of the audio amplifier that the mobile terminal is received;Volume setup module, for by institute
State target sound value and be sent to the audio amplifier, make the audio amplifier and played with the target sound value, so that the audio amplifier is played
Volume keep stable relative to the user/mobile terminal.
To solve above-mentioned technical problem, the present invention also provides a kind of audio amplifier, including:Detection module, for detecting the use
The equivalent distances at family/between mobile terminal and audio amplifier, or detect the letter of wireless connection between the mobile terminal and the audio amplifier
Number intensity;Volume acquisition module, for obtaining the target sound value of the corresponding audio amplifier of the equivalent distances/signal strength signal intensity,
The equivalent distances are the equivalent distances between the mobile terminal and audio amplifier, and the signal strength signal intensity is that the mobile terminal is received
The signal strength signal intensity of the audio amplifier for arriving;Volume setup module, for target sound value broadcasting, so that the audio amplifier is broadcast
The volume put keeps stable relative to the user/mobile terminal.
Above scheme, when user/mobile terminal changes relative to audio amplifier position, by detecting mobile terminal and sound
The equivalent distances of the wireless connection signal intensity or user between case/between mobile terminal and audio amplifier, and then calculate described equivalent
The target sound value of the corresponding audio amplifier of distance/signal strength signal intensity, drives the audio amplifier to play with the target sound value, so that
The volume for obtaining the audio amplifier broadcasting keeps stable relative to the user/mobile terminal, realizes automatically adjusting for volume, strengthens use
Experience at family.
Description of the drawings
Fig. 1 is the schematic flow sheet of the embodiment of volume adjusting method of the present invention;
Fig. 2 is the structural representation of mobile terminal first embodiment of the present invention;
Fig. 3 is the structural representation of mobile terminal second embodiment of the present invention;
Fig. 4 is the structural representation of audio amplifier first embodiment of the present invention;
Fig. 5 is the structural representation of audio amplifier second embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings the present invention is described in detail with embodiment.
Fig. 1 is referred to, Fig. 1 is the flow chart of the embodiment of volume adjusting method of the present invention.If it is noted that having essence
Upper identical result, the method for the present invention is not limited with the flow process order shown in Fig. 1.As shown in figure 1, the method is including as follows
Step:
S11:The equivalent distances of detection user/between mobile terminal and audio amplifier, or detect that the mobile terminal receives institute
State the signal strength signal intensity of audio amplifier.
Wherein, detect that the signal strength signal intensity that the mobile terminal receives the audio amplifier includes:Set up the mobile terminal institute
State the wireless connection between audio amplifier;The mobile terminal detects the intensity of the wireless connection, to obtain the sound for receiving
The signal strength signal intensity of case.
Such as, detect that the mobile terminal receives the signal strength signal intensity of the audio amplifier and can read institute by calling bluetooth to drive
The RSSI fields of the bluetooth protocol repertory physical layer in wireless connection are stated, to obtain the letter that the mobile terminal receives the audio amplifier
Number intensity.
In the present embodiment, the audio amplifier derives from itself built-in audio file or described to the audio frequency that user plays
The audio file of mobile terminal and other audiogenic devices, but not limited to this.Between detection user/mobile terminal and the audio amplifier
Equivalent distances including but not limited to obtain that the user/mobile terminal is far and near with the distance between the audio amplifier and resistance using GPS
Parting, so by the distance and barrier according to certain standard change into the user/mobile terminal and the audio amplifier it
Between equivalent distances.
Further, the equivalent distances between the user/mobile terminal and the audio amplifier are also obtained using detection
The mobile terminal receives the signal strength signal intensity conversion of the audio amplifier and obtains.
Such as the signal strength signal intensity is converted into by the equivalent distances by reflection method:Each signal strength signal intensity pair is measured in advance
The equivalent distances answered, the mapping table set up between each signal strength signal intensity and corresponding equivalent distances, the acquisition signal of tabling look-up
Equivalent distances between the corresponding user/mobile terminal of intensity.
And for example, the equivalent distances between the user/mobile terminal and the audio amplifier also using detection obtain described in
Mobile terminal receives the signal strength signal intensity of the audio amplifier and is quantitatively calculated, and specifically, calculates described equivalent according to quantitative equation
Distance:
D (A)=10^ ((abs (RSSI (A))-S)/(10*n))
Wherein:A represents the position that the user/mobile terminal is located;RSSI (A) is in for the user/mobile terminal
During the location A, the mobile terminal receives the signal strength signal intensity of the audio amplifier;D (A) is that signal strength signal intensity RSSI (A) is right
Equivalent distances between the user/mobile terminal answered and the audio amplifier;When S is separated by 1 meter for the mobile terminal with the audio amplifier,
The mobile terminal receives the signal strength signal intensity of the audio amplifier, and in the present embodiment S can be set to 50~70, such as 59;N is environment
Decay factor, in the present embodiment n may be configured as 1.0~4.0, such as 2.0.
S12:Obtain the target sound value of the corresponding audio amplifier of the equivalent distances/signal strength signal intensity.
Wherein, the target sound value of the corresponding audio amplifier of the equivalent distances/signal strength signal intensity can be obtained using reflection method,
Specifically:Measure the target sound value of each equivalent distances/signal strength signal intensity correspondence audio amplifier in advance, set up each it is equivalent away from
From/mapping table between signal strength signal intensity and corresponding target sound value, when the position of the relatively described audio amplifier of user/mobile terminal
Put when changing, look into the mapping table and obtain the corresponding equivalent distances/signal strength signal intensity pair in the position after the change
The target sound value answered.
Further, it is also possible to use the target that sizing technique obtains the corresponding audio amplifier of the equivalent distances/signal strength signal intensity
Volume value.Such as, can be by obtaining in a certain position B, the mobile terminal receives signal strength signal intensity RSSI of the audio amplifier
(B) equivalent distances d (B) of the user/mobile terminal and the audio amplifier at the B of the position, are converted into reflection method or sizing technique,
Concrete grammar is being described above, and this place is not repeating;The corresponding target sound of the equivalent distances is calculated further according to quantitative equation
Value, for example, as it is known that the user/mobile terminal be in certain initial position when the user/mobile terminal and the audio amplifier it
Between equivalent distances d (0), and by user arrange initial volume value Vol (0), can be calculated according to following quantitative equation
When user/the mobile terminal is in target location B, target sound value Vol (B) of the audio amplifier:
Vol (B)=Vol (0)+(d (B)-d (0)) * m
Wherein:M is the mapping-factor related to concrete device voice volume parameter definition.
Further, it is right that signal strength signal intensity RSSI (B) for also obtaining a certain position B using quantitative equation is directly translated into
Target sound value Vol (B) of the audio amplifier answered.For example, as it is known that movement when user/mobile terminal is in certain initial position
Terminal receives signal strength signal intensity RSSI (0) of the audio amplifier, and initial volume value Vol (0) arranged by user, according to as follows
Quantitative equation can calculate the user/mobile terminal in target location B when, the target sound value Vol of the audio amplifier
(B):
Vol (B)=Vol (0)+10^ ((abs (RSSI (B))-abs (RSSI (0)))/(10*n)) * m
Wherein:M is the mapping-factor related to concrete device voice volume parameter definition, and n is the environmental attenuation factor, in this enforcement
N can be set to 1.0~4.0, such as 2.0 in example.
It is understood that the target sound value for obtaining the corresponding audio amplifier of the equivalent distances/signal strength signal intensity is not limited
In above-mentioned reflection method and sizing technique, the target sound value of the audio amplifier is obtained using equivalent distances/signal strength signal intensity otherwise
Should also be as being included within present inventive concept.
S13:The audio amplifier is driven to play with the target sound value, so that the volume that the audio amplifier is played is relative to institute
State user/mobile terminal and keep stable.
Wherein, be to ensure that user is acquired that volume will not be excessive or too small, the target sound value less than/be less than one
Fixed threshold value.
In the present embodiment, by detecting that the equivalent distances or detection mobile terminal of user/between mobile terminal and audio amplifier connect
The signal strength signal intensity of audio amplifier, and then the target sound value of the corresponding audio amplifier of the calculating equivalent distances/signal strength signal intensity are received, with
The target sound value drives the audio amplifier to play, so that the volume that the audio amplifier is played is whole relative to the user/movement
End keeps stable, realizes automatically adjusting for volume, strengthens Consumer's Experience.
Fig. 2 is referred to, Fig. 2 is the structural representation of mobile terminal first embodiment of the present invention, and the mobile terminal 20 is upper
The mobile terminal in embodiment is stated, the mobile terminal 20 includes that detection module 21, volume acquisition module volume obtain module volume
Obtain module 22, volume setup module volume setup module 23.
Detection module 21 is used to detect the equivalent distances or signal strength signal intensity between mobile terminal and audio amplifier;
Volume acquisition module 22, for obtaining the target sound value of audio amplifier;
Volume setup module 23, for the target sound value to be sent to into the audio amplifier, makes the audio amplifier with the mesh
Mark with phonetic symbols value is played.
Alternatively, detection module 21 is specifically for detecting user/between mobile terminal and audio amplifier distance and barrier, and presses
The distance and barrier are changed into into equivalent distances according to certain rule.
Specifically, detection module 21 includes:Wireless connection unit 211 and signal strength signal intensity indicating member 212.
Wireless connection unit 211 is used for the wireless connection set up between the mobile terminal and the audio amplifier.
Signal strength signal intensity indicating member 212 is specifically for setting up wireless connection between the mobile terminal and the audio amplifier after,
Detect that the mobile terminal receives the signal strength signal intensity of the audio amplifier, for example, bluetooth driving reading is described wirelessly to be connected by calling
The RSSI fields of the bluetooth protocol repertory physical layer in connecing, to obtain the signal strength signal intensity that mobile terminal receives the audio amplifier.
Alternatively, volume acquisition module 22 includes computing unit 220, and computing unit 220 is used to connect the mobile terminal
The signal strength signal intensity of the audio amplifier for receiving is converted into the equivalent distances of user/between mobile terminal and audio amplifier, and by the user/shifting
Equivalent distances between dynamic terminal and audio amplifier are converted into the target sound value of audio amplifier, or, directly the mobile terminal is received
To the signal strength signal intensity of audio amplifier be converted into the target sound value of audio amplifier.
Alternatively, volume setup module 23 includes data transmission unit 231 and volume adjustment unit 232.
Data transmission unit 231 is used to for the target sound value to be sent to mobile terminal/audio amplifier, volume adjustment unit
232 are used to that the volume of mobile terminal to be adjusted to the corresponding value of the target sound value and played out, so that final audio amplifier is broadcast
The volume for going out keeps relative stability relative to user/mobile terminal.It is appreciated that in other embodiments, volume adjustment unit
232 can omit.
The modules of above-mentioned mobile terminal 20 can respectively perform correspondence step in said method embodiment, therefore here is not right
Each module is repeated, and the explanation of above correspondence step is referred in detail.
Refering to Fig. 3, the mobile terminal second embodiment that the present invention is provided includes:Processor 31, memory 32 and transceiver
33, processor 31 connects respectively memory 32 and transceiver 33 by bus.
Processor 31 controls the operation of mobile terminal, and processor 31 can also be referred to as CPU (Central Processing
Unit, CPU).A kind of possibly IC chip of processor 31, the disposal ability with signal.Processor 31
Can also be general processor, digital signal processor (DSP), special IC (ASIC), ready-made programmable gate array
(FPGA) either other PLDs, discrete gate or transistor logic, discrete hardware components.General processor
Can be microprocessor or the processor can also be any conventional processor, but be not limited only to this.
Processor 31, for adjusting volume, when user/relative position between mobile terminal and audio amplifier changes,
The equivalent distances of detection user/between mobile terminal and audio amplifier, or detect that the mobile terminal receives the signal of the audio amplifier
Intensity;And the equivalent distances or signal strength signal intensity are changed according to certain computation rule, with obtain the equivalent distances/
The target sound value of the corresponding audio amplifier of signal strength signal intensity;The mobile terminal or audio amplifier is driven to perform with the target sound value
Corresponding operation, so that the volume that the audio amplifier is played keeps stable relative to the user/mobile terminal.
Memory 32, works necessary data and instruction for storing processor 31.
Transceiver 33, for realizing the transmission of data and instruction between processor 31 and memory 32 and bus.
Prior art is different from, it is of the invention when user/mobile terminal changes relative to audio amplifier position, by detection
The equivalent distances of the wireless connection signal intensity or user between mobile terminal and audio amplifier/between mobile terminal and audio amplifier, and then
The target sound value of the corresponding audio amplifier of the equivalent distances/signal strength signal intensity is calculated, is driven with the target sound value described
Audio amplifier is played so that the volume that the audio amplifier is played keeps stable relative to the user/mobile terminal, realize volume from
It is dynamic to adjust, strengthen Consumer's Experience.
Fig. 4 is referred to, Fig. 4 is the structural representation of audio amplifier first embodiment of the present invention.The audio amplifier 40 is above-described embodiment
In audio amplifier, the mobile terminal 40 include detection module 41, volume acquisition module volume obtain module 42, volume setup module
43。
Detection module 41 is used to detect the equivalent distances or signal strength signal intensity between mobile terminal and audio amplifier;
Volume acquisition module 42, for obtaining the target sound value of audio amplifier;
Volume setup module 43, for the target sound value to be sent to into the audio amplifier, makes the audio amplifier with the mesh
Mark with phonetic symbols value is played.
Alternatively, detection module 41 is specifically for detecting user/between mobile terminal and audio amplifier distance and barrier, and presses
The distance and barrier are changed into into equivalent distances according to certain rule.
Specifically, detection module 41 includes:Wireless connection unit 411 and signal strength signal intensity indicating member 412.
Wireless connection unit 411 is used for the wireless connection set up between the mobile terminal and the audio amplifier.
Signal strength signal intensity indicating member 412 receives the signal strength signal intensity of audio amplifier specifically for indicating mobile terminal, for example, passes through
Bluetooth is called to drive the RSSI fields for reading the bluetooth protocol repertory physical layer in the wireless connection, to obtain mobile terminal reception
To the signal strength signal intensity of the audio amplifier.
Alternatively, volume acquisition module 42 includes computing unit 420, and computing unit 420 is used to connect the mobile terminal
The signal strength signal intensity of the audio amplifier for receiving is converted into the equivalent distances of user/between mobile terminal and audio amplifier, and by the user/shifting
Equivalent distances between dynamic terminal and audio amplifier are converted into the target sound value of audio amplifier, or, directly the mobile terminal is received
To the signal strength signal intensity of audio amplifier be converted into the target sound value of audio amplifier.
Alternatively, volume setup module 43 includes data transmission unit 431 and driver element 432.
Data transmission unit 431 is used to for the target sound value to be sent to mobile terminal/audio amplifier, and driver element 432 is used
In being arranged with the target sound value and drive the audio amplifier to play out so that the volume broadcasted of final audio amplifier relative to user/
Mobile terminal keeps relative stability.
The modules of above-mentioned audio amplifier 40 can respectively perform correspondence step in said method embodiment, therefore here is not to each mould
Block is repeated, and the explanation of above correspondence step is referred in detail.
Refering to Fig. 5, the mobile terminal second embodiment that the present invention is provided includes:Processor 51, memory 52 and transceiver
53, processor 51 connects respectively memory 52 and transceiver 53 by bus.
Processor 51 controls the operation of mobile terminal, and processor 51 can also be referred to as CPU (Central Processing
Unit, CPU).A kind of possibly IC chip of processor 51, the disposal ability with signal.Processor 51
Can also be general processor, digital signal processor (DSP), special IC (ASIC), ready-made programmable gate array
(FPGA) either other PLDs, discrete gate or transistor logic, discrete hardware components.General processor
Can be microprocessor or the processor can also be any conventional processor, but be not limited only to this.
Processor 51, for adjusting volume, when user/relative position between mobile terminal and audio amplifier changes,
The equivalent distances of detection user/between mobile terminal and audio amplifier, or detect that the mobile terminal receives the signal of the audio amplifier
Intensity;And the equivalent distances or signal strength signal intensity are changed according to certain computation rule, with obtain the equivalent distances/
The target sound value of the corresponding audio amplifier of signal strength signal intensity;The mobile terminal or audio amplifier is driven to perform with the target sound value
Corresponding operation, so that the volume that the audio amplifier is played keeps stable relative to the user/mobile terminal.
Memory 52, works necessary data and instruction for storing processor 51.
Transceiver 53, for realizing the transmission of data and instruction between processor 51 and memory 52 and bus.
Prior art is different from, it is of the invention when user/mobile terminal changes relative to audio amplifier position, by detection
The equivalent distances of the wireless connection signal intensity or user between mobile terminal and audio amplifier/between mobile terminal and audio amplifier, and then
The target sound value of the corresponding audio amplifier of the equivalent distances/signal strength signal intensity is calculated, is driven with the target sound value described
Audio amplifier is played so that the volume that the audio amplifier is played keeps stable relative to the user/mobile terminal, realize volume from
It is dynamic to adjust, strengthen Consumer's Experience.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, can pass through
Other modes are realized.For example, device embodiments described above be only it is schematic, for example, the module or list
The division of unit, only a kind of division of logic function can have an other dividing mode when actually realizing, such as multiple units or
Component can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, show
The coupling each other shown or discuss or direct-coupling or communication connection can be by some interfaces, between device or unit
Connect coupling or communicate to connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize present embodiment scheme
Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, also may be used
Being that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.It is above-mentioned integrated
Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, during a computer read/write memory medium can be stored in.Based on such understanding, technical scheme is substantially
The part for contributing to prior art in other words or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention each
The all or part of step of embodiment methods described.And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD
Etc. it is various can be with the medium of store program codes.
Embodiments of the present invention are the foregoing is only, the scope of the claims of the present invention is not thereby limited, it is every using this
Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, is included within the scope of the present invention.
Claims (10)
1. a kind of volume adjusting method, it is characterised in that include:
The equivalent distances of detection user/between mobile terminal and audio amplifier, or detect that the mobile terminal receives the audio amplifier
Signal strength signal intensity;
Obtain the target sound value of the corresponding audio amplifier of the equivalent distances/signal strength signal intensity;
Drive the audio amplifier to play with the target sound value so that the volume played of the audio amplifier relative to the user/
Mobile terminal keeps stable.
2. volume adjusting method according to claim 1, it is characterised in that the detection mobile terminal receives institute
Stating the signal strength signal intensity of audio amplifier includes:
The wireless connection set up between the mobile terminal and the audio amplifier;
The mobile terminal detects the intensity of the wireless connection, to obtain the signal strength signal intensity of the audio amplifier for receiving.
3. volume adjusting method according to claim 2, it is characterised in that the detection mobile terminal receives institute
Stating the signal strength signal intensity of audio amplifier includes:Bluetooth protocol repertory physical layer in by calling the bluetooth driving reading wireless connection
RSSI fields, to obtain the signal strength signal intensity that the mobile terminal receives the audio amplifier.
4. volume adjusting method according to claim 1, it is characterised in that the detection user/mobile terminal with it is described
Equivalent distances between audio amplifier include:
Detect that the mobile terminal receives the signal strength signal intensity of the audio amplifier;
Obtain the equivalent distances between the corresponding user/mobile terminal of the signal strength signal intensity and the audio amplifier.
5. volume adjusting method according to claim 4, it is characterised in that the corresponding institute of the acquisition signal strength signal intensity
The equivalent distances stated between user/mobile terminal and the audio amplifier include:
The corresponding equivalent distances value of each signal strength signal intensity is measured in advance;
The mapping table set up between each signal strength signal intensity and corresponding equivalent distances value,
Look into the mapping table and obtain the corresponding equivalent distances of the signal strength signal intensity.
6. volume adjusting method according to claim 4, it is characterised in that the corresponding institute of the acquisition signal strength signal intensity
The equivalent distances stated between user/mobile terminal and the audio amplifier include, according to the quantitative equation calculating equivalent distances:
D (A)=10^ ((abs (RSSI (A))-S)/(10*n))
Wherein:
A represents the position that the user/mobile terminal is located;
When RSSI (A) is that the user/mobile terminal is in the location A, the mobile terminal receives the letter of the audio amplifier
Number intensity;
D (A) is the equivalent distances between the corresponding user/mobile terminal of signal strength signal intensity RSSI (A) and the audio amplifier;
When S is separated by 1 meter for the mobile terminal with the audio amplifier, the mobile terminal receives the signal strength signal intensity of the audio amplifier;
N is the environmental attenuation factor.
7. volume adjusting method according to claim 1, it is characterised in that the acquisition equivalent distances/signal is strong
Spending the target sound value of the corresponding audio amplifier includes, according to quantitative equation target volume of the audio amplifier in any position is calculated
Value:
Vol (B)=Vol (0)+(d (B)-d (0)) * m
Wherein:
When Vol (B) is that the user/mobile terminal is in target location, the target sound value of the audio amplifier;
When Vol (0) is in initial position for the user/mobile terminal, the initial volume value of the audio amplifier, the initial volume value
Arranged by user;
D (B) and d (0) are respectively the user/mobile terminal in the target location and during the initial position, the use
Equivalent distances between family/mobile terminal and the audio amplifier;
M is mapping-factor.
8. volume adjusting method according to claim 1, it is characterised in that the acquisition equivalent distances/signal is strong
Spending the target sound value of the corresponding audio amplifier includes, according to quantitative equation target volume of the audio amplifier in any position is calculated
Value:
Vol (B)=Vol (0)+10^ ((abs (RSSI (B))-abs (RSSI (0)))/(10*n)) * m
Wherein:
When Vol (B) is that the user/mobile terminal is in target location, the target sound value of the audio amplifier;
When Vol (0) is in initial position for the user/mobile terminal, the initial volume value of the audio amplifier, the initial volume value
Arranged by user;
RSSI (B) and RSSI (0) are respectively the user/mobile terminal in the target location and during the initial position,
The mobile terminal receives the signal strength signal intensity of the audio amplifier;
M is mapping-factor;N is the environmental attenuation factor.
9. a kind of mobile terminal, it is characterised in that include:
Detection module, for detecting the equivalent distances between the user/mobile terminal and the audio amplifier, or detects the movement
The signal strength signal intensity of the audio amplifier that terminal is received;
Volume acquisition module, it is described for obtaining the target sound value of the corresponding audio amplifier of the equivalent distances/signal strength signal intensity
Equivalent distances are the equivalent distances of the user/between mobile terminal and audio amplifier, the signal strength signal intensity be the user/movement eventually
The signal strength signal intensity of the audio amplifier that termination is received;
Volume setup module, for the target sound value to be sent to into the audio amplifier, makes the audio amplifier with the target volume
Value is played, so that the volume that the audio amplifier is played keeps stable relative to the user/mobile terminal.
10. a kind of audio amplifier, it is characterised in that include:
Detection module, for detecting the equivalent distances of the user/between mobile terminal and audio amplifier, or detects the mobile terminal
The signal strength signal intensity of the audio amplifier for receiving;
Volume acquisition module, it is described for obtaining the target sound value of the corresponding audio amplifier of the equivalent distances/signal strength signal intensity
Equivalent distances are the equivalent distances between the mobile terminal and audio amplifier, and the signal strength signal intensity is that the mobile terminal is received
The signal strength signal intensity of the audio amplifier;
Volume setup module, for target sound value broadcasting, so that the volume that the audio amplifier is played is relative to described
User/mobile terminal keeps stable.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610942115.1A CN106569772A (en) | 2016-11-01 | 2016-11-01 | Volume adjusting method, mobile terminal and voice box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610942115.1A CN106569772A (en) | 2016-11-01 | 2016-11-01 | Volume adjusting method, mobile terminal and voice box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106569772A true CN106569772A (en) | 2017-04-19 |
Family
ID=58536504
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610942115.1A Pending CN106569772A (en) | 2016-11-01 | 2016-11-01 | Volume adjusting method, mobile terminal and voice box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106569772A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106954135A (en) * | 2017-05-15 | 2017-07-14 | 上海与德科技有限公司 | A kind of volume adjusting method and device |
CN107888782A (en) * | 2017-12-25 | 2018-04-06 | 出门问问信息科技有限公司 | A kind of control method and device of volume |
CN108471569A (en) * | 2018-03-19 | 2018-08-31 | 苏州科技大学 | A kind of multitone case device plays method and device |
CN108495232A (en) * | 2018-02-05 | 2018-09-04 | 广东小天才科技有限公司 | A kind of adjusting method of microphone volume, device, microphone and storage medium |
CN110049428A (en) * | 2019-03-20 | 2019-07-23 | 中国科学院计算技术研究所 | Method, playback equipment and the system played for realizing multichannel surround sound |
CN111208736A (en) * | 2019-12-17 | 2020-05-29 | 中移(杭州)信息技术有限公司 | Intelligent sound box control method and device, electronic equipment and storage medium |
CN111510905A (en) * | 2020-05-04 | 2020-08-07 | 宋彦震 | Method for adaptively adjusting sound size of player based on user distance |
CN114371823A (en) * | 2020-10-14 | 2022-04-19 | 荣耀终端有限公司 | Multimedia playing method and device and electronic equipment |
CN115484497A (en) * | 2021-06-16 | 2022-12-16 | 瑞昱半导体股份有限公司 | Playing device and playing method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101030763A (en) * | 2006-03-01 | 2007-09-05 | 华硕电脑股份有限公司 | Moving device and method for dynamically adjusting volume |
CN101483413A (en) * | 2008-01-07 | 2009-07-15 | 联想(北京)有限公司 | Method, apparatus and loudspeaker for volume regulation |
CN102891657A (en) * | 2011-07-22 | 2013-01-23 | 宏达国际电子股份有限公司 | Multimedia control method and multimedia control system |
CN103927654A (en) * | 2014-04-17 | 2014-07-16 | 福建联迪商用设备有限公司 | Mobile terminal and POS machine contact communication method and device and payment method |
-
2016
- 2016-11-01 CN CN201610942115.1A patent/CN106569772A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101030763A (en) * | 2006-03-01 | 2007-09-05 | 华硕电脑股份有限公司 | Moving device and method for dynamically adjusting volume |
CN101483413A (en) * | 2008-01-07 | 2009-07-15 | 联想(北京)有限公司 | Method, apparatus and loudspeaker for volume regulation |
CN102891657A (en) * | 2011-07-22 | 2013-01-23 | 宏达国际电子股份有限公司 | Multimedia control method and multimedia control system |
CN103927654A (en) * | 2014-04-17 | 2014-07-16 | 福建联迪商用设备有限公司 | Mobile terminal and POS machine contact communication method and device and payment method |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106954135A (en) * | 2017-05-15 | 2017-07-14 | 上海与德科技有限公司 | A kind of volume adjusting method and device |
CN107888782A (en) * | 2017-12-25 | 2018-04-06 | 出门问问信息科技有限公司 | A kind of control method and device of volume |
CN108495232A (en) * | 2018-02-05 | 2018-09-04 | 广东小天才科技有限公司 | A kind of adjusting method of microphone volume, device, microphone and storage medium |
CN108495232B (en) * | 2018-02-05 | 2020-05-19 | 广东小天才科技有限公司 | Method and device for adjusting microphone volume, microphone and storage medium |
CN108471569A (en) * | 2018-03-19 | 2018-08-31 | 苏州科技大学 | A kind of multitone case device plays method and device |
CN110049428A (en) * | 2019-03-20 | 2019-07-23 | 中国科学院计算技术研究所 | Method, playback equipment and the system played for realizing multichannel surround sound |
CN110049428B (en) * | 2019-03-20 | 2020-07-28 | 中国科学院计算技术研究所 | Method, playing device and system for realizing multi-channel surround sound playing |
CN111208736A (en) * | 2019-12-17 | 2020-05-29 | 中移(杭州)信息技术有限公司 | Intelligent sound box control method and device, electronic equipment and storage medium |
CN111208736B (en) * | 2019-12-17 | 2023-10-27 | 中移(杭州)信息技术有限公司 | Intelligent sound box control method and device, electronic equipment and storage medium |
CN111510905A (en) * | 2020-05-04 | 2020-08-07 | 宋彦震 | Method for adaptively adjusting sound size of player based on user distance |
CN114371823A (en) * | 2020-10-14 | 2022-04-19 | 荣耀终端有限公司 | Multimedia playing method and device and electronic equipment |
CN115484497A (en) * | 2021-06-16 | 2022-12-16 | 瑞昱半导体股份有限公司 | Playing device and playing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106569772A (en) | Volume adjusting method, mobile terminal and voice box | |
US9712940B2 (en) | Automatic audio adjustment balance | |
US9918174B2 (en) | Wireless exchange of data between devices in live events | |
CN108430003A (en) | Audio compensation method and device, readable storage medium storing program for executing, terminal | |
CN106126159B (en) | A kind of audio stream processing method and mobile terminal | |
CN107087242A (en) | Distributed wireless speaker system | |
CN101588561B (en) | The method and apparatus of the telephony mode of setting mobile terminal | |
CN106909337A (en) | Method for selecting main earphone in wireless earphone set, electronic device and wireless earphone | |
CN106126168B (en) | A kind of sound effect treatment method and device | |
CN111798852A (en) | Voice wake-up recognition performance test method, device and system and terminal equipment | |
CN106504770A (en) | The test system and method for testing of speech quality, test device | |
CN107666638A (en) | A kind of method and terminal device for estimating tape-delayed | |
CN106293602B (en) | Audio data control method for playing back and equipment in earphone | |
CN110211578B (en) | Sound box control method, device and equipment | |
CN106095385A (en) | A kind of audio method to set up and mobile terminal | |
CN105307077B (en) | Acoustics volume adjustment method based on range information and sound equipment | |
CN108766452A (en) | Repair sound method and device | |
WO2020103066A1 (en) | Method and apparatus for determining relative position between two terminal devices | |
EP3284247A1 (en) | Mobile device environment detection using cross-device microphones | |
CN106909360A (en) | A kind of electronic installation, sound play device and balanced device method of adjustment | |
CN108366361A (en) | Communication means and device and electronic equipment | |
CN110430475A (en) | A kind of interactive approach and relevant apparatus | |
CN107182011A (en) | Audio frequency playing method and system, mobile terminal, WiFi earphones | |
CN107526569B (en) | A kind of volume adjusting method, device, storage medium and mobile terminal | |
CN106878915A (en) | The control method of playback equipment, device and playback equipment and mobile terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170419 |
|
RJ01 | Rejection of invention patent application after publication |