CN106686309A - Method for snapping shot and device and mobile terminal thereof - Google Patents

Method for snapping shot and device and mobile terminal thereof Download PDF

Info

Publication number
CN106686309A
CN106686309A CN201611270860.2A CN201611270860A CN106686309A CN 106686309 A CN106686309 A CN 106686309A CN 201611270860 A CN201611270860 A CN 201611270860A CN 106686309 A CN106686309 A CN 106686309A
Authority
CN
China
Prior art keywords
taking pictures
gesture
preview
triggering
preview data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611270860.2A
Other languages
Chinese (zh)
Other versions
CN106686309B (en
Inventor
李媛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen 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 Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201611270860.2A priority Critical patent/CN106686309B/en
Publication of CN106686309A publication Critical patent/CN106686309A/en
Application granted granted Critical
Publication of CN106686309B publication Critical patent/CN106686309B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment provides a method for snapping a shot and a device and a mobile terminal thereof. The method for snapping a shot comprises entering into the preview interface of a camera after photographing instruction triggered, extracting preview data frame corresponding to the preview data at present as a result of photographing when a first triggered gesture is detected in a first region of the camera preview interface. The method has the advantages of being not subject to the hardware performance of the camera in the mobile terminal, being no delay in photographing , the moment that the preview data frame obtained being the wonderful moment that users wish to capture when utilizing the first trigger gesture, being excellent in enhancing the users' experience.

Description

The method of snapshots, device and mobile terminal
Technical field
The present invention relates to computer application field, in particular to a kind of method of snapshots, device and movement eventually End.
Background technology
With the progress of society, increasing user has deep love for taking pictures.Common flow process of taking pictures is:Focusing, presses and takes pictures Button (photographic head of part mobile terminal may again be focused after user presses button of taking pictures), finds a view, to be captured Picture reaches memorizer after a series of process such as camera lens, infrared fileter, imageing sensor, Digital Signal Processing and is deposited Chu Hou, end of taking pictures.This flow process of taking pictures is limited to the hardware performance of the photographic head of mobile terminal, when the photographic head of mobile terminal Hardware performance it is poor when, time delay of taking pictures can be caused, so as to miss splendid moment, Consumer's Experience is poor.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of method of snapshots, device and mobile terminal, To solve the above problems.
To achieve these goals, the technical scheme that the embodiment of the present invention is adopted is as follows:
In a first aspect, embodiments providing a kind of method of snapshots, methods described includes:In response to taking pictures Triggering command, enters preview interface of taking pictures;When detecting the first triggering in the first designated area in the preview interface of taking pictures During gesture, the preview data frame corresponding to current time is extracted, as result of taking pictures.
Second aspect, embodiments provides a kind of device of snapshots, and described device includes:First processes mould Block, in response to triggering command of taking pictures, entering preview interface of taking pictures;Second processing module, for when in the preview of taking pictures When detecting the first triggering gesture in first designated area at interface, the preview data frame corresponding to current time is extracted, as Take pictures result.
The third aspect, embodiments provides a kind of mobile terminal, and the mobile terminal includes memorizer and place Reason device, the memorizer is couple to the processor, the memory store instruction, when the instruction is by the computing device When make below the computing device operate:In response to triggering command of taking pictures, preview interface of taking pictures is entered;When it is described take pictures it is pre- Look in first designated area at interface when detecting the first triggering gesture, extract the preview data frame corresponding to current time, make For result of taking pictures.
Compared with prior art, a kind of method of snapshots provided in an embodiment of the present invention, device and mobile terminal, lead to Cross in response to triggering command of taking pictures, after entering preview interface of taking pictures, and when the first designated area in the preview interface of taking pictures When inside detecting the first triggering gesture, the preview data frame corresponding to current time is extracted from the internal memory of mobile terminal, as bat According to result, this mode extracts at once the preview data frame at current time when the first triggering gesture is detected as knot of taking pictures Really, whole process is no longer pass through a series of process, is not only restricted to the hardware performance of photographic head in mobile terminal, acquisition it is current The preview data frame at moment wants the splendid moment for catching when being user using the first triggering gesture, do not have delay of taking pictures Problem, can improve Consumer's Experience.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be attached to what is used needed for embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can be with according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is the structured flowchart of mobile terminal provided in an embodiment of the present invention.
Fig. 2 is a kind of flow chart of the method for snapshots that first embodiment of the invention is provided.
Fig. 3 be first embodiment of the invention provide a kind of snapshots method in a kind of signal of preview interface of taking pictures Figure.
Fig. 4 be a kind of snapshots that first embodiment of the invention is provided method in another kind take pictures the showing of preview interface It is intended to.
Fig. 5 be a kind of snapshots that first embodiment of the invention is provided method in another preview interface of taking pictures show It is intended to.
Fig. 6 be a kind of snapshots that first embodiment of the invention is provided method in another preview interface of taking pictures show It is intended to.
Fig. 7 be a kind of snapshots that first embodiment of the invention is provided method in the first triggering gesture act on and take pictures The schematic diagram of preview interface.
Fig. 8 be first embodiment of the invention provide a kind of snapshots method in step S220 a kind of detailed process Figure.
Fig. 9 be a kind of snapshots that first embodiment of the invention is provided method in step S220 another kind in detail stream Cheng Tu.
Figure 10 is a kind of flow chart of the method for snapshots that second embodiment of the invention is provided.
Figure 11 be second embodiment of the invention provide a kind of snapshots method in second triggering gesture act on bat According to the schematic diagram of preview interface.
Figure 12 is a kind of structured flowchart of the device of snapshots that third embodiment of the invention is provided.
Specific embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground description, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.Generally exist Herein the component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations.Cause This, below the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it need not be further defined and is explained in subsequent accompanying drawing.Meanwhile, the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Fig. 1 shows a kind of structured flowchart of the mobile terminal 1 00 that can be applicable in the embodiment of the present invention.As shown in figure 1, Mobile terminal 1 00 includes memorizer 102, storage control 104, one or more (one is only illustrated in figure) processors 106, outer If interface 108, radio-frequency module 110, audio-frequency module 112, Touch Screen 114 etc..These components are total by one or more communication Line/holding wire 116 is mutually communicated.
Memorizer 102 can be used to store software program and module, the such as method of the snapshots in the embodiment of the present invention And the corresponding programmed instruction/module of device, processor 106 by operation be stored in software program in memorizer 102 and Module, so as to perform various function application and data processing, such as the method for snapshots provided in an embodiment of the present invention.
Memorizer 102 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.Processor 106 and other possible components are to storage The access of device 102 can be carried out under the control of storage control 104.
Peripheral Interface 108 is by various input/output devices coupled to processor 106 and memorizer 102.In some enforcements In example, Peripheral Interface 108, processor 106 and storage control 104 can be realized in one single chip.In some other reality In example, they can be realized respectively by independent chip.
Radio-frequency module 110 be used for receive and send electromagnetic wave, realize the mutual conversion of electromagnetic wave and the signal of telecommunication, so as to Communication network or other equipment are communicated.
Audio-frequency module 112 provides a user with audio interface, and it may include one or more mikes, one or more raises Sound device and voicefrequency circuit.
Touch Screen 114 provides an output and inputting interface simultaneously between mobile terminal 1 00 and user.Specifically, Touch Screen 114 displays to the user that video frequency output, and the content of these video frequency outputs may include word, figure, video and its arbitrarily Combination.
It is appreciated that the structure shown in Fig. 1 is only illustrated, mobile terminal 1 00 may also include it is more more than shown in Fig. 1 or Less component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can using hardware, software or its Combination is realized.
Fig. 2 shows the flow chart of the method for the snapshots that first embodiment of the invention is provided, and refers to Fig. 2, this reality The handling process that example describes mobile terminal is applied, methods described includes:
Step S210, in response to triggering command of taking pictures, enters preview interface of taking pictures.
The triggering command of taking pictures, can be to mobile terminal by mobile terminal physical button or by touch gestures The instruction for sending, so as to after mobile terminal is received and takes pictures triggering command, enter preview interface of taking pictures.
The size of preview circle of taking pictures and the viewing area size of mobile terminal display screen (such as Touch Screen 114) can be with It is identical, if take pictures client setting take pictures preview interface less than mobile terminal display screen, preview interface of taking pictures it is big Little is exactly the size of the display interface set by reality.
As a kind of embodiment, Fig. 3 to Fig. 6 is referred to, what client of taking pictures was arranged takes pictures preview interface with movement eventually The display screen at end is identical, i.e., the size of preview interface 300 of now taking pictures and the display screen (such as Touch Screen 114) of mobile terminal Size is identical.
Step S220, when the first triggering gesture is detected in the first designated area in the preview interface of taking pictures, carries The preview data frame corresponding to current time is taken, as result of taking pictures.
Please continue to refer to Fig. 3 to Fig. 6, in a kind of specific embodiment, the size for taking pictures preview interface 300 includes The size in preview data frame region 310 and the size in photographing operation hurdle region 320.Photographing operation hurdle region 320 can be with The optional position of the preview interface 300 of taking pictures is set in advance in, for example, as shown in figure 3, photographing operation hurdle region 320 Preview interface 300 is taken pictures near one side of mobile terminal microphone, described in being arranged on as shown in figure 4, the photographing operation hurdle Preview interface 300 is taken pictures near one side of mobile terminal receiver in region 320 described in being arranged on.Certainly, as shown in figure 5, institute Stating photographing operation hurdle region 320 can also be arranged on the preview interface of taking pictures along the direction of mobile terminal receiver and microphone line 300 top, or, as shown in fig. 6, being arranged on the lower section of the preview interface 300 of taking pictures.Certainly, the photographing operation hurdle Region 320 is not limited to position shown in Fig. 3 to Fig. 6 and size, any deformable in the region for taking pictures preview interface 300 Region belongs to the scope of the present embodiment protection.
The position of first designated area can be set in advance in the optional position in photographing operation hurdle region, please join Fig. 3 to Fig. 6 is read, the first designated area can be arranged on the arbitrary region in photographing operation hurdle region 320.As a kind of real Mode is applied, a virtual push button can be set on photographing operation hurdle region 320, the corresponding region of the virtual push button is made For the first designated area.The shape of the virtual push button can pre-set, and can be circular, square or other shapes.Please join Fig. 3 to Fig. 6 is read, region 321 or region 322 are the virtual push button in figure, its corresponding region is described first and specifies area Domain.
The preview data frame, refers to when user is found a view (under non-shooting state) using photographic head, pre- taking pictures Look at interface can with the Frame of preview, the difference found a view with user, its take pictures preview interface formation can preview data Frame is different.Mobile terminal can be pre-set the preview data frame according to certain policy store in internal memory (impermanent memory Memorizer, i.e., the memorizer that information disappears after power-off) in, for example, can be directly straight by the preview data frame at current time Connect and be stored in internal memory;Can also be by including the corresponding Frame storage of the terminal display interface of the preview data frame at current time In internal memory, when needing to obtain the preview data frame, can be carried out according to the corresponding Frame of the terminal display interface Obtain after process.
To be found a view using photographic head from unlike photographic head acquired image, the image gathered by photographic head is referred to Picture is reached after a series of process such as camera lens, infrared fileter, imageing sensor (can also be through Digital Signal Processing) The image that permanent memory memorizer (remaining to protect stored memorizer after power-off) is formed after being stored.
The first triggering gesture can include:Slip gesture, click gesture, pressing gesture stop gesture etc..
Wherein, the embodiment of the slip gesture has various, for example, slides from left to right, turns left slip from the right side, from upper Down slide, slide from the bottom up, according to predefined paths line slip is entered, the sliding type of certain angle is presented between two fingers, refer to more Between sliding type etc. of certain angle is presented between finger two-by-two, here is omitted.
The embodiment for clicking on gesture has various, and for example, single-point is clicked on, and multiple spot is clicked on, according to default rhythm point Hit, click on according to default frequency, further, the click of single-point and the convolution of default rhythm, multiple spot and default section The click of the convolution played, the click of single-point and the convolution of default frequency, the point of multiple spot and the convolution of default frequency Hit the scope for falling within embodiment of the present invention protection.
The embodiment of the pressing gesture has various, for example, is pressed according to predetermined dynamics, and single depression is more Secondary pressing etc..
It is described stop gesture embodiment have various, including the stop gesture for being suspended in the first designated area and with it is described The stop gesture of the first designated area contact, for example, according to predetermined stay time the stop gesture of the first designated area is suspended in Deng.
Further, the first triggering gesture can be slip gesture, click on gesture, presses gesture or stop gesture In the combination of one or more.
As a kind of embodiment, the combination that the first triggering gesture can be slip gesture and click on gesture, for example, When detecting after user slides according to preset path and according to default section in the first designated area in the preview interface of taking pictures Playing carries out single-point click, then the preview data frame corresponding to current time is extracted, as result of taking pictures.
As another embodiment, the combination that the first triggering gesture can be slip gesture and press gesture, example Such as, when detecting in the first designated area in the preview interface of taking pictures after user slides according to preset path and according to default Dynamics is pressed, then the preview data frame corresponding to current time is extracted, as result of taking pictures.
As another embodiment, the combination that the first triggering gesture can be slip gesture and stop gesture, example Such as, when detecting after user slides according to preset path in the first designated area in the preview interface of taking pictures and stopped pre- If duration, then the preview data frame corresponding to current time is extracted, as result of taking pictures.
Certainly, the first triggering gesture can be the compound mode that can also be other gestures or other multiple gestures, Just repeat no more herein.
Fig. 7 is referred to, used as a kind of embodiment, step S220 can include:
Step S411, obtains the corresponding Frame of terminal display interface at the current time.
The corresponding Frame of terminal display interface at the current time, refers to the preview data frame at current time The corresponding Frame of terminal display interface.When the size and mobile terminal display screen of preview circle of taking pictures is (such as Touch Screen 114) when viewing area size is identical, the size of the corresponding Frame of terminal display interface at the current time and the bat According to the in the same size of preview circle, that is to say, that now, the size of the corresponding Frame of terminal display interface at the current time Equal to the size and the size sum in photographing operation hurdle region of the preview data frame at current time.
Obtaining the embodiment of the corresponding Frame of terminal display interface at the current time has various, for example, can be with The corresponding Frame of terminal display interface at the current time by storing in the framebuffer device for directly reading mobile terminal.
As a kind of embodiment, when the operating system that mobile terminal is installed is android system, due to Android The corresponding data of current time terminal display interface are stored in the corresponding framebuffer device FrameBuffer service of system Frame, directly reads the Frame stored in current time FrameBuffer service, you can obtain the end at the current time The corresponding Frame of end display interface.
Certainly, for the mobile terminal of other operating systems, it is also possible to by similar fashion, obtain the current time The corresponding Frame of terminal display interface.
Step S412, from the corresponding Frame of the terminal display interface, extracts the preview number corresponding to current time According to frame, as result of taking pictures.
It is understood that because the preview data frame at current time belongs to the corresponding Frame of the terminal display interface Part picture, it is only necessary to according to the preview data frame at current time at the position of the terminal display interface and current time The size of preview data frame, extracts the preview data corresponding to current time from the corresponding Frame of the terminal display interface Frame, as result of taking pictures.
For example, Fig. 8 is referred to, when (preview interface of now taking pictures is same with terminal display interface in preview interface of taking pictures Interface) the first designated area 321 in place detect the first triggering gesture, it is assumed that the moment now be t, then now from movement Terminal display interface corresponding Frame of the moment for t is obtained in the framebuffer device FrameBuffer service of terminal.It is false If the size of the corresponding Frame of terminal display interface is 60*80, the size of preview data frame is 60*60, now with terminal The upper left corner of the corresponding Frame of display interface is starting point, extracts the preview data of the picture as current time of 60*60 sizes Frame, that is, result of taking pictures.
Fig. 9 is referred to, used as another embodiment, step S220 can include:
Step S421, with current time as starting point, obtains forward multiple preview data frames with very first time interval respectively, with Second time interval obtains backward multiple preview data frames.
As a kind of embodiment, can arrange in the internal memory of mobile terminal (or framebuffer device FrameBuffer Service) with current time as starting point, the preview data frame of caching predetermined quantity forward and backward.From these cache it is pre- In the preview data frame of fixed number amount, respectively multiple preview data frames are obtained forward with very first time interval, with the second time interval Multiple preview data frames are obtained backward.
Wherein, the very first time interval and the second time interval can be arranged previously according to demand, for example, can be arranged The very first time weighed for 1 second, 2 seconds or with other finer unit of time is spaced and the second time interval.Further , very first time interval and the second time interval could be arranged to identical, or be set to difference.When the very first time When interval and the second time interval are set to difference, then with current time as starting point, obtained forward with very first time interval respectively Multiple preview data frames are to obtain the quantity of multiple preview data frames backward with the second time interval be different.
Step S422, from the preview data frame for getting, selects resolution highest preview data frame as knot of taking pictures Really.
If in the preview data frame for getting, the resolution highest of current time corresponding preview data frame is then now selected The preview data frame selected is then current time corresponding preview data frame;Further, if current time corresponding preview data Frame is not resolution highest preview data frame, then now, from the preview data frame for getting, select resolution highest pre- Frame is look at as result of taking pictures.It is understood that the preview data frame got due to these, it is and is with current time Starting point, respectively with the very first time multiple preview data frames for obtaining forward of interval, with the second time interval obtain backward it is multiple Preview data frame, when the very first time is spaced and the second time interval is less, content and the current time pair of its Frame The content of the preview data frame answered is similar or identical, now from this multiple similar or identical preview data frame, selects to differentiate Rate highest preview data frame is used as taking pictures as a result, it is possible to improve Consumer's Experience.
The method of snapshots provided in an embodiment of the present invention, by response to triggering command of taking pictures, entering preview of taking pictures Behind interface, and when the first triggering gesture is detected in the first designated area in the preview interface of taking pictures, from mobile terminal Internal memory extract corresponding to current time preview data frame, used as result of taking pictures, this mode is detecting the first triggering handss The preview data frame at current time is extracted during gesture at once as result of taking pictures, whole process is no longer pass through a series of process, no The hardware performance of photographic head in mobile terminal is limited to, the preview data frame at the current time of acquisition is user and touches using first The splendid moment for catching is wanted when sending out gesture, the problem of delay of taking pictures is not had, Consumer's Experience can be improved.
Figure 10 shows the flow chart of the method for the snapshots that second embodiment of the invention is provided, and refers to Figure 10, this Embodiment describes the handling process of mobile terminal, and methods described includes:
Step S510, in response to triggering command of taking pictures, enters preview interface of taking pictures.
Step S520, when the first triggering gesture is detected in the first designated area in the preview interface of taking pictures, carries The preview data frame corresponding to current time is taken, as result of taking pictures.
The enforcement of step S210 to step S220 in the embodiment of step S510 to step S520 and a upper embodiment Mode is identical, just repeats no more herein.
Step S530, response acts on the second triggering gesture of the second designated area of the preview interface of taking pictures, and calls Photographic head carries out image acquisition, using the photographic head acquired image as result of taking pictures.
Figure 11 is referred to, second designated area could be arranged to the optional position in photographing operation hurdle region 320. Because photographing operation hurdle region 320 can be arranged at the optional position of the preview interface 300 of taking pictures, therefore described second Designated area can also be arranged at the optional position of the preview interface 300 of taking pictures.
Used as a kind of embodiment, first designated area can be zones of different with second designated area.Make For a kind of embodiment, two virtual push buttons, one of virtual push button can be set on photographing operation hurdle region 320 Used as the first designated area, the corresponding region of another virtual push button is used as the second designated area in corresponding region.Described in two The shape of virtual push button can pre-set, and two virtual push buttons can be shaped to into identical or difference, Ke Yishi Circular, square or other shapes.Figure 11 is referred to, region 321 and region 322 are two virtual push buttons in figure, if described The corresponding virtual push button of first designated area is set to region 321, then the corresponding virtual push button of second designated area is arranged For region 322.
When first designated area is zones of different with second designated area, described first triggers gesture and institute It can be same gesture or different gestures to state the second triggering gesture.Wherein, the second triggering gesture can include:Slip handss Gesture, click gesture, pressing gesture stop gesture etc..The slip gesture, click gesture, pressing gesture stop gesture Hereinbefore it is discussed in detail, here is omitted.
Used as another embodiment, first designated area and second designated area are same area, and institute It is different gestures that the first triggering gesture is stated from the described second triggering gesture.
For example, if first designated area is region 322 shown in Figure 11 with second designated area, now If the first triggering gesture is slip gesture, the second triggering gesture is other gestures in addition to slip gesture.
The process for calling photographic head to carry out image acquisition, including the image to be captured for capturing on camera lens through infrared absorption filter Mating plate is transmitted to imageing sensor, also further can be processed the image transmitting of imageing sensor to Digital Signal Processing And store to a series of flow processs of permanent memory memorizer (remaining to protect stored memorizer after power-off).
The image gathered by photographic head refers to the picture that will be found a view using photographic head through camera lens, infrared fileter, image Reach permanent memory memorizer after a series of process such as sensor (can also be through Digital Signal Processing) (to remain to after power-off Protect stored memorizer) stored after formed image.
The method of snapshots provided in an embodiment of the present invention, the effect except a upper embodiment can be realized, and with it is upper State embodiment to compare, moreover it is possible to provide the user with and carry out more more options, when user is not when high to delay requirement of taking pictures, can be slowly right The second designated area that is burnt and adjusting after the sequence of operations such as parameter of taking pictures in the preview interface of taking pictures sends the second triggering Gesture, so that mobile terminal response acts on the second triggering gesture of the second designated area of the preview interface of taking pictures, calls Photographic head carries out image acquisition, using the photographic head acquired image as result of taking pictures, this result image quality of taking pictures It is higher;When user is when higher to delay requirement of taking pictures, mobile terminal response is acted on described takes pictures the first of preview interface First triggering gesture of designated area, extracts the preview data frame corresponding to current time, as result of taking pictures.
Figure 12 is referred to, is the high-level schematic functional block diagram of the device 600 of the snapshots that third embodiment of the invention is provided. The device 600 of the snapshots runs on mobile terminal 1 00, and the device 600 of the snapshots includes first processing module 610, Second processing module 620.
The first processing module 610, in response to triggering command of taking pictures, entering preview interface of taking pictures.
The Second processing module 620, for when detecting the in the first designated area of the preview interface of taking pictures During one triggering gesture, the preview data frame corresponding to current time is extracted, as result of taking pictures.
Used as a kind of embodiment, the Second processing module 620, the terminal for obtaining the current time shows boundary The corresponding Frame in face;From the corresponding Frame of the terminal display interface, in advance corresponding to the preview data at current time Frame, as result of taking pictures.
As another kind of mode, the Second processing module 620, for current time as starting point, respectively with One time interval obtains forward multiple preview data frames, and with the second time interval multiple preview data frames are obtained backward;From acquisition To preview data frame in, select resolution highest preview data frame as result of taking pictures.
Preferably, the device 600 of the snapshots also includes the 3rd processing module 630, acts on for response described Second triggering gesture of the second designated area of preview interface of taking pictures, calls photographic head to carry out image acquisition, by the photographic head Acquired image is used as result of taking pictures.
Used as a kind of embodiment, first designated area and second designated area can be zones of different, institute It can be same gesture or different gestures that the first triggering gesture is stated from the described second triggering gesture.
Used as another embodiment, first designated area and second designated area are same area, and institute It is different gestures that the first triggering gesture is stated from the described second triggering gesture.
Further, the first triggering gesture or the second triggering gesture include:Slip gesture, click on gesture, press Pressure gesture stops gesture.
Above each module can be that now, above-mentioned each module can be stored in mobile terminal 1 00 by software code realization In memorizer 102.Above each module equally can be realized by hardware such as IC chip.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
The device of the snapshots that the embodiment of the present invention is provided, it realizes technique effect and the aforementioned side of principle and generation Method embodiment is identical, is brief description, and device embodiment part does not refer to part, refers in corresponding in preceding method embodiment Hold.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it is also possible to pass through Other modes are realized.Device embodiment described above is only schematic, for example, the flow chart and block diagram in accompanying drawing Show the device of multiple embodiments of the invention, the architectural framework in the cards of method and computer program product, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of module, program segment or a code Part a, part for the module, program segment or code is used to realize holding for the logic function of regulation comprising one or more Row instruction.It should also be noted that at some as in the implementations replaced, the function of being marked in square frame can also be being different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, and they are sometimes Can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, can be with the special base of the function or action for performing regulation Realize in the system of hardware, or can be realized with the combination of computer instruction with specialized hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Divide, or modules individualism, it is also possible to which two or more modules are integrated to form an independent part.
If the function is realized and as independent production marketing or when using using in the form of software function module, can be with In being stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory Memorizer (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need It is noted that herein, such as first and second or the like relational terms are used merely to an entity or operation Make a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating any this The relation or order of reality.And, term " including ", "comprising" or its any other variant are intended to nonexcludability Comprising so that a series of process, method, article or equipment including key elements not only includes those key elements, but also wrapping Other key elements being not expressly set out are included, or also includes intrinsic for this process, method, article or equipment wanting Element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that wanting including described Also there is other identical element in process, method, article or the equipment of element.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.It should be noted that:Similar label and letter exists Similar terms is represented in figure below, therefore, once being defined in a certain Xiang Yi accompanying drawing, then it is not required in subsequent accompanying drawing It is further defined and is explained.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
The embodiment of the present invention is further disclosed:
A kind of A1, method of snapshots, methods described includes:
In response to triggering command of taking pictures, preview interface of taking pictures is entered;
When the first triggering gesture is detected in the first designated area in the preview interface of taking pictures, extract corresponding to work as The preview data frame at front moment, as result of taking pictures.
A2, the method according to A1, the extraction corresponding to current time preview data frame, as result of taking pictures, Including:
Obtain the corresponding Frame of terminal display interface at the current time;
From the corresponding Frame of the terminal display interface, the preview data frame corresponding to current time is extracted, as Take pictures result.
A3, the method according to A1, the extraction corresponding to current time preview data frame, as result of taking pictures, Including:
With current time as starting point, respectively multiple preview data frames are obtained forward with very first time interval, with the second time Interval obtains backward multiple preview data frames;
From the preview data frame for getting, resolution highest preview data frame is selected as result of taking pictures.
A4, the method according to A1, methods described also includes:
Response acts on the second triggering gesture of the second designated area of the preview interface of taking pictures, and calls photographic head to carry out Image acquisition, using the photographic head acquired image as result of taking pictures.
A5, the method according to A4, first designated area is zones of different with second designated area.
A6, the method according to A5, the first triggering gesture is same gesture or not with the described second triggering gesture Same gesture.
A7, the method according to A4, first designated area and second designated area are same area, and institute It is different gestures that the first triggering gesture is stated from the described second triggering gesture.
A8, the method according to any one of A4 to A7, the first triggering gesture or the second triggering gesture bag Include:Slip gesture, click gesture, pressing gesture stop gesture.
A kind of B9, device of snapshots, described device includes:
First processing module, in response to triggering command of taking pictures, entering preview interface of taking pictures;
Second processing module, for working as the first triggering handss are detected in the first designated area of the preview interface of taking pictures During gesture, the preview data frame corresponding to current time is extracted, as result of taking pictures.
B10, the device according to B9, the Second processing module, the terminal specifically for obtaining the current time The corresponding Frame of display interface;From the corresponding Frame of the terminal display interface, extraction is pre- corresponding to current time Frame is look at, as result of taking pictures.
B11, the device according to B9, the Second processing module, specifically for current time as starting point, respectively with The very first time, interval obtained forward multiple preview data frames, and with the second time interval multiple preview data frames are obtained backward;From obtaining In the preview data frame got, resolution highest preview data frame is selected as result of taking pictures.
B12, the device according to B9, described device also includes the 3rd processing module, and for response the bat is acted on According to the second triggering gesture of the second designated area of preview interface, photographic head is called to carry out image acquisition, by the photographic head institute The image of collection is used as result of taking pictures.
B13, the device according to B12, first designated area is zones of different with second designated area.
B14, the device according to B13, it is described first triggering gesture with described second triggering gesture be same gesture or Different gestures.
B15, the device according to B14, first designated area is same area with second designated area, and The first triggering gesture is different gestures from the described second triggering gesture.
B16, the device according to any one of B12 to B15, the first triggering gesture described in B or the second triggering handss Gesture includes:Slip gesture, click gesture, pressing gesture stop gesture.
C17, a kind of mobile terminal, it is characterised in that the mobile terminal includes memorizer and processor, the storage Device is couple to the processor, and the memory store instruction makes when executed by the processor the process Device performs following operation:
In response to triggering command of taking pictures, preview interface of taking pictures is entered;
When the first triggering gesture is detected in the first designated area in the preview interface of taking pictures, extract corresponding to work as The preview data frame at front moment, as result of taking pictures.

Claims (10)

1. a kind of method of snapshots, it is characterised in that methods described includes:
In response to triggering command of taking pictures, preview interface of taking pictures is entered;
When the first triggering gesture is detected in the first designated area in the preview interface of taking pictures, extract corresponding to it is current when The preview data frame at quarter, as result of taking pictures.
2. method according to claim 1, it is characterised in that the extraction corresponding to current time preview data frame, As result of taking pictures, including:
Obtain the corresponding Frame of terminal display interface at the current time;
From the corresponding Frame of the terminal display interface, the preview data frame corresponding to current time is extracted, as taking pictures As a result.
3. method according to claim 1, it is characterised in that the extraction corresponding to current time preview data frame, As result of taking pictures, including:
With current time as starting point, respectively multiple preview data frames are obtained forward with very first time interval, with the second time interval Multiple preview data frames are obtained backward;
From the preview data frame for getting, resolution highest preview data frame is selected as result of taking pictures.
4. method according to claim 1, it is characterised in that methods described also includes:
Response acts on the second triggering gesture of the second designated area of the preview interface of taking pictures, and calls photographic head to carry out image Collection, using the photographic head acquired image as result of taking pictures.
5. method according to claim 4, it is characterised in that first designated area is with second designated area Zones of different.
6. method according to claim 5, it is characterised in that the first triggering gesture is with the described second triggering gesture Same gesture or different gestures.
7. method according to claim 4, it is characterised in that first designated area is with second designated area Same area, and the first triggering gesture is different gestures from the described second triggering gesture.
8. the method according to any one of claim 4 to 7, it is characterised in that the first triggering gesture or described the Two triggering gestures include:Slip gesture, click gesture, pressing gesture stop gesture.
9. a kind of device of snapshots, it is characterised in that described device includes:
First processing module, in response to triggering command of taking pictures, entering preview interface of taking pictures;
Second processing module, for working as the first triggering gesture is detected in the first designated area of the preview interface of taking pictures When, the preview data frame corresponding to current time is extracted, as result of taking pictures.
10. a kind of mobile terminal, it is characterised in that the mobile terminal includes memorizer and processor, the memorizer coupling The processor is connected to, the memory store instruction when executed by the processor holds the processor The following operation of row:
In response to triggering command of taking pictures, preview interface of taking pictures is entered;
When the first triggering gesture is detected in the first designated area in the preview interface of taking pictures, extract corresponding to it is current when The preview data frame at quarter, as result of taking pictures.
CN201611270860.2A 2016-12-30 2016-12-30 The method, device and mobile terminal of snapshots Active CN106686309B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611270860.2A CN106686309B (en) 2016-12-30 2016-12-30 The method, device and mobile terminal of snapshots

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611270860.2A CN106686309B (en) 2016-12-30 2016-12-30 The method, device and mobile terminal of snapshots

Publications (2)

Publication Number Publication Date
CN106686309A true CN106686309A (en) 2017-05-17
CN106686309B CN106686309B (en) 2019-09-17

Family

ID=58849760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611270860.2A Active CN106686309B (en) 2016-12-30 2016-12-30 The method, device and mobile terminal of snapshots

Country Status (1)

Country Link
CN (1) CN106686309B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118042274A (en) * 2024-03-25 2024-05-14 荣耀终端有限公司 Photographing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346099A (en) * 2013-08-09 2015-02-11 Lg电子株式会社 Mobile terminal and controlling method thereof
CN104580908A (en) * 2014-12-31 2015-04-29 惠州Tcl移动通信有限公司 Snapshot method and mobile terminal
CN104618640A (en) * 2014-12-30 2015-05-13 广东欧珀移动通信有限公司 Photographing method and device
CN104994274A (en) * 2015-06-16 2015-10-21 惠州Tcl移动通信有限公司 Rapid photographing method based on mobile terminal and mobile terminal
CN105323484A (en) * 2015-10-29 2016-02-10 惠州Tcl移动通信有限公司 Rapidly photographing method and electronic device
CN105635567A (en) * 2015-12-24 2016-06-01 小米科技有限责任公司 Shooting method and device
CN106027893A (en) * 2016-05-30 2016-10-12 广东欧珀移动通信有限公司 Method and device for controlling Live Photo generation and electronic equipment
CN106210496A (en) * 2015-05-06 2016-12-07 小米科技有限责任公司 Method, photo taking and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346099A (en) * 2013-08-09 2015-02-11 Lg电子株式会社 Mobile terminal and controlling method thereof
CN104618640A (en) * 2014-12-30 2015-05-13 广东欧珀移动通信有限公司 Photographing method and device
CN104580908A (en) * 2014-12-31 2015-04-29 惠州Tcl移动通信有限公司 Snapshot method and mobile terminal
CN106210496A (en) * 2015-05-06 2016-12-07 小米科技有限责任公司 Method, photo taking and device
CN104994274A (en) * 2015-06-16 2015-10-21 惠州Tcl移动通信有限公司 Rapid photographing method based on mobile terminal and mobile terminal
CN105323484A (en) * 2015-10-29 2016-02-10 惠州Tcl移动通信有限公司 Rapidly photographing method and electronic device
CN105635567A (en) * 2015-12-24 2016-06-01 小米科技有限责任公司 Shooting method and device
CN106027893A (en) * 2016-05-30 2016-10-12 广东欧珀移动通信有限公司 Method and device for controlling Live Photo generation and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118042274A (en) * 2024-03-25 2024-05-14 荣耀终端有限公司 Photographing method and device

Also Published As

Publication number Publication date
CN106686309B (en) 2019-09-17

Similar Documents

Publication Publication Date Title
US9360965B2 (en) Combined touch input and offset non-touch gesture
CN106416222B (en) The adjustment gesture of capture exposure in real time
WO2020259073A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN111064930B (en) Split screen display method, display terminal and storage device
CN107888948A (en) Determine method and device, the electronic equipment of video file broadcasting speed
JP6560763B2 (en) Fingerprint recognition method, fingerprint recognition apparatus, program, and recording medium
WO2017084183A1 (en) Information displaying method and device
CN103955365A (en) Method and device for controlling terminal when terminal falls off
CN105242870A (en) False touch method and device of terminal with touch screen
CN107870999B (en) Multimedia playing method, device, storage medium and electronic equipment
CN106503658A (en) automatic photographing method and mobile terminal
CN111695382A (en) Fingerprint collection area determining method and fingerprint collection area determining device
CN106775367A (en) The operating method and device of terminal touch-control
CN107665434A (en) A kind of method of payment and mobile terminal
CN103442169A (en) Method for having control over shooting function of image collection device and image collection device
EP2712176B1 (en) Method and apparatus for photography
CN108668080A (en) Prompt method and device, the electronic equipment of camera lens degree of fouling
CN110222706A (en) Ensemble classifier method, apparatus and storage medium based on feature reduction
CN104205031A (en) Image zoom method and equipment
CN104936003B (en) A kind of screenshot method and device
CN110266914A (en) Image capturing method, device and computer readable storage medium
CN107544686A (en) Operation performs method and device
CN106406527A (en) Input method and device based on virtual reality and virtual reality device
CN106686309A (en) Method for snapping shot and device and mobile terminal thereof
CN105528428A (en) Image display method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant