CN106339068A - Method and device for adjusting parameters - Google Patents
Method and device for adjusting parameters Download PDFInfo
- Publication number
- CN106339068A CN106339068A CN201510394511.0A CN201510394511A CN106339068A CN 106339068 A CN106339068 A CN 106339068A CN 201510394511 A CN201510394511 A CN 201510394511A CN 106339068 A CN106339068 A CN 106339068A
- Authority
- CN
- China
- Prior art keywords
- position detection
- detection device
- detecting distance
- threshold value
- predetermined threshold
- 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
- Telephone Function (AREA)
Abstract
One embodiment of the invention discloses a method for adjusting parameters comprising following steps: obtaining n detection distances, wherein the detection distances are distances to a shield object detected by n position detection devices and the n is a positive integer; determining the number i of position detection devices which are shielded from the n position detection devices according to the n detection distances, wherein i is a positive integer less than or equal to n; adjusting a currently used audio parameter into an audio parameter corresponding to the i according to the corresponding relation between the number of the position detection devices which are shielded and the audio parameter parameters. The embodiment of the invention also discloses a device for adjusting parameters.
Description
Technical field
The present invention relates to the parameter management technology of audio area, more particularly, to a kind of parameter regulation means and device.
Background technology
At present, terminal unit is used not only for daily communication, also subsidiary many amusement functions.Whether lead to
News or amusement, the audio frequency effect of high-quality can greatly improve Consumer's Experience, and therefore, audio frequency effect quality is
Weigh communication and a major criterion of entertainment effect quality.And the audio frequency parameter of existing terminal unit is research
Personnel design in the case of unobstructed, and in real life, this constant audio frequency parameter can substantially reduce
Consumer's Experience.For example, it is assumed that the audio parts of terminal unit play music, and now terminal unit quilt
One object blocks, and existing terminal unit may proceed to using existing audio frequency parameter, then, user hears sound
Happy audio frequency effect then can be deteriorated, poor user experience.
Content of the invention
For solving above-mentioned technical problem, embodiment of the present invention expectation provides a kind of parameter regulation means and device,
The audio frequency parameter of use can be adjusted in time, improve Consumer's Experience.
The technical scheme is that and be achieved in that:
In a first aspect, providing a kind of parameter regulation means, it is applied to parameter adjustment controls, described parameter adjustment
The sound mouth surrounding of device is disposed with n position detection device, and methods described includes:
Obtain n detecting distance, described detecting distance is that described n position detection device detects respectively
Away from the distance of shelter, described n is positive integer;
According to the n detecting distance obtaining, determine, from described n position detection device, the position being blocked
Put number i of detection device, described i is less than or equal to the positive integer of described n;
Number according to the position detection device being blocked and the corresponding relation of audio frequency parameter, will be currently used
Audio frequency parameter is adjusted to audio frequency parameter corresponding with described i.
In conjunction with a first aspect, in the first achievable mode, the 1st in described n position detection device
Position detection device and nth position detection device are respectively arranged at two of the length direction along described sound mouth
Side;
The described n detecting distance according to acquisition, determines from described n position detection device and is blocked
Number i of position detection device include:
If only described 1st position detection device and with the described 1st continuous i-1 of position detection device
The detecting distance that individual position detection device detects is less than or equal to predetermined threshold value, or, only described n-th
Position detection device and with described nth position detection the continuous i-1 position detection device of device detect
Detecting distance be less than or equal to predetermined threshold value it is determined that the number of the position detection device being blocked described in going out
It is i.
In conjunction with the first achievable mode, can achieve in mode in second, described determine described in be blocked
Position detection device number be i before, methods described also includes: calculates n of described acquisition and detects
First meansigma methodss of distance;
If the first meansigma methodss of n detecting distance of described acquisition are less than or equal to predetermined threshold value it is determined that institute
State predetermined threshold value.
Can achieve mode in conjunction with second, in the third achievable mode, the described predetermined threshold value of described determination
Including:
Obtain the maximum detecting distance of preservation;
Preserve maximum detecting distance in n detecting distance of described acquisition;
Calculate maximum detecting distance in the maximum detecting distance of preservation and n detecting distance of described acquisition
The second meansigma methodss;
Update predetermined threshold value with described second meansigma methodss.
In conjunction with the third achievable mode, in the 4th kind of achievable mode, the initial value of described predetermined threshold value
It is 1mm.
In conjunction with first aspect, the first to the 4th kind of achievable mode any one, the 5th kind can achieve side
In formula, before n detecting distance of described acquisition, methods described also includes:
The number of the position detection device being blocked described in generation and the corresponding relation of audio frequency parameter;
Setting initial audio parameter.
Second aspect, provides a kind of parameter adjustment controls, the sound mouth surrounding of described parameter adjustment controls is successively
It is provided with n position detection device, described device includes:
Acquiring unit, for obtaining described n detecting distance, described detecting distance is the inspection of described n position
Survey the distance away from shelter that device detects respectively, described n is positive integer;
Determining unit, for according to the n detecting distance obtaining, true from described n position detection device
Make number i of the position detection device being blocked, described i is less than or equal to the positive integer of described n;
Adjustment unit, for the corresponding relation of the number according to the position detection device being blocked and audio frequency parameter,
The frequency parameter adjustment that current sound is used is audio frequency parameter corresponding with described i.
In conjunction with second aspect, in the first achievable mode, the 1st in described n position detection device
Position detection device and nth position detection device are respectively arranged at two of the length direction along described sound mouth
Side;
Described determining unit specifically for:
If only described 1st position detection device and with the described 1st continuous i-1 of position detection device
The detecting distance that individual position detection device detects is less than or equal to predetermined threshold value, or, only described n-th
Position detection device and with described nth position detection the continuous i-1 position detection device of device detect
Detecting distance be less than or equal to predetermined threshold value it is determined that the number of the position detection device being blocked described in going out
It is i.
In conjunction with the first achievable mode, can achieve that in mode, described device also includes in second:
Computing unit, for calculating the first meansigma methodss of n detecting distance of described acquisition;
Described determining unit, if the first meansigma methodss being additionally operable to n detecting distance of described acquisition are less than or wait
In predetermined threshold value it is determined that described predetermined threshold value.
Can achieve mode in conjunction with second, in the third achievable mode, described determining unit, concrete use
In:
Obtain the maximum detecting distance of preservation;
Preserve maximum detecting distance in n detecting distance of described acquisition;
Calculate maximum detecting distance in the maximum detecting distance of preservation and n detecting distance of described acquisition
The second meansigma methodss;
Update predetermined threshold value with described second meansigma methodss.
In conjunction with the third achievable mode, in the 4th kind of achievable mode, the initial value of described predetermined threshold value
It is 1mm.
In conjunction with second aspect, the first to the 4th kind of achievable mode any one, the 5th kind can achieve side
In formula, described device includes:
Signal generating unit, the number of the position detection device for being blocked described in generating is corresponding with audio frequency parameter
Relation;
Arranging unit, for arranging initial audio parameter.
Embodiments provide a kind of parameter regulation means and device, first obtain n detecting distance, then
According to n detecting distance, determine from n position detection device the position detection device that is blocked
Number i, the corresponding relation according to the number of position detection device being blocked and audio frequency parameter, is currently made afterwards
Audio frequency parameter is adjusted to audio frequency parameter corresponding with i.Compared to prior art, the embodiment of the present invention is not
Fixed-audio parameter again, but the position detection device detection according to the sound mouth surrounding being distributed in terminal unit
The detecting distance away from shelter arriving, to determine the number of the position detection device being blocked, thus in time
Adjust currently used audio frequency parameter.So, audio frequency parameter is adjusted according to the detecting distance away from shelter,
That is, the actual situation that is blocked when being play according to audio frequency, currently used audio frequency parameter is adjusted to
One audio frequency parameter more tallying with the actual situation, therefore, the embodiment of the present invention improves audio frequency effect, improves
Consumer's Experience.
Brief description
Fig. 1 is a kind of flow chart of parameter regulation means provided in an embodiment of the present invention;
Fig. 2 is the position view of the range sensor of setting around external loudspeaker provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another kind parameter regulation means provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of parameter adjustment controls provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of parameter adjustment controls provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, it is fully described by.
Embodiment one
The embodiment of the present invention provides a kind of parameter regulation means, is applied to parameter determination device, the going out of this device
Sound mouth surrounding is disposed with n position detection device, and this device can be an independent audio frequency apparatus,
The person of being can also carry the terminal unit of audio parts.As shown in figure 1, the method may include that
Step 101, n detecting distance of acquisition.
Here, this detecting distance is the distance away from shelter that n position detection device detects respectively, n
It is positive integer.The sound scope that goes out of sound mouth has been divided into n and has gone out sound region, each position by position detection device
Put and detect that device correspond to one and goes out sound region.Position detection device can include other energy such as range sensor
The device of distance is enough detected.Wherein, preferred position detecting device is range sensor.
Audio frequency parameter can include send sensitivity/frequency response, send loudness rating, accept sensitivity/
Frequency response, reception loudness rating, STMR, transmission distortion, reception distortion, echo are damaged
Consumption, idle channel noise etc..
Step 102, the n detecting distance according to acquisition, determine from n position detection device and are hidden
Number i of the position detection device of gear.
Here, i is less than or equal to the positive integer of n.
When in n position detection device, the 1st position detection device and nth position detection device set respectively
During the both sides of the length direction being disposed along described sound mouth, step 102 specifically includes: if only the 1st position
Put detection device and continuous i-1 position detection device detects with the 1st position detection device detection
Distance is less than or equal to predetermined threshold value, or, only described nth position detection device and and nth position
The detecting distance that the detection continuous i-1 position detection device of device detects is less than or equal to predetermined threshold value,
The number then determining the position detection device being blocked is i.Here, the position detection device being blocked
Number represents the number going out sound region being blocked.
Example it is assumed that there being 4 position detection devices near sound mouth, the 1st length being arranged on sound mouth
The left side in degree direction, the right side of the 4th length direction being arranged on sound mouth, remaining position detection device
It is arranged on the side of sound mouth length direction.If only the 1st or the 4th position detection device detect
Detecting distance is less than or equal to predetermined threshold value it is determined that the number going out the position detection device being blocked is 1;
If only the 1st and the 2nd detecting distance that position detection device detects are less than or equal to predetermined threshold value,
The number then determining the position detection device being blocked is 2;If only the 4th and the 3rd position detection
Units test to detecting distance be less than or equal to predetermined threshold value it is determined that going out the position detection device being blocked
Number be 2;If only the 1st, the 2nd and the 3rd detecting distance that position detection device detects
Less than or equal to predetermined threshold value it is determined that the number going out the position detection device being blocked is 3;If the only the 4th
Individual, the 3rd and the 2nd detecting distance that position detection device detects are less than or equal to predetermined threshold value, then
The number determining the position detection device being blocked is 3;If the detection that 4 position detection devices detect
Distance is less than or equal to predetermined threshold value it is determined that the number going out the position detection device being blocked is 4.It is worth
Illustrate, the above-mentioned position detection device for judging the position detection device number being blocked needs simultaneously
The position inspection of the width of the position detection device detection including the length direction arrangement of sound mouth and sound mouth
Survey device.
Before the number determining the position detection device being blocked is i, methods described also includes: calculates
First meansigma methodss of the n detecting distance obtaining;If the first meansigma methodss are less than or equal to predetermined threshold value, really
Determine predetermined threshold value.
Specifically, above-mentioned determination predetermined threshold value may include that the maximum detecting distance obtaining preservation;Preserve
Maximum detecting distance in the n detecting distance obtaining;Calculate maximum detecting distance and the acquisition of preservation
Second meansigma methodss of maximum detecting distance in n detecting distance;Update predetermined threshold value with the second meansigma methodss.This
In, write due to the present embodiment is parameter regulation means in the current detection cycle, therefore, preservation
Maximum detecting distance is the maximum detecting distance preserving in upper 1 detection cycle from the 1st detection cycle;
In the n detecting distance obtaining, maximum detecting distance is exactly the maximum detecting distance that the current detection cycle preserves.
Step 103, the corresponding relation according to the number of position detection device being blocked and audio frequency parameter, will
Currently used audio frequency parameter is adjusted to audio frequency parameter corresponding with i.
Here, position detection device is as shown in table 1 with the corresponding relation of audio frequency parameter, may include that when 2
Individual position detection device is blocked, that is, 2 position detection devices corresponding go out sound region when being blocked, ought
The audio frequency parameter of front use is adjusted to the second audio frequency parameter;When 3 position detection devices are blocked, that is, 3
Position detection device corresponding go out sound region when being blocked, currently used audio frequency parameter is adjusted to the 3rd sound
Frequency parameter;When 4 position detection devices are blocked, that is, wantonly 4 position detection devices corresponding go out sound region quilt
When blocking, currently used audio frequency parameter is adjusted to the 4th audio frequency parameter;By that analogy, m position inspection
Survey device to be blocked, when entirely going out sound scope and being blocked, currently used audio frequency parameter is adjusted to m
Audio frequency parameter.Here, if only one of which position measurement device is blocked, by currently used audio frequency parameter
It is adjusted to initial audio parameter.
Table 1
Compared to prior art, the no longer fixing use audio frequency parameter of the embodiment of the present invention, but according to distribution
The detecting distance of the range shelter thing detecting in the position detection device of the sound mouth surrounding of terminal unit, comes
Determine the number of the position detection device being blocked, thus adjusting currently used audio frequency parameter.So,
Audio frequency parameter is adjusted according to the distance away from shelter that is to say, that actual when playing according to audio frequency is hidden
The situation of gear, currently used audio frequency parameter is adjusted to an audio frequency parameter more tallying with the actual situation in time,
Therefore, improve audio frequency effect, improve Consumer's Experience.
Further, before step 101, methods described also includes: generates the position detector being blocked
The number of part and the corresponding relation of audio frequency parameter;Setting initial audio parameter.Here, the position inspection being blocked
The corresponding relation of the number and audio frequency parameter of surveying device can design according to position detection device.
Embodiment two
The embodiment of the present invention provides a kind of parameter regulation means, is applied to smart mobile phone, this smart mobile phone includes
External loudspeaker, receiver, microphone, touch screen, amplifying circuit, shaking sensor, light sensor, process
Device, photographic head, battery, range sensor etc., wherein, set around the external loudspeaker of smart mobile phone successively
Put 5 range sensors, be a, b, c, d, e respectively, its position is as shown in Fig. 2 a is located at
Along the left side in external horn length direction, e is located at the right side along external horn length direction.As shown in figure 3,
The method includes:
Before step 201, smart mobile phone dispatch from the factory, generate the number of range sensor being blocked and join with audio frequency
The corresponding relation of number, arranges the initial audio parameter of external loudspeaker.
The present embodiment goes out external loudspeaker sound scope and can be divided into 5 and go out sound region, each Chu Yin area
Domain correspond to a range sensor.As shown in Fig. 2 the position of 5 range sensors is respectively provided with outside
Put the diverse location of loudspeaker surrounding and the direction difference of each range sensor, each range sensor is used for
After induced intelligent mobile phone is blocked by external object, the detecting distance away from corresponding range sensor for the shelter.
Example, the number of the range sensor being blocked and the corresponding relation of audio frequency parameter may include that works as
The number of the range sensor being blocked is 1, and that is, only a or e is blocked, by currently used audio frequency ginseng
Number is adjusted to initial audio parameter;When the number of the range sensor being blocked is 2, i.e. only ab or de
Two range sensors are blocked, that is, this 2 range sensors corresponding go out sound region be blocked, as scheme institute
Show, that is, when the 1/3 of about external loudspeaker is blocked, currently used audio frequency parameter is adjusted to second
Audio frequency parameter;When the number of the range sensor being blocked is 3, that is, only abc or ced tri- away from
Be blocked from sensor, that is, this 3 range sensors corresponding go out sound region be blocked, that is, about outer
When putting 1/2 part of loudspeaker and being blocked, currently used audio frequency parameter is adjusted to the 3rd audio frequency parameter;When
The number of the range sensor being blocked is 4, and that is, only tetra- range sensors of abcd or bcde are hidden
Gear, that is, this 4 range sensors corresponding go out sound region be blocked that is to say, that about external loudspeaker 2/3
When part is blocked, currently used audio frequency parameter is adjusted to the 4th audio frequency parameter;When the distance being blocked
The number of sensor is 5, and that is, 5 range sensors are blocked, that is, all go out sound region be all blocked,
When just saying that entirely external loudspeaker are all blocked, audio frequency parameter is adjusted to fifth audio parameter.It is worth explanation
It is that above-mentioned corresponding relation is exemplary illustration.
Step 202, smart mobile phone, after the broadcasting musical instruction receiving user, are broadcast by external loudspeaker
Put the music on.
Now currently used audio frequency parameter is initial audio parameter.
Step 203, within the current detection cycle, each range sensor detecting distance away from shelter for the detection.
Here, the induction range of a, b, c, d and e is predetermined, when the sensing of any one range sensor
To unobstructed when, using a sufficiently large preset value as this range sensor the detecting distance away from shelter.
Step 204, processor obtain the detecting distance away from shelter that 5 range sensors detect.
Here, the range sensor of the present embodiment can actively send itself detecting distance away from shelter, or
Person, the excitation that processor can be according to cycle active obtaining range sensor away from shelter.
Step 205, processor calculate the flat of the detecting distance away from shelter that 5 range sensors detect
Average.
Step 206, processor judge whether this meansigma methods is less than predetermined threshold value.If so, then execution step 207;
If it is not, execution step 215.
Step 207, determine the predetermined threshold value in current detection cycle.
Obtain the maximum detecting distance preserving in upper 1 detection cycle from the 1st detection cycle;Preserve and work as
Maximum detecting distance in n detecting distance in the front cycle;Calculate from the 1st detection cycle to upper 1
Maximum detecting distance in the n detecting distance in maximum detecting distance and current period preserving in detection cycle
Meansigma methodss;Update predetermined threshold value with this meansigma methods.Here, the initial value of predetermined threshold value is 1mm.
Step 208, processor determine whether each detecting distance is less than or equal to predetermined threshold value.
If the detecting distance away from shelter that step 209 a or e detects both less than or is equal to predetermined threshold value,
Then processor determines that the range sensor number being blocked is 1.
If the detecting distance away from shelter that step 210 ab or de detects both less than or is equal to default threshold
Value, then processor determines that the range sensor number being blocked is 2.
Here, what ab detected both less than or is equal to predetermined threshold value away from the detecting distance that shelter arrives, accordingly
, the detecting distance away from shelter that remaining cde detects is both greater than predetermined threshold value;De detects
Detecting distance away from shelter both less than or is equal to predetermined threshold value, accordingly, remaining abc detect away from
The detecting distance of shelter is both greater than predetermined threshold value.
If the detecting distance away from shelter that step 211 abc or cde detects both less than or is equal to pre-
If threshold value, then processor determines that the range sensor number being blocked is 3.
Here, the detecting distance away from shelter that abc detects both less than or is equal to predetermined threshold value, accordingly,
The detecting distance away from shelter that remaining de detects is both greater than predetermined threshold value;Cde detect away from screening
The detecting distance of block material both less than or is equal to predetermined threshold value, accordingly, remaining ab detect away from blocking
The detecting distance of thing is both greater than predetermined threshold value.
If the detecting distance away from shelter that step 212 abcd or bcde detects both less than or is equal to
Predetermined threshold value, then processor determine that the range sensor number being blocked is 4.
Here, the detecting distance away from shelter that abcd detects both less than or is equal to predetermined threshold value, accordingly
, the detecting distance away from shelter that e detects is both greater than predetermined threshold value;Bcde detect away from blocking
The detecting distance of thing both less than or is equal to predetermined threshold value, accordingly, remaining a detect away from shelter
Detecting distance is both greater than predetermined threshold value.
If the detecting distance away from shelter that 5 range sensors of step 213 detect both less than or is equal to
Predetermined threshold value, then processor determine that the number of probes being blocked is 5.
Step 214, processor, ought according to the corresponding relation of the range sensor being blocked and audio frequency parameter
The audio frequency parameter of front use is adjusted to audio frequency parameter corresponding with the number of the sensor being blocked.
Currently used audio frequency parameter is adjusted to initial audio parameter by step 215, processor.
Embodiment three
The embodiment of the present invention provides a kind of parameter adjustment controls 30, the sound mouth four of this parameter adjustment controls 30
It is disposed with n position detection device week, as shown in figure 4, this parameter adjustment controls 30 may include that
Acquiring unit 301, for obtaining described n detecting distance, described detecting distance is described n position
Put the distance away from shelter that detection device detects respectively, described n is positive integer.
Determining unit 302, for according to the n detecting distance obtaining, from described n position detection device
In determine number i of the position detection device being blocked, described i is less than or equal to the positive integer of described n.
Adjustment unit 303 is corresponding with audio frequency parameter for the number according to the position detection device being blocked
Relation, currently used audio frequency parameter is adjusted to audio frequency parameter corresponding with described i.
Compared to prior art, the embodiment of the present invention no longer fixed-audio parameter, but according to being distributed in terminal
The detecting distance of the range shelter thing that the position detection device of the sound mouth surrounding of equipment detects to determine by
The number of the position detection device blocking, thus adjust currently used audio frequency parameter.So, according to away from screening
The measurement distance of block material adjusting audio frequency parameter, that is, the actual situation about being blocked when playing according to audio frequency,
Currently used audio frequency parameter is adjusted to an audio frequency parameter more tallying with the actual situation, therefore, improves
Audio frequency effect, improves Consumer's Experience.
Further, when the 1st position detection device and nth position in described n position detection device
Detection device is respectively arranged at the both sides of the length direction along described sound mouth;
Described determining unit 302 specifically for:
If only described 1st position detection device and with the described 1st continuous i-1 of position detection device
The detecting distance that individual position detection device detects is less than or equal to predetermined threshold value, or, only described n-th
Position detection device and with described nth position detection the continuous i-1 position detection device of device detect
Detecting distance be less than or equal to predetermined threshold value it is determined that the number of the position detection device being blocked described in going out
It is i.
Further, as shown in figure 5, described device 30 also includes:
Computing unit 304, for calculating the first meansigma methodss of n detecting distance of described acquisition.
Described determining unit 302, if the first meansigma methodss being additionally operable to n detecting distance of described acquisition are less than
Or it is equal to predetermined threshold value it is determined that described predetermined threshold value.
Further, described determining unit 302 specifically for:
Obtain the maximum detecting distance of preservation;
Preserve maximum detecting distance in n detecting distance of described acquisition;
Calculate maximum detecting distance in the maximum detecting distance of preservation and n detecting distance of described acquisition
The second meansigma methodss;
Update predetermined threshold value with described second meansigma methodss.
Further, the initial value of described predetermined threshold value is 1mm.
Further, as shown in figure 5, described device also includes:
Signal generating unit 305, for the number of position detection device that is blocked described in generating and audio frequency parameter
Corresponding relation.
Arranging unit 306, for arranging initial audio parameter.
In actual applications, described acquiring unit 301, determining unit 302, adjustment unit 303, calculating are single
Unit 304, signal generating unit 305 and arranging unit 306 all can be by the central processing unit (central in terminal
Processing unit, cpu), microprocessor (micro processor unit, mpu), at digital signal
Reason device (digital signal processor, dsp) or field programmable gate array (field programmable
Gate array, fpga) etc. realize.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can using hardware embodiment, software implementation or combine software and
The form of the embodiment of hardware aspect.And, the present invention can adopt and wherein include calculating one or more
Computer-usable storage medium (including but not limited to disk memory and the optical storage of machine usable program code
Device etc.) the upper computer program implemented form.
The present invention is with reference to method according to embodiments of the present invention, equipment (system) and computer program
Flow chart and/or block diagram describing.It should be understood that can be by computer program instructions flowchart and/or side
Each flow process in block diagram and/or the knot of the flow process in square frame and flow chart and/or block diagram and/or square frame
Close.Can provide these computer program instructions to general purpose computer, special-purpose computer, Embedded Processor or
The processor of other programmable data processing device with produce a machine so that by computer or other can
The instruction of the computing device of programming data processing equipment produces for realizing in one flow process or multiple of flow chart
The device of the function of specifying in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device
So that being stored in this computer-readable memory in the computer-readable memory working in a specific way
Instruction produces the manufacture including command device, and this command device is realized in one flow process of flow chart or multiple stream
The function of specifying in journey and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Obtain and series of operation steps executed on computer or other programmable devices to produce computer implemented process,
Thus the instruction of execution is provided for realizing in one flow process of flow chart on computer or other programmable devices
Or the step of the function of specifying in multiple flow process and/or one square frame of block diagram or multiple square frame.
The above, only presently preferred embodiments of the present invention, it is not intended to limit the protection model of the present invention
Enclose.
Claims (12)
1. a kind of parameter regulation means are it is characterised in that be applied to parameter adjustment controls, described parameter adjustment
The sound mouth surrounding of device is disposed with n position detection device, and methods described includes:
Obtain n detecting distance, described detecting distance is that described n position detection device detects respectively
Away from the distance of shelter, described n is positive integer;
According to the n detecting distance obtaining, determine, from described n position detection device, the position being blocked
Put number i of detection device, described i is less than or equal to the positive integer of described n;
Number according to the position detection device being blocked and the corresponding relation of audio frequency parameter, will be currently used
Audio frequency parameter is adjusted to audio frequency parameter corresponding with described i.
2. method according to claim 1 is it is characterised in that in described n position detection device
1 position detection device and nth position detection device are respectively arranged at the length direction along described sound mouth
Both sides;
The described n detecting distance according to acquisition, determines from described n position detection device and is blocked
Number i of position detection device include:
If only described 1st position detection device and with the described 1st continuous i-1 of position detection device
The detecting distance that individual position detection device detects is less than or equal to predetermined threshold value, or, only described n-th
Position detection device and with described nth position detection the continuous i-1 position detection device of device detect
Detecting distance be less than or equal to predetermined threshold value it is determined that the number of the position detection device being blocked described in going out
It is i.
3. method according to claim 2 it is characterised in that described determine described in the position that is blocked
Put before detecting that the number of device is i, methods described also includes: calculate n detecting distance of described acquisition
The first meansigma methodss;
If the first meansigma methodss of n detecting distance of described acquisition are less than or equal to predetermined threshold value it is determined that institute
State predetermined threshold value.
4. method according to claim 3 is it is characterised in that the described predetermined threshold value of described determination includes:
Obtain the maximum detecting distance of preservation;
Preserve maximum detecting distance in n detecting distance of described acquisition;
Calculate maximum detecting distance in the maximum detecting distance of preservation and n detecting distance of described acquisition
The second meansigma methodss;
Update predetermined threshold value with described second meansigma methodss.
5. method according to claim 4 is it is characterised in that the initial value of described predetermined threshold value is
1mm.
6. the method according to any one of claim 1 to 5 is it is characterised in that in described acquisition n
Before individual detecting distance, methods described also includes:
The number of the position detection device being blocked described in generation and the corresponding relation of audio frequency parameter;
Setting initial audio parameter.
7. a kind of parameter adjustment controls it is characterised in that the sound mouth surrounding of described parameter adjustment controls successively
It is provided with n position detection device, described device includes:
Acquiring unit, for obtaining described n detecting distance, described detecting distance is the inspection of described n position
Survey the distance away from shelter that device detects respectively, described n is positive integer;
Determining unit, for according to the n detecting distance obtaining, true from described n position detection device
Make number i of the position detection device being blocked, described i is less than or equal to the positive integer of described n;
Adjustment unit, for the corresponding relation of the number according to the position detection device being blocked and audio frequency parameter,
The frequency parameter adjustment that current sound is used is audio frequency parameter corresponding with described i.
8. device according to claim 7 is it is characterised in that in described n position detection device
1 position detection device and nth position detection device are respectively arranged at the length direction along described sound mouth
Both sides;
Described determining unit specifically for:
If only described 1st position detection device and with the described 1st continuous i-1 of position detection device
The detecting distance that individual position detection device detects is less than or equal to predetermined threshold value, or, only described n-th
Position detection device and with described nth position detection the continuous i-1 position detection device of device detect
Detecting distance be less than or equal to predetermined threshold value it is determined that the number of the position detection device being blocked described in going out
It is i.
9. device according to claim 8 is it is characterised in that described device also includes:
Computing unit, for calculating the first meansigma methodss of n detecting distance of described acquisition;
Described determining unit, if the first meansigma methodss being additionally operable to n detecting distance of described acquisition are less than or wait
In predetermined threshold value it is determined that described predetermined threshold value.
10. device according to claim 9 it is characterised in that described determining unit specifically for:
Obtain the maximum detecting distance of preservation;
Preserve maximum detecting distance in n detecting distance of described acquisition;
Calculate maximum detecting distance in the maximum detecting distance of preservation and n detecting distance of described acquisition
The second meansigma methodss;
Update predetermined threshold value with described second meansigma methodss.
11. devices according to claim 10 are it is characterised in that the initial value of described predetermined threshold value is
1mm.
12. devices according to any one of claim 7 to 11 are it is characterised in that described device includes:
Signal generating unit, the number of the position detection device for being blocked described in generating is corresponding with audio frequency parameter
Relation;
Arranging unit, for arranging initial audio parameter.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510394511.0A CN106339068A (en) | 2015-07-07 | 2015-07-07 | Method and device for adjusting parameters |
PCT/CN2015/089081 WO2017004881A1 (en) | 2015-07-07 | 2015-09-07 | Parameter adjustment method, device and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510394511.0A CN106339068A (en) | 2015-07-07 | 2015-07-07 | Method and device for adjusting parameters |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106339068A true CN106339068A (en) | 2017-01-18 |
Family
ID=57684629
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510394511.0A Pending CN106339068A (en) | 2015-07-07 | 2015-07-07 | Method and device for adjusting parameters |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106339068A (en) |
WO (1) | WO2017004881A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109257668A (en) * | 2018-08-21 | 2019-01-22 | 广东思派康电子科技有限公司 | A kind of speaker and its computer readable storage medium of self adaptive control audio |
CN111147982A (en) * | 2019-12-27 | 2020-05-12 | 宇龙计算机通信科技(深圳)有限公司 | Audio playing method and device, storage medium and terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1936481A1 (en) * | 2006-12-22 | 2008-06-25 | Xelion B.V. | Menu in a user interface |
CN102438188A (en) * | 2010-09-29 | 2012-05-02 | 宏达国际电子股份有限公司 | Movable electronic device and sound playing method thereof |
CN103517178A (en) * | 2012-06-26 | 2014-01-15 | 联想(北京)有限公司 | Method, device and electronic apparatus for audio frequency regulation |
TWI440367B (en) * | 2010-03-31 | 2014-06-01 | Merry Electronics Co Ltd | Earphone device with sound quality adjustment function and adjusting method thereof |
CN104079248A (en) * | 2014-06-27 | 2014-10-01 | 联想(北京)有限公司 | Information processing method and electronic device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
IL134979A (en) * | 2000-03-09 | 2004-02-19 | Be4 Ltd | System and method for optimization of three-dimensional audio |
JP4501759B2 (en) * | 2005-04-18 | 2010-07-14 | 船井電機株式会社 | Voice controller |
US9100748B2 (en) * | 2007-05-04 | 2015-08-04 | Bose Corporation | System and method for directionally radiating sound |
JP5894979B2 (en) * | 2010-05-20 | 2016-03-30 | コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. | Distance estimation using speech signals |
-
2015
- 2015-07-07 CN CN201510394511.0A patent/CN106339068A/en active Pending
- 2015-09-07 WO PCT/CN2015/089081 patent/WO2017004881A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1936481A1 (en) * | 2006-12-22 | 2008-06-25 | Xelion B.V. | Menu in a user interface |
TWI440367B (en) * | 2010-03-31 | 2014-06-01 | Merry Electronics Co Ltd | Earphone device with sound quality adjustment function and adjusting method thereof |
CN102438188A (en) * | 2010-09-29 | 2012-05-02 | 宏达国际电子股份有限公司 | Movable electronic device and sound playing method thereof |
CN103517178A (en) * | 2012-06-26 | 2014-01-15 | 联想(北京)有限公司 | Method, device and electronic apparatus for audio frequency regulation |
CN104079248A (en) * | 2014-06-27 | 2014-10-01 | 联想(北京)有限公司 | Information processing method and electronic device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109257668A (en) * | 2018-08-21 | 2019-01-22 | 广东思派康电子科技有限公司 | A kind of speaker and its computer readable storage medium of self adaptive control audio |
CN111147982A (en) * | 2019-12-27 | 2020-05-12 | 宇龙计算机通信科技(深圳)有限公司 | Audio playing method and device, storage medium and terminal |
CN111147982B (en) * | 2019-12-27 | 2021-12-21 | 宇龙计算机通信科技(深圳)有限公司 | Audio playing method and device, storage medium and terminal |
Also Published As
Publication number | Publication date |
---|---|
WO2017004881A1 (en) | 2017-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200357415A1 (en) | Magnetic detection of replay attack | |
CN106664490B (en) | Monophonic or multichannel audio control interface | |
KR102067019B1 (en) | Apparatus and method for controlling charging path of mobile terminal | |
CN107071648B (en) | Sound playing adjusting system, device and method | |
CN106331371A (en) | Volume adjustment method and mobile terminal | |
CN105228041B (en) | A kind of information processing method and audio output device | |
CN104393848B (en) | Volume adjusting method and device | |
US11482237B2 (en) | Method and terminal for reconstructing speech signal, and computer storage medium | |
US20160174011A1 (en) | Automatic audio adjustment balance | |
CN108495142A (en) | Method for video coding and device | |
CN104021148B (en) | Method and device for adjusting sound effect | |
CN105144746A (en) | Room and program responsive loudspeaker system | |
CN106612482A (en) | Method for adjusting audio parameter and mobile terminal | |
EP2693721A2 (en) | Mobile apparatus and control method thereof | |
CN108052261A (en) | Record screen method, apparatus and terminal | |
US20160302155A1 (en) | Mobile device environment detection using an audio sensor and a reference signal | |
CN110175014A (en) | A kind of wireless headset method for controlling volume, system and wireless headset and storage medium | |
CN111314560A (en) | Method for adjusting sound loudness and communication terminal | |
CN106998521A (en) | speaker control method, device and terminal device | |
CN111988458A (en) | Call privacy protection method, terminal device and storage medium | |
CN107147794A (en) | The switching method and device of audio pattern | |
CN106339068A (en) | Method and device for adjusting parameters | |
CN107016990B (en) | Audio signal generation method and device | |
CN107077838B (en) | Earphone mixing active noise is eliminated and noise compensation | |
KR20130064791A (en) | Audio control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20170118 |
|
RJ01 | Rejection of invention patent application after publication |