Embodiment
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, 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, and not all embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of camera start detection method and camera start detection device, and this camera start detection method comprises: the camera enabled instruction receiving input, and above-mentioned camera enabled instruction is for starting the application of taking pictures of mobile terminal; Detect the above-mentioned light intensity moving environment residing for terminal, and determine whether above-mentioned light intensity meets the light intensity requirement preset; If above-mentioned light intensity meets default light intensity requirement, then start above-mentioned application of taking pictures; If above-mentioned light intensity does not meet the light intensity requirement preset, 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 device.Below be described in detail respectively.
Be described a kind of camera start detection method that the embodiment of the present invention provides below, refer to Fig. 1, the camera start detection method in the embodiment of the present invention comprises:
101, the camera enabled instruction of input is received;
Wherein, above-mentioned camera enabled instruction is for starting the application of taking pictures of mobile terminal.
In the embodiment of the present invention, user can start the application of taking pictures of mobile terminal by the enabled instruction of input camera, to carry out taking pictures or recording a video in this takes pictures application.
Especially, in the embodiment of the present invention, when mobile terminal be in put out screen state or screen lock state time, above-mentioned camera enabled instruction can be default hand signal or combination button signal, then user can mobile terminal be in put out screen state or screen lock state time, start the application of taking pictures of mobile terminal by inputting default gesture or combination button signal.
When camera start detection device receives the camera enabled instruction of input, enter step 102, alternatively, when camera start detection device receives the camera enabled instruction of input, determine above-mentioned camera enabled instruction be whether above-mentioned mobile terminal put out screen state or screen lock state under input, if determine above-mentioned camera enabled instruction be above-mentioned mobile terminal put out screen state or screen lock state under input, then enter step 102, otherwise, directly start above-mentioned taking pictures and apply and do not perform step 102.
102, detect the above-mentioned light intensity moving environment residing for terminal, and determine whether above-mentioned light intensity meets the light intensity requirement preset;
In the embodiment of the present invention, camera start detection device detects the above-mentioned light intensity moving environment residing for terminal, and determine whether above-mentioned light intensity meets the light intensity requirement preset, if above-mentioned light intensity meets default light intensity requirement, then enters step 103; If above-mentioned light intensity does not meet the light intensity requirement preset, then enter step 104.
In a kind of application scenarios, above-mentioned mobile terminal is provided with front-facing camera, and camera start detection device utilizes this front-facing camera to detect the above-mentioned light intensity moving environment residing for terminal, and determines whether above-mentioned light intensity meets the light intensity requirement preset.Particularly, in a step 102, the front-facing camera that camera start detection device starts above-mentioned mobile terminal carries out light-metering; If the light intensity that the front-facing camera of above-mentioned mobile terminal records is lower than the threshold value preset, then determine that the light intensity of environment residing for above-mentioned mobile terminal does not meet the light intensity requirement preset; If the light intensity that the front-facing camera of above-mentioned mobile terminal records is not less than default threshold value, then determine that the light intensity of environment residing for above-mentioned mobile terminal meets default light intensity requirement.
In another kind of application scenarios, above-mentioned mobile terminal is provided with post-positioned pick-up head, and camera start detection device utilizes this post-positioned pick-up head to detect the above-mentioned light intensity moving environment residing for terminal, and determines whether above-mentioned light intensity meets the light intensity requirement preset.Particularly, in a step 102, the post-positioned pick-up head that camera start detection device starts above-mentioned mobile terminal carries out light-metering; If the light intensity that the post-positioned pick-up head of above-mentioned mobile terminal records is lower than the threshold value preset, then determine that the light intensity of environment residing for above-mentioned mobile terminal does not meet the light intensity requirement preset; If the light intensity that the post-positioned pick-up head of above-mentioned mobile terminal records is not less than default threshold value, then determine that the light intensity of environment residing for above-mentioned mobile terminal meets default light intensity requirement.
In another application scenarios, this terminal of above-mentioned movement is provided with front-facing camera and post-positioned pick-up head, camera start detection device utilizes this front-facing camera and post-positioned pick-up head to detect the above-mentioned light intensity moving environment residing for terminal, and determines whether above-mentioned light intensity meets the light intensity requirement preset.Particularly, camera start detection device starts above-mentioned front-facing camera and carries out light-metering; If the light intensity that above-mentioned front-facing camera records is lower than the first threshold preset, then determine that the light intensity of environment residing for above-mentioned mobile terminal does not meet the light intensity requirement preset; If the light intensity that above-mentioned front-facing camera records is not less than default first threshold, then starts above-mentioned post-positioned pick-up head and carry out light-metering; If the light intensity that above-mentioned post-positioned pick-up head records is lower than the Second Threshold preset, then determine that the light intensity of environment residing for above-mentioned mobile terminal does not meet the light intensity requirement preset; If the light intensity that above-mentioned post-positioned pick-up head records is not less than default Second Threshold, then determine that the light intensity of environment residing for above-mentioned mobile terminal meets default light intensity requirement.Wherein, above-mentioned first threshold can be identical with the value of above-mentioned Second Threshold, also can be different, and particularly, the value of above-mentioned first threshold and the value of above-mentioned Second Threshold can set according to the actual requirements, are not construed as limiting herein.
Certainly, in the embodiment of the present invention, camera start detection device also can detect the above-mentioned light intensity moving environment residing for terminal by alternate manner, such as, light sensor is set on mobile terminals, camera start detection device utilizes the light sensor that mobile terminal is arranged to detect the above-mentioned light intensity moving environment residing for terminal, is not construed as limiting herein.
103, above-mentioned application of taking pictures is started;
Camera start detection device starts above-mentioned application of taking pictures.
Alternatively, camera start detection device, after the above-mentioned application of taking pictures of startup, triggers above-mentioned mobile terminal and perform action of taking pictures under above-mentioned application of taking pictures, and store this photo collected of taking pictures of above-mentioned mobile terminal.
Certainly, in the embodiment of the present invention, camera start detection device also only can start above-mentioned application of taking pictures, and is carried out finding a view and taking in the interface that this is taken pictures in application by user.
104, the start-up operation of above-mentioned application of taking pictures is cancelled;
Camera start detection device cancels the start-up operation of above-mentioned application of taking pictures, that is, do not start above-mentioned application of taking pictures, to avoid the false triggering of above-mentioned application of taking pictures.
It should be noted that, mobile terminal in the embodiment of the present invention can be mobile phone, panel computer, palmtop PC (PDA, Personal Digital Assistant) or other possess the mobile terminal of shoot function, camera start detection device in the embodiment of the present invention can be integrated in above-mentioned mobile terminal, or, also can be the device independent of above-mentioned mobile terminal, be not construed as limiting herein.
Therefore, in the present invention when receiving camera enabled instruction, first detect the light intensity of environment residing for mobile terminal, when determine light intensity meet default light intensity require time, just start application of taking pictures, thus mobile terminal can be avoided to be placed in pocket or in sack time photographing function of mobile phone by the situation of false triggering, effectively reduce the false triggering probability of photographing function of mobile phone.
Be described the camera start detection device in the embodiment of the present invention with another embodiment below, refer to Fig. 2, the camera start detection device 200 in the embodiment of the present invention comprises:
Receiving element 201, for receiving the camera enabled instruction of input, above-mentioned camera enabled instruction is for starting the application of taking pictures of mobile terminal;
Detecting unit 202, for detecting the above-mentioned light intensity moving environment residing for terminal, and determines whether above-mentioned light intensity meets the light intensity requirement preset;
Control unit 203, for determine when detecting unit 202 above-mentioned light intensity meet default light intensity require time, start above-mentioned application of taking pictures; When detecting unit 202 determines that the satisfied light intensity preset of above-mentioned light intensity requires, cancel the start-up operation of above-mentioned application of taking pictures.
Optionally, detecting unit 202 specifically for: the front-facing camera or the post-positioned pick-up head that start above-mentioned mobile terminal carry out light-metering; If the light intensity that the front-facing camera of above-mentioned mobile terminal or post-positioned pick-up head record is lower than the threshold value preset, then determine that the light intensity of environment residing for above-mentioned mobile terminal does not meet the light intensity requirement preset; If the light intensity that the front-facing camera of above-mentioned mobile terminal or above-mentioned post-positioned pick-up head record is not less than default threshold value, then determine that the light intensity of environment residing for above-mentioned mobile terminal meets default light intensity requirement.
Optionally, above-mentioned mobile terminal comprises front-facing camera and post-positioned pick-up head; Detecting unit 202 specifically for: start above-mentioned front-facing camera and carry out light-metering; If the light intensity that above-mentioned front-facing camera records is lower than the first threshold preset, then judge that the light intensity of environment residing for above-mentioned mobile terminal does not meet the light intensity requirement preset; If the light intensity that above-mentioned front-facing camera records is not less than default first threshold, then starts above-mentioned post-positioned pick-up head and carry out light-metering; If the light intensity that above-mentioned post-positioned pick-up head records is lower than the Second Threshold preset, then determine that the light intensity of environment residing for above-mentioned mobile terminal does not meet the light intensity requirement preset; If the light intensity that above-mentioned post-positioned pick-up head records is not less than default Second Threshold, then determine that the light intensity of environment residing for above-mentioned mobile terminal meets default light intensity requirement.
Optionally, the camera start detection device in the embodiment of the present invention also comprises: determining unit, for determine above-mentioned camera enabled instruction be whether above-mentioned mobile terminal put out screen state or screen lock state under input; Detecting unit 202 above-mentioned determining unit determine above-mentioned camera enabled instruction be above-mentioned mobile terminal put out screen state or screen lock state under input time trigger.
Optionally, the camera start detection device in the embodiment of the present invention also comprises: trigger element, performs action of taking pictures for triggering above-mentioned mobile terminal under above-mentioned application of taking pictures; Memory cell, for storing this photo collected of taking pictures of above-mentioned mobile terminal.
It should be noted that, intelligent terminal in the embodiment of the present invention can for mobile phone, panel computer, PDA or other possess the mobile terminal of shoot function, camera start detection device in the embodiment of the present invention can be integrated in above-mentioned mobile terminal, or, also can be the device independent of above-mentioned mobile terminal, be not construed as limiting herein.
Should understand, camera start detection device in the embodiment of the present invention can as the camera start detection device mentioned in above-mentioned embodiment of the method, may be used for the whole technical schemes realized in said method embodiment, the function of its each functional module can according to the method specific implementation in said method embodiment, its specific implementation process can refer to the associated description in above-described embodiment, repeats no more herein.
Therefore, in the present invention when receiving camera enabled instruction, first detect the light intensity of environment residing for mobile terminal, when determine light intensity meet default light intensity require time, just start application of taking pictures, thus mobile terminal can be avoided to be placed in pocket or in sack time photographing function of mobile phone by the situation of false triggering, effectively reduce the false triggering probability of photographing function of mobile phone.
In several embodiments that the application provides, should be understood that disclosed apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of said units, be 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 be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can 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 also can be distributed in multiple network element.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, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words 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 medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
It should be noted that, for aforesaid each embodiment of the method, in order to easy 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 by the restriction of described sequence of movement, because according to the present invention, some step can adopt other order or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be all that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiment.
It is more than the description to a kind of camera start detection method provided by the present invention and camera start detection device, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, to sum up, this description should not be construed as limitation of the present invention.