CN104898836B - A kind of rotating camera adjusting method and user terminal - Google Patents
A kind of rotating camera adjusting method and user terminal Download PDFInfo
- Publication number
- CN104898836B CN104898836B CN201510260809.2A CN201510260809A CN104898836B CN 104898836 B CN104898836 B CN 104898836B CN 201510260809 A CN201510260809 A CN 201510260809A CN 104898836 B CN104898836 B CN 104898836B
- Authority
- CN
- China
- Prior art keywords
- camera
- sound
- value
- target person
- standard pronunciation
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000001514 detection method Methods 0.000 claims description 29
- 230000005540 biological transmission Effects 0.000 claims description 27
- 108010001267 Protein Subunits Proteins 0.000 claims 1
- 230000001976 improved effect Effects 0.000 abstract description 3
- 230000002207 retinal effect Effects 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 4
- 238000005457 optimization Methods 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000004904 shortening Methods 0.000 description 3
- 244000078534 Vaccinium myrtillus Species 0.000 description 2
- 230000000052 comparative effect Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000011038 discontinuous diafiltration by volume reduction Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 235000017848 Rubus fruticosus Nutrition 0.000 description 1
- 235000003095 Vaccinium corymbosum Nutrition 0.000 description 1
- 235000017537 Vaccinium myrtillus Nutrition 0.000 description 1
- 235000021029 blackberry Nutrition 0.000 description 1
- 235000021014 blueberries Nutrition 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Circuit For Audible Band Transducer (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of rotating camera adjusting method and user terminal.Wherein, this method includes:Open camera;Detect the current distance of the camera and target person;Detect volume value corresponding to the current distance;Judge whether the volume value matches with standard pronunciation value, if mismatched, the current distance is adjusted to distance value corresponding to the standard pronunciation value.The audibility of sound can be improved by implementing the embodiment of the present invention.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of rotating camera adjusting method and user terminal.
Background technology
With the continuous development of electronic technology, it is configured with increasing user terminal (such as mobile phone, tablet personal computer)
Rotating camera, user can be rotated by gesture control camera, and then adjust shooting visual angle in real time.At present, rotation shooting
Microphone is also configured with head, user can combine the picture that microphone shoots sound.Found in practice, sound is in air
During middle propagation, the volume of sound source can decay with the increase of propagation distance, when camera and target person it is distant when,
The sound that microphone receives is with regard to very little;When camera and target person it is closer to the distance when, the sound that microphone receives is just
Very big, too loudly or sound is too small, can influence audibility.
The content of the invention
The embodiments of the invention provide a kind of rotating camera adjusting method and user terminal, listening to for sound can be improved
Effect.
First aspect of the embodiment of the present invention discloses a kind of rotating camera adjusting method, including:
Open camera;
Detect the current distance of the camera and target person;
Detect volume value corresponding to the current distance;
Judge whether the volume value matches with standard pronunciation value, if mismatch, by the current distance adjust to
Distance value corresponding to the standard pronunciation value.
Second aspect of the embodiment of the present invention discloses a kind of user terminal, including:
Opening unit, for opening camera;
First detection unit, for detecting the current distance of the camera and target person;
Second detection unit, for detecting volume value corresponding to the current distance;
Adjustment unit, for judging whether the volume value matches with standard pronunciation value, if mismatched, described it will work as
Front distance is adjusted to distance value corresponding to the standard pronunciation value.
In the embodiment of the present invention, user terminal opens camera, and detects the current distance of camera and target person, with
And volume value corresponding to detection current distance, further, judge whether volume value matches with standard pronunciation value, if not
Match somebody with somebody, current distance is adjusted to distance value corresponding to standard pronunciation value.By the embodiment of the present invention, no matter camera and target person
The distance of the current distance of thing, user terminal after judging that volume value corresponding to current distance and standard pronunciation value mismatch,
Current distance can be adjusted to distance value corresponding to standard pronunciation value, so, user's can is listened to being best suitable for ear
Standard pronunciation value listen to the sound, so as to improving the audibility of sound.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of schematic flow sheet of rotating camera adjusting method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another rotating camera adjusting method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another rotating camera adjusting method disclosed in the embodiment of the present invention;
Fig. 4 is a kind of structural representation of user terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another user terminal disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another user terminal disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of another user terminal disclosed in the embodiment of the present invention.
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 clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of rotating camera adjusting method and user terminal, listening to for sound can be improved
Effect.It is described in detail individually below.
In the embodiment of the present invention, user terminal can include but is not limited to smart mobile phone, tablet personal computer, notebook computer,
Palm PC and any device with rotating camera.Wherein, the operating system of the user terminal may include but be not limited to
Android operation system, IOS, Symbian (Saipan) operating system, Black Berry (blackberry, blueberry) operating system,
Windows Phone8 operating systems etc., the embodiment of the present invention does not limit.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow sheet of rotating camera adjusting method disclosed in the embodiment of the present invention.
As shown in figure 1, this method may comprise steps of:
S101, open camera.
As an alternative embodiment, the embodiment that user terminal opens camera can include following step
Suddenly:
11) camera open command is received;
12) camera open command is responded, opens camera.
In this embodiment, the camera open command can be that user operates the camera unlatching that target button is triggered
Instruction, or, the camera open command is the camera open command that user terminal automatically generates, such as:In special time
Point automatically generates camera open command.Wherein, the target button can be provided in the mechanical key with user terminal,
The software key icon that the application software of user terminal is shown in the display interface of user terminal is either loaded into, the present invention is real
Example is applied not limit.
In this embodiment, if the target button is volume key, user can be used by pressing simultaneously for increasing
The volume increase key of family terminal volume and the volume reduction key for reducing user terminal volume are opened with triggering generation camera
Instruction;Or user can increase key with Continued depression volume, when user is for the duration of the pressing operation of volume increase key
During more than the preset time threshold pre-set, triggering is generated into camera open command;Or user can be with Continued depression sound
Amount reduces key, when user exceedes the preset time threshold pre-set for the duration of the pressing operation of volume reduction key
When, triggering is generated into camera open command, the embodiment of the present invention does not limit.
In this embodiment, if the target button is display of the application software in user terminal for being loaded into user terminal
The software key icon of interface display, then when user carries out touch operation to the target button, triggering generation camera is opened
Open instruction.
As another optional embodiment, above-mentioned steps 11) and embodiment 12) can include following step
Suddenly:
21) receive user and operate the camera open command that target button is triggered;
22) prompt message for prompting input information to be verified is exported;
23) information to be verified for responding the prompt message input is received;
24) verify whether the information to be verified and the default checking information pre-set are consistent;
25) when verifying that the information to be verified is consistent with the default checking information, response camera open command, open
Open camera.
In this embodiment, receive user in user terminal and operate the camera open command that is triggered of target button
Afterwards, user terminal, which will export, is used to prompt the prompt message for inputting information to be verified;And user terminal, which can export, to be used for
Input the information input port to be verified of information to be verified.
In this embodiment, the information to be verified can include but is not limited to password to be verified, finger print information to be verified,
Any one in shape of face information to be verified, iris information to be verified, retinal information to be verified and voiceprint to be verified
Or several combination.
In this embodiment, the default checking information pre-set may include but be not limited to default checking password, pre-
If checking finger print information, default checking shape of face information, default checking iris information, default checking retinal information and default testing
Demonstrate,prove any one or a few the combination in voiceprint.
In this embodiment, above-mentioned default checking information can include fingerprint string information and each fingerprint is corresponding
Input time;So correspondingly, verify whether information to be verified is consistent with default checking information may comprise steps of:
Verify whether fingerprint string is identical with the fingerprint string that default checking information includes, and the input time of identical fingerprints
Whether difference is respectively less than preset value, if checking fingerprint string is identical with the fingerprint string that default checking information includes, and identical finger
The difference of the input time of line is respectively less than preset value, then can verify that information to be verified is consistent with default checking information;Conversely,
Verify that information to be verified and default checking information are inconsistent.Wherein, by implementing the embodiment, it can prevent disabled user from existing
Camera is opened on user terminal, so as to effectively prevent user terminal from being operated wantonly by disabled user.
Optionally, in this embodiment, above-mentioned default checking information can include encrypted message and biological information (refers to
Any of line information, shape of face information, iris information, retinal information and voiceprint or several combinations), then phase
Ying Di, verify whether information to be verified is consistent with default checking information and may comprise steps of:
Whether the encrypted message and default encrypted message of checking input are identical, when the encrypted message of checking input is with presetting
Encrypted message it is identical when, verify whether the biological information of input and default biological information identical, if checking input life
Thing information is identical with default biological information, then can verify that information to be verified is consistent with default checking information;, whereas if
The biological information of checking input differs with default biological information, then can verify information to be verified and default checking information
It is inconsistent.Wherein, by implementing the embodiment, it can prevent invalid user stealing encrypted message from opening camera, so as to
Effectively to prevent user terminal from being operated wantonly by disabled user.
S102, detection camera and target person current distance.
In the embodiment of the present invention, after user terminal captures target person by the preview interface of camera, it can pass through
Built-in range sensor, measure the current distance of camera and target person.Wherein, the target person is that camera is current just
In the people of shooting.
Volume value corresponding to S103, detection current distance.
In the embodiment of the present invention, when sound is propagated in atmosphere, the energy of sound source can decline with the increase of propagation distance
Subtract, what is showed is exactly that the volume of sound can reduce with the increase of propagation distance, and propagation distance is different, the sound heard
The volume of sound also can be different, such as:Sound source volume is 50dB, and after propagation distance 3m, volume is changed into 40dB, propagation distance 6m
Afterwards, volume is changed into 34dB.
Therefore, volume value corresponding to the current distance that user terminal detects is sound source quilt after the propagation of certain distance
The volume value for the sound that the receiving module (such as microphone) of camera receives, rather than the volume value of sound source in itself, it is clear that use
Volume value corresponding to the current distance that family terminal detects is less than the volume value of sound source in itself.
As an alternative embodiment, the embodiment of volume value corresponding to user terminal detection current distance
It may comprise steps of:
31) ambient sound including the sound of target person is received;
32) according to the sound characteristic of the target person prestored, from the ambient sound received, filter out special with sound
Unmatched sound is levied, to obtain the sound of target person;
33) from the sound of target person, the volume value of the sound of target person is detected.
In this embodiment, due to the presence of target person surrounding environment sound, the sound that camera receives is except bag
Beyond the sound for including target person, in addition to ambient sound, as the noise of surrounding, the sound of other personages etc., therefore, user are whole
End needs to filter out the ambient sound of surrounding, and to obtain the sound of target person, such user terminal can is from target person
In sound, the volume value of the sound of target person is detected.
Specifically, user terminal can obtain the sound characteristic of the target person prestored, further, from reception
To ambient sound in extract the sound characteristics of all sound, filtered out from the sound characteristic of all sound of extraction and target person
The unmatched sound of sound characteristic of thing, to obtain the sound of target person, further, from the target person got
In sound, the volume value of the sound of target person is detected.
S104, judge whether volume value matches with standard pronunciation value, if mismatching, perform step S105, if matching, knot
This flow of beam.
In the embodiment of the present invention, user terminal judges whether volume value matches with standard pronunciation value, wherein, the standard pronunciation
Value can be the optimal volume value that user pre-sets, i.e., user's ear is best suitable for the volume value listened to, or, the standard pronunciation
Value is the volume value of client terminal system default setting, and the volume value of the default setting can be to be adapted to big portion under normal circumstances
The volume value for dividing people to listen to.If user terminal judges that volume value matches with standard pronunciation value, show that current volume value is exactly
Optimal volume value, user terminal need not adjust the current distance of camera and target person, if user terminal judges volume value
With standard pronunciation value mismatch, or show that current volume value is bigger than normal, or it is less than normal, user terminal need adjust camera with
The current distance of target person, so that volume value reaches standard pronunciation value.
S105, current distance adjusted to distance value corresponding to standard pronunciation value.
In the embodiment of the present invention, after user terminal judges that volume value mismatches with standard pronunciation value, user terminal is just
Current distance can be adjusted to distance value corresponding to standard pronunciation value, the volume value that such user terminal receives is just standard
Volume value, user's can hear the sound of most suitable ear.
It should be noted that in the embodiment of the present invention, microphone is arranged on camera, and microphone can be with camera one
Rotation is played, above-mentioned distance value can be understood as the distance of microphone and target person.
In the method flow described by Fig. 1, user terminal opens camera, and detects working as camera and target person
Front distance, and detection current distance corresponding to volume value, further, judge volume value whether with standard pronunciation value phase
Match somebody with somebody, if mismatched, current distance is adjusted to distance value corresponding to standard pronunciation value.By the embodiment of the present invention, no matter take the photograph
As head and the distance of the current distance of target person, user terminal is judging volume value corresponding to current distance and typical problem
After value mismatches, current distance can be adjusted to distance value corresponding to standard pronunciation value, so, user's can is with most suitable
Close the standard pronunciation value that ear is listened to and listen to the sound, so as to improving the audibility of sound.
Fig. 2 is referred to, Fig. 2 is the flow signal of another rotating camera adjusting method disclosed in the embodiment of the present invention
Figure.As shown in Fig. 2 this method may comprise steps of:
S201, user terminal open camera.
S202, user terminal detection camera and target person current distance.
Volume value corresponding to S203, user terminal detection current distance.
S204, user terminal calculate transmission range corresponding to standard pronunciation value according to the formula that volume decays with distance
r2。
In the embodiment of the present invention, the formula can be:
L2=L1-20lg(r2/r1)
Wherein, L1For volume value corresponding to current distance, L2For standard pronunciation value, r1For working as camera and target person
Front distance.
As an example it is assumed that L1=10dB, L2=16dB, r1=1m, then r can be calculated according to above-mentioned formula2=
0.5m, i.e., transmission range is 0.5m corresponding to standard pronunciation value.
S205, user terminal judge whether volume value is less than standard pronunciation value, if it is lower, determining volume value and standard pronunciation
Value mismatches.
In the embodiment of the present invention, for user terminal after volume value corresponding to current distance is detected, user terminal ought
Volume value corresponding to front distance is compared with standard pronunciation value, it would be possible to three kinds of results occur, the first:Corresponding to current distance
Volume value is less than standard pronunciation value, second:Volume value corresponding to current distance is more than standard pronunciation value, the third:Currently away from
It is equal to standard pronunciation value from corresponding volume value.If the result after relatively is the first or second, user terminal can be true
Accordatura value mismatches with standard pronunciation value, if the result after relatively is the third, user terminal can terminate this flow.Its
In, the standard pronunciation value can be the optimal volume value that user pre-sets, i.e., user's ear is best suitable for the volume value listened to, or
Person, the standard pronunciation value are the volume value of client terminal system default setting, and the volume value of the default setting can be usual feelings
The volume value for being adapted to most people to listen under condition.
In the embodiment of the present invention, when volume value corresponding to user terminal judges current distance is less than standard pronunciation value, use
Family terminal can determine that volume value corresponding to current distance mismatches with standard pronunciation value, and now, user terminal needs elongation to take the photograph
As head, so that the volume value for the sound that user terminal receives is the standard pronunciation value.
S206, user terminal elongation camera, so that camera is corresponding for standard pronunciation value with the distance of target person
Transmission range r2。
In the embodiment of the present invention, user terminal calculates standard pronunciation value according to the formula that volume decays with distance and corresponded to
Transmission range r2Less than camera and the current distance r of target person1, therefore, user terminal needs to extend camera, to subtract
The distance of small camera and target person, i.e.,:Make the distance of camera and target person for the corresponding transmission distance of standard pronunciation value
From r2。
It should be noted that in the embodiment of the present invention, microphone is arranged on camera, and microphone can be with camera one
Elongation is played, above-mentioned distance value can be understood as the distance of microphone and target person.
In the method flow described by Fig. 2, user terminal opens camera, detects the current of camera and target person
After distance, and volume value corresponding to detection current distance, transmission range corresponding to standard pronunciation value is calculated according to formula,
Further, user terminal judges whether volume value is less than standard pronunciation value, if it is lower, determining volume value and standard pronunciation value
Mismatch, and extend camera, so that the distance of camera and target person is the corresponding transmission range of standard pronunciation value.Pass through
The embodiment of the present invention, user terminal can according to corresponding to current distance volume value and standard pronunciation value comparative result, it is determined that
After volume value corresponding to current distance mismatches with standard pronunciation value, the transmission distance according to corresponding to formula calculates standard pronunciation value
From, camera is extended, so that the distance of camera and target person is the corresponding transmission range of standard pronunciation value, so, user
Can listens to the sound to be best suitable for the standard pronunciation value that ear is listened to, so as to improving the audibility of sound.
Fig. 3 is referred to, Fig. 3 is the flow signal of another rotating camera adjusting method disclosed in the embodiment of the present invention
Figure.As shown in figure 3, this method may comprise steps of:
S301, user terminal open camera.
S302, user terminal detection camera and target person current distance.
Volume value corresponding to S303, user terminal detection current distance.
S304, user terminal calculate transmission range corresponding to standard pronunciation value according to the formula that volume decays with distance
r2。
In the embodiment of the present invention, the formula can be:
L2=L1-20lg(r2/r1)
Wherein, L1For volume value corresponding to current distance, L2For standard pronunciation value, r1For working as camera and target person
Front distance.
As an example it is assumed that L1=16dB, L2=10dB, r1=0.5m, then r can be calculated according to above-mentioned formula2=
1m, i.e., transmission range is 1m corresponding to standard pronunciation value.
S305, user terminal judge whether volume value is less than standard pronunciation value, if it does, determining volume value and standard pronunciation
Value mismatches.
In the embodiment of the present invention, for user terminal after volume value corresponding to current distance is detected, user terminal ought
Volume value corresponding to front distance is compared with standard pronunciation value, it would be possible to three kinds of results occur, the first:Corresponding to current distance
Volume value is less than standard pronunciation value, second:Volume value corresponding to current distance is more than standard pronunciation value, the third:Currently away from
It is equal to standard pronunciation value from corresponding volume value.If the result after relatively is the first or second, user terminal can be true
Accordatura value mismatches with standard pronunciation value, if the result after relatively is the third, user terminal can terminate this flow.Its
In, the standard pronunciation value can be the optimal volume value that user pre-sets, i.e., user's ear is best suitable for the volume value listened to, or
Person, the standard pronunciation value are the volume value of client terminal system default setting, and the volume value of the default setting can be usual feelings
The volume value for being adapted to most people to listen under condition.
In the embodiment of the present invention, when volume value corresponding to user terminal judges current distance is more than standard pronunciation value, use
Family terminal can determine that volume value corresponding to current distance mismatches with standard pronunciation value, and now, user terminal needs shortening to take the photograph
As head, so that the volume value for the sound that user terminal receives is the standard pronunciation value.
S306, user terminal shorten camera, so that camera is corresponding for standard pronunciation value with the distance of target person
Transmission range r2。
In the embodiment of the present invention, user terminal calculates standard pronunciation value according to the formula that volume decays with distance and corresponded to
Transmission range r2More than camera and the current distance r of target person1, therefore, user terminal needs to shorten camera, to increase
The distance of big camera and target person, i.e.,:Make the distance of camera and target person for the corresponding transmission distance of standard pronunciation value
From r2。
It should be noted that in the embodiment of the present invention, microphone is arranged on camera, and microphone can be with camera one
Rise and shorten, above-mentioned distance value can be understood as the distance of microphone and target person.
In the method flow described by Fig. 3, user terminal opens camera, detects the current of camera and target person
After distance, and volume value corresponding to detection current distance, transmission range corresponding to standard pronunciation value is calculated according to formula,
Further, user terminal judges whether volume value is less than standard pronunciation value, if it does, determining volume value and standard pronunciation value
Mismatch, and shorten camera, so that the distance of camera and target person is the corresponding transmission range of standard pronunciation value.Pass through
The embodiment of the present invention, user terminal can according to corresponding to current distance volume value and standard pronunciation value comparative result, it is determined that
After volume value corresponding to current distance mismatches with standard pronunciation value, the transmission distance according to corresponding to formula calculates standard pronunciation value
From, shorten camera, so that the distance of camera and target person is the corresponding transmission range of standard pronunciation value, so, user
Can listens to the sound to be best suitable for the standard pronunciation value that ear is listened to, so as to improving the audibility of sound.
It is apparatus of the present invention embodiment below, apparatus of the present invention embodiment is used to perform the side in the inventive method embodiment
Method, for convenience of description, the part related to the embodiment of the present invention is illustrate only, particular technique details is not disclosed, refer to
Above method embodiment of the present invention.
Fig. 4 is referred to, Fig. 4 is a kind of structural representation of user terminal disclosed in the embodiment of the present invention, as shown in figure 4,
The user terminal 400 can include:Opening unit 401, the first detection unit 402, the second detection unit 403 and adjustment unit
404, wherein:
Opening unit 401, for opening camera.
First detection unit 402, for detecting the current distance of camera and target person.
In the embodiment of the present invention, after user terminal captures target person by the preview interface of camera, the first detection
Unit 402 by built-in range sensor, can measure the current distance of camera and target person.Wherein, the target person
Thing is the people that camera is currently being shot.
Second detection unit 403, for detecting volume value corresponding to current distance.
In the embodiment of the present invention, when sound is propagated in atmosphere, the energy of sound source can decline with the increase of propagation distance
Subtract, what is showed is exactly that the volume of sound can reduce with the increase of propagation distance, and propagation distance is different, the sound heard
The volume of sound also can be different, such as:Sound source volume is 50dB, and after propagation distance 3m, volume is changed into 40dB, propagation distance 6m
Afterwards, volume is changed into 34dB.
Therefore, volume value corresponding to the current distance that the second detection unit 403 detects is sound source by certain distance
The volume value of the sound received after propagation by the receiving module (such as microphone) of camera, rather than the volume of sound source in itself
Value, it is clear that volume value corresponding to the current distance that the second detection unit 403 detects is less than the volume value of sound source in itself.
Adjustment unit 404, for judging whether volume value matches with standard pronunciation value, if mismatched, will currently away from
From adjusting to distance value corresponding to standard pronunciation value.
In the embodiment of the present invention, adjustment unit 404 judges whether volume value matches with standard pronunciation value, wherein, the mark
Quasi- volume value can be the optimal volume value that user pre-sets, i.e., user's ear is best suitable for the volume value listened to, or, the mark
Quasi- volume value is the volume value of client terminal system default setting, and the volume value of the default setting can be to be adapted under normal circumstances
The volume value that most people listen to.If adjustment unit 404 judges that volume value matches with standard pronunciation value, show current volume
Value is exactly optimal volume value, and user terminal need not adjust the current distance of camera and target person, if adjustment unit 404 is sentenced
Staccato value mismatches with standard pronunciation value, or showing that current volume value is bigger than normal, or less than normal, user terminal needs to adjust
The current distance of camera and target person, so that volume value reaches standard pronunciation value.
Fig. 5 is referred to, Fig. 5 is the structural representation of another user terminal disclosed in the embodiment of the present invention, wherein, Fig. 5
Further optimization obtains shown user terminal on the basis of user terminal shown in Fig. 4, with the user terminal shown in Fig. 4
Compare, the user terminal shown in Fig. 5 is in addition to all units including user terminal shown in Fig. 4, the adjustment unit shown in Fig. 5
404 can include:
Computation subunit 4041, the formula for decaying according to volume with distance calculate biography corresponding to standard pronunciation value
Defeated distance r2, wherein, formula is:
L2=L1-20lg(r2/r1)
Wherein, L1For volume value corresponding to current distance, L2For standard pronunciation value, r1For working as camera and target person
Front distance;
Judgment sub-unit 4042, for judging whether volume value is less than standard pronunciation value.
In the embodiment of the present invention, the second detection unit 403 judges son after volume value corresponding to current distance is detected
Unit 4042 is by volume value corresponding to current distance compared with standard pronunciation value, it would be possible to three kinds of results occur, the first:When
Volume value corresponding to front distance is less than standard pronunciation value, second:Volume value corresponding to current distance is more than standard pronunciation value, the
Three kinds:Volume value corresponding to current distance is equal to standard pronunciation value., can be with if the result after relatively is the first or second
Determine that volume value mismatches with standard pronunciation value, if the result after relatively is the third, user terminal can terminate this flow.
Wherein, the standard pronunciation value can be the optimal volume value that user pre-sets, i.e. user's ear is best suitable for the volume value listened to,
Or the volume value that the standard pronunciation value is client terminal system default setting, the volume value of the default setting can be usual
In the case of be adapted to most people listen to volume value.
Subelement 4043 is extended, for when judgment sub-unit 4042 judges that the volume value is less than standard pronunciation value, really
The fixed volume value mismatches with standard pronunciation value, camera is extended, so that the distance of camera and target person is standard pronunciation
Transmission range r corresponding to value2。
In the embodiment of the present invention, when judgment sub-unit 4042 judges that volume value corresponding to current distance is less than standard pronunciation value
When, determine that volume value corresponding to current distance mismatches with standard pronunciation value, now, elongation subelement 4043 needs to extend shooting
Head, so that the volume value for the sound that user terminal receives is the standard pronunciation value.
In the embodiment of the present invention, computation subunit 4041 calculates typical problem according to the formula that volume decays with distance
Transmission range r corresponding to value2Less than camera and the current distance r of target person1, therefore, elongation subelement 4043 needs to extend
Camera, to reduce the distance of camera and target person, i.e.,:It is standard pronunciation value pair to make the distance of camera and target person
The transmission range r answered2。
It should be noted that in the embodiment of the present invention, microphone is arranged on camera, and microphone can be with camera one
Elongation is played, above-mentioned distance value can be understood as the distance of microphone and target person.
As an alternative embodiment, the adjustment unit 404 shown in Fig. 5 can also include:Shorten subelement 4044,
Wherein:
Shorten subelement 4044, for judging that the volume value is more than standard pronunciation value in the judgment sub-unit 4042
When, determine that the volume value mismatches with standard pronunciation value, shorten the camera, so that the camera and the target person
The distance of thing is transmission range r corresponding to the standard pronunciation value2。
In the embodiment of the present invention, when judgment sub-unit 4042 judges that volume value corresponding to current distance is more than standard pronunciation value
When, determine that volume value corresponding to current distance mismatches with standard pronunciation value, now, shortening subelement 4044 needs to shorten shooting
Head, so that the volume value for the sound that user terminal receives is the standard pronunciation value.
In the embodiment of the present invention, computation subunit 4041 calculates typical problem according to the formula that volume decays with distance
Transmission range r corresponding to value2More than camera and the current distance r of target person1, therefore, shortening subelement 4044 needs to shorten
Camera, to increase the distance of camera and target person, i.e.,:It is standard pronunciation value pair to make the distance of camera and target person
The transmission range r answered2。
It should be noted that in the embodiment of the present invention, microphone is arranged on camera, and microphone can be with camera one
Rise and shorten, above-mentioned distance value can be understood as the distance of microphone and target person.
Fig. 6 is referred to, Fig. 6 is the structural representation of another user terminal disclosed in the embodiment of the present invention, wherein, Fig. 6
Further optimization obtains shown user terminal on the basis of user terminal shown in Fig. 4, with the user terminal shown in Fig. 4
Compare, for the user terminal shown in Fig. 6 in addition to all units including user terminal shown in Fig. 4, the second detection shown in Fig. 6 is single
Member 403 can include:
Sound receiving subelement 4031, for receiving the ambient sound including the sound of target person;
Subelement 4032 is filtered out, for the sound characteristic according to the target person prestored, from the ambient sound received
In sound, filter out with the unmatched sound of sound characteristic, to obtain the sound of target person;
Detection sub-unit 4033, the volume value of the sound for from the sound of target person, detecting target person.
In this embodiment, because the presence of target person surrounding environment sound, sound receiving subelement 4031 receive
Sound in addition to the sound including target person, in addition to ambient sound, such as the noise of surrounding, the sound of other personages
Deng therefore, filtering out subelement 4032 needs to filter out the ambient sound of surrounding, to obtain the sound of target person, so detects sub
The can of unit 4033 detects the volume value of the sound of target person from the sound of target person.
Specifically, user terminal can obtain the sound characteristic of the target person prestored, further, from sound
The sound characteristic of all sound is extracted in the ambient sound that receiving subelement 4031 receives, filters out subelement 4032 from extraction
Filtered out in the sound characteristic of all sound with the unmatched sound of the sound characteristic of target person, to obtain the sound of target person
Sound, further, detection sub-unit 4033 detect the sound of the sound of target person from the sound of the target person got
Value.
Fig. 7 is referred to, Fig. 7 is the structural representation of another user terminal disclosed in the embodiment of the present invention, wherein, Fig. 7
Further optimization obtains shown user terminal on the basis of user terminal shown in Fig. 4, with the user terminal shown in Fig. 4
Compare, the user terminal shown in Fig. 7 is in addition to all units including user terminal shown in Fig. 4, the opening unit shown in Fig. 7
401 can include:
Receiving subelement 4011, for receiving camera open command;
Subelement 4012 is exported, is used to prompt the prompt message for inputting information to be verified for exporting;
Above-mentioned receiving subelement 4011, it is additionally operable to receive the information to be verified of response prompt message input;
Subelement 4013 is verified, for verifying whether information to be verified and the default checking information pre-set are consistent;
Subelement 4014 is opened, for when verifying that information to be verified is consistent with default checking information, response camera to be opened
Instruction is opened, opens camera.
In this embodiment, receiving subelement 4011 can receive the camera that user's operation target button is triggered and open
Instruction is opened, after camera open command is received, output subelement 4012, which will export, to be used to prompt to input information to be verified
Prompt message;And information input port to be verified for inputting information to be verified can be exported by exporting subelement 4012.
In this embodiment, the information to be verified can include but is not limited to password to be verified, finger print information to be verified,
Any one in shape of face information to be verified, iris information to be verified, retinal information to be verified and voiceprint to be verified
Or several combination.
In this embodiment, the default checking information pre-set may include but be not limited to default checking password, pre-
If checking finger print information, default checking shape of face information, default checking iris information, default checking retinal information and default testing
Demonstrate,prove any one or a few the combination in voiceprint.
In this embodiment, above-mentioned default checking information can include fingerprint string information and each fingerprint is corresponding
Input time;So correspondingly, checking subelement 4013 verify whether information to be verified consistent with default checking information can be with
Comprise the following steps:
Verify whether fingerprint string is identical with the fingerprint string that default checking information includes, and the input time of identical fingerprints
Whether difference is respectively less than preset value, if checking fingerprint string is identical with the fingerprint string that default checking information includes, and identical finger
The difference of the input time of line is respectively less than preset value, then can verify that information to be verified is consistent with default checking information;Conversely,
Verify that information to be verified and default checking information are inconsistent.Wherein, by implementing the embodiment, it can prevent disabled user from existing
Camera is opened on user terminal, so as to effectively prevent user terminal from being operated wantonly by disabled user.
In the user terminal shown in Fig. 4~Fig. 7, opening unit 401 opens camera, and the first detection unit 402 detects
The current distance of camera and target person, and volume value corresponding to the second detection unit 403 detection current distance, further
Ground, adjustment unit 404 judge whether volume value matches with standard pronunciation value, if mismatched, current distance is adjusted to mark
Distance value corresponding to quasi- volume value.By the embodiment of the present invention, no matter the distance of the current distance of camera and target person, adjust
Whole unit 404 can adjust current distance after judging that volume value corresponding to current distance mismatches with standard pronunciation value
It is whole to distance value corresponding to standard pronunciation value, so, user's can is to be best suitable for standard pronunciation value that ear is listened to listen to
The sound, so as to improve the audibility of sound.
It should be noted that for foregoing each embodiment of the method, in order to be briefly described, therefore it is all expressed as to a system
The combination of actions of row, but those skilled in the art should know, the application is not limited by described sequence of movement, because
For according to the application, certain some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, involved action and unit not necessarily this Shen
Please be necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in some embodiment
Part, may refer to the associated description of other embodiment.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly
Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.
Claims (4)
- A kind of 1. rotating camera adjusting method, it is characterised in that including:Open camera;Detect the current distance of the camera and target person;Receive the ambient sound including the sound of target person;According to the sound characteristic of the target person prestored, from the ambient sound received, filter out with it is described The unmatched sound of sound characteristic, to obtain the sound of the target person;From the sound of the target person, volume value corresponding to current distance is detected;Judge whether the volume value matches with standard pronunciation value, if mismatched, the public affairs to decay according to volume with distance Formula calculates distance value r corresponding to standard pronunciation value2, wherein, the formula is:L2=L1-20lg(r2/r1)Wherein, the L1For volume value, L corresponding to the current distance2For the standard pronunciation value, r1For the camera with The current distance of the target person, the camera are shortened or extended so that the camera and target person away from From for transmission range r corresponding to the standard pronunciation value2。
- 2. according to the method for claim 1, it is characterised in that the unlatching camera includes:Receive camera open command;Export the prompt message for prompting input information to be verified;Receive the information to be verified for responding the prompt message input;Verify whether the information to be verified and the default checking information pre-set are consistent;When verifying that the information to be verified is consistent with the default checking information, camera open command is responded, opens and images Head.
- A kind of 3. user terminal, it is characterised in that including:Opening unit, for opening camera;First detection unit, for detecting the current distance of the camera and target person;Sound receiving subelement, for receiving the ambient sound including the sound of target person;Subelement is filtered out, for the sound characteristic according to the target person prestored, from the ambient sound received In sound, filter out with the unmatched sound of the sound characteristic, to obtain the sound of the target person;Detection sub-unit, for from the sound of the target person, detecting volume value corresponding to current distance;Adjustment unit, for judging whether the volume value matches with standard pronunciation value, if mismatched, according to volume with away from From and decay formula calculate transmission range r corresponding to the standard pronunciation value2, wherein, the formula is:L2=L1-20lg(r2/r1)Wherein, the L1For volume value, L corresponding to the current distance2For the standard pronunciation value, r1For the camera with The current distance of the target person, the camera is elongated or shortened, the distance of the camera and target person is adjusted For transmission range r corresponding to the standard pronunciation value2。
- 4. user terminal according to claim 3, it is characterised in that the opening unit includes:Receiving subelement, for receiving camera open command;Subelement is exported, is used to prompt the prompt message for inputting information to be verified for exporting;The receiving subelement, it is additionally operable to receive the information to be verified for responding the prompt message input;Subelement is verified, for verifying whether the information to be verified and the default checking information pre-set are consistent;Subelement is opened, for when verifying that the information to be verified is consistent with the default checking information, responding camera and opening Instruction is opened, opens camera.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711077717.6A CN107885329B (en) | 2015-05-19 | 2015-05-19 | Rotary camera adjusting method and user terminal |
CN201510260809.2A CN104898836B (en) | 2015-05-19 | 2015-05-19 | A kind of rotating camera adjusting method and user terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510260809.2A CN104898836B (en) | 2015-05-19 | 2015-05-19 | A kind of rotating camera adjusting method and user terminal |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711077717.6A Division CN107885329B (en) | 2015-05-19 | 2015-05-19 | Rotary camera adjusting method and user terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104898836A CN104898836A (en) | 2015-09-09 |
CN104898836B true CN104898836B (en) | 2017-11-24 |
Family
ID=54031540
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711077717.6A Expired - Fee Related CN107885329B (en) | 2015-05-19 | 2015-05-19 | Rotary camera adjusting method and user terminal |
CN201510260809.2A Expired - Fee Related CN104898836B (en) | 2015-05-19 | 2015-05-19 | A kind of rotating camera adjusting method and user terminal |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711077717.6A Expired - Fee Related CN107885329B (en) | 2015-05-19 | 2015-05-19 | Rotary camera adjusting method and user terminal |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN107885329B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107885329A (en) * | 2015-05-19 | 2018-04-06 | 广东欧珀移动通信有限公司 | A kind of rotating camera adjusting method and user terminal |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9851435B2 (en) * | 2015-12-14 | 2017-12-26 | Htc Corporation | Electronic device and signal generating circuit |
CN107945815B (en) | 2017-11-27 | 2021-09-07 | 歌尔科技有限公司 | Voice signal noise reduction method and device |
CN109979473A (en) * | 2019-03-29 | 2019-07-05 | 维沃移动通信有限公司 | A kind of call sound processing method and device, terminal device |
CN111104090B (en) * | 2019-12-31 | 2023-05-05 | 云知声智能科技股份有限公司 | Volume adjusting method and device |
CN114063964A (en) * | 2021-10-29 | 2022-02-18 | 歌尔科技有限公司 | Volume compensation optimization method and device, electronic equipment and readable storage medium |
CN114125138B (en) * | 2021-10-29 | 2022-11-01 | 歌尔科技有限公司 | Volume adjustment optimization method and device, electronic equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101867864A (en) * | 2009-04-16 | 2010-10-20 | 索尼公司 | Video/audio input/output system |
CN102378097A (en) * | 2010-08-25 | 2012-03-14 | 鸿富锦精密工业(深圳)有限公司 | Microphone control system and method |
CN104540015A (en) * | 2014-12-18 | 2015-04-22 | 苏州阔地网络科技有限公司 | Automatic volume adjustment method and device applied to online class system |
CN104571856A (en) * | 2014-12-17 | 2015-04-29 | 深圳市金立通信设备有限公司 | Terminal |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8608393B2 (en) * | 2010-11-15 | 2013-12-17 | DigitalOptics Corporation MEMS | Capillary actuator deployment |
KR101971697B1 (en) * | 2012-02-24 | 2019-04-23 | 삼성전자주식회사 | Method and apparatus for authenticating user using hybrid biometrics information in a user device |
CN102969003A (en) * | 2012-11-15 | 2013-03-13 | 东莞宇龙通信科技有限公司 | Image pickup sound extracting method and device |
CN104053088A (en) * | 2013-03-11 | 2014-09-17 | 联想(北京)有限公司 | Microphone array adjustment method, microphone array and electronic device |
CN107885329B (en) * | 2015-05-19 | 2021-04-16 | Oppo广东移动通信有限公司 | Rotary camera adjusting method and user terminal |
-
2015
- 2015-05-19 CN CN201711077717.6A patent/CN107885329B/en not_active Expired - Fee Related
- 2015-05-19 CN CN201510260809.2A patent/CN104898836B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101867864A (en) * | 2009-04-16 | 2010-10-20 | 索尼公司 | Video/audio input/output system |
CN102378097A (en) * | 2010-08-25 | 2012-03-14 | 鸿富锦精密工业(深圳)有限公司 | Microphone control system and method |
CN104571856A (en) * | 2014-12-17 | 2015-04-29 | 深圳市金立通信设备有限公司 | Terminal |
CN104540015A (en) * | 2014-12-18 | 2015-04-22 | 苏州阔地网络科技有限公司 | Automatic volume adjustment method and device applied to online class system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107885329A (en) * | 2015-05-19 | 2018-04-06 | 广东欧珀移动通信有限公司 | A kind of rotating camera adjusting method and user terminal |
CN107885329B (en) * | 2015-05-19 | 2021-04-16 | Oppo广东移动通信有限公司 | Rotary camera adjusting method and user terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104898836A (en) | 2015-09-09 |
CN107885329A (en) | 2018-04-06 |
CN107885329B (en) | 2021-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104898836B (en) | A kind of rotating camera adjusting method and user terminal | |
JP6649411B2 (en) | Method and apparatus for enabling a touch screen display of a mobile device | |
CN103761463B (en) | A kind of information processing method and electronic equipment | |
CN104464647B (en) | A kind of back light brightness regulating method and terminal | |
CN104850827B (en) | Fingerprint identification method and device | |
CN104094192B (en) | Audio input from user | |
CN104935718B (en) | A kind of control method and mobile terminal | |
WO2017032029A1 (en) | Method for encrypting application and user terminal | |
Wang et al. | Ghosttalk: Interactive attack on smartphone voice system through power line | |
CN107765891A (en) | The control method and microphone of a kind of microphone | |
JP2015532559A5 (en) | ||
CN105049709B (en) | A kind of big visual angle camera control method and user terminal | |
CN107580114A (en) | Biometric discrimination method, mobile terminal and computer-readable recording medium | |
CN104883509B (en) | A kind of method and terminal using taking photos by using flashlights | |
CN109413326A (en) | Camera control method and Related product | |
CN105809139A (en) | Acquisition method and device of eyeball information | |
WO2019129042A1 (en) | Dual account application switching method and related equipment | |
CN104424073A (en) | Information processing method and electronic equipment | |
CN104778416A (en) | Information hiding method and terminal | |
WO2021052181A1 (en) | Display screen control method and apparatus, electronic device and storage medium | |
WO2019015418A1 (en) | Unlocking control method and related product | |
CN108491713B (en) | Safety reminding method and electronic equipment | |
CN108038360B (en) | Operation mode switching method and mobile terminal | |
CN104796539A (en) | Terminal state control method | |
CN107784234A (en) | Privacy recognition methods and device based on ear line |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171124 |
|
CF01 | Termination of patent right due to non-payment of annual fee |