CN105657253A - Focusing method and electronic device - Google Patents

Focusing method and electronic device Download PDF

Info

Publication number
CN105657253A
CN105657253A CN201511001538.5A CN201511001538A CN105657253A CN 105657253 A CN105657253 A CN 105657253A CN 201511001538 A CN201511001538 A CN 201511001538A CN 105657253 A CN105657253 A CN 105657253A
Authority
CN
China
Prior art keywords
sound
sound source
signal
sound signal
determined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201511001538.5A
Other languages
Chinese (zh)
Other versions
CN105657253B (en
Inventor
黄文娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201511001538.5A priority Critical patent/CN105657253B/en
Publication of CN105657253A publication Critical patent/CN105657253A/en
Application granted granted Critical
Publication of CN105657253B publication Critical patent/CN105657253B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Abstract

The invention discloses a focusing method, which is applied to an electronic device with an image collection unit and is used for solving the technical problem that the accuracy of the focusing mode of the electronic equipment is relatively low. The method comprises the following steps: obtaining a first sound signal; determining the position of a sound source that emits the first sound signal; and controlling the image collection unit to focus based on the determined position of the sound source. The invention further discloses a corresponding electronic device.

Description

A kind of focusing method and electronics
Technical field
The present invention relates to field of computer technology, in particular to one focusing method and electronics.
Background technology
At present, electronics is when carrying out image and gather, the general mode adopting auto-focusing or manually focusing, such as, camera alignment is needed landscape or the personage of collection by user, by photographic camera automatically or by user manually according to the clear degree adjusting focal length of landscape or personage, and then shoot comparatively clear photograph. At present; no matter it is manually focus or auto-focusing; its ultimate principle is all the ultimate principle based on optical focusing; but, according to auto-focusing, the focus obtained usually can be caused not to be the focus that user expects; or; according to manual focusing, operation user is comparatively loaded down with trivial details, and user may because the various reasons such as hand shaking cause obtaining the rational focus of comparison.
Visible, in prior art, the focusing mode accuracy of electronics is lower, not rationally.
Summary of the invention
The application provides a kind of focusing method and electronics, for the technical problem that to solve the focusing mode accuracy of electronics lower.
First aspect, it is provided that a kind of focusing method, comprising:
Obtain first sound sound signal;
Determine to send the position of the sound source of described first sound sound signal;
Control described image acquisition units to focus based on the position of determined described sound source.
Optionally, control described image acquisition units and focus based on the position of determined described sound source, comprising:
Using the position of determined described sound source as focus, control described image acquisition units and focus according to described focus.
Optionally,
Before determining to send the position of the sound source of described first sound sound signal, also comprise:
Judge that whether described first sound sound signal is consistent with preset sound signal;
Determine to send the position of the sound source of described first sound sound signal, comprising:
If described first sound sound signal is consistent with described preset sound signal, it is determined that send the position of the sound source of described first sound sound signal.
Optionally, it is determined that send the position of the sound source of described first sound sound signal, comprising:
According to described first sound sound signal, it is determined that first party is to, and the distance determined between described sound source and described image acquisition units; Wherein, described first party is to the direction for pointing to described sound source from described image acquisition units;
According to described first party to and described distance, it is determined that the position of described sound source.
Optionally, it is determined that first party to, comprising:
Obtain the intensity of described first sound sound signal;
Determine the position of the maximum intensity of described first sound sound signal;
The direction pointing to the position of described maximum intensity from described image acquisition units is defined as described first party to.
Optionally, it is determined that the distance between described sound source and described image acquisition units, comprising:
Energy according to described first sound sound signal and preset energy, it is determined that the distance between described sound source and described image acquisition units; Wherein, described preset energy is the described sound source of setting energy when sounding.
Optionally, it is determined that the distance between described sound source and described image acquisition units, comprising:
To described first party to sending second sound signal;
Receive the feedback signal for described second sound signal that described sound source sends;
Energy according to described feedback signal, it is determined that the distance between described sound source and described image acquisition units.
Second aspect, it is provided that a kind of electronics, comprising:
Image acquisition units;
Sound collection unit, for obtaining first sound sound signal;
Processing unit, for determining to send the position of the sound source of described first sound sound signal; Control described image acquisition units to focus based on the position of determined described sound source.
Optionally, described processing unit is used for:
Using the position of determined described sound source as focus, control described image acquisition units and focus according to described focus.
Optionally, described processing unit is used for:
Before determining to send the position of the sound source of described first sound sound signal, judge that whether described first sound sound signal is consistent with preset sound signal;
If described first sound sound signal is consistent with described preset sound signal, it is determined that send the position of the sound source of described first sound sound signal.
Optionally, described processing unit is used for:
According to described first sound sound signal, it is determined that first party is to, and the distance determined between described sound source and described image acquisition units; Wherein, described first party is to the direction for pointing to described sound source from described image acquisition units;
According to described first party to and described distance, it is determined that the position of described sound source.
Optionally, described electronics also comprises: detecting signal unit, wherein,
Described detecting signal unit, for obtaining the intensity of described first sound sound signal;
Described processing unit, for determining the position of the maximum intensity of described first sound sound signal; The direction pointing to the position of described maximum intensity from described image acquisition units is defined as described first party to.
Optionally, described processing unit is used for:
Energy according to described first sound sound signal and preset energy, it is determined that the distance between described sound source and described image acquisition units; Wherein, described preset energy is the described sound source of setting energy when sounding.
Optionally, described electronics also comprises: voice output unit, wherein,
Described voice output unit, for described first party to sending second sound signal;
Described sound collection unit, for receiving the feedback signal for described second sound signal that described sound source sends;
Described processing unit is used for, according to the energy of described feedback signal, it is determined that the distance between described sound source and described image acquisition units.
The third aspect, it is provided that a kind of electronics, comprising:
Acquisition module, for obtaining first sound sound signal;
Determination module, for determining to send the position of the sound source of described first sound sound signal;
Control module, focuses based on the position of determined described sound source for controlling described image acquisition units.
Above-mentioned one or more technical scheme in the application, at least has one or more technique effects following and advantage:
In the application, by gathering first sound sound signal, and determine to send the position of the sound source of first sound sound signal, utilize the position determined, control image acquisition units is focused, like this, when auto-focusing, the focus of electronics can be made to be in the position at user place of signal of sounding all the time, ensure that the focus that electronics obtains is the focus that user expects to a certain extent, simultaneously as far as possible, user is without the need to manual focusing, alleviate the workload of user, also improve the accuracy of focusing simultaneously so that the focus obtained is comparatively reasonable.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, it is briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 is the schema of method of focusing in the embodiment of the present invention;
Fig. 2 is the first structural representation of electronics in the embodiment of the present invention;
Fig. 3 is the 2nd kind of structural representation of electronics in the embodiment of the present invention;
Fig. 4 is the third structural representation of electronics in the embodiment of the present invention;
Fig. 5 is the first structure block diagram of electronics in the embodiment of the present invention;
Fig. 6 is the 2nd kind of structure block diagram of electronics in the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments. Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention. When not conflicting, the embodiment in the present invention and the feature in embodiment can arbitrary combination mutually. Further, although showing logical order in flow charts, but in some cases, it is possible to be different from the step shown or described by the execution of order herein.
Optionally, in the embodiment of the present invention, electronics can be Personal Computer (PersonalComputer, PC), panel computer (PortableAndroidDevice, PAD), the different electronics of mobile phone etc., this is not restricted by the embodiment of the present invention.
In addition, term "and/or" herein is only a kind of association relation describing affiliated partner, and expression can exist three kinds of relations, such as, A and/or B, it is possible to represent: Individual existence A, exists A and B simultaneously, these three kinds of situations of Individual existence B. In addition, character "/" herein, when not illustrating, general expression forward-backward correlation is to the relation liking a kind of "or".
Below in conjunction with accompanying drawing, the preferred embodiment of the present invention is described in detail.
Referring to Fig. 1, the embodiment of the present invention provides a kind of focusing method, and the flow process of the method is described below.
S101: obtain first sound sound signal.
Optionally, it is possible to obtaining first sound sound signal by arranging sound collection unit on an electronic device, such as sound collection unit can comprise microphone or other voice signal acquisition device etc., and this is not construed as limiting by the embodiment of the present invention.
Optionally, first sound sound signal can be specific speech signal, such as, and " focusing ", " hello " etc., or can also be the voice signal that user arbitrarily sends, this is not construed as limiting by the embodiment of the present invention.
S102: the position determining to send the sound source of first sound sound signal.
Optionally, electronics can set up system of coordinates, this system of coordinates such as using the position at electronics place as true origin, thus the position coordinate figure in the coordinate system that electronics can determine to send the sound source of first sound sound signal.Such as, regard electronics as true origin, the coordinate figure such as determining to send the position of the sound source of first sound sound signal is (5,5), then the right front of position at electronics of now sound source can be determined, or, the coordinate figure such as determining to send the position of the sound source of first sound sound signal is (-5,5), then the left front of position at electronics of now sound source can be determined, etc. It should be noted that, in order to more clearly describe the embodiment of the present invention, the process determining coordinate figure have ignored the height of the height of electronics and sound source, namely assume that electronics and sound source are in same plane, in system of coordinates, actual range corresponding to each unit of length can be set by one of ordinary skill in the art, such as, actual range corresponding to each unit of length in system of coordinates can be set as 1m.
Optionally, the position of sound source can also utilize parameter to determine, such as can direction of passage parameter and distance parameter determine. Such as, according to first sound sound signal can determine first party to, and the distance can determined between sound source and image acquisition units, thus according to first party to and distance between sound source and image acquisition units can determine the position of sound source, wherein, first party is to being the direction pointing to sound source from image acquisition units.
Optionally, first party represents to the deflection angle in the collection direction that can utilize image acquisition units, and such as, the collection direction of image acquisition units is the direction of image acquisition units towards region to be collected. Such as, first party is to representing with collection direction, and such as first party is to being the direction gathering left inclined 5 degree of direction. Or, first party represents to the concrete hour number in the clock and watch dish that can also utilize in life, and such as, using the center of image acquisition units as clock and watch dish, first party is to can be then 11 directions etc. Certainly, above-mentioned is only citing, one of ordinary skill in the art can according to practical situation to first party to adopting different representation, this is not construed as limiting by the embodiment of the present invention.
Optionally, distance between sound source and image acquisition units, it is possible to be relative distance, it is also possible to be absolute distance. Such as, one of ordinary skill in the art can set actual range when being 1m, and relative distance is 1 unit length, like this, if the actual range between sound source and image acquisition units is 2.5m, then relative distance between sound source and image acquisition units can be just 2.5 unit lengths. Absolute distance is the actual range between sound source and image acquisition units, if the actual range between sound source and image acquisition units is 4.76m, etc. Above-mentioned is only citing, and one of ordinary skill in the art can represent the distance between sound source and image acquisition units in different ways according to practical situation, and this is not construed as limiting by the embodiment of the present invention.
Optionally, it is possible to obtain first sound sound signal intensity, it is determined that the position of the maximum intensity of first sound sound signal, it is possible to the direction of the position maximum from image acquisition units directional intensity is defined as first party to.
Optionally, outside surface at electronics can arrange multiple sensor, for the intensity of collected sound signal, such as, (front in four orientation of electronics, after, left, right) sensor is all set, for convenience of describing, the sensor being arranged on above-mentioned four orientation is numbered respectively, it it is such as No. 1 by the sensor number being arranged on the front of electronics, it it is No. 2 by the sensor number being arranged on the rear of electronics, it it is No. 3 by the sensor number being arranged on the left side of electronics, it it is No. 4 by the sensor number being arranged on the right of electronics.Owing to the position of each sensor setting is different, the distance between each sensor from sound source is also different, and the intensity of the first sound sound signal that thus each sensor collects may also can be different. The intensity assuming the first sound sound signal that No. 1 sensor collects is 10dbm, the intensity of the first sound sound signal that No. 2 sensors collect is 5dbm, the intensity of the first sound sound signal that No. 3 sensors collect is 13dbm, the intensity of the first sound sound signal that No. 4 sensors collect is 3dbm, then the direction pointing to the position of No. 3 sensors from image acquisition units can be defined as first party to, namely first party is to the left side for electronics.
It should be noted that, for gathering the more many of the sensor setting of the intensity of first sound sound signal in electronics, the first party determined is to more accurate, but the cost of electronics entirety also can increase accordingly, therefore one of ordinary skill in the art can according to the quantity of practical situation setting sensor and position, and this is not construed as limiting by the embodiment of the present invention.
Optionally, it is determined that the mode of the distance between sound source and image acquisition units has a lot, below enumerates a few example.
First kind of way: can determine the distance between sound source and image acquisition units according to the energy of first sound sound signal and preset energy, preset energy can be the energy of the sound source set in advance when sounding.
Optionally, preset energy can be set by user, and such as, electronics can provide several alternative Energy value for user, and Energy value user selected is as preset energy.
Or, preset energy can be that the voice signal that electronics inputs according to user is determined, such as, electronics prompting user inputs a preset sound signal, obtains the energy of this preset sound signal, using the energy of acquisition as preset energy. It should be noted that, position and sound collection unit that now user sounds are nearer, can thinking that the energy that electronics obtains is exactly user when sending preset sound signal, the energy of this preset sound signal, namely can ignore the energy waste in transfer voice process.
Or, preset energy can also be set by one of ordinary skill in the art, such as, according to major part user sound signal time the average energy value, one of ordinary skill in the art can obtain empirical value, and this empirical value is set as preset energy.
Optionally, it is possible to use with determine first party to time the identical sensor that the uses distance of determining between sound source and image acquisition units. Such as, continuing for first party to the direction being the position pointing to No. 3 sensors from image acquisition units, the intensity of the first sound sound signal that No. 3 sensors collect is 13dbm. Electronics can utilize preset energy to determine first sound sound signal has decayed how many, such as, preset energy is 60dbm, then electronics determines that first sound sound signal has decayed 47dbm, electronics can determine, by energy decrement algorithm, the distance that first sound sound signal is propagated, and can determine the distance of sound source to image acquisition units.
2nd kind of mode:
Electronics can to first party to sending second sound signal, it is possible to receiving the feedback signal for second sound signal that sound source sends, electronics can determine the distance between sound source and image acquisition units according to the energy of feedback signal.
Optionally, second sound signal can be ultrasonic wave signal, common voice signal, or infrasound signal etc., electronics can utilize sonar principle, such as, electronics can launch second sound signal to first party to (i.e. the direction at sound source place), when second sound signal runs into obstacle (i.e. sound source, such as sound source is user) after, feedback signal can be produced, namely the voice signal reflected by the health of user, after electronics receives feedback signal, the energy (zero energy of second sound signal) of second sound signal when energy according to feedback signal and electronics send second sound signal, utilize energy decrement principle, the distance that second sound signal is propagated can be determined, this distance is for returning the distance of image acquisition units after second sound signal arrival sound source, the distance of sound source to image acquisition units can be determined by this distance.
In addition, before determining to send the position of the sound source of first sound sound signal, can also judge that whether first sound sound signal is consistent with preset sound signal, if first sound sound signal is consistent with preset sound signal, then determine to send the position of the sound source of first sound sound signal.
Optionally, preset sound signal is for being input in electronics before user, such as, user opens " setting " function in electronics, typing " focusing " two words, the voice signal of " focusing " is preserved as preset sound signal by electronics, and by this preset sound signal storage in the storage unit (such as hard disk) of electronics. Like this, by preset sound signal, it is possible to get rid of the acoustic noises of other user around electronics, make electronics only focus for specific voice signal (i.e. preset sound signal), make the focusing of electronics more accurate.
Optionally, judge that the mode whether first sound sound signal is consistent with preset sound signal is more, such as, first sound sound signal and preset sound signal being converted into numerary signal, whether both are identical in contrast, or such as, whether the vibrational frequency that can compare the vibrational frequency of first sound sound signal and the sound wave of preset sound signal is identical, etc., one of ordinary skill in the art can according to practical situation, adopting different enforcement modes, this is not construed as limiting by the embodiment of the present invention.
In order to more clearly describe the embodiment of the present invention, enumerate an example. such as, user uses electronics to autodyne, electronics can be fixed on somewhere by fixtures such as trivets by user, oneself then stand the position that hope is taken pictures, " focusing " two words (i.e. first sound sound signal) are sent towards electronics, electronics is after obtaining first sound sound signal, by itself and preset sound signal contrast, now assume that preset sound signal is also " focusing ", then electronics determines to send the position of " focusing " these two words, this position is the position of the sound source sending first sound sound signal, wherein, determine that mode and the aforesaid mode of sound source position are similar, this is seldom repeated by the embodiment of the present invention.
S103: control image acquisition units is focused based on the position of determined sound source.
After the position determining sound source, electronics can be focused according to this position,
Such as, using the position of determined sound source as focus, control image acquisition units is focused according to focus.
Referring to Fig. 2, based on same invention design, the embodiment of the present invention also provides a kind of electronics, comprising:
Image acquisition units 201;
Sound collection unit 202, for obtaining first sound sound signal;
Processing unit 203, for determining to send the position of the sound source of first sound sound signal; Control image acquisition units 201 is focused based on the position of determined sound source.
Optionally, processing unit 203 for:
Using the position of determined sound source as focus, control image acquisition units 201 is focused according to focus.
Optionally, processing unit 203 for:
Before determining to send the position of the sound source of first sound sound signal, judge that whether first sound sound signal is consistent with preset sound signal;
If first sound sound signal is consistent with preset sound signal, it is determined that send the position of the sound source of first sound sound signal.
Optionally, processing unit 203 for:
According to first sound sound signal, it is determined that first party is to, and the distance determined between sound source and image acquisition units 201;Wherein, first party is to the direction for pointing to sound source from image acquisition units 201;
According to first party to and distance, it is determined that the position of sound source.
Optionally, referring to Fig. 3, electronics also comprises: detecting signal unit 204, wherein,
Detecting signal unit 204, for obtaining the intensity of first sound sound signal;
Processing unit 203, for determining the position of the maximum intensity of first sound sound signal; The direction of the position maximum from image acquisition units 201 directional intensity is defined as first party to.
Optionally, processing unit 203 for:
Energy according to first sound sound signal and preset energy, it is determined that the distance between sound source and image acquisition units 201; Wherein, preset energy is the sound source of setting energy when sounding.
Optionally, referring to Fig. 4, electronics also comprises: voice output unit 205, wherein,
Voice output unit 205, for first party to sending second sound signal;
Sound collection unit 202, for receiving the feedback signal for second sound signal that sound source sends;
Processing unit 203, for the energy according to feedback signal, it is determined that the distance between sound source and image acquisition units 201.
Referring to Fig. 5, based on same invention design, the embodiment of the present invention also provides a kind of electronics, comprising:
Acquisition module 501, for obtaining first sound sound signal;
Determination module 502, for determining to send the position of the sound source of first sound sound signal;
Control module 503, focuses based on the position of determined sound source for controlling image acquisition units.
Optionally, control module 503 for
Using the position of determined sound source as focus, control image acquisition units is focused according to focus.
Optionally, it is determined that module 502 for:
Before determining to send the position of the sound source of first sound sound signal, judge that whether first sound sound signal is consistent with preset sound signal;
If first sound sound signal is consistent with preset sound signal, it is determined that send the position of the sound source of first sound sound signal.
Optionally, it is determined that module 502 for:
According to first sound sound signal, it is determined that first party is to, and the distance determined between sound source and image acquisition units; Wherein, first party is to the direction for pointing to sound source from image acquisition units;
According to first party to and distance, it is determined that the position of sound source.
Optionally,
Acquisition module 501, obtains the intensity of first sound sound signal;
Determination module 502, for determining the position of the maximum intensity of first sound sound signal; The direction of the position maximum from image acquisition units directional intensity is defined as first party to.
Optionally, it is determined that module 502 for:
Energy according to first sound sound signal and preset energy, it is determined that the distance between sound source and image acquisition units; Wherein, preset energy is the sound source of setting energy when sounding.
Optionally, referring to Fig. 6, electronics also comprises: output module 504, wherein,
Output module 504, for first party to sending second sound signal;
Acquisition module 501, for receiving the feedback signal for second sound signal that sound source sends;
Determination module 502, for the energy according to feedback signal, it is determined that the distance between sound source and image acquisition units.
It should be noted that, the electronics of Fig. 2-Fig. 6 in the embodiment of the present invention is corresponding with a kind of focusing method described in Fig. 1, implement mode can reference mutually, therefore describe control method time for repetition content part seldom repeat.
Above-mentioned one or more technical scheme in the embodiment of the present invention, at least has one or more technique effects following and advantage:
In the embodiment of the present invention, by gathering first sound sound signal, and determine to send the position of the sound source of first sound sound signal, utilize the position determined, control image acquisition units is focused, like this, when auto-focusing, the focus of electronics can be made to be in the position at user place of signal of sounding all the time, ensure that the focus that electronics obtains is the focus that user expects to a certain extent, simultaneously as far as possible, user is without the need to manual focusing, alleviate the workload of user, also improve the accuracy of focusing simultaneously so that the focus obtained is comparatively reasonable.
The technician of art can be well understood to, for convenience and simplicity of description, only it is illustrated with the division of above-mentioned each function module, in practical application, can complete by different functional units as required and by above-mentioned functions distribution, it is divided into different functional units, to complete all or part of function described above by the internal structure of device. The concrete working process of the system of foregoing description, device and unit, it is possible to reference to the corresponding process in aforementioned embodiment of the method, do not repeat them here.
In provided by the present invention several embodiments, it should be appreciated that, disclosed system, device and method, it is possible to realize by another way. Such as, device embodiment described above is only schematic, such as, the division of described module or unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can ignore, or do not perform. Another point, shown or discussed coupling each other or directly coupling or communication connection can be the indirect coupling by some interfaces, device or unit or communication connection, it is possible to be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or can also be distributed on multiple NE. Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to is that the independent physics of each unit exists, it is also possible to two or more unit are in a unit integrated. Above-mentioned integrated unit both can adopt the form of hardware to realize, it is also possible to adopts the form of software functional unit to realize.
If described integrated unit realize using the form of software functional unit and as independent production marketing or when using, it is possible to be stored in a computer read/write memory medium. Based on such understanding, the technical scheme of the present invention in essence or says that part prior art contributed or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage media, comprise some instructions with so that a computer equipment (can be Personal Computer, server, or the network equipment etc.) or treater (processor) perform all or part of step of method described in each embodiment of the present invention. And aforesaid storage media comprises: USB flash disk, portable hard drive, read-only storage (Read-OnlyMemory, ROM), random access memory (RandomAccessMemory, RAM), magnetic disc or CD etc. various can be program code stored medium.
Specifically, computer program instructions corresponding to a kind of method of focusing in the embodiment of the present invention can be stored in CD, hard disk, on the storage medias such as USB flash disk, read by an electronics when the computer program instructions corresponding with a kind of method of focusing in storage media or when being performed, comprise the steps:
Obtain first sound sound signal;
Determine to send the position of the sound source of described first sound sound signal;
Control described image acquisition units to focus based on the position of determined described sound source.
Optionally, store in described storage media and step: controlling described image acquisition units and focus based on the position of determined described sound source, corresponding computer instruction, being performed in process, comprises the steps:
Using the position of determined described sound source as focus, control described image acquisition units and focus according to described focus.
Optionally, store in described storage media and step: the position determining to send the sound source of described first sound sound signal, corresponding computer instruction before being executed, comprises the steps:
Judge that whether described first sound sound signal is consistent with preset sound signal;
Determine to send the position of the sound source of described first sound sound signal, comprising:
If described first sound sound signal is consistent with described preset sound signal, it is determined that send the position of the sound source of described first sound sound signal.
Optionally, store in described storage media and step: the position determining to send the sound source of described first sound sound signal, corresponding computer instruction, being performed in process, comprises the steps:
According to described first sound sound signal, it is determined that first party is to, and the distance determined between described sound source and described image acquisition units; Wherein, described first party is to the direction for pointing to described sound source from described image acquisition units;
According to described first party to and described distance, it is determined that the position of described sound source.
Optionally, store in described storage media and step: determine first party to, corresponding computer instruction, being performed in process, comprises the steps:
Obtain the intensity of described first sound sound signal;
Determine the position of the maximum intensity of described first sound sound signal;
The direction pointing to the position of described maximum intensity from described image acquisition units is defined as described first party to.
Optionally, store in described storage media and step: determine the distance between described sound source and described image acquisition units, corresponding computer instruction, being performed in process, comprises the steps:
Energy according to described first sound sound signal and preset energy, it is determined that the distance between described sound source and described image acquisition units; Wherein, described preset energy is the described sound source of setting energy when sounding.
Optionally, store in described storage media and step: determine the distance between described sound source and described image acquisition units, corresponding computer instruction, being performed in process, comprises the steps:
To described first party to sending second sound signal;
Receive the feedback signal for described second sound signal that described sound source sends;
Energy according to described feedback signal, it is determined that the distance between described sound source and described image acquisition units.
Although having described the preferred embodiments of the present invention, but those skilled in the art once the substantially creative concept of cicada, then these embodiments can be made other change and amendment. Therefore, it is intended that the appended claims shall be construed comprise preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, the present invention can be carried out various change and modification and not depart from the spirit and scope of the present invention by the technician of this area. Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these change and modification.

Claims (15)

1. a focusing method, is applied in the electronics with image acquisition units, comprising:
Obtain first sound sound signal;
Determine to send the position of the sound source of described first sound sound signal;
Control described image acquisition units to focus based on the position of determined described sound source.
2. the method for claim 1, it is characterised in that, control described image acquisition units and focus based on the position of determined described sound source, comprising:
Using the position of determined described sound source as focus, control described image acquisition units and focus according to described focus.
3. method as claimed in claim 2, it is characterised in that,
Before determining to send the position of the sound source of described first sound sound signal, also comprise:
Judge that whether described first sound sound signal is consistent with preset sound signal;
Determine to send the position of the sound source of described first sound sound signal, comprising:
If described first sound sound signal is consistent with described preset sound signal, it is determined that send the position of the sound source of described first sound sound signal.
4. the method as described in as arbitrary in claim 1-3, it is characterised in that, it is determined that send the position of the sound source of described first sound sound signal, comprising:
According to described first sound sound signal, it is determined that first party is to, and the distance determined between described sound source and described image acquisition units; Wherein, described first party is to the direction for pointing to described sound source from described image acquisition units;
According to described first party to and described distance, it is determined that the position of described sound source.
5. method as claimed in claim 4, it is characterised in that, it is determined that first party to, comprising:
Obtain the intensity of described first sound sound signal;
Determine the position of the maximum intensity of described first sound sound signal;
The direction pointing to the position of described maximum intensity from described image acquisition units is defined as described first party to.
6. method as claimed in claim 5, it is characterised in that, it is determined that the distance between described sound source and described image acquisition units, comprising:
Energy according to described first sound sound signal and preset energy, it is determined that the distance between described sound source and described image acquisition units; Wherein, described preset energy is the described sound source of setting energy when sounding.
7. method as claimed in claim 4, it is characterised in that, it is determined that the distance between described sound source and described image acquisition units, comprising:
To described first party to sending second sound signal;
Receive the feedback signal for described second sound signal that described sound source sends;
Energy according to described feedback signal, it is determined that the distance between described sound source and described image acquisition units.
8. an electronics, comprising:
Image acquisition units;
Sound collection unit, for obtaining first sound sound signal;
Processing unit, for determining to send the position of the sound source of described first sound sound signal; Control described image acquisition units to focus based on the position of determined described sound source.
9. electronics as claimed in claim 8, it is characterised in that, described processing unit is used for:
Using the position of determined described sound source as focus, control described image acquisition units and focus according to described focus.
10. electronics as claimed in claim 9, it is characterised in that, described processing unit is used for:
Before determining to send the position of the sound source of described first sound sound signal, judge that whether described first sound sound signal is consistent with preset sound signal;
If described first sound sound signal is consistent with described preset sound signal, it is determined that send the position of the sound source of described first sound sound signal.
11. as arbitrary in claim 8-10 as described in electronics, it is characterised in that, described processing unit is used for:
According to described first sound sound signal, it is determined that first party is to, and the distance determined between described sound source and described image acquisition units;Wherein, described first party is to the direction for pointing to described sound source from described image acquisition units;
According to described first party to and described distance, it is determined that the position of described sound source.
12. electronicss as claimed in claim 11, it is characterised in that, described electronics also comprises detecting signal unit, wherein,
Described detecting signal unit, for obtaining the intensity of described first sound sound signal;
Described processing unit, for determining the position of the maximum intensity of described first sound sound signal; The direction pointing to the position of described maximum intensity from described image acquisition units is defined as described first party to.
13. electronicss as claimed in claim 12, it is characterised in that, described processing unit is used for:
Energy according to described first sound sound signal and preset energy, it is determined that the distance between described sound source and described image acquisition units; Wherein, described preset energy is the described sound source of setting energy when sounding.
14. electronicss as claimed in claim 11, it is characterised in that, described electronics also comprises: voice output unit, wherein,
Described voice output unit, for described first party to sending second sound signal;
Described sound collection unit, for receiving the feedback signal for described second sound signal that described sound source sends;
Described processing unit is used for, according to the energy of described feedback signal, it is determined that the distance between described sound source and described image acquisition units.
15. 1 kinds of electronicss, comprising:
Acquisition module, for obtaining first sound sound signal;
Determination module, for determining to send the position of the sound source of described first sound sound signal;
Control module, focuses based on the position of determined described sound source for controlling described image acquisition units.
CN201511001538.5A 2015-12-28 2015-12-28 A kind of focusing method and electronic equipment Active CN105657253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511001538.5A CN105657253B (en) 2015-12-28 2015-12-28 A kind of focusing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511001538.5A CN105657253B (en) 2015-12-28 2015-12-28 A kind of focusing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105657253A true CN105657253A (en) 2016-06-08
CN105657253B CN105657253B (en) 2019-03-29

Family

ID=56476938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511001538.5A Active CN105657253B (en) 2015-12-28 2015-12-28 A kind of focusing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105657253B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341665A (en) * 2016-09-30 2017-01-18 浙江宇视科技有限公司 Tracking monitoring method and device
CN106385540A (en) * 2016-09-26 2017-02-08 珠海格力电器股份有限公司 Focal length control method, device, system and mobile device
WO2018014762A1 (en) * 2016-07-22 2018-01-25 腾讯科技(深圳)有限公司 Positioning method, positioning system and terminal device
CN110931041A (en) * 2019-11-21 2020-03-27 北京地平线机器人技术研发有限公司 Sound source determining method and device
CN112073639A (en) * 2020-09-11 2020-12-11 Oppo(重庆)智能科技有限公司 Shooting control method and device, computer readable medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100033585A1 (en) * 2007-05-10 2010-02-11 Huawei Technologies Co., Ltd. System and method for controlling an image collecting device to carry out a target location
CN101770139A (en) * 2008-12-29 2010-07-07 鸿富锦精密工业(深圳)有限公司 Focusing control system and method
CN202077131U (en) * 2010-07-16 2011-12-14 弭强 Video monitor system based on sound positioning
CN102541080A (en) * 2010-12-11 2012-07-04 骅威科技股份有限公司 Mobile device with sound source positioning function
CN102981145A (en) * 2012-11-12 2013-03-20 李良杰 Sound source locator
CN103067655A (en) * 2011-10-24 2013-04-24 鸿富锦精密工业(深圳)有限公司 System and method of controlling video camera device
CN103957359A (en) * 2014-05-15 2014-07-30 深圳市中兴移动通信有限公司 Camera shooting device and focusing method thereof
CN104092936A (en) * 2014-06-12 2014-10-08 小米科技有限责任公司 Automatic focusing method and apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100033585A1 (en) * 2007-05-10 2010-02-11 Huawei Technologies Co., Ltd. System and method for controlling an image collecting device to carry out a target location
CN101770139A (en) * 2008-12-29 2010-07-07 鸿富锦精密工业(深圳)有限公司 Focusing control system and method
CN202077131U (en) * 2010-07-16 2011-12-14 弭强 Video monitor system based on sound positioning
CN102541080A (en) * 2010-12-11 2012-07-04 骅威科技股份有限公司 Mobile device with sound source positioning function
CN103067655A (en) * 2011-10-24 2013-04-24 鸿富锦精密工业(深圳)有限公司 System and method of controlling video camera device
CN102981145A (en) * 2012-11-12 2013-03-20 李良杰 Sound source locator
CN103957359A (en) * 2014-05-15 2014-07-30 深圳市中兴移动通信有限公司 Camera shooting device and focusing method thereof
CN104092936A (en) * 2014-06-12 2014-10-08 小米科技有限责任公司 Automatic focusing method and apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018014762A1 (en) * 2016-07-22 2018-01-25 腾讯科技(深圳)有限公司 Positioning method, positioning system and terminal device
US10791397B2 (en) 2016-07-22 2020-09-29 Tencent Technology (Shenzhen) Company Limited Locating method, locating system, and terminal device
CN106385540A (en) * 2016-09-26 2017-02-08 珠海格力电器股份有限公司 Focal length control method, device, system and mobile device
CN106341665A (en) * 2016-09-30 2017-01-18 浙江宇视科技有限公司 Tracking monitoring method and device
CN110931041A (en) * 2019-11-21 2020-03-27 北京地平线机器人技术研发有限公司 Sound source determining method and device
CN112073639A (en) * 2020-09-11 2020-12-11 Oppo(重庆)智能科技有限公司 Shooting control method and device, computer readable medium and electronic equipment

Also Published As

Publication number Publication date
CN105657253B (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN105657253A (en) Focusing method and electronic device
CN103344959B (en) A kind of ultrasound positioning system and the electronic installation with positioning function
US9622013B2 (en) Directional sound modification
KR102150013B1 (en) Beamforming method and apparatus for sound signal
CN103888703B (en) Strengthen image pickup method and the camera head of recording
US9488833B2 (en) Intelligent glasses for the visually impaired
CN102646408B (en) Method and terminal for adjusting the font size
CN108881568B (en) Method and device for sounding display screen, electronic device and storage medium
CN109189362B (en) Sound production control method and device, electronic equipment and storage medium
CN103631375B (en) According to the method and apparatus of the Situation Awareness control oscillation intensity in electronic equipment
CN104811613A (en) Camera focusing method
CN111683325B (en) Sound effect control method and device, sound box, wearable device and readable storage medium
US9848181B2 (en) Hand-held electronic apparatus, image capturing apparatus and method for obtaining depth information
EP3451695A1 (en) Method and apparatus for collecting sound signal
KR100940307B1 (en) Method and apparatus for measuring position of the object using microphone
EP3582511A2 (en) Directional sound modification
CN105323480A (en) Ultrasonic-based photographing method and device
CN104811612A (en) Terminal
WO2023280285A1 (en) Focusing method and apparatus, and storage medium
CN110164443B (en) Voice processing method and device for electronic equipment and electronic equipment
JP6329679B1 (en) Audio controller, ultrasonic speaker, audio system, and program
KR102115222B1 (en) Electronic device for controlling sound and method for operating thereof
CN106303214A (en) A kind of focusing method and device
CN108989666A (en) Image pickup method, device, mobile terminal and computer-readable storage medium
CN109032008B (en) Sound production control method and device and electronic device

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