Embodiment
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described reality
It is only a part of embodiment of the invention to apply example, and not all embodiments.Based on the embodiment in the present invention, the common skill in this area
The every other embodiment that art personnel are obtained under the premise of creative work is not made, belongs to the model that the present invention is protected
Enclose.
The embodiment of the present invention provides a kind of camera and starts detection method and camera startup detection means, and the camera starts detection
Method includes:The camera enabled instruction of input is received, above-mentioned camera enabled instruction is used for the application of taking pictures for starting mobile terminal;Inspection
The light intensity of above-mentioned shifting terminal local environment is surveyed, and determines whether above-mentioned light intensity meets default light intensity requirement;
If above-mentioned light intensity meets default light intensity requirement, start above-mentioned application of taking pictures;If above-mentioned light intensity is unsatisfactory for
Default light intensity requirement, then cancel the start-up operation of above-mentioned application of taking pictures.The embodiment of the present invention also provides corresponding camera
Start detection means.It is described in detail individually below.
Start detection method to a kind of camera provided in an embodiment of the present invention below to be described, referring to Fig. 1, of the invention
Camera in embodiment, which starts detection method, to be included:
101st, the camera enabled instruction of input is received;
Wherein, above-mentioned camera enabled instruction is used for the application of taking pictures for starting mobile terminal.
In the embodiment of the present invention, user can start the application of taking pictures of mobile terminal by inputting camera enabled instruction,
To be taken pictures or recorded a video in take pictures application at this.
Especially, in the embodiment of the present invention, when mobile terminal, which is in, puts out screen state or screen lock state, above-mentioned camera starts
Instruction can be default hand signal or combination button signal, then user can be in mobile terminal puts out screen state or screen locking
During state, the application of taking pictures of mobile terminal is started by inputting default gesture or combination button signal.
When camera, which starts detection means, receives the camera enabled instruction of input, into step 102, alternatively, work as phase
Whether when machine startup detection means receives the camera enabled instruction of input, it is in above-mentioned movement to determine above-mentioned camera enabled instruction
Putting out for terminal is inputted under screen state or screen lock state, if it is determined that above-mentioned camera enabled instruction is putting out in above-mentioned mobile terminal
Inputted under screen state or screen lock state, then into step 102, otherwise, directly initiate above-mentioned take pictures using without performing step
102。
102nd, the light intensity of above-mentioned shifting terminal local environment is detected, and it is default to determine whether above-mentioned light intensity meets
Light intensity requirement;
In the embodiment of the present invention, camera starts the light intensity that detection means detects above-mentioned shifting terminal local environment, and really
Whether fixed above-mentioned light intensity meets default light intensity requirement, if above-mentioned light intensity meets default light intensity and wanted
Ask, then into step 103;If above-mentioned light intensity is unsatisfactory for default light intensity requirement, into step 104.
In a kind of application scenarios, above-mentioned mobile terminal is provided with front camera, and camera starts detection means and utilized before this
Put camera and detect the light intensity of above-mentioned shifting terminal local environment, and determine whether above-mentioned light intensity meets default light
Intensity requirement.Specifically, in a step 102, camera starts the front camera progress that detection means starts above-mentioned mobile terminal
Light-metering;If the light intensity that the front camera of above-mentioned mobile terminal is measured is less than default threshold value, it is determined that above-mentioned mobile whole
The light intensity of end local environment is unsatisfactory for default light intensity requirement;What if the front camera of above-mentioned mobile terminal was measured
Light intensity is not less than default threshold value, it is determined that it is strong that the light intensity of above-mentioned mobile terminal local environment meets default light
Degree is required.
In another application scenarios, above-mentioned mobile terminal is provided with rear camera, and camera startup detection means is utilized should
Rear camera detects the light intensity of above-mentioned shifting terminal local environment, and determines whether above-mentioned light intensity meets default light
Line strength requirement.Specifically, in a step 102, the rear camera of the above-mentioned mobile terminal of camera startup detection means startup enters
Row light-metering;If the light intensity that the rear camera of above-mentioned mobile terminal is measured is less than default threshold value, it is determined that above-mentioned movement
The light intensity of terminal local environment is unsatisfactory for default light intensity requirement;If the rear camera of above-mentioned mobile terminal is measured
Light intensity be not less than default threshold value, it is determined that the light intensity of above-mentioned mobile terminal local environment meets default light
Intensity requirement.
In another application scenarios, the above-mentioned movement terminal is provided with front camera and rear camera, and camera starts
Detection means detects the light intensity of above-mentioned shifting terminal local environment using the front camera and rear camera, and determines
State whether light intensity meets default light intensity requirement.Specifically, camera starts detection means and starts above-mentioned preposition shooting
Head carries out light-metering;If the light intensity that above-mentioned front camera is measured is less than default first threshold, it is determined that above-mentioned mobile whole
The light intensity of end local environment is unsatisfactory for default light intensity requirement;If the light intensity that above-mentioned front camera is measured is not
Less than default first threshold, then start above-mentioned rear camera and carry out light-metering;If the light that above-mentioned rear camera is measured is strong
Degree is less than default Second Threshold, it is determined that the light intensity of above-mentioned mobile terminal local environment is unsatisfactory for default light intensity
It is required that;If the light intensity that above-mentioned rear camera is measured is not less than default Second Threshold, it is determined that above-mentioned mobile terminal institute
The light intensity of place's environment meets default light intensity requirement.Wherein, above-mentioned first threshold and the value of above-mentioned Second Threshold
Can be with identical, can also be different, specifically, the value of the value of above-mentioned first threshold and above-mentioned Second Threshold can be according to reality
Demand is set, and is not construed as limiting herein.
Certainly, in the embodiment of the present invention, camera, which starts detection means, can also detect above-mentioned shifting terminal otherwise
The light intensity of local environment, for example, setting light sensor on mobile terminals, it is whole using movement that camera starts detection means
The light sensor set on end detects the light intensity of above-mentioned shifting terminal local environment, is not construed as limiting herein.
103rd, above-mentioned application of taking pictures is started;
Camera starts detection means and starts above-mentioned application of taking pictures.
Alternatively, camera starts detection means after above-mentioned application of taking pictures is started, and triggers above-mentioned mobile terminal in above-mentioned bat
Correlate and taken pictures action with lower execution, and store above-mentioned mobile terminal this photo collected of taking pictures.
Certainly, in the embodiment of the present invention, camera, which starts detection means, can also only start above-mentioned application of taking pictures, and be existed by user
Found a view and shot in interface in the application of taking pictures.
104th, the start-up operation of above-mentioned application of taking pictures is cancelled;
Camera starts the start-up operation that detection means cancels above-mentioned application of taking pictures, i.e. do not start above-mentioned application of taking pictures, to keep away
Exempt from the false triggering of above-mentioned application of taking pictures.
It should be noted that the mobile terminal in the embodiment of the present invention can be mobile phone, tablet personal computer, palm PC
In (PDA, Personal Digital Assistant) or other mobile terminals for possessing shoot function, the embodiment of the present invention
Camera, which starts detection means, can be integrated in above-mentioned mobile terminal, or or independently of the dress of above-mentioned mobile terminal
Put, be not construed as limiting herein.
Therefore, in the present invention when receiving camera enabled instruction, first detect the light of mobile terminal local environment
Intensity, when it is determined that light intensity meets default light intensity requirement, just starts application of taking pictures, mobile whole so as to avoid
End is placed on photographing function of mobile phone when in pocket or in sack and, by the situation of false triggering, effectively reduces the false touch of photographing function of mobile phone
Send out probability.
Start detection means to the camera in the embodiment of the present invention below with another embodiment to be described, referring to Fig. 2,
Camera in the embodiment of the present invention, which starts detection means 200, to be included:
Receiving unit 201, the camera enabled instruction for receiving input, above-mentioned camera enabled instruction is used to start movement eventually
The application of taking pictures at end;
Detection unit 202, for detecting the light intensity of above-mentioned shifting terminal local environment, and determines that above-mentioned light intensity is
It is no to meet default light intensity requirement;
Control unit 203, for determining that above-mentioned light intensity meets default light intensity requirement when detection unit 202
When, start above-mentioned application of taking pictures;When detection unit 202 determines that above-mentioned light intensity is unsatisfactory for default light intensity requirement,
Cancel the start-up operation of above-mentioned application of taking pictures.
Optionally, detection unit 202 specifically for:The front camera or rear camera for starting above-mentioned mobile terminal enter
Row light-metering;If the light intensity that the front camera or rear camera of above-mentioned mobile terminal are measured is less than default threshold value,
Determine that the light intensity of above-mentioned mobile terminal local environment is unsatisfactory for default light intensity requirement;If before above-mentioned mobile terminal
Put the light intensity that camera or above-mentioned rear camera measure and be not less than default threshold value, it is determined that residing for above-mentioned mobile terminal
The light intensity of environment meets default light intensity requirement.
Optionally, above-mentioned mobile terminal includes front camera and rear camera;Detection unit 202 specifically for:Open
Dynamic above-mentioned front camera carries out light-metering;If the light intensity that above-mentioned front camera is measured is less than default first threshold,
Judge that the light intensity of above-mentioned mobile terminal local environment is unsatisfactory for default light intensity requirement;If above-mentioned front camera is surveyed
The light intensity obtained is not less than default first threshold, then starts above-mentioned rear camera and carry out light-metering;If above-mentioned rearmounted shooting
The light intensity that head is measured is less than default Second Threshold, it is determined that the light intensity of above-mentioned mobile terminal local environment is unsatisfactory for
Default light intensity requirement;If the light intensity that above-mentioned rear camera is measured is not less than default Second Threshold, it is determined that
The light intensity of above-mentioned mobile terminal local environment meets default light intensity requirement.
Optionally, the camera in the embodiment of the present invention starts detection means and also included:Determining unit, for determining above-mentioned phase
Whether machine enabled instruction is to put out input under screen state or screen lock state in above-mentioned mobile terminal;Detection unit 202 is above-mentioned
Determining unit determines that above-mentioned camera enabled instruction is being touched when putting out input under screen state or screen lock state in above-mentioned mobile terminal
Hair.
Optionally, the camera in the embodiment of the present invention starts detection means and also included:Trigger element, for triggering above-mentioned shifting
Dynamic terminal performs action of taking pictures under above-mentioned application of taking pictures;Memory cell, for storing above-mentioned mobile terminal this collection of taking pictures
The photo arrived.
It should be noted that the intelligent terminal in the embodiment of the present invention can be mobile phone, tablet personal computer, PDA or other tools
Camera in the mobile terminal of standby shoot function, the embodiment of the present invention, which starts detection means, can be integrated in above-mentioned mobile terminal
In, or or independently of the device of above-mentioned mobile terminal, be not construed as limiting herein.
It should be understood that the camera startup detection means in the embodiment of the present invention can be such as the phase referred in above-mentioned embodiment of the method
Machine starts detection means, can be used for realizing whole technical schemes in above method embodiment, the work(of its each functional module
It is able to can be implemented according to the method in above method embodiment, it implements process and can refer to phase in above-described embodiment
Description is closed, here is omitted.
Therefore, in the present invention when receiving camera enabled instruction, first detect the light of mobile terminal local environment
Intensity, when it is determined that light intensity meets default light intensity requirement, just starts application of taking pictures, mobile whole so as to avoid
End is placed on photographing function of mobile phone when in pocket or in sack and, by the situation of false triggering, effectively reduces the false touch of photographing function of mobile phone
Send out probability.
, can be by it in several embodiments provided herein, it should be understood that disclosed apparatus and method
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of said units, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or unit by some interfaces
Letter connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially
The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It should be noted that for foregoing each method embodiment, for simplicity description, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs
Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
It is the description for starting detection method and camera startup detection means to a kind of camera provided by the present invention above, it is right
In those of ordinary skill in the art, according to the thought of the embodiment of the present invention, can in specific embodiments and applications
There is change part, to sum up, this specification content should not be construed as limiting the invention.