CN106686309B - The method, device and mobile terminal of snapshots - Google Patents

The method, device and mobile terminal of snapshots Download PDF

Info

Publication number
CN106686309B
CN106686309B CN201611270860.2A CN201611270860A CN106686309B CN 106686309 B CN106686309 B CN 106686309B CN 201611270860 A CN201611270860 A CN 201611270860A CN 106686309 B CN106686309 B CN 106686309B
Authority
CN
China
Prior art keywords
taking pictures
gesture
data frame
preview
triggering
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
Application number
CN201611270860.2A
Other languages
Chinese (zh)
Other versions
CN106686309A (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 of the present invention provides a kind of method, device and mobile terminal of snapshots, which comprises in response to triggering command of taking pictures, into preview interface of taking pictures;When detecting the first triggering gesture in the first specified region in the preview interface of taking pictures, the preview data frame for corresponding to current time is extracted, as result of taking pictures.The method is not only restricted to the hardware performance of camera in mobile terminal, and the preview data frame at the current time of acquisition is that user thinks splendid moment to be captured when triggering gesture using first, does not have the problem of postponing of taking pictures, user experience can be improved.

Description

The method, device and mobile terminal of snapshots
Technical field
The present invention relates to computer application fields, and the method, apparatus and movement in particular to a kind of snapshots are eventually End.
Background technique
With the development of the society, more and more users have deep love for taking pictures.Common process of taking pictures are as follows: focusing is pressed and taken pictures Button (camera of partial movement terminal may focus again after user presses and takes pictures button), finds a view, to be captured Picture reaches memory after a series of processing such as camera lens, infrared fileter, imaging sensor, Digital Signal Processing and is deposited Chu Hou, end of taking pictures.This process of taking pictures is limited to the hardware performance of the camera of mobile terminal, when the camera of mobile terminal Hardware performance it is poor when, will lead to delay of taking pictures, to miss splendid moment, user experience is poor.
Summary of the invention
In view of this, a kind of method, device and mobile terminal for being designed to provide snapshots of the embodiment of the present invention, To solve the above problems.
To achieve the goals above, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, the embodiment of the invention provides a kind of methods of snapshots, which comprises in response to taking pictures Triggering command, into preview interface of taking pictures;When detecting the first triggering in the first specified region in the preview interface of taking pictures When gesture, the preview data frame for corresponding to current time is extracted, as result of taking pictures.
Second aspect, the embodiment of the invention provides a kind of device of snapshots, described device includes: the first processing mould Block, in response to triggering command of taking pictures, into preview interface of taking pictures;Second processing module, for when in the preview of taking pictures When detecting the first triggering gesture in the specified region of the first of interface, the preview data frame for corresponding to current time is extracted, as It takes pictures result.
The third aspect, the embodiment of the invention provides a kind of mobile terminal, the mobile terminal includes memory and place Device is managed, the memory is couple to the processor, the memory store instruction, when described instruction is executed by the processor When so that the processor is executed following operation: in response to triggering command of taking pictures, into preview interface of taking pictures;When it is described take pictures it is pre- It lookes in the first specified region at interface when detecting the first triggering gesture, extracts the preview data frame for corresponding to current time, make For result of taking pictures.
Compared with prior art, the method, device and mobile terminal of a kind of snapshots provided in an embodiment of the present invention are led to It crosses in response to triggering command of taking pictures, into after preview interface of taking pictures, and when in the first specified region of the preview interface of taking pictures When inside detecting the first triggering gesture, the preview data frame for corresponding to current time is extracted from the memory of mobile terminal, as bat According to as a result, this mode extracts the preview data frame at current time when detecting the first triggering gesture as knot of taking pictures at once Fruit, whole process are no longer pass through a series of processing, are not only restricted to the hardware performance of camera in mobile terminal, acquisition it is current The preview data frame at moment is that user thinks splendid moment to be captured when triggering gesture using first, does not have delay of taking pictures User experience can be improved in problem.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the structural block diagram 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 provides.
Fig. 3 is a kind of signal for preview interface of taking pictures in a kind of method for snapshots that first embodiment of the invention provides Figure.
Fig. 4 is that another preview interface of taking pictures is shown in a kind of method for snapshots that first embodiment of the invention provides It is intended to.
Fig. 5 is that another preview interface of taking pictures is shown in a kind of method for snapshots that first embodiment of the invention provides It is intended to.
Fig. 6 is that another preview interface of taking pictures is shown in a kind of method for snapshots that first embodiment of the invention provides It is intended to.
Fig. 7 is that the first triggering gesture is acted on and taken pictures in a kind of method for snapshots that first embodiment of the invention provides The schematic diagram of preview interface.
Fig. 8 is a kind of detailed process of step S220 in a kind of method for snapshots that first embodiment of the invention provides Figure.
Fig. 9 is the another kind stream in detail of step S220 in a kind of method for snapshots that first embodiment of the invention provides Cheng Tu.
Figure 10 is a kind of flow chart of the method for snapshots that second embodiment of the invention provides.
Figure 11 is that the second triggering gesture acts on bat in a kind of method for snapshots that second embodiment of the invention provides According to the schematic diagram of preview interface.
Figure 12 is a kind of structural block diagram of the device for snapshots that third embodiment of the invention provides.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Fig. 1 shows a kind of structural block diagram of mobile terminal 100 that can be applied in the embodiment of the present invention.As shown in Figure 1, Mobile terminal 100 includes memory 102, storage control 104, one or more (one is only shown 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/signal wire 116 mutually communicates.
Memory 102 can be used for storing software program and module, such as the method for the snapshots in the embodiment of the present invention And the corresponding program instruction/module of device, processor 106 by the software program that is stored in memory 102 of operation and Module, thereby executing various function application and data processing, such as method of snapshots provided in an embodiment of the present invention.
Memory 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 carry out under the control of storage control 104.
Various input/output devices are couple processor 106 and memory 102 by Peripheral Interface 108.In some implementations 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 by independent chip respectively.
Radio-frequency module 110 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus with Communication network or other equipment are communicated.
Audio-frequency module 112 provides a user audio interface, may include one or more microphones, one or more raises Sound device and voicefrequency circuit.
Touch Screen 114 provides an output and input interface simultaneously between mobile terminal 100 and user.Specifically, Touch Screen 114 shows video output to user, and the content of these videos output may include text, figure, video and its any Combination.
It is appreciated that structure shown in FIG. 1 is only to illustrate, mobile terminal 100 may also include it is 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 charts of the method for the snapshots of first embodiment of the invention offer, referring to Fig. 2, this reality Apply the process flow that example describes mobile terminal, which comprises
Step S210, in response to triggering command of taking pictures, into preview interface of taking pictures.
The triggering command of taking pictures can be through mobile terminal physical button or pass through touch gestures to mobile terminal The instruction of sending, so that after mobile terminal receives and takes pictures triggering command, into preview interface of taking pictures.
The size of preview circle of taking pictures and the display 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 be less than mobile terminal display screen, preview interface of taking pictures it is big Small is exactly the size of display interface set by reality.
As an implementation, Fig. 3 to Fig. 6 is please referred to, the preview interface of taking pictures of client of taking pictures setting is whole with movement The display screen at end is identical, i.e., the size for preview interface 300 of taking pictures at this time and the display screen (such as Touch Screen 114) of mobile terminal Size is identical.
Step S220 is mentioned when detecting the first triggering gesture in the first specified region in the preview interface of taking pictures 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 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 column region 320.Photographing operation column region 320 can be with It is set in advance in any position of the preview interface 300 of taking pictures, for example, as shown in figure 3, photographing operation column region 320 It can be set in the preview interface 300 of taking pictures close to one side of mobile terminal microphone, as shown in figure 4, the photographing operation column Region 320 can be set in the preview interface 300 of taking pictures close to one side of mobile terminal earpiece.Certainly, as shown in figure 5, institute Stating photographing operation column region 320 can also be arranged along the direction of mobile terminal earpiece and microphone line in the preview interface of taking pictures 300 top, alternatively, as shown in fig. 6, the lower section of the preview interface 300 of taking pictures is arranged in.Certainly, the photographing operation column Region 320 is not limited to position and size shown in Fig. 3 to Fig. 6 in the region for taking pictures preview interface 300, any deformable Region belongs to the range of the present embodiment protection.
The position in the first specified region can be set in advance in any position in photographing operation column region, please join Fig. 3 to Fig. 6 is read, the arbitrary region in photographing operation column region 320 can be set in the first specified region.As a kind of reality Mode is applied, a virtual push button can be set on photographing operation column region 320, the corresponding region of the virtual push button is made For the first specified region.The shape of the virtual push button can be preset, and can be round, rectangular or other shapes.It please join Fig. 3 to Fig. 6 is read, region 321 or region 322 are the virtual push button in figure, and corresponding region is the described first specified area Domain.
The preview data frame refers to when user is found a view using camera (under non-shooting state), pre- taking pictures Look at interface can with the data frame of preview, the difference found a view with user, preview interface formation of taking pictures can preview data Frame is different.Mobile terminal can be preset the preview data frame according to certain policy store in memory (impermanent memory Memory, that is, power off after information be disappear memory) in, for example, can be directly straight by the preview data frame at current time It connects and is stored in memory;The corresponding data frame of the terminal display interface of preview data frame including current time can also be stored In memory, when needing to obtain the preview data frame, it can be carried out according to the corresponding data frame of the terminal display interface It is obtained after processing.
Unlike camera acquired image, being referred to by the image that camera acquires will use camera to find a view Picture reaches after a series of processing such as camera lens, infrared fileter, imaging sensor (can also be by Digital Signal Processing) The image that permanent memory memory (remaining to protect stored memory after powering off) is formed after being stored.
The first triggering gesture may include: slip gesture, click gesture, pressing gesture or stop gesture etc..
Wherein, it there are many embodiments of the slip gesture, for example, slide from left to right, turns left sliding from the right side, from upper It slides, slides from the bottom up down, slided according to predefined paths, the sliding type of certain angle is presented between two fingers, refers to more Between the sliding type etc. of certain angle is presented between finger two-by-two, details are not described herein again.
There are many embodiments for clicking gesture, for example, single-point is clicked, multiple spot is clicked, according to preset rhythm point It hits, is clicked according to preset frequency, further, the click of the convolution of single-point and preset rhythm, multiple spot and preset section The point of the convolution of the click of the convolution of the click for the convolution played, single-point and preset frequency, multiple spot and preset frequency Hit the range for also belonging to protection of the embodiment of the present invention.
There are many embodiments of the pressing gesture, for example, being pressed according to scheduled dynamics, single depression is more Secondary pressing etc..
It is described stop gesture embodiment there are many, including be suspended in the first specified region stop gesture and with it is described The stop gesture of first specified region contact, for example, being suspended in the stop gesture in the first specified region according to predetermined stay time Deng.
Further, the first triggering gesture can be slip gesture, clicks gesture, pressing gesture or stop gesture One or more of combination.
As an implementation, the first triggering gesture can be slip gesture and click the combination of gesture, for example, After detecting that user slides according to preset path in the first specified region in the preview interface of taking pictures and according to default section It plays and carries out single-point click, then the preview data frame for corresponding to current time is extracted, as result of taking pictures.
As another embodiment, the first triggering gesture can be slip gesture and press the combination of gesture, example Such as, after detecting that user slides according to preset path in the first specified region in the preview interface of taking pictures and according to default Dynamics is pressed, then the preview data frame for corresponding to current time is extracted, as result of taking pictures.
As another embodiment, the first triggering gesture can be slip gesture and stop the combination of gesture, example Such as, it after detecting that user slides according to preset path in the first specified region in the preview interface of taking pictures and has stopped pre- If duration, then the preview data frame for corresponding to current time is extracted, as result of taking pictures.
Certainly, the first triggering gesture can be the combination for being also possible to other gestures or other multiple gestures, It is not described in more detail here.
Referring to Fig. 7, as an implementation, step S220 may include:
Step S411 obtains the corresponding data frame of terminal display interface at the current time.
The corresponding data frame of the terminal display interface at the current time refers to the preview data frame including current time The corresponding data frame of terminal display interface.When the size and mobile terminal display screen (such as Touch Screen of preview circle of taking pictures 114) when display area size is identical, the size and the bat of the corresponding data frame of the terminal display interface at the current time According to the in the same size of preview circle, that is to say, that at this point, the size of the corresponding data frame of the terminal display interface at the current time Equal to the size of the preview data frame at current time and the size sum in photographing operation column region.
There are many embodiments for obtaining the corresponding data frame of terminal display interface at the current time, for example, can be with The corresponding data frame of terminal display interface at the current time stored in the framebuffer device by directly reading mobile terminal.
As an implementation, when the operating system of mobile terminal installation 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 data frame stored in current time FrameBuffer service, can obtain the end at the current time Hold the corresponding data frame of display interface.
Certainly, for the mobile terminal of other operating systems, the current time can also be obtained by similar fashion The corresponding data frame of terminal display interface.
Step S412 extracts the preview number for corresponding to current time from the corresponding data frame of the terminal display interface According to frame, as result of taking pictures.
It is understood that since the preview data frame at current time belongs to the corresponding data frame of the terminal display interface Part picture, it is only necessary to position and current time according to the preview data frame at current time in the terminal display interface The size of preview data frame extracts the preview data for corresponding to current time from the corresponding data frame of the terminal display interface Frame, as result of taking pictures.
For example, referring to Fig. 8, when in preview interface of taking pictures, (preview interface of taking pictures at this time is same with terminal display interface Interface) the first specified region 321 in detect the first triggering gesture, it is assumed that at the time of at this time be t, then at this time from movement The corresponding data frame of terminal display interface that the moment is t is obtained in the framebuffer device FrameBuffer service of terminal.It is false If the size of the corresponding data frame of terminal display interface is 60*80, the size of preview data frame is 60*60, at this time with terminal The upper left corner of the corresponding data frame of display interface is starting point, extracts preview data of the picture of 60*60 size as current time Frame, that is, result of taking pictures.
Referring to Fig. 9, as another embodiment, step S220 may include:
Step S421 obtains forward multiple preview data frames using current time as starting point with first time interval respectively, with Second time interval obtains multiple preview data frames backward.
As an implementation, can be set in the memory of mobile terminal (or framebuffer device FrameBuffer Service) using current time as starting point, the preview data frame of caching predetermined quantity forward and backward.It is cached from these pre- In the preview data frame of fixed number amount, multiple preview data frames are obtained, forward with first time interval respectively with the second time interval Multiple preview data frames are obtained backward.
Wherein, the first time interval and the second time interval can be arranged previously according to demand, for example, can be set It is 1 second, 2 seconds or with other finer chronomeres come the first time interval and the second time interval measured.Further , the first time interval and the second time interval can be set to identical, or be set as different.When the first time When interval and the second time interval are set as different, then using current time as starting point, obtained forward with first time interval respectively Multiple preview data frames are different with the quantity for obtaining multiple preview data frames backward with the second time interval.
Step S422 selects the highest preview data frame of resolution ratio as knot of taking pictures from the preview data frame got Fruit.
If in the preview data frame got, the resolution ratio highest of current time corresponding preview data frame is then selected at this time The preview data frame selected then is current time corresponding preview data frame;Further, if current time corresponding preview data Frame is not the highest preview data frame of resolution ratio, then at this point, from the preview data frame got, selects resolution ratio highest pre- Data frame of looking at is as result of taking pictures.It is understood that being to be with current time due to the preview data frame that these get Starting point, the multiple preview data frames obtained forward with first time interval respectively, is obtained multiple backward with the second time interval Preview data frame, when the first time interval and smaller the second time interval, the content of data frame and current time pair The content for the preview data frame answered is similar or identical, and at this time from this multiple similar or identical preview data frame, selection is differentiated The highest preview data frame of rate, which is used as, takes pictures as a result, it is possible to improve user experience.
The method of snapshots provided in an embodiment of the present invention, by response to triggering command of taking pictures, into preview of taking pictures Behind interface, and when detecting the first triggering gesture in the first specified region in the preview interface of taking pictures, from mobile terminal Memory extract the preview data frame for corresponding to current time, as taking pictures as a result, this mode is detecting the first triggering hand The preview data frame for extracting current time when gesture at once, which is used as, takes pictures as a result, whole process is no longer pass through a series of processing, no It is limited to the hardware performance of camera in mobile terminal, the preview data frame at the current time of acquisition is that user uses the first touching Splendid moment to be captured is thought when sending out gesture, does not have the problem of postponing of taking pictures, user experience can be improved.
Figure 10 shows the flow chart of the method for the snapshots of second embodiment of the invention offer, referring to Fig. 10, this Embodiment describes the process flow of mobile terminal, which comprises
Step S510, in response to triggering command of taking pictures, into preview interface of taking pictures.
Step S520 is mentioned when detecting the first triggering gesture in the first specified region in the preview interface of taking pictures The preview data frame corresponding to current time is taken, as result of taking pictures.
The implementation of step S210 to step S220 in the embodiment of step S510 to step S520 and a upper embodiment Mode is identical, is not described in more detail here.
Step S530, response act on the second triggering gesture in the second specified region of the preview interface of taking pictures, call Camera carries out Image Acquisition, using the camera acquired image as result of taking pictures.
Figure 11 is please referred to, the second specified region can be set to any position in photographing operation column region 320. Since photographing operation column region 320 can be set in any position of the preview interface 300 of taking pictures, described second Specified region also can be set in any position of the preview interface 300 of taking pictures.
As an implementation, the described first specified region and the described second specified region can be different zones.Make For a kind of embodiment, two virtual push buttons, one of virtual push button can be set on photographing operation column region 320 Corresponding region is as the first specified region, and the corresponding region of another virtual push button is as the second specified region.Described in two The shape of virtual push button can be preset, and two virtual push buttons can be shaped to same or different, can be Round, rectangular or other shapes.Figure 11 is please referred to, region 321 and region 322 are two virtual push buttons in figure, if described The corresponding virtual push button in first specified region is set as region 321, then the corresponding virtual push button setting in the described second specified region For region 322.
When the described first specified region and the described second specified region are different zones, the first triggering gesture and institute Stating the second triggering gesture can be same gesture or different gestures.Wherein, the second triggering gesture may include: sliding hand Gesture, click gesture, pressing gesture or stop gesture etc..The slip gesture clicks gesture, pressing gesture or stops gesture It is hereinbefore discussed in detail, details are not described herein again.
As another embodiment, the described first specified region and the described second specified region are same area, and institute It is different gestures that the first triggering gesture, which is stated, from the second triggering gesture.
For example, if the first specified region and the described second specified region are region 322 shown in Figure 11, at this time If the first triggering gesture is slip gesture, the second triggering gesture is other gestures in addition to slip gesture.
The process for calling camera to carry out Image Acquisition, the image to be captured including capturing camera lens pass through infrared absorption filter Mating plate is transmitted to imaging sensor, can also further handle the image transmitting of imaging sensor to Digital Signal Processing And it stores to a series of processes of permanent memory memory (remaining to protect stored memory after powering off).
Referred to the picture for using camera to find a view by the image that camera acquires by camera lens, infrared fileter, image Permanent memory memory is reached after a series of processing such as sensor (can also be by Digital Signal Processing) (to remain to after powering off Protect stored memory) stored after the image that is formed.
The method of snapshots provided in an embodiment of the present invention, the effect in addition to being able to achieve a upper embodiment, and with it is upper Embodiment is stated to compare, moreover it is possible to it provides the user with and carrys out more more options, it, can be slowly right when user is not when high to delay requirement of taking pictures Burnt and adjustment takes pictures and issues the second triggering in the second specified region of the preview interface of taking pictures after the sequence of operations such as parameter Gesture is called so that mobile terminal response acts on the second triggering gesture in the second specified region of the preview interface of taking pictures Camera carries out Image Acquisition, using the camera acquired image as taking pictures as a result, this result image quality of taking pictures It is higher;When user is when higher to delay requirement of taking pictures, mobile terminal response, which acts on, described takes pictures the first of preview interface The first triggering gesture in specified region, extracts the preview data frame for corresponding to current time, as result of taking pictures.
Figure 12 is please referred to, is the functional block diagram of the device 600 for the snapshots that third embodiment of the invention provides. The device 600 of the snapshots runs on mobile terminal 100, 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, into preview interface of taking pictures.
The Second processing module 620, for when detecting in the first specified region of the preview interface of taking pictures the When one triggering gesture, the preview data frame for corresponding to current time is extracted, as result of taking pictures.
As an implementation, the Second processing module 620, the terminal for obtaining the current time show boundary The corresponding data frame in face;From the corresponding data frame of the terminal display interface, correspond to the preview data at current time in advance Frame, as result of taking pictures.
As another mode, the Second processing module 620, for using current time as starting point, respectively with the One time interval obtains forward multiple preview data frames, obtains multiple preview data frames backward with the second time interval;From acquisition To preview data frame in, select the highest preview data frame of resolution ratio as result of taking pictures.
Preferably, the device 600 of the snapshots further includes third processing module 630, is acted on for response described The second triggering gesture in the specified region of the second of preview interface of taking pictures, calls camera to carry out Image Acquisition, by the camera Acquired image is as result of taking pictures.
As an implementation, the described first specified region and the described second specified region can be different zones, institute It can be same gesture or different gestures that the first triggering gesture, which is stated, from the second triggering gesture.
As another embodiment, the described first specified region and the described second specified region are same area, and institute It is different gestures that the first triggering gesture, which is stated, from the second triggering gesture.
Further, it is described first triggering gesture or it is described second triggering gesture include: slip gesture, click gesture, by It presses gesture or stops gesture.
Above each module can be by software code realization, at this point, above-mentioned each module can be stored in mobile terminal 100 In memory 102.Above each module can equally be realized by hardware such as IC chip.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
The technical effect of the device of snapshots provided by the embodiment of the present invention, realization principle and generation and aforementioned side Method embodiment is identical, and to briefly describe, Installation practice part does not refer to place, can refer in corresponding in preceding method embodiment Hold.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access The various media that can store program code such as memory (RAM, Random Access Memory), magnetic or disk.It needs It is noted that herein, relational terms such as first and second and the like are used merely to an entity or operation It is distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation, there are any this Actual relationship or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, article or equipment for including a series of elements not only includes those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, article or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method, article or equipment of element.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
The embodiment of the present invention further discloses:
A1, a kind of method of snapshots, which comprises
In response to triggering command of taking pictures, into preview interface of taking pictures;
When detecting the first triggering gesture in the first specified region in the preview interface of taking pictures, extracts to correspond to and work as The preview data frame at preceding moment, as result of taking pictures.
A2, method according to a1, it is described to extract the preview data frame for corresponding to current time, as taking pictures as a result, Include:
Obtain the corresponding data frame of terminal display interface at the current time;
From the corresponding data frame of the terminal display interface, the preview data frame for corresponding to current time is extracted, as It takes pictures result.
A3, method according to a1, it is described to extract the preview data frame for corresponding to current time, as taking pictures as a result, Include:
Using current time as starting point, multiple preview data frames are obtained, forward with first time interval respectively with the second time Interval obtains multiple preview data frames backward;
From the preview data frame got, select the highest preview data frame of resolution ratio as result of taking pictures.
A4, method according to a1, the method also includes:
Response acts on the second triggering gesture in the second specified region of the preview interface of taking pictures, and camera is called to carry out Image Acquisition, using the camera acquired image as result of taking pictures.
A5, method according to a4, the first specified region and the described second specified region are different zones.
A6, method according to a5, the first triggering gesture and the second triggering gesture are for same gesture or not Same gesture.
A7, method according to a4, the first specified region and the described second specified region are same area, and institute It is different gestures that the first triggering gesture, which is stated, from the second triggering gesture.
A8, the method according to any one of A4 to A7, the first triggering gesture or the second triggering gesture packet Include: slip gesture clicks gesture, pressing gesture or stops gesture.
B9, a kind of device of snapshots, described device include:
First processing module, in response to triggering command of taking pictures, into preview interface of taking pictures;
Second processing module detects the first triggering hand in the first specified region of the preview interface of taking pictures for working as When gesture, the preview data frame for corresponding to current time is extracted, as result of taking pictures.
B10, the device according to B9, the Second processing module, specifically for obtaining the terminal at the current time The corresponding data frame of display interface;From the corresponding data frame of the terminal display interface, extracts and correspond to the pre- of current time Data frame is look at, as result of taking pictures.
B11, the device according to B9, the Second processing module, be specifically used for using current time as starting point, respectively with First time interval obtains forward multiple preview data frames, obtains multiple preview data frames backward with the second time interval;From obtaining In the preview data frame got, select the highest preview data frame of resolution ratio as result of taking pictures.
B12, the device according to B9, described device further include third processing module, act on the bat for responding According to the second triggering gesture in the second specified region of preview interface, camera is called to carry out Image Acquisition, by the camera institute The image of acquisition is as result of taking pictures.
B13, device according to b12, the first specified region and the described second specified region are different zones.
B14, device according to b13, it is described first triggering gesture and it is described second triggering gesture be same gesture or Different gestures.
B15, device according to b14, the first specified region and the described second specified region are same area, and The first triggering gesture is different gestures from the 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 hand Gesture includes: slip gesture, clicks gesture, pressing gesture or stop gesture.
C17, a kind of mobile terminal, which is characterized in that the mobile terminal includes memory and processor, the storage Device is couple to the processor, and the memory store instruction makes the processing when executed by the processor Device executes following operation:
In response to triggering command of taking pictures, into preview interface of taking pictures;
When detecting the first triggering gesture in the first specified region in the preview interface of taking pictures, extracts to correspond to and work as The preview data frame at preceding moment, as result of taking pictures.

Claims (15)

1. a kind of method of snapshots, which is characterized in that the described method includes:
In response to triggering command of taking pictures, into preview interface of taking pictures;
When detecting the first triggering gesture in the first specified region in the preview interface of taking pictures, when extraction corresponds to current The preview data frame at quarter, as result of taking pictures;
Wherein, described to extract the preview data frame for corresponding to current time, as result of taking pictures, comprising:
Using current time as starting point, multiple preview data frames are obtained, forward with first time interval respectively with the second time interval Multiple preview data frames are obtained backward;
From the preview data frame got, select the highest preview data frame of resolution ratio as result of taking pictures.
2. the method according to claim 1, wherein it is described extract correspond to current time preview data frame, As result of taking pictures, comprising:
Obtain the corresponding data frame of terminal display interface at the current time;
From the corresponding data frame of the terminal display interface, the preview data frame for corresponding to current time is extracted, as taking pictures As a result.
3. the method according to claim 1, wherein the method also includes:
Response acts on the second triggering gesture in the second specified region of the preview interface of taking pictures, and camera is called to carry out image Acquisition, using the camera acquired image as result of taking pictures.
4. according to the method described in claim 3, it is characterized in that, the first specified region is with the described second specified region Different zones.
5. according to the method described in claim 4, it is characterized in that, the first triggering gesture is with the second triggering gesture Same gesture or different gestures.
6. according to the method described in claim 3, it is characterized in that, the first specified region is with the described second specified region Same area, and the first triggering gesture is different gestures from the second triggering gesture.
7. method according to any one of claim 3 to 6, which is characterized in that the first triggering gesture or described the Two triggering gestures include: slip gesture, click gesture, pressing gesture or stop gesture.
8. a kind of device of snapshots, which is characterized in that described device includes:
First processing module, in response to triggering command of taking pictures, into preview interface of taking pictures;
Second processing module detects the first triggering gesture in the first specified region of the preview interface of taking pictures for working as When, the preview data frame for corresponding to current time is extracted, as result of taking pictures;
Wherein, the Second processing module is specifically used for obtaining forward with first time interval respectively using current time as starting point Multiple preview data frames obtain multiple preview data frames with the second time interval backward;From the preview data frame got, choosing The highest preview data frame of resolution ratio is selected as result of taking pictures.
9. device according to claim 8, which is characterized in that the Second processing module, specifically for working as described in acquisition The corresponding data frame of the terminal display interface at preceding moment;From the corresponding data frame of the terminal display interface, extraction corresponds to The preview data frame at current time, as result of taking pictures.
10. device according to claim 8, which is characterized in that described device further includes third processing module, for responding The the second triggering gesture for acting on the second specified region of the preview interface of taking pictures, calls camera to carry out Image Acquisition, will The camera acquired image is as result of taking pictures.
11. device according to claim 10, which is characterized in that the first specified region and the described second specified region For different zones.
12. device according to claim 11, which is characterized in that the first triggering gesture and the second triggering gesture For same gesture or different gestures.
13. device according to claim 12, which is characterized in that the first specified region and the described second specified region For same area, and the first triggering gesture is different gestures with the second triggering gesture.
14. device described in any one of 0 to 13 according to claim 1, which is characterized in that the first triggering gesture or described Second triggering gesture includes: slip gesture, clicks gesture, pressing gesture or stop gesture.
15. a kind of user terminal, which is characterized in that the user terminal includes memory and processor, the memory coupling It is connected to the processor, 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, into preview interface of taking pictures;
When detecting the first triggering gesture in the first specified region in the preview interface of taking pictures, when extraction corresponds to current The preview data frame at quarter, as result of taking pictures;
Wherein, described to extract the preview data frame for corresponding to current time, as result of taking pictures, comprising:
Using current time as starting point, multiple preview data frames are obtained, forward with first time interval respectively with the second time interval Multiple preview data frames are obtained backward;
From the preview data frame got, select the highest preview data frame of resolution ratio 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 CN106686309A (en) 2017-05-17
CN106686309B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN106686309A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
WO2020082902A1 (en) Sound effect processing method for video, and related products
CN106165430B (en) Net cast method and device
AU2013276984B2 (en) Display apparatus and method for video calling thereof
CN106416222B (en) The adjustment gesture of capture exposure in real time
CN104537365B (en) Touch key-press and fingerprint recognition implementation method, device and terminal device
CN105491284B (en) The display methods and device of preview image
CN109788089A (en) The method and terminal of microspur imaging
CN105760102B (en) Terminal interaction control method and device and application program interaction control method
WO2017084183A1 (en) Information displaying method and device
CN105635567A (en) Shooting method and device
CN105892868A (en) Screen capture method and screen capture device
CN104951479A (en) Video content detecting method and device
CN104504083B (en) A kind of picture based on picture searching determines method and device
WO2018184443A1 (en) Terminal screen display processing method and apparatus and storage medium
CN106973237B (en) A kind of image pickup method and mobile terminal
CN106210495A (en) Image capturing method and device
US20230316529A1 (en) Image processing method and apparatus, device and storage medium
WO2018184442A1 (en) Terminal control method and device
CN105335714A (en) Photograph processing method, device and apparatus
CN111064930A (en) Split screen display method, display terminal and storage device
KR20150126192A (en) Electric apparatus and method for taking a photogragh in electric apparatus
US11057558B2 (en) Using change of scene to trigger automatic image capture
CN104205031A (en) Image zoom method and equipment
CN106453886B (en) A kind of photographic method and mobile terminal of mobile terminal
CN104702848A (en) Method and device for displaying framing information

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