CN104917958B - Photographic method and device - Google Patents
Photographic method and device Download PDFInfo
- Publication number
- CN104917958B CN104917958B CN201510217485.4A CN201510217485A CN104917958B CN 104917958 B CN104917958 B CN 104917958B CN 201510217485 A CN201510217485 A CN 201510217485A CN 104917958 B CN104917958 B CN 104917958B
- Authority
- CN
- China
- Prior art keywords
- virtual key
- slide
- focusing
- photographing instruction
- module
- 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.)
- Active
Links
Landscapes
- Studio Devices (AREA)
- Image Input (AREA)
Abstract
The present invention provides a kind of photographic method, this method comprises: receive act on preset virtual key press operation;Operation progress auto-focusing is pressed according to described, and locks the focusing and exposure;It presses whether operation terminates described in judgement, if do not terminated, receives the slide to the virtual key, photographing instruction is generated according to the slide.It by pressing auto-focusing and lock focusing and exposure to virtual key, is taken pictures by the movement to virtual key, is avoided that and occurs running burnt problem to defocused, more easily can be focused and be taken pictures.In addition, additionally providing a kind of camera arrangement.
Description
Technical field
The present invention relates to field of mobile terminals, more particularly to a kind of photographic method and device.
Background technique
Existing majority smart phone is not provided with camera entity tripper, but passes through the void being arranged on the touchscreen
Quasi- tripper is taken pictures, user when taking pictures, can only be by camera auto-focusing or touch screen manual focus after, then click void
Quasi- tripper realizes camera function, is easy to occur running burnt problem after focusing, and cannot be patterned again after focusing.
Summary of the invention
Based on this, it is necessary in view of the above-mentioned problems, provide a kind of photographic method and device, can more easily carry out focusing and
It takes pictures.
A kind of photographic method, which comprises
Receive act on preset virtual key press operation;
Operation progress auto-focusing is pressed according to described, and locks the focusing and exposure;
It presses whether operation terminates described in judgement, if do not terminated, receives the slide to the virtual key,
Photographing instruction is generated according to the slide.
Described the step of generating photographing instruction according to the slide, includes: in one of the embodiments,
According to the corresponding sliding trace data acquisition sliding distance of the slide;
Judge whether the sliding distance reaches preset threshold, if it is, generating photographing instruction, otherwise sentences described in entrance
Disconnected described press operates the step of whether terminating.
In one of the embodiments, the generation photographing instruction the step of before further include:
According to the sliding trace data acquisition glide direction;
Judge whether the glide direction is consistent with preset direction, if it is, generating photographing instruction, otherwise enters described
The step of whether operation terminates is pressed described in judgement.
After pressing the step of whether operation terminates described in the judgement in one of the embodiments, further include;
If described press operation termination, returns to reception and act on the step of pressing operation of preset virtual key.
In one of the embodiments, the method also includes:
The virtual key is controlled as the slide is moved accordingly;
It is taken pictures according to photographing instruction completion;
It controls the virtual key and returns to original preset position.
Before pressing the step of operation carries out auto-focusing according to described in one of the embodiments, also wrap
It includes:
The corresponding finger print information of operation that presses is identified, is entered if identifying successfully described according to the touching
Press operation carries out the step of auto-focusing, if identification is unsuccessful, does not deal with.
A kind of camera arrangement, described device include:
Receiving module, for receive act on preset virtual key press operation;
Focusing module carries out auto-focusing for pressing operation according to, and locks the focusing and exposure;
Photo module, for judge it is described press whether operation terminates, if do not terminated, reception is virtually pressed to described
The slide of key generates photographing instruction according to the slide.
The photo module generates photographing instruction according to the slide and specifically includes in one of the embodiments:
According to the corresponding sliding trace data acquisition sliding distance of the slide;
Judge whether the sliding distance reaches preset threshold, if it is, generating photographing instruction, otherwise judges the touching
Whether press operation terminates.
The photo module is also used to according to sliding trace data acquisition sliding side in one of the embodiments,
To, judge whether the glide direction consistent with preset direction, if it is, generate photographing instruction, otherwise judgement described in press
Whether operation terminates.
If the photo module is also used to described press and operates termination in one of the embodiments, reception is returned
Module.
Described device in one of the embodiments, further include:
Mobile module, for controlling the virtual key as the slide is moved accordingly;
The photo module is also used to complete to take pictures according to the photographing instruction;
The mobile module is also used to after photo module completion takes pictures, and controls the virtual key back to original preset
Position.
Described device in one of the embodiments, further include:
Fingerprint identification module, for being identified to the corresponding finger print information of operation that presses, if identifying successfully
Into Focusing module, if identification is unsuccessful, do not deal with.
Above-mentioned photographic method and device, by receive act on preset virtual key press operation, grasped according to pressing
Make carry out auto-focusing, and lock focusing and exposure, judgement presses whether operation terminates, if do not terminated, receives to void
The slide of quasi- key generates photographing instruction according to slide.Pass through pressing auto-focusing and lock to virtual key
Focusing and exposure, are taken pictures by the movement to virtual key, are avoided that and occur running burnt problem to defocused, can be more easily
It is focused and is taken pictures.
Detailed description of the invention
Fig. 1 is the flow chart of photographic method in one embodiment;
Fig. 2 is the flow chart for generating photographing instruction in one embodiment according to slide;
Fig. 3 is the flow chart for generating photographing instruction in another embodiment according to slide;
Fig. 4 is interface schematic diagram of taking pictures in one embodiment;
Fig. 5 is in one embodiment according to the boundary of taking pictures when pressing operation progress auto-focusing, and locking focusing and expose
Face schematic diagram;
Fig. 6 is the structural block diagram of camera arrangement in one embodiment;
Fig. 7 is the structural block diagram of camera arrangement in another embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
In one embodiment, as shown in Figure 1, providing a kind of photographic method, to be applied to the movement with touch screen
Terminal is illustrated, this method comprises:
Step S110, receive act on preset virtual key press operation.
In the present embodiment, after starting mobile terminal enters photographing mode, interface of taking pictures will be entered.Virtual key can be
It takes pictures any position at interface.In one embodiment, gesture information is obtained, according to the position of gesture information mobile virtual key
It sets.The gesture information that user can be obtained by the sensor on mobile terminal, judges the finger position of user, according to finger position
Corresponding mobile virtual key is set, when taking pictures convenient for user, virtual key is near finger, it is easier to operate.It can lead to
That crosses touch sensor reception virtual key presses operation.
In one embodiment, before step S120 further include:
The corresponding finger print information of operation that presses is identified, enters step S120 if identifying successfully, if
It identifies unsuccessful, does not then deal with.
Specifically, being identified by the feature for the information that takes the fingerprint to fingerprint, if identified successfully, enter step
S120 illustrates to press the permission that operation is not taken pictures if identification is unsuccessful.When can prevent children from playing mobile terminal
The maloperation of progress has taken a large amount of useless photos, wastes memory space.
Step S120 carries out auto-focusing according to operation is pressed, and locks focusing and exposure.
In the present embodiment, if pressing operation is more than scheduled duration, mobile terminal starts auto-focusing, focuses successfully
Afterwards, then focusing and exposure are locked.It is locked automatically due to focusing and exposing, will not only run coke, it can also after focusing again
It is patterned, improves the flexibility and convenience that user takes pictures.
Step S130, judgement press whether operation terminates, if do not terminated, enter step S140.
It in the present embodiment, is not terminated if pressing operation, illustrates that user is satisfied with focusing and exposure, can enter step
S140.It is terminated if a sensor senses that pressing operation, then not will do it and take pictures.
Step S140 receives the slide to virtual key.
In the present embodiment, slide can be the sliding to all directions of virtual key, when facilitating user's self-timer, root
The glide direction for being conducive to take pictures voluntarily is selected according to current self-timer posture.
Step S150 generates photographing instruction according to slide.
In the present embodiment, the corresponding sliding trace data of slide, sliding trace data packet are obtained according to slide
Spaced multiple coordinate datas on sliding trace are included, judge whether slide is effectively to slide according to coordinate data
Operation, if it is generates photographing instruction, and photographing instruction is taken pictures for triggering.
In the present embodiment, by receive act on preset virtual key press operation, carry out oneself according to operation is pressed
Dynamic focusing, and lock focusing and exposure;Judgement presses whether operation terminates, if do not terminated, receives to virtual key
Slide generates photographing instruction according to slide.Pass through pressing auto-focusing and lock focusing and exposure to virtual key
Light is taken pictures by the movement to virtual key, is avoided that and occurs running burnt problem to defocused, can more easily focus
With take pictures.
In one embodiment, as shown in Fig. 2, step S150 includes:
Step S151, according to the corresponding sliding trace data acquisition sliding distance of slide.
In the present embodiment, sliding distance is obtained according to the coordinate data in sliding trace data, sliding distance is to slide
The distance between starting touch point and termination touch point of dynamic rail mark.
Step S152, judges whether the sliding distance reaches preset threshold, if it is, entering step S153, otherwise
Enter step S130.
In the present embodiment, preset threshold can or system specified threshold customized according to user demand, such as be arranged threshold value be
The half of the transverse width of terminal display enters step S153 if sliding distance reaches preset threshold, otherwise enters and sentences
It is disconnected that the step of whether operation terminates pressed.
Step S153 generates photographing instruction.
In the present embodiment, photographing instruction is taken pictures for triggering, and only sliding distance, which reaches preset threshold and can just generate, takes pictures
Instruction prevents from taking pictures caused by accidentally sliding.
In another embodiment, as shown in figure 3, step S150 includes:
Step S154, according to the corresponding sliding trace data acquisition sliding distance of slide.
Step S155, judges whether the sliding distance reaches preset threshold, if it is, entering step S156, otherwise
Enter step S130.
Step S156, according to sliding trace data acquisition glide direction.
In the present embodiment, the direction of sliding trace may recognize that according to the coordinate data in sliding trace data, such as
The direction slided to the left, the direction slided to the right etc..
Whether consistent with preset direction step S157 judges glide direction, if it is, enter step S158, otherwise into
Enter step S130.
In the present embodiment, preset direction can carry out customized or system assigned direction according to the needs of users, if sliding
Dynamic direction is consistent with preset direction, then enters step S158, and otherwise further judgement presses whether operation terminates.
Step S158 generates photographing instruction.
In the present embodiment, photographing instruction is taken pictures for triggering, and only sliding distance and glide direction all meet condition, ability
Photographing instruction is generated, the probability of maloperation is further reduced.
In one embodiment, virtual key is arranged in sliding rail frame, the step S140 are as follows: passes through the reception pair of sliding rail frame
The slide of virtual key.
It in the present embodiment, is received by sliding rail frame to the slide of virtual key, the length of sliding rail frame and direction can be with
It is customized according to demand.The slide for only acting on sliding rail frame is only effective slide, has sliding rail frame convenient for using
Effective sliding area is seen at family, thus control sliding distance and direction when carrying out slide, operated effectively,
To snapshots.As shown in figure 4, wherein 210 be virtual key, 220 be sliding rail frame for interface schematic diagram of taking pictures.It can manage
Solution, the shape of sliding rail frame can be customized, round such as flexure type, increases the interest taken pictures and interactivity.
In one embodiment, after judgement presses the step of whether operation terminates, further include;If pressing operation eventually
Only, then it returns to reception and acts on the step of pressing operation of preset virtual key.
Specifically, terminated if pressing operation, can receive again act on preset virtual key press operation.With
If family is dissatisfied to focusing, virtual key can be unclamped, is focused again.
In one embodiment, the method also includes: control virtual key is moved accordingly with slide,
It is taken pictures according to photographing instruction completion, control virtual key returns to original preset position.
In the present embodiment, when pressing virtual key progress slide, control virtual key is carried out with slide
Corresponding movement.Slide present position is judged convenient for user by this animation, thus effectively control sliding behaviour
Make, also increases interactivity.After being taken pictures according to photographing instruction completion, control virtual key returns to original preset position,
Convenient for receiving operation next time.As shown in figure 5, virtual key 210 receives the operation of finger pressing, auto-focusing instruction is generated
It notifies Focusing module to complete auto-focusing, and locks focusing and exposure, do not terminated if pressing operation, received to virtually pressing
The slide of key 210, virtual key 210 is mobile in sliding rail frame 220 with slide, when reaching 220 top of sliding rail frame,
Generate photographing instruction.Photographing instruction triggering is taken pictures, and after the completion of taking pictures, virtual key 210 automatically returns to the another of sliding rail frame 220
End.
In one embodiment, as shown in fig. 6, providing a kind of camera arrangement, comprising:
Receiving module 310, for receive act on preset virtual key press operation.
Focusing module 320 presses operation for basis and carries out auto-focusing, and locks focusing and exposure.
Photo module 330 presses whether operation terminates for judging, if do not terminated, receives to virtual key
Slide generates photographing instruction according to slide.
In one embodiment, photo module 330 generates photographing instruction according to slide and specifically includes: being grasped according to sliding
Make corresponding sliding trace data acquisition sliding distance, judge whether sliding distance reaches preset threshold, is clapped if it is, generating
According to instruction, otherwise judgement presses whether operation terminates.
In one embodiment, photo module 330 is also used to judge to slide according to sliding trace data acquisition glide direction
Whether direction is consistent with preset direction, if it is, generating photographing instruction, otherwise judgement presses whether operation terminates.
In one embodiment, if as shown in fig. 7, the photo module 330 be also used to it is described press operation terminate,
Return to receiving module.
In one embodiment, virtual key is arranged in sliding rail frame, and photo module 330 receives the sliding to virtual key
Operation specifically: the slide to virtual key is received by sliding rail frame.
In one embodiment, described device further include:
Mobile module, for controlling virtual key as the slide is moved accordingly;
Photo module 330 is also used to complete to take pictures according to the photographing instruction;
The mobile module is also used to photo module and completes after taking pictures, and control virtual key returns to original preset position
It sets.
In one embodiment, as shown in fig. 7, described device further include:
Fingerprint identification module 340, for identifying to pressing the corresponding finger print information of operation, if identifying successfully into
Enter Focusing module, if identification is unsuccessful, does not deal with.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (8)
1. a kind of photographic method, which comprises
The operation that presses for acting on preset virtual key is received, any position at interface of taking pictures is arranged in simultaneously in the virtual key
It can be mobile according to gesture information;
The corresponding finger print information of operation that presses is identified, if identified successfully, and pressing operation is more than scheduled duration,
Operation is then pressed according to and carries out auto-focusing, and locks the focusing and exposure;
It presses whether operation terminates described in judgement, if do not terminated, receives the slide to the virtual key, according to
The slide generates photographing instruction;
The virtual key is controlled as the slide is moved accordingly, the virtual key is arranged in sliding rail frame
It is interior, receive the slide to the virtual key are as follows: the slide to virtual key is received by the sliding rail frame;
It is taken pictures according to photographing instruction completion;
It controls the virtual key and returns to original preset position.
2. the method according to claim 1, wherein the step for generating photographing instruction according to the slide
Suddenly include:
According to the corresponding sliding trace data acquisition sliding distance of the slide;
Judge whether the sliding distance reaches preset threshold, if it is, generating photographing instruction, otherwise enters the judgement institute
It states and the step of whether operation terminates is pressed.
3. according to the method described in claim 2, it is characterized in that, before the generation photographing instruction the step of further include:
According to the sliding trace data acquisition glide direction;
Judge whether the glide direction is consistent with preset direction, if it is, generating photographing instruction, otherwise enters the judgement
It is described that the step of whether operation terminates pressed.
4. the method according to claim 1, wherein the step of whether operation terminates pressed described in the judgement
Later, further include;
If described press operation termination, returns to reception and act on the step of pressing operation of preset virtual key.
5. a kind of camera arrangement, which is characterized in that described device includes:
Receiving module, for receiving the operation that presses for acting on the preset virtual key in interface of taking pictures, the virtual key setting
Interface of taking pictures any position and can be mobile according to gesture information;
Focusing module if identified successfully, and presses operation for identifying to the corresponding finger print information of operation that presses
More than scheduled duration, then operation is pressed according to and carries out auto-focusing, and locks the focusing and exposure;
Photo module, for judge it is described press whether operation terminates, if do not terminated, receive to the virtual key
Slide generates photographing instruction according to the slide;
Mobile module, for controlling the virtual key as the slide is moved accordingly, the virtual key
It is arranged in sliding rail frame;
Photo module receives the slide to the virtual key specifically: is received by the sliding rail frame to virtual key
Slide;
Photo module is also used to complete to take pictures according to the photographing instruction;
The mobile module is also used to photo module and completes after taking pictures, and controls the virtual key and returns to original preset position
It sets.
6. device according to claim 5, which is characterized in that the photo module is taken pictures according to slide generation
Instruction specifically includes:
According to the corresponding sliding trace data acquisition sliding distance of the slide;
Judge whether the sliding distance reaches preset threshold, if it is, generating photographing instruction, otherwise presses behaviour described in judgement
Whether terminate.
7. device according to claim 6, which is characterized in that the photo module is also used to according to the sliding trace number
According to glide direction is obtained, judge whether the glide direction is consistent with preset direction, if it is, generating photographing instruction, otherwise
Press whether operation terminates described in judgement.
8. device according to claim 5, which is characterized in that if the photo module is also used to described press and operates eventually
Only, then receiving module is returned.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510217485.4A CN104917958B (en) | 2015-04-30 | 2015-04-30 | Photographic method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510217485.4A CN104917958B (en) | 2015-04-30 | 2015-04-30 | Photographic method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104917958A CN104917958A (en) | 2015-09-16 |
CN104917958B true CN104917958B (en) | 2019-04-30 |
Family
ID=54086621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510217485.4A Active CN104917958B (en) | 2015-04-30 | 2015-04-30 | Photographic method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104917958B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6788518B2 (en) * | 2016-03-22 | 2020-11-25 | キヤノン株式会社 | Electronic devices and their control methods, as well as imaging devices |
CN107515708A (en) * | 2016-06-15 | 2017-12-26 | 深圳市蓝魔数码科技有限公司 | Photographic method and mobile terminal |
CN110913068A (en) * | 2019-11-14 | 2020-03-24 | 青岛海信移动通信技术股份有限公司 | Communication terminal and sliding touch event response method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541320A (en) * | 2010-12-20 | 2012-07-04 | 联想(北京)有限公司 | Electronic device and photographing method |
CN103501393A (en) * | 2013-10-16 | 2014-01-08 | 深圳市中兴移动通信有限公司 | Mobile terminal and shooting method thereof |
CN104301597A (en) * | 2013-07-16 | 2015-01-21 | 深圳富泰宏精密工业有限公司 | Photographing control system and method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101505681B1 (en) * | 2008-09-05 | 2015-03-30 | 엘지전자 주식회사 | Mobile Terminal With Touch Screen And Method Of Photographing Image Using the Same |
-
2015
- 2015-04-30 CN CN201510217485.4A patent/CN104917958B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541320A (en) * | 2010-12-20 | 2012-07-04 | 联想(北京)有限公司 | Electronic device and photographing method |
CN104301597A (en) * | 2013-07-16 | 2015-01-21 | 深圳富泰宏精密工业有限公司 | Photographing control system and method |
CN103501393A (en) * | 2013-10-16 | 2014-01-08 | 深圳市中兴移动通信有限公司 | Mobile terminal and shooting method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104917958A (en) | 2015-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9904774B2 (en) | Method and device for locking file | |
CN105425941B (en) | A kind of method and device preventing application program in error starting mobile terminal | |
CN104683692B (en) | A kind of continuous shooting method and device | |
EP2079009A1 (en) | Apparatus and methods for a touch user interface using an image sensor | |
CN106104575A (en) | Fingerprint template generates method and device | |
CN104794382A (en) | Application starting method and device | |
CN106296665B (en) | Card image fuzzy detection method and apparatus | |
CN109344589A (en) | Unlocked by fingerprint method, apparatus and storage medium | |
EP3153945A1 (en) | Method and device for implementing virtual button through camera, and computer-readable recording medium | |
US20180144176A1 (en) | Fingerprint template acquisition method and device | |
CN104917958B (en) | Photographic method and device | |
CN109039990A (en) | The method and device of behavior verifying is carried out based on identifying code | |
CN107643818B (en) | Function opening method and device | |
CN110188658A (en) | Personal identification method, device, electronic equipment and storage medium | |
WO2020253495A1 (en) | Screen lock control method, device, handheld terminal, and storage medium | |
WO2016115786A1 (en) | Terminal unlocking method and device, terminal and computer storage medium | |
KR20160094933A (en) | Non-contact palmprint authentication method, device and mobile terminal | |
JP2020505705A (en) | Method and device for learning feature image and user authentication method | |
CN106488129A (en) | Fingerprint recognition switches method and the mobile terminal of photographic head | |
CN102316221B (en) | Mobile terminal with camera shutter function and implementation method thereof | |
EP3264308B1 (en) | Method and device for fingerprint verification | |
CN107133551B (en) | Fingerprint verification method and device | |
CN111770268A (en) | Photographing method and device and electronic equipment | |
CN107395901A (en) | Camera starts method, apparatus and terminal | |
CN104935807B (en) | Photographic device, image capture method and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |