CN105827942A - Rapid photographing method and electronic device - Google Patents

Rapid photographing method and electronic device Download PDF

Info

Publication number
CN105827942A
CN105827942A CN201510622500.3A CN201510622500A CN105827942A CN 105827942 A CN105827942 A CN 105827942A CN 201510622500 A CN201510622500 A CN 201510622500A CN 105827942 A CN105827942 A CN 105827942A
Authority
CN
China
Prior art keywords
view data
electronic equipment
bottom hardware
conditioned
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510622500.3A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201510622500.3A priority Critical patent/CN105827942A/en
Publication of CN105827942A publication Critical patent/CN105827942A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The invention discloses a rapid photographing method applied to an electronic device. The electronic device comprises a camera background process configured to run on the background of the electronic device. The photographing method comprises the steps of detecting the photographing request of a user in real time during the camera background process; according to the detected photographing request, sending a photographing instruction of the kernel of the electronic device during the camera service process; and controlling the underlying hardware of a camera to conduct the photographing operation by the kernel of the electronic device according to the received photographing request. The invention also discloses the corresponding electronic device. According to the technical scheme of the rapid photographing method provided in the embodiments of the invention, the photographing function can be quickly enabled when the photographing or particularly the snapshot is required. Therefore, the operations of image preview, focusing and the like during the conventional photographing process are reduced, and the photographing process can be quickly completed. The snapshot requirements of users can be met and the user experience is improved.

Description

A kind of snapshots method and electronic equipment
Technical field
The present invention relates to the field of taking pictures, particularly relate to a kind of snapshots method and electronic equipment.
Background technology
Along with the development of science and technology, electronic equipment possesses and has increasing amusement function, and wherein, camera function, as one of the core of amusement function, becomes user and considers an importance of electronic equipment.
Under some persistent period shorter scene, during the scene such as license plate number during such as shooting travels, due to reference object exist can shooting time the shortest, need user to capture in time and quickly open camera and shoot.
The step of existing image pickup method is as follows: under electronic equipment released state, open camera applications, start photographic head, focus according to preview content, then click on shooting button and shoot, owing to its operation is relatively complicated, the overlong time needed, it is not easy to realize snapshots, makes user miss the candid photograph moment of preciousness, have a strong impact on Consumer's Experience.
Summary of the invention
The invention provides a kind of snapshots method and electronic equipment, in order to solve the shooting process overlong time of current electronic device, it is difficult to the problem ensureing snapshots.
Embodiments providing a kind of snapshots method, be applied to an electronic equipment, this electronic equipment includes camera background process, and camera background process is at the running background of electronic equipment, and this photographic method includes:
Camera background process detects the request of taking pictures of user in real time;
According to the request of taking pictures detected, camera service process sends photographing instruction to electronic equipment kernel;
Electronic equipment kernel, according to the photographing instruction received, controls camera bottom hardware and takes pictures.
Embodiments of the invention additionally provide a kind of electronic equipment, including: camera background process module, camera service scheduler module and electronic equipment kernel module;Wherein,
The camera background process that camera background process module starts, at the running background of electronic equipment, detects the request of taking pictures of user in real time;
The camera service process that camera service scheduler module starts, according to the request of taking pictures detected, sends photographing instruction to electronic equipment kernel;
Electronic equipment kernel module calls electronic equipment kernel and takes pictures according to the photographing instruction received, control camera bottom hardware.
The snapshots method that the embodiment of the present invention provides, when needs are taken pictures and are especially captured, quickly open camera function, start photographic head and enter duty, detect shooting condition voluntarily, and directly preserve the image information that photographic head currently exports when shooting condition meets preset requirement, decrease the multi-mode operation such as image preview, focusing during routine is taken pictures, the process of taking pictures can be rapidly completed, meet the candid photograph demand of user, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 represents the flow chart of the first embodiment of snapshots method of the present invention;
Fig. 2 represents the flow chart of the second embodiment two of snapshots method of the present invention;
Fig. 3 represents the flow chart of the 3rd embodiment of snapshots method of the present invention;
Fig. 4 represents the flow chart of the 4th embodiment of snapshots method of the present invention;
Fig. 5 represents the flow chart one of the 5th embodiment of snapshots method of the present invention;
Fig. 6 represents the flowchart 2 of the 5th embodiment of snapshots method of the present invention;
Fig. 7 represents the modular structure schematic diagram one of the embodiment of electronic equipment of the present invention;
Fig. 8 represents the modular structure schematic diagram two of the embodiment of electronic equipment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under not making creative work premise, broadly fall into the scope of protection of the invention.
First embodiment
As it is shown in figure 1, the first embodiment of the present invention provides a kind of snapshots method, being applied to an electronic equipment, this electronic equipment includes that camera background process, camera backstage carry out the running background at electronic equipment, and wherein, this snapshots method specifically includes:
Step S101: camera background process detects the request of taking pictures of user in real time.
It should be noted that the triggering mode of the request of taking pictures mentioned here can be triggered by physical button or virtual key, it is also possible to triggered by biological identification technology, such as: the modes such as voice, touching, infrared, gesture trigger.As a example by physical button triggers, single one physical button can be used to trigger, the mode that also multiple physical button can be used to be combined triggers.Such as: when using speech trigger mode, when sound instruction set in advance (such as " taking pictures ") being detected, determine the request of taking pictures of user.
Step S102: according to the request of taking pictures detected, camera service process sends photographing instruction to electronic equipment kernel.
Increasing a monitoring and the camera service process of calling logic in system, after the request of taking pictures being detected, camera service process sends a photographing instruction to electronic equipment kernel.
Step S103: electronic equipment kernel, according to the photographing instruction received, controls camera bottom hardware and takes pictures.
When electronic equipment kernel receives photographing instruction, call camera and drive, start camera bottom hardware and realize taking pictures process.
In the first embodiment of the present invention, user can take pictures at needs, when especially needing to capture, the request of taking pictures can be triggered by default trigger action, system quickly opens camera function according to this request of taking pictures, and starts photographic head and enters duty, completes whole process of taking pictures.This process reduces the interactive operations such as the image preview during taking pictures, user's manual focus, user's manually shooting, it is possible to be rapidly completed and take pictures, meet the candid photograph demand of user to a certain extent, improve Consumer's Experience.
Second embodiment
Based on above-mentioned first embodiment, this snapshots method includes: camera background process detects the request of taking pictures of user in real time, camera service process is according to the request of taking pictures detected, a photographing instruction is sent to electronic equipment kernel, electronic equipment kernel, according to the photographing instruction received, controls camera bottom hardware and takes pictures.
Specifically, as in figure 2 it is shown, the step that control camera bottom hardware carries out taking pictures includes:
Step S201: electronic equipment kernel starts camera bottom hardware, and powers on camera bottom hardware and initialization process.
Camera bottom hardware mentioned here is generally photographic head (such as: YUVsensor etc.).When electronic equipment kernel receives photographing instruction, start photographic head, and it is powered on and initializes so that photographic head is in running order.
Step S202: in electronic equipment, nuclear control camera bottom hardware starts to gather view data.
Wherein, when photographic head is YUVsensor, this view data is yuv format, a kind of colour coding method that YUV is used by eurovision system, and its luminance signal Y and carrier chrominance signal U, V are to separate.
Step S203: whether the view data state of electronic equipment kernel detection camera bottom hardware meets pre-conditioned.When the view data state of camera bottom hardware meets pre-conditioned, perform step S204, when the view data state of camera bottom hardware is unsatisfactory for pre-conditioned, then whether the view data state of electronic equipment kernel continuation detection camera bottom hardware meets pre-conditioned.
It should be noted that view data state can embody output image quality.When, after photographic head power-up initializing, whether the view data state that electronic equipment kernel detects photographic head current is in pre-determined stability state, to ensure the quality of output image information.
When electronic equipment detects the view data state of Current camera bottom hardware also not met is pre-conditioned, i.e. the view data state of camera bottom hardware is also not reaching to pre-conditioned, then continue detection until detect meet pre-conditioned time till.
Step S204: in electronic equipment, nuclear control camera bottom hardware is taken pictures.
When the view data state of photographic head meets and presets shooting condition, can directly preserve the view data that photographic head currently exports, control instruction is again inputted without user, it is thus possible to avoid shooting style of the prior art to need user to input control instruction at least twice, cause photographing operation complex steps, the problem being not easy to realize being rapidly performed by taking pictures, and preset shooting condition owing to the view data state of now photographic head meets, the image information of photographic head output has better quality, disclosure satisfy that the shooting demand of user, it is ensured that shooting quality.
In the second embodiment of the present invention, user can take pictures at needs, when especially needing to capture, the request of taking pictures can be triggered by default trigger action, system quickly opens camera function according to this request of taking pictures, and starts photographic head and enters duty, and detects shooting condition voluntarily, and the view data that camera bottom hardware exports directly is preserved when shooting condition meets pre-conditioned, complete whole process of taking pictures.This process reduces the interactive operations such as the image preview during taking pictures, user's manual focus, user's manually shooting, it is possible to be rapidly completed and take pictures, and export the photo that quality is higher, meet the candid photograph demand of user to a certain extent, improve Consumer's Experience.Additionally, due to there is no previews, applying also under screen locking or system resting state, loading as long as ensureing that camera bottom hardware normally powers on.
3rd embodiment
Above-mentioned first embodiment and the second embodiment describe the implementation of snapshots method respectively, and it will be further introduced by the present embodiment three in conjunction with concrete application scenarios.
When photographed scene is single bat, as it is shown on figure 3, this snapshots method specifically includes:
Step S301: camera background process detects the request of taking pictures of user in real time.
It should be noted that the triggering mode of the request of taking pictures mentioned here can be triggered by physical button or virtual key, it is also possible to triggered by biological identification technology, such as: the modes such as voice, touching, infrared, gesture trigger.As a example by physical button triggers, single one physical button can be used to trigger, the mode that also multiple physical button can be used to be combined triggers.Such as: when using speech trigger mode, when sound instruction set in advance (such as " taking pictures ") being detected, determine the request of taking pictures of user.
Step S302: according to the request of taking pictures detected, camera service process sends photographing instruction to electronic equipment kernel.
Increasing a monitoring and the camera service process of calling logic in system, after the request of taking pictures being detected, camera service process sends a photographing instruction to electronic equipment kernel.
Step S303: electronic equipment kernel starts camera bottom hardware, and powers on camera bottom hardware and initialization process.
Camera bottom hardware mentioned here is generally photographic head (such as: YUVsensor etc.).When electronic equipment kernel receives photographing instruction, start photographic head, and it is powered on and initializes so that photographic head is in running order.
Step S304: in electronic equipment, nuclear control camera bottom hardware starts to gather view data.
Wherein, when photographic head is YUVsensor, this view data is yuv format, a kind of colour coding method that YUV is used by eurovision system, and its luminance signal Y and carrier chrominance signal U, V are to separate.
Step S305: whether the view data state of electronic equipment kernel detection camera bottom hardware meets pre-conditioned.When the view data state of camera bottom hardware meets pre-conditioned, perform step S306, when the view data state of camera bottom hardware is unsatisfactory for pre-conditioned, electronic equipment kernel continues whether the view data state of detection camera bottom hardware meets pre-conditioned.
It should be noted that view data state can embody output image quality.When, after photographic head power-up initializing, whether the view data state that electronic equipment kernel detects photographic head current is in pre-determined stability state, to ensure the quality of output image information.
When the view data state of current photographic head being detected also not met is pre-conditioned, i.e. the shooting state of photographic head is the most stable, ignores the view data that photographic head currently exports, and continue to detect until detect meet preset shooting condition time till.
Step S306: the view data of the frame yuv format collected is cached the image buffer storage district to pre-first to file by electronic equipment kernel.
When the view data state of photographic head meets and presets shooting condition, represent that the view data that photographic head currently exports meets the shooting conditions such as current environment brightness and colour temperature, the view data now exported directly is cached in the buffer area applied for when camera starts, grabs required view data with the shortest time.Owing to having only to shoot a photo, therefore the buffer area of application has only to apply for the buffer area of a photo size when camera starts.
Step S307: the view data of the yuv format in described image buffer storage district is compressed coding by electronic equipment kernel, and generates photo.
Owing to the view data of photographic head output is yuv format, compatible poor, therefore need it is encoded, generate the compatible higher picture formats such as JPG, and the image after coding is saved in this locality as the photo photographed, release simultaneously caches the buffer zone of this image information.
The third embodiment of the present invention describes single snapshots method clapped under scene, when view data state camera bottom hardware being detected meets pre-conditioned, directly preserves a frame image data of current output, completes whole process of taking pictures.Decrease the interactive operations such as the image preview during taking pictures, user's manual focus, user's manually shooting, it is possible to be rapidly completed and take pictures, and export the photo that quality is higher, meet the candid photograph demand of user to a certain extent, improve Consumer's Experience.
4th embodiment
Above 3rd embodiment describes single claps the implementation of snapshots under scene, below the present embodiment will clap or an embodiment of quickly clapping under continuous shooting scene is described further more.
Specifically, when scene of taking pictures is environment (the user's hand shaking or subject move) that user is in instability, for ensureing shooting quality, screening-mode need to be set to continuous shooting, as shown in Figure 4, this snapshots method includes:
Step S401: camera background process detects the request of taking pictures of user in real time.
It should be noted that the triggering mode of the request of taking pictures mentioned here can be triggered by physical button or virtual key, it is also possible to triggered by biological identification technology, such as: the modes such as voice, touching, infrared, gesture trigger.But different from the triggering mode of the 3rd embodiment, in the 3rd embodiment, user only needs instantaneous actuation of keys or touch action;But in the present embodiment, user needs long by physical button, or continues touch screen, or lasting sounding could trigger continuous shooting function.That is the trigger action of continuous shooting function is perseveration, or is separately provided continuous shooting function button.As a example by pressing physical button triggers, Continued depression physical button can be used to trigger.Such as, when using speech trigger mode, when lasting sound instruction (such as lasting sounding " one ") being detected, trigger continuous shooting request.
Step S402: according to the request of taking pictures detected, camera service process sends photographing instruction to electronic equipment kernel.
Increasing a monitoring and the camera service process of calling logic in system, after the request of taking pictures being detected, camera service process sends a photographing instruction to electronic equipment kernel.
Step S403: electronic equipment kernel starts camera bottom hardware, and powers on camera bottom hardware and initialization process.
Camera bottom hardware mentioned here is generally photographic head (such as: YUVsensor etc.).When electronic equipment kernel receives photographing instruction, start photographic head, and it is powered on and initializes so that photographic head is in running order.
Step S404: in electronic equipment, nuclear control camera bottom hardware starts to gather view data.
Wherein, when photographic head is YUVsensor, this view data is yuv format, a kind of colour coding method that YUV is used by eurovision system, and its luminance signal Y and carrier chrominance signal U, V are to separate.
Step S405: whether the view data state of electronic equipment kernel detection camera bottom hardware meets pre-conditioned.When the view data state of camera bottom hardware meets pre-conditioned, perform step S406, when the view data state of camera bottom hardware is unsatisfactory for pre-conditioned, electronic equipment kernel continues whether the view data state of detection camera bottom hardware meets pre-conditioned.
It should be noted that view data state can embody output image quality.When, after photographic head power-up initializing, whether the view data state that electronic equipment kernel detects photographic head current is in pre-determined stability state, to ensure the quality of output image information.
When also not met is pre-conditioned for the view data state current photographic head being detected, i.e. the shooting state of photographic head is the most stable, ignores the view data that photographic head currently exports, and continue to detect until detect meet preset shooting condition time till.
Step S406: when the view data state of camera bottom hardware meets pre-conditioned, the view data of the multiframe yuv format collected is cached the image buffer storage district to pre-first to file by electronic equipment kernel successively.
When the view data state of photographic head meets and presets shooting condition, represent that the view data that photographic head currently exports meets the shooting conditions such as current environment brightness and colour temperature.Owing to being continuous shooting state, the view data exported by present frame when photographic head preserves to the buffer area of pre-first to file, the view data of follow-up output is given to the buffer zone that system dynamics application is new, image data is cached by chain sheet form, dynamically application and process of caching are continued until that action of taking pictures stops, i.e. said process is continued until that user triggers the release of continuous shooting function.Wherein, for ensureing that view data is not lost, often obtain caching one after the view data that the foot shooting quality that is filled requires, if the demand of buffer zone is beyond the buffer size of pre-first to file, image information above is preserved to local file.
Wherein, user is triggered by button or sound etc. when taking pictures, all it is probably lasting action, as long as now trigger action is being carried out always, the request of taking pictures does not stops, buffer area will preserve each frame image information with the speed of camera output frame rate, reaches not lose the purpose of any frame picture, more can prevent the phenomenons such as fuzzy smear.
Step S407: the view data of electronic equipment kernel calls display program display multiframe yuv format, and when showing each view data, display whether to store the information of this frame image data.
Owing to the view data of photographic head output is yuv format, then the image information of caching can be shown when user unlocks screen or system wake-up directly in the upper display of mobile device (such as mobile phone), select for user.
Step S408: the view data of the yuv format in described image buffer storage district is compressed coding by electronic equipment kernel, and generates photo.
Owing to the view data compatibility of JPG form is higher, user needs to preserve the file of JPG form.But due under burst mode, each frame image data that photographic head persistently exports, speed, data volume is the biggest, carrying out coding in real time can be the highest to system performance requirements, therefore available yuv format view data can not carry out real-time coding to each frame image information of photographic head early stage output in the feature of the terminal demonstration such as mobile phone, but after user selects required image data, then the form of correspondence image data is preserved by yuv format coding generation photo.
4th embodiment uses the mode of Coutinuous store YUV image information, it is ensured that does not have photo and omits, it is to avoid capture failed situation because of what misoperation (angle, brightness improper etc.) caused.And coding is placed on after user selects view data and carries out, and do not carry out in shooting process, reduce calculating and the treating capacity of system, more image information can be preserved within the shortest time.
It is worthy of note, under the scene of the image information that can directly export JPG form when photographic head, without again this view data being encoded during photographic head preserves view data.
5th embodiment
First embodiment above to the 5th embodiment describes how to realize snapshots under different scene respectively, in above-mentioned second embodiment to the 5th embodiment, mention that needs are before taking pictures, whether the view data state of detection camera bottom hardware meets pre-conditioned, to ensure the quality of captured photo, concrete detection mode has multiple, and the present embodiment is only using following two ways as illustrating.
Specifically, as it is shown in figure 5, detection mode one is for possessing the photographic head having view data status register, detection mode specifically includes:
Step S501: obtain view data status parameter values from view data status register.
Wherein, view data status parameter values includes: at least one in auto exposure parameter value, AWB parameter value and auto-focusing parameter value.
Step S502: according to the view data status parameter values got, whether the view data state of detection camera bottom hardware meets pre-conditioned.
Specifically, represent different state by numeral 0 and 1, such as: representing by numeral 1 and meet pre-conditioned, i.e. corresponding shooting state is steady statue, it is possible to the image information that guarantee is shot has better quality;Representing by numeral 0 and do not meet pre-conditioned, i.e. corresponding shooting state is not up to steady statue, it is impossible to enough ensure that the view data shot has better quality.When reading the state value of certain view data state of photographic head from view data status register and being 1, represent that this item of image data state meets pre-conditioned;When reading the state value of certain view data state of photographic head from view data status register and being 0, represent that this item of image data state is unsatisfactory for pre-conditioned, it is impossible to shoot the image information that quality is higher.
It is directed to the photographic head possessing view data status register with upper type one, when photographic head does not configures this depositor, can use the mode of following manner two that shooting state parameter is detected, it is judged that it is pre-conditioned whether it meets.
Specifically, as shown in Figure 6, detection mode two has the photographic head of view data status register for not possessing, and detection mode specifically includes:
Step S601: electronic equipment kernel starts detection procedure, detection procedure is analyzed according to the view data of the preset algorithm yuv format to collecting, and obtains view data status information.
Step S602: the view data status information that electronic equipment kernel gets according to detection procedure, whether the view data state of detection camera bottom hardware meets pre-conditioned.
Wherein, photographic head possesses the output frame rate of self output image, and photographic head exports the view data collected according to self output frame rate.In addition photographic head can be according to the shooting state of varying environment self-adaptative adjustment self, to adjust the shooting state of self to most preferably.The quality condition of the front N frame image data according to the output of photographic head present frame judges that photographic head has adjusted the most to optimal shooting state.Wherein, N is variable preset value, and value is positive integer, in order to improve the accuracy of detection, in the case of ensureing shooting speed, can the value of N be arranged is larger, preferably, can arrange this N value according to the image output frame rate of photographic head, output frame rate is high, and it is larger that N value is just arranged, output frame rate is low, it is smaller that N value is just arranged so that while not affecting output image quality, shooting speed is the fastest.
Wherein, above-mentioned view data state refers to affect the state of the physical parameter of output image information quality.Wherein, important parameter has: automatic exposure AE value, AWB AWB value, auto-focusing AF value etc..When shooting state parameter includes: during one or more in automatic exposure AE value, AWB AWB value, auto-focusing AF value, the AE value of the view data of the output according to camera bottom hardware, AWB value or AF value judge when whether photographic head meets pre-conditioned, need to preset parameter reference values during photographic head steady statue, such as:
AE value is the brightness statistics value calculating image, when the AE value in the view data of the front N frame yuv format of the present frame got is in the term of reference of preset target brightness, it is judged that the AE state for photographic head is the most stable.
AWB value is red green (R/G) value of statistical picture, blue green (B/G) value, when the AWB value in the front N frame YUV image data got is in the term of reference of preset reference point;Wherein, reference point typically contains D50, D65, D70, COOLWHITE, TL84, A light etc., if the statistical value that AWB calculates is when these reference points or the little scope of reference point line adnexa fluctuate, it is judged that the AWB for photographic head is in stable condition.
AF value is used for judging whether to focus successfully, if the camera lens of photographic head moves in little scope, so that it may think and focus successfully.Therefore when before acquisition in N frame YUV image data procedures, detect photographic head AF value in default focal range, when i.e. camera lens moving displacement is in preset range, then it represents that photographic head is the most successfully focused.
It is worthy of note, the view data state tool that above-mentioned AE value, AWB value and AF value export for photographic head has a significant impact, in order to reach the effect quickly shot, can be to above three parameter parallel detection, i.e. start three parallel detection procedure, when at least one detected in three parameters reaches steady statue, can determine whether that photographic head has reached steady shot state, and its view data currently exported is preserved;When shooting quality requires higher, may be set to when detecting that three parameters all reach steady statue, it is judged that photographic head has reached steady shot state.
Use the state value in the view data status register directly reading photographic head, or detect whether photographic head meets pre-conditioned according to the front N frame image data of photographic head present frame.Detect meet pre-conditioned time, directly preserve the view data that photographic head currently exports, complete whole process of taking pictures.This process reduces the interactive operations such as the image preview during taking pictures, user's manual focus, user's manually shooting, it is possible to be rapidly completed and take pictures, and export the photo that quality is higher, meet the candid photograph demand of user to a certain extent, improve Consumer's Experience.Additionally, due to there is no previews, therefore can also be applied under screen locking or system resting state, as long as ensureing that camera drives the loading that normally powers on to realize.
First embodiment above to the 5th embodiment describes the snapshots method under different scene respectively in detail, is described further corresponding electronic equipment below in conjunction with Fig. 7.
Wherein, this electronic equipment includes camera background process module 71, camera service scheduler module 72 and electronic equipment kernel module 73;Wherein,
The camera background process that camera background process module 71 starts, at the running background of electronic equipment, detects the request of taking pictures of user in real time;
The camera service process that camera service scheduler module 72 starts, according to the request of taking pictures detected, sends a photographing instruction to electronic equipment kernel;
Electronic equipment kernel module 73 calls electronic equipment kernel and takes pictures according to the photographing instruction received, control camera bottom hardware.
When user needs to take pictures, and especially needs to capture, can trigger, by default trigger action, the request of taking pictures, camera background process module 71 detects the request of taking pictures of user in real time by starting camera background process;Camera service scheduler module 72 is by starting camera service process, to send a photographing instruction according to this request of taking pictures to electronic equipment kernel, quickly to open camera function, starts photographic head and enters duty, complete whole process of taking pictures.This process reduces the interactive operations such as the image preview during taking pictures, user's manual focus, user's manually shooting, it is possible to be rapidly completed and take pictures, meet the candid photograph demand of user to a certain extent, improve Consumer's Experience.
Wherein, as shown in Figure 8, electronic equipment kernel module 73 specifically includes:
Initialization submodule 7301, is used for starting camera bottom hardware, and powers on camera bottom hardware and initialization process;
Gathering submodule 7302, be used for controlling camera bottom hardware and start to gather view data, view data is yuv format;
Detection sub-module 7303, for detecting whether the view data state of camera bottom hardware meets pre-conditioned;
First processes submodule 7304, for when the view data state of camera bottom hardware meets pre-conditioned, controls camera bottom hardware and takes pictures;
Second processes submodule 7305, and for when the view data state of camera bottom hardware is unsatisfactory for pre-conditioned, whether the view data state continuing detection camera bottom hardware meets pre-conditioned.
In the camera service process that camera service scheduler module 72 starts, according to the request of taking pictures detected, after electronic equipment kernel sends a photographing instruction, the initialization submodule 7301 of electronic equipment kernel module 73 starts camera bottom hardware, and camera bottom hardware is powered on and initialization process, collection submodule 7302 controls camera bottom hardware and starts to gather view data, detection sub-module 7303 starts to detect whether the view data state of camera bottom hardware meets pre-conditioned, when meeting pre-conditioned, directly preserve the view data that photographic head currently exports, to ensure the photo of outputting high quality.
Wherein, the first process submodule 7304 includes:
First buffer unit 73041, for when the view data state of camera bottom hardware meets pre-conditioned, caches the image buffer storage district to pre-first to file by the view data of the frame yuv format collected;
First processing unit 73042, for the view data of the yuv format in image buffer storage district is compressed coding, and generates photo.
First buffer unit 73041 mentioned here and the first processing unit 73042 are mainly used in singly clapping scene, without interactive operations such as image preview, user's manual focus, user's manually shootings during whole, can be rapidly completed and take pictures, and export the photo that quality is higher, meet user and capture demand.
Wherein, the first process submodule 7304 also includes:
Second buffer unit 73043, for when the view data state of camera bottom hardware meets pre-conditioned, caches the image buffer storage district to pre-first to file successively by the view data of the multiframe yuv format collected;
Display unit 73044, for calling the view data of display program display multiframe yuv format, and when showing each view data, displays whether to store the information of this frame image data;
Second processing unit 73045, the view data of the yuv format needing storage for user being chosen encodes, and generates photo.
Above second buffer unit 73043, display unit 73044 and the second processing unit 73045 are mainly used in continuous shooting scene, use the mode of Coutinuous store YUV image information, guarantee not have photo to omit, it is to avoid capture failed situation because of what misoperation (angle, brightness improper etc.) caused.And coding is placed on after user selects view data and carries out, and do not carry out in shooting process, reduce calculating and the treating capacity of system, more image information can be preserved within the shortest time.
Wherein, detection sub-module 7303 includes:
First acquiring unit 73031, for obtaining view data status parameter values from view data status register, view data status parameter values includes: at least one in auto exposure parameter value, AWB parameter value and auto-focusing parameter value;
First detector unit 73032, for according to the view data status parameter values got, whether the view data state of detection camera bottom hardware meets pre-conditioned.
Wherein, detection sub-module 7303 also includes:
Second acquisition unit 73033, for when electronic equipment kernel starts detection procedure, being analyzed according to the view data of the preset algorithm yuv format to collecting, obtains view data status information;
Second detector unit 73034, for the view data status information got according to detection procedure, whether the view data state of detection camera bottom hardware meets pre-conditioned.
Wherein, above-mentioned at least one included in following condition pre-conditioned:
The auto exposure parameter value of the view data of the yuv format collected is in the term of reference of preset target brightness;
The AWB parameter value of the view data of the yuv format collected is in the interval range of preset reference point;
The auto-focusing parameter value of the view data of the yuv format collected is in default focal range.
To sum up, use the state value in the view data status register directly reading photographic head, or detect whether photographic head meets pre-conditioned according to the front N frame image data of photographic head present frame.Detect meet pre-conditioned time, directly preserve the view data that photographic head currently exports, complete whole process of taking pictures.This process reduces the interactive operations such as the image preview during taking pictures, user's manual focus, user's manually shooting, it is possible to be rapidly completed and take pictures, and export the photo that quality is higher, meet the candid photograph demand of user to a certain extent, improve Consumer's Experience.Additionally, due to there is no previews, therefore can also be applied under screen locking or system resting state, as long as ensureing that camera drives the loading that normally powers on to realize.
It should be noted that this electronic equipment is the electronic equipment corresponding with above-mentioned snapshots method, in said method embodiment, all implementations are all be applicable to the embodiment of this electronic equipment, also can reach identical technique effect.Wherein, this electronic equipment can be the smart machines such as digital camera, smart mobile phone, panel computer, is not described in detail in this.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can be by the hardware that computer program controls to be correlated with to complete, described computer program program can be stored in a computer read/write memory medium, this computer program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc..
Above-described is some preferred implementations of the present invention; should be understood that for the ordinary person of the art; can also make some improvements and modifications under without departing from principle premise of the present invention, these improvements and modifications are the most within the scope of the present invention.

Claims (14)

1. a snapshots method, is applied to an electronic equipment, it is characterised in that described electronic equipment includes that camera background process, described camera background process include at the running background of electronic equipment, described photographic method:
Described camera background process detects the request of taking pictures of user in real time;
According to the request of taking pictures detected, camera service process sends a photographing instruction to electronic equipment kernel;
Described electronic equipment kernel, according to the photographing instruction received, controls camera bottom hardware and takes pictures.
Snapshots method the most according to claim 1, it is characterised in that described electronic equipment kernel, according to the photographing instruction received, controls camera bottom hardware and carries out taking pictures including:
Electronic equipment kernel starts camera bottom hardware, and powers on camera bottom hardware and initialization process;
In electronic equipment, nuclear control camera bottom hardware starts to gather view data, and described view data is yuv format;
Whether the view data state of electronic equipment kernel detection camera bottom hardware meets pre-conditioned;
When the view data state of described camera bottom hardware meets pre-conditioned, in electronic equipment, nuclear control camera bottom hardware is taken pictures;
When the view data state of described camera bottom hardware is unsatisfactory for pre-conditioned, electronic equipment kernel continues to detect whether the view data state of described camera bottom hardware meets pre-conditioned.
Snapshots method the most according to claim 2, it is characterised in that when the view data state of described camera bottom hardware meets pre-conditioned, in electronic equipment, nuclear control camera bottom hardware carries out taking pictures including:
When the view data state of described camera bottom hardware meets pre-conditioned, the view data of the frame yuv format collected is cached the image buffer storage district to pre-first to file by electronic equipment kernel;
The view data of the yuv format in described image buffer storage district is compressed coding by electronic equipment kernel, and generates photo.
Snapshots method the most according to claim 2, it is characterised in that when the view data state of described camera bottom hardware meets pre-conditioned, in electronic equipment, nuclear control camera bottom hardware carries out taking pictures including:
When the view data state of described camera bottom hardware meets pre-conditioned, the view data of the multiframe yuv format collected is cached the image buffer storage district to pre-first to file by electronic equipment kernel successively;
The view data of multiframe yuv format described in the display program display of electronic equipment kernel calls, and when showing each view data, display whether to store the information of this frame image data;
The view data of the yuv format needing storage that user is chosen by electronic equipment kernel encodes, and generates photo.
Snapshots method the most according to claim 2, it is characterised in that whether the view data state of described electronic equipment kernel detection camera bottom hardware meets pre-conditioned including:
Obtaining view data status parameter values from view data status register, described view data status parameter values includes: at least one in auto exposure parameter value, AWB parameter value and auto-focusing parameter value;
According to the described view data status parameter values got, whether the view data state of detection camera bottom hardware meets pre-conditioned.
Snapshots method the most according to claim 2, it is characterised in that whether the view data state of described electronic equipment kernel detection camera bottom hardware meets pre-conditioned including:
Electronic equipment kernel starts detection procedure, and described detection procedure is analyzed according to the view data of the preset algorithm yuv format to collecting, and obtains view data status information;
The view data status information that electronic equipment kernel gets according to described detection procedure, whether the view data state of detection camera bottom hardware meets pre-conditioned.
Snapshots method the most according to claim 2, it is characterised in that described at least one included in following condition pre-conditioned:
The auto exposure parameter value of the view data of the described yuv format collected is in the term of reference of preset target brightness;
The AWB parameter value of the view data of the described yuv format collected is in the interval range of preset reference point;
The auto-focusing parameter value of the view data of the described yuv format collected is in default focal range.
8. an electronic equipment, it is characterised in that described electronic equipment includes camera background process module, camera service scheduler module and electronic equipment kernel module;Wherein,
The camera background process that described camera background process module starts, at the running background of electronic equipment, detects the request of taking pictures of user in real time;
The camera service process that described camera service scheduler module starts, according to the request of taking pictures detected, sends a photographing instruction to electronic equipment kernel;
Described electronic equipment kernel module calls described electronic equipment kernel and takes pictures according to the photographing instruction received, control camera bottom hardware.
Electronic equipment the most according to claim 8, it is characterised in that described electronic equipment kernel module specifically includes:
Initialization submodule, is used for starting camera bottom hardware, and powers on camera bottom hardware and initialization process;
Gathering submodule, be used for controlling camera bottom hardware and start to gather view data, described view data is yuv format;
Detection sub-module, for detecting whether the view data state of camera bottom hardware meets pre-conditioned;
First processes submodule, for when the view data state of described camera bottom hardware meets pre-conditioned, controls camera bottom hardware and takes pictures;
Second processes submodule, and for when the view data state of described camera bottom hardware is unsatisfactory for pre-conditioned, whether the view data state continuing to detect described camera bottom hardware meets pre-conditioned.
Electronic equipment the most according to claim 9, it is characterised in that described first processes submodule includes:
First buffer unit, for when the view data state of described camera bottom hardware meets pre-conditioned, caches the image buffer storage district to pre-first to file by the view data of the frame yuv format collected;
First processing unit, for the view data of the yuv format in described image buffer storage district is compressed coding, and generates photo.
11. electronic equipments according to claim 9, it is characterised in that described first processes submodule also includes:
Second buffer unit, for when the view data state of described camera bottom hardware meets pre-conditioned, caches the image buffer storage district to pre-first to file successively by the view data of the multiframe yuv format collected;
Display unit, for calling the view data of multiframe yuv format described in display program display, and when showing each view data, displays whether to store the information of this frame image data;
Second processing unit, the view data of the yuv format needing storage for user being chosen encodes, and generates photo.
12. electronic equipments according to claim 9, it is characterised in that described detection sub-module includes:
First acquiring unit, for obtaining view data status parameter values from view data status register, described view data status parameter values includes: at least one in auto exposure parameter value, AWB parameter value and auto-focusing parameter value;
First detector unit, for according to the described view data status parameter values got, whether the view data state of detection camera bottom hardware meets pre-conditioned.
13. electronic equipments according to claim 9, it is characterised in that described detection sub-module includes:
Second acquisition unit, for when electronic equipment kernel starts detection procedure, being analyzed according to the view data of the preset algorithm yuv format to collecting, obtains view data status information;
Second detector unit, for the view data status information got according to described detection procedure, whether the view data state of detection camera bottom hardware meets pre-conditioned.
14. electronic equipments according to claim 9, it is characterised in that described at least one included in following condition pre-conditioned:
The auto exposure parameter value of the view data of the described yuv format collected is in the term of reference of preset target brightness;
The AWB parameter value of the view data of the described yuv format collected is in the interval range of preset reference point;
The auto-focusing parameter value of the view data of the described yuv format collected is in default focal range.
CN201510622500.3A 2015-09-24 2015-09-24 Rapid photographing method and electronic device Pending CN105827942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510622500.3A CN105827942A (en) 2015-09-24 2015-09-24 Rapid photographing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510622500.3A CN105827942A (en) 2015-09-24 2015-09-24 Rapid photographing method and electronic device

Publications (1)

Publication Number Publication Date
CN105827942A true CN105827942A (en) 2016-08-03

Family

ID=56514535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510622500.3A Pending CN105827942A (en) 2015-09-24 2015-09-24 Rapid photographing method and electronic device

Country Status (1)

Country Link
CN (1) CN105827942A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331335A (en) * 2016-08-22 2017-01-11 深圳市金立通信设备有限公司 Image data processing method and terminal
CN107277353A (en) * 2017-06-30 2017-10-20 维沃移动通信有限公司 A kind of method taken pictures and mobile terminal
CN107527317A (en) * 2017-07-18 2017-12-29 西安电子科技大学 Data transmission system based on image procossing
CN108712610A (en) * 2018-05-18 2018-10-26 北京京东尚科信息技术有限公司 Intelligent camera
WO2019056242A1 (en) * 2017-09-21 2019-03-28 深圳传音通讯有限公司 Camera photographing parameter setting method for smart terminal, setting device, and smart terminal
CN109922322A (en) * 2019-04-10 2019-06-21 Oppo广东移动通信有限公司 Photographic method, image processor, camera arrangement and electronic equipment
CN110913138A (en) * 2019-11-28 2020-03-24 Oppo广东移动通信有限公司 Continuous shooting method, device, terminal and computer readable storage medium
CN111294500A (en) * 2018-12-07 2020-06-16 深圳市优必选科技有限公司 Image shooting method, terminal device and medium
CN111371998A (en) * 2020-03-16 2020-07-03 Oppo广东移动通信有限公司 Camera starting control method and related device
CN111567033A (en) * 2019-05-15 2020-08-21 深圳市大疆创新科技有限公司 Shooting device, unmanned aerial vehicle, control terminal and shooting method
CN111684787A (en) * 2019-05-15 2020-09-18 深圳市大疆创新科技有限公司 Image capturing method, image capturing apparatus, movable platform, storage medium
CN112188083A (en) * 2020-08-31 2021-01-05 深圳市优必选科技股份有限公司 Method, device and equipment for determining stability of camera shooting parameters and storage medium
CN112805991A (en) * 2020-06-15 2021-05-14 深圳市大疆创新科技有限公司 Digital zoom imaging method and device, camera and unmanned aerial vehicle system
CN113259582A (en) * 2020-02-13 2021-08-13 青岛海信移动通信技术股份有限公司 Picture generation method and terminal
WO2023160224A1 (en) * 2022-02-28 2023-08-31 荣耀终端有限公司 Photographing method and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024200A (en) * 2012-12-29 2013-04-03 中科创达软件股份有限公司 Shooting method and device applied to intelligent terminals
CN103870090A (en) * 2012-12-10 2014-06-18 腾讯科技(深圳)有限公司 Shooting start device and method of internal camera of portable data processing device
CN104038698A (en) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 Background photographing method and device
CN104052909A (en) * 2014-06-19 2014-09-17 深圳市中兴移动通信有限公司 Shooting method and device
CN104506769A (en) * 2014-12-04 2015-04-08 广东欧珀移动通信有限公司 Shooting method and terminal
CN104580908A (en) * 2014-12-31 2015-04-29 惠州Tcl移动通信有限公司 Snapshot method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870090A (en) * 2012-12-10 2014-06-18 腾讯科技(深圳)有限公司 Shooting start device and method of internal camera of portable data processing device
CN103024200A (en) * 2012-12-29 2013-04-03 中科创达软件股份有限公司 Shooting method and device applied to intelligent terminals
CN104052909A (en) * 2014-06-19 2014-09-17 深圳市中兴移动通信有限公司 Shooting method and device
CN104038698A (en) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 Background photographing method and device
CN104506769A (en) * 2014-12-04 2015-04-08 广东欧珀移动通信有限公司 Shooting method and terminal
CN104580908A (en) * 2014-12-31 2015-04-29 惠州Tcl移动通信有限公司 Snapshot method and mobile terminal

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331335A (en) * 2016-08-22 2017-01-11 深圳市金立通信设备有限公司 Image data processing method and terminal
CN107277353A (en) * 2017-06-30 2017-10-20 维沃移动通信有限公司 A kind of method taken pictures and mobile terminal
CN107527317A (en) * 2017-07-18 2017-12-29 西安电子科技大学 Data transmission system based on image procossing
WO2019056242A1 (en) * 2017-09-21 2019-03-28 深圳传音通讯有限公司 Camera photographing parameter setting method for smart terminal, setting device, and smart terminal
CN108712610A (en) * 2018-05-18 2018-10-26 北京京东尚科信息技术有限公司 Intelligent camera
CN111294500A (en) * 2018-12-07 2020-06-16 深圳市优必选科技有限公司 Image shooting method, terminal device and medium
CN111294500B (en) * 2018-12-07 2021-12-17 深圳市优必选科技有限公司 Image shooting method, terminal device and medium
CN109922322B (en) * 2019-04-10 2021-06-11 Oppo广东移动通信有限公司 Photographing method, image processor, photographing device and electronic equipment
CN109922322A (en) * 2019-04-10 2019-06-21 Oppo广东移动通信有限公司 Photographic method, image processor, camera arrangement and electronic equipment
WO2020227997A1 (en) * 2019-05-15 2020-11-19 深圳市大疆创新科技有限公司 Photography apparatus, unmanned aerial vehicle, control terminal and photography method
CN111684787A (en) * 2019-05-15 2020-09-18 深圳市大疆创新科技有限公司 Image capturing method, image capturing apparatus, movable platform, storage medium
CN111567033A (en) * 2019-05-15 2020-08-21 深圳市大疆创新科技有限公司 Shooting device, unmanned aerial vehicle, control terminal and shooting method
CN110913138B (en) * 2019-11-28 2021-03-02 Oppo广东移动通信有限公司 Continuous shooting method, device, terminal and computer readable storage medium
CN110913138A (en) * 2019-11-28 2020-03-24 Oppo广东移动通信有限公司 Continuous shooting method, device, terminal and computer readable storage medium
CN113259582A (en) * 2020-02-13 2021-08-13 青岛海信移动通信技术股份有限公司 Picture generation method and terminal
CN111371998A (en) * 2020-03-16 2020-07-03 Oppo广东移动通信有限公司 Camera starting control method and related device
CN112805991A (en) * 2020-06-15 2021-05-14 深圳市大疆创新科技有限公司 Digital zoom imaging method and device, camera and unmanned aerial vehicle system
WO2021253167A1 (en) * 2020-06-15 2021-12-23 深圳市大疆创新科技有限公司 Digital zoom imaging method and apparatus, camera, and unmanned aerial vehicle system
CN112188083A (en) * 2020-08-31 2021-01-05 深圳市优必选科技股份有限公司 Method, device and equipment for determining stability of camera shooting parameters and storage medium
CN112188083B (en) * 2020-08-31 2022-02-11 深圳市优必选科技股份有限公司 Method, device and equipment for determining stability of camera shooting parameters and storage medium
WO2023160224A1 (en) * 2022-02-28 2023-08-31 荣耀终端有限公司 Photographing method and related device

Similar Documents

Publication Publication Date Title
CN105827942A (en) Rapid photographing method and electronic device
JP7169383B2 (en) Capture and user interface using night mode processing
US9667888B2 (en) Image capturing apparatus and control method thereof
KR101867445B1 (en) Mobile terminal and method for starting shooting on mobile terminal
CN101310519A (en) Imaging device, display control method, and program
KR101605771B1 (en) Digital photographing apparatus, method for controlling the same, and recording medium storing program to execute the method
US9692971B2 (en) Image capturing apparatus capable of automatically switching from reproduction mode to shooting mode and displaying live view image and control method thereof
EP3062513B1 (en) Video apparatus and photography method thereof
CN103227901A (en) Display control apparatus and control method thereof
US9177395B2 (en) Display device and display method for providing image display in first color mode and second color mode
JP2014146989A (en) Image pickup device, image pickup method, and image pickup program
US10769416B2 (en) Image processing method, electronic device and storage medium
CN111050069A (en) Shooting method and electronic equipment
JP2015019376A (en) Imaging control system and control method of the same
CN103747182B (en) Shooting control method for smart mobile phone
US9232133B2 (en) Image capturing apparatus for prioritizing shooting parameter settings and control method thereof
CN114143471B (en) Image processing method, system, mobile terminal and computer readable storage medium
JP2012049841A (en) Imaging apparatus and program
CN105453541B (en) The method of electronic device and control electronic device
CN114827477B (en) Method, device, electronic equipment and medium for time-lapse photography
RU2785789C1 (en) Photography using night mode processing and user interface
KR20050116699A (en) Apparatus and method for multi-division photograph using hand-held terminal
KR100623913B1 (en) Apparatus and method for entering fast camera nonstop shot of mobile phone camera
JP5415830B2 (en) Mobile terminal, electronic camera and continuous shooting program
JP2012244278A (en) Electronic camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160803