CN107431752A - A kind of processing method and portable electric appts - Google Patents

A kind of processing method and portable electric appts Download PDF

Info

Publication number
CN107431752A
CN107431752A CN201680010100.XA CN201680010100A CN107431752A CN 107431752 A CN107431752 A CN 107431752A CN 201680010100 A CN201680010100 A CN 201680010100A CN 107431752 A CN107431752 A CN 107431752A
Authority
CN
China
Prior art keywords
video data
photo
file
portable electronic
electronic device
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
CN201680010100.XA
Other languages
Chinese (zh)
Other versions
CN107431752B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107431752A publication Critical patent/CN107431752A/en
Application granted granted Critical
Publication of CN107431752B publication Critical patent/CN107431752B/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/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • 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/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Studio Devices (AREA)

Abstract

A kind of processing method and portable electric appts, this method include:Obtain video data and store and arrive buffering area (201);Detect photographing operation;In response to photographing operation, a photo (202) is obtained;The first video data of preset duration is obtained from buffering area, last frame image and the photo of the first video data have mapping relations (203);Obtain last frame image and replicate N last frame images, N is the integer more than 0;A photo frame (204) is added respectively for N number of last frame image;N number of image after addition photo frame is synthesized into the second video data;First video data and the second video data are packaged into the 3rd video data (205);Photo and the 3rd video data are stored as a file (206).

Description

A kind of processing method and portable electronic device Technical field
The present invention relates to multimedia technology field more particularly to a kind of processing method and portable electronic devices.
Background technique
Continuous with portable electronic devices such as mobile phone, the tablet computers for being configured with camera is popularized, and user can shoot photo by camera to record various information.Currently, common style of shooting are as follows: when user presses shutter, shoot a photo, perhaps shoot the multiple pictures of same focal length or shoot the multiple pictures of different focal length.But these styles of shooting can only take the picture for pressing shutter moment, and can not take other pictures, so that the picture of shooting is relatively simple.
Summary of the invention
The embodiment of the invention discloses a kind of processing method and portable electronic devices, for providing a kind of shooting style, so as to the picture of abundant shooting.
First aspect provides a kind of processing method, and the processing method can be applied to the portable electronic device equipped with camera, and the processing method may include:
When the camera is in operating status, and the screening-mode of the camera is default screening-mode, obtains video data and store and arrive buffer area, the video data is the video data shot by the camera;
It detects photographing operation, that is, detects that user presses shutter, or detect that user touches or click the operation of preset icon;
In response to the photographing operation, a photo is obtained, i.e., a photo is shot by camera;
The first video data of preset duration is obtained from the buffer area, for the last frame image and the photo of first video data there are mapping relations, the mapping relations include: the same initial data that the last frame image and the photo are originated from imaging sensor;Alternatively, the last frame image and the photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and the photo of the last frame image is less than preset value, first video data is the video data in the last preset duration in the video data;
It obtains the last frame image and replicates the N last frame images, the N is the integer greater than 0;
A photo frame is added respectively for N number of last frame image;
N number of image after addition photo frame is synthesized into the second video data;
First video data and second video data are packaged into third video data, second video data is in the third video data after first video data;
The photo and the third video data are stored as a file.
As a kind of possible embodiment, N number of photo frame of addition can be not exactly the same, be also possible to completely it is different, can also be identical.
As a kind of possible embodiment, second video data can be by the N number of image and preset audio Data Synthesis after addition photo frame, be also possible to be synthesized by the audio data that N number of image after addition photo frame is recorded with one.
As a kind of possible embodiment, the third video data, which can be, to be packaged by first video data, second video data and another preset audio data, is also possible to be packaged by first video data, second video data and another audio data recorded.
As a kind of possible embodiment, when the photo and the third video data are stored as a file, the third video data can be stored as to dynamic image expert group (full name in English: Moving Picture Experts Group, abbreviation: MPEG) format, the photo is stored as Joint Photographic Experts Group's (full name in English: Joint Photographic Experts Group, abbreviation: JPEG) file, the third video data of mpeg format is stored in the extended field of the file, and preset mark is added on the head of the file, to show also to be stored with video data in this document, the preset mark can be type mark, it may be the third video Location information of the data in the file can also be the location information of type mark and the third video data in the file.
As a kind of possible embodiment, before the acquisition video data, it can first determine the velocity and acceleration of the portable electronic device, when the speed is less than first threshold and the acceleration is less than second threshold, video data is just obtained by camera, it can be unclear to avoid the too fast video data for leading to shooting of portable electronic device speed and/or acceleration and/or photo.First threshold can not be identical with second threshold, can also be identical.
As a kind of possible embodiment, the photo and the third video data are stored as a text After part, when display screen shows the file and detects the display operation for acting on the file, the display operation will be responded, shows the photo.
As a kind of possible embodiment, it after the photo and the third video data being stored as a file, when detecting the play operation for acting on the file, will be responsive to the play operation, play the third video data.
As a kind of possible embodiment, the photo and the third video data are stored as after a file, when detecting the transmission for acting on file operation, it will be responsive to the transmission operation, at least show transmission types, the transmission types comprise at least one of the following: entire file, image and video.
As a kind of possible embodiment, after showing transmission types, when the selected transmission types are entire file, the file is sent to an application or at least one recipient, when the selected transmission types are image, the photo is obtained from the file, modifying the preset mark is normal value, the photo is sent to an application or at least one recipient, when the selected transmission types are video, the third video data is obtained from the file according to the preset mark of the file, the third video data is sent to an application or at least one recipient, wherein, transmission can be the file, the photo or the third video data are shared with some applications, it is also possible to the file, the photo or the third video data transmission are given Other portable electronic devices.
As a kind of possible embodiment, the buffer area may include the identical part of two capacity;It is also possible to buffer circle, the length for the video data that the memory space of buffer circle can store is greater than the length of the first video data.
Second aspect provides a kind of portable electronic device, which includes the unit for executing method provided by any possible implementation of first aspect or first aspect.
The third aspect provides a kind of portable electronic device, the portable electronic device may include: one or more processors, memory, display, bus system, transceiver and one or more programs, and the processor, the memory, the display and the transceiver are connected by the bus system;
Wherein, one or more of programs are stored in the memory, one or more of programs include instruction, described instruction makes the portable electronic device execute method provided by any possible implementation of first aspect or first aspect when being executed by the portable electronic device, wherein, the display may include touch sensitive surface and display screen.
Fourth aspect provides a kind of computer readable storage medium for storing one or more programs, one Or multiple programs include instruction, described instruction makes the portable electronic device execute method provided by any possible implementation of first aspect or first aspect when being executed by portable electronic device.
5th aspect provides the graphic user interface (full name in English: Graphical User Interface, abbreviation: GUI) on a kind of portable electronic device, and the portable electronic device includes display, memory, multiple application programs;With the one or more processors for executing the one or more programs being stored in the memory, the GUI includes the user interface that the method according to provided by any possible implementation of example first aspect or first aspect is shown, wherein, the display may include touch sensitive surface and display screen.
6th aspect provides a kind of processing method, and the processing method can be applied to the portable electronic device equipped with camera and display, and the display may include touch sensitive surface and display screen, and the processing method may include:
Detect the display operation for acting on a file of the display screen display, the format of the file is JPEG, the third video data of mpeg format is stored in the extended field of the file, the head of the file includes preset mark, the preset mark comprises at least one of the following: the location information of type identification and the third video data in the file, the file is made of a photo and the third video data, the photo is that the portable electronic device response photographing operation obtains, the third video data is made of the first video data and the second video data, first video data is obtained from the buffer area of the portable electronic device, there are mapping relations with the photo for the last frame image of first video data, the mapping relations include : the same initial data of the last frame image and the photo from imaging sensor;Alternatively, the last frame image and the photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and the photo of the last frame image is less than preset value;Second video data is synthesized by N number of last frame image after addition photo frame, and the N is the integer greater than 0;
In response to the display operation, the photo is shown.
As a kind of possible embodiment, it when detecting the play operation for acting on the file, will be responsive to the play operation, play the third video data.
As a kind of possible embodiment, when detecting the transmission for acting on file operation, it will be responsive to the transmission operation, at least show that transmission types, the transmission types may include following at least one: entire file, image and video.
As a kind of possible embodiment, after showing transmission types, when the selected transmission types are entire file, the file is sent to an application or at least one recipient;When the selected transmission types are image, the photo is obtained from the file, modifying the preset mark is normal value, and the photo is sent to an application or at least one recipient;When the selected transmission types are video, the third video data is obtained from the file according to the preset mark of the file, the third video data is sent to an application or at least one recipient.
As a kind of possible embodiment, N number of photo frame of addition can be not exactly the same, be also possible to completely it is different, can also be identical.
As a kind of possible embodiment, second video data may include the N number of image and a preset audio data after adding photo frame, also may include the audio data of N number of image after adding photo frame and a recording;And/or the third video data may include first video data, second video data and another preset audio data, also may include first video data, second video data and another audio data recorded.
As a kind of possible embodiment, the buffer area may include the identical part of two capacity;It is also possible to buffer circle, the length for the video data that the memory space of buffer circle can store is greater than the length of the first video data.
7th aspect provides a kind of portable electronic device, which includes the unit for executing method provided by any possible implementation of the 6th aspect or the 6th aspect.
Eighth aspect provides a kind of portable electronic device, the portable electronic device may include: one or more processors, memory, display, bus system, transceiver and one or more programs, and the processor, the memory, the display and the transceiver are connected by the bus system;
Wherein, one or more of programs are stored in the memory, one or more of programs include instruction, described instruction makes the portable electronic device execute method provided by any possible implementation of the 6th aspect or the 6th aspect when being executed by the portable electronic device, wherein, the display may include touch sensitive surface and display screen.
9th aspect provides a kind of computer readable storage medium for storing one or more programs, one or more of programs include instruction, and described instruction makes the portable electronic device execute method provided by any possible implementation of the 6th aspect or the 6th aspect when being executed by portable electronic device.
Tenth aspect provides the GUI on a kind of portable electronic device, and the portable electronic device includes aobvious Show device, memory, multiple application programs;With the one or more processors for executing the one or more programs being stored in the memory, the GUI includes the user interface that the method according to provided by any possible implementation of the 6th aspect or the 6th aspect is shown, wherein, the display may include touch sensitive surface and display screen.
Tenth one side provides a kind of processing method, and the method can be applied to the portable electronic device equipped with camera, the method may include:
It obtains video data and stores and arrive buffer area, the video data is the video data shot by the camera;
It detects photographing operation, that is, detects that user presses shutter, or detect that user touches or click the operation of preset icon;
In response to the photographing operation, a photo is obtained, the photo is in response to one in the image data that the photographing operation obtains;
The first video data of preset duration is obtained from the buffer area, for the last frame image and the photo of first video data there are mapping relations, the mapping relations include: the same initial data that the last frame image and the photo are originated from imaging sensor;Alternatively, the last frame image and the photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and the photo of the last frame image is less than preset value, first video data is the video data in the last preset duration in the video data;
N number of image is obtained from first video data or described image data, the N is the integer greater than 0;
A photo frame is added respectively for N number of image;
N number of image after addition photo frame is synthesized into the second video data;
First video data and second video data are packaged into third video data, second video data is in the third video data after first video data;
The photo and the third video data are stored as a file.
As a kind of possible embodiment, N number of photo frame of addition can be not exactly the same, be also possible to completely it is different, can also be identical.
As a kind of possible embodiment, second video data can be the N number of image being also possible to by the N number of image and preset audio Data Synthesis after addition photo frame by after addition photo frame and record The audio data synthesis of system.
As a kind of possible embodiment, the third video data, which can be, to be packaged by first video data, second video data and another preset audio data, is also possible to be packaged by first video data, second video data and another audio data recorded.
As a kind of possible embodiment, when the photo and the third video data are stored as a file, the third video data can be stored as mpeg format, the photo is stored as to the file of JPEG, the third video data of mpeg format is stored in the extended field of the file, and preset mark is added on the head of the file, to show also to be stored with video data in this document, the preset mark can be type mark, it may be location information of the third video data in the file, it can also be the location information of type mark and the third video data in the file.
As a kind of possible embodiment, before the acquisition video data, it can first determine the velocity and acceleration of the portable electronic device, when the speed is less than first threshold and the acceleration is less than second threshold, video data is just obtained by camera, it can be unclear to avoid the too fast video data for leading to shooting of portable electronic device speed and/or acceleration and/or photo.
As a kind of possible embodiment, after the photo and the third video data being stored as a file, when detecting the display operation for acting on the file, the display operation will be responded, shows the photo.
As a kind of possible embodiment, after the photo and the third video data being stored as a file, when detecting the display operation for acting on the file, the display operation will be responded, shows the photo.
As a kind of possible embodiment, the photo and the third video data are stored as after a file, when detecting the transmission for acting on file operation, it will be responsive to the transmission operation, at least show transmission types, the transmission types comprise at least one of the following: entire file, image and video.
As a kind of possible embodiment, after showing transmission types, when the selected transmission types are entire file, the file is sent to an application or at least one recipient, when the selected transmission types are image, the photo is obtained from the file, modifying the preset mark is normal value, the photo is sent to an application or at least one recipient, when the selected transmission types are video, the third video data is obtained from the file according to the preset mark of the file, the third video data is sent to an application or at least one recipient, wherein, sending can be with It is that the file, the photo or the third video data are shared with some applications, is also possible to the file, the photo or the third video data transmission to other portable electronic devices.
As a kind of possible embodiment, it partially or is entirely screened from the whole frame image or partial frame image of first video data according to pre-set criteria in N number of image;Alternatively, partially or being entirely to be screened from all images or parts of images of described image data according to pre-set criteria in N number of image.
As a kind of possible embodiment, the buffer area may include the identical part of two capacity;It is also possible to buffer circle, the length for the video data that the memory space of buffer circle can store is greater than the length of the first video data.
12nd aspect provides a kind of portable electronic device, which includes the unit for executing method provided by any possible implementation of the tenth one side or the tenth one side.
13rd aspect provides a kind of portable electronic device, the portable electronic device may include: one or more processors, memory, display, bus system, transceiver and one or more programs, and the processor, the memory, the display and the transceiver are connected by the bus system;
Wherein, one or more of programs are stored in the memory, one or more of programs include instruction, described instruction makes the portable electronic device execute method provided by any possible implementation of the tenth one side or the tenth one side when being executed by the portable electronic device, wherein, the display may include touch sensitive surface and display screen.
Fourteenth aspect provides a kind of computer readable storage medium for storing one or more programs, one or more of programs include instruction, and described instruction makes the portable electronic device execute method provided by any possible implementation of the tenth one side or the tenth one side when being executed by portable electronic device.
15th aspect discloses the GUI on a kind of portable electronic device, and the portable electronic device includes display, memory, multiple application programs;With the one or more processors for executing the one or more programs being stored in the memory, the GUI includes the user interface that the method according to provided by any possible implementation of the tenth one side or the tenth one side is shown, wherein, the display may include touch sensitive surface and display screen.
16th aspect provides a kind of processing method, and the method can be applied to the portable electronic device equipped with camera and display, and the display may include touch sensitive surface and display screen, which comprises
Detect the display operation for acting on a file of the display screen display, the format of the file For JPEG, the third video data of mpeg format is stored in the extended field of the file, the head of the file includes preset mark, the preset mark comprises at least one of the following: the location information of type identification and the third video data in the file, the file is made of a photo and the third video data, the photo is that the portable electronic device response photographing operation obtains, the third video data is made of the first video data and the second video data, first video data is obtained from the buffer area of the portable electronic device, there are mapping relations with the photo for the last frame image of first video data, the mapping relations include: the same initial data that the last frame image and the photo are originated from imaging sensor;Alternatively, the last frame image and the photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and the photo of the last frame image is less than preset value;Second video data is synthesized by N number of image after addition photo frame, and N number of image is obtained from first video data, and the N is the integer greater than 0;
In response to the display operation, the photo is shown.
As a kind of possible embodiment, it when detecting the play operation for acting on the file, will be responsive to the play operation, play the third video data.
As a kind of possible embodiment, when detecting the transmission for acting on file operation, it will be responsive to the transmission operation, at least show that transmission types, the transmission types may include following at least one: entire file, image and video.
As a kind of possible embodiment, after showing transmission types, when the selected transmission types are entire file, the file is sent to an application or at least one recipient;When the selected transmission types are image, the photo is obtained from the file, modifying the preset mark is normal value, and the photo is sent to an application or at least one recipient;When the selected transmission types are video, the third video data is obtained from the file according to the preset mark of the file, the third video data is sent to an application or at least one recipient.
As a kind of possible embodiment, N number of photo frame of addition can be not exactly the same, be also possible to completely it is different, can also be identical.
As a kind of possible embodiment, second video data may include the N number of image and a preset audio data after adding photo frame, also may include the audio data of N number of image after adding photo frame and a recording;And/or the third video data may include first video data, second video data and another preset audio data, also may include first video data, second view Frequency accordingly and another record audio data.
As a kind of possible embodiment, the buffer area may include the identical part of two capacity;It is also possible to buffer circle, the length for the video data that the memory space of buffer circle can store is greater than the length of the first video data.
17th aspect provides a kind of portable electronic device, which includes the unit for executing method provided by any possible implementation of the 16th aspect or the 16th aspect.
18th aspect provides a kind of portable electronic device, the portable electronic device may include: one or more processors, memory, display, bus system, transceiver and one or more programs, and the processor, the memory, the display and the transceiver are connected by the bus system;
Wherein, one or more of programs are stored in the memory, one or more of programs include instruction, described instruction makes the portable electronic device execute method provided by any possible implementation of the 16th aspect or the 16th aspect when being executed by the portable electronic device, wherein, the display may include touch sensitive surface and display screen.
19th aspect provides a kind of computer readable storage medium for storing one or more programs, one or more of programs include instruction, and described instruction makes the portable electronic device execute method provided by any possible implementation of the 16th aspect or the 16th aspect when being executed by portable electronic device.
20th aspect provides the GUI on a kind of portable electronic device, and the portable electronic device includes display, memory, multiple application programs;With the one or more processors for executing the one or more programs being stored in the memory, the GUI includes the user interface that method provided by any possible implementation of the 16th aspect or the 16th aspect according to embodiments of the present invention is shown, wherein, the display may include touch sensitive surface and display screen.
Before detecting photographing operation, video data is obtained by camera, when detecting photographing operation, photo is shot by camera, it is seen then that can not only take the picture for pressing shutter moment, the picture pressed Kuai in front of the door can also be taken, therefore, the picture of shooting can be enriched.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, the drawings to be used in the embodiments are briefly described below, apparently, drawings in the following description are only some embodiments of the invention, for those of ordinary skill in the art, without any creative labor It is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of portable electronic device disclosed by the embodiments of the present invention;
Fig. 2 is a kind of flow diagram of processing method disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of another processing method disclosed by the embodiments of the present invention;
Fig. 4 is the flow diagram of another processing method disclosed by the embodiments of the present invention;
Fig. 5 is the flow diagram of another processing method disclosed by the embodiments of the present invention;
Fig. 6 is the flow diagram of another processing method disclosed by the embodiments of the present invention;
Fig. 7 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention;
Fig. 8 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention;
Fig. 9 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention;
Figure 10 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention;
Figure 11 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention;
Figure 12 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention;
Figure 13 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention;
Figure 14 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention;
Figure 15 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention;
Figure 16 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention;
Figure 17 is that one kind disclosed by the embodiments of the present invention is taken pictures schematic diagram;
Figure 18 is a kind of effect picture added after photo frame for image disclosed by the embodiments of the present invention;
Figure 19 is a kind of schematic diagram that photo and third video data are stored as to file disclosed by the embodiments of the present invention;
Figure 20 is the schematic diagram of the photo in a kind of display file disclosed by the embodiments of the present invention;
Figure 21 is the schematic diagram of video data in a kind of played file disclosed by the embodiments of the present invention;
Figure 22 is a kind of schematic diagram for sending file disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical scheme in the embodiment of the invention is clearly and completely described, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creativeness Every other embodiment obtained, shall fall within the protection scope of the present invention under the premise of labour.
The embodiment of the invention discloses a kind of processing method and portable electronic devices, for providing a kind of shooting style, so as to the picture of abundant shooting.It is described in detail separately below.
A kind of processing method and portable electronic device, the structure of the portable electronic device first used below the embodiment of the present invention disclosed in embodiment are described for a better understanding of the present invention.Referring to Fig. 1, Fig. 1 is a kind of structural schematic diagram of portable electronic device disclosed by the embodiments of the present invention.As shown in Figure 1, the portable electronic device may include processor 101, memory 102, input unit 103, output device 104, communication device 105 and power supply 106, these components can be attached by one or more system bus.The structural schematic diagram of portable electronic device shown in FIG. 1 does not constitute a limitation of the invention simultaneously, it is also possible to hub-and-spoke configuration either busbar network, can also include than illustrating more or fewer components, perhaps certain components or different component layouts are combined.Portable electronic device can be mobile phone, removable computer, tablet computer, personal digital assistant (full name in English: Personal Digital Assistant, abbreviation: PDA), media player, smart television etc..Memory 102 is stored with code and data, code include operating system operation code and the embodiment of the present invention needed for block code, such as camera, picture library, file management.The code stored in 101 run memory 102 of processor is processed for generating and exporting corresponding interface to input information.Output device 104 may include display and loudspeaker, and display can show that photo, loudspeaker can export sound.
Input unit 103 is for realizing the interaction of user and portable electronic device and/or information input into portable electronic device.For example, input unit 103 can receive the number or character information of user's input, to generate signal input related with user setting or function control.In the specific embodiment of the invention, input unit 103 can be touch panel, be also possible to other human-computer interaction interfaces, such as: entity enter key, microphone etc. can also be other external information capture devices, such as camera etc..Touch panel, also referred to as touch screen, touch sensitive surface or touch screen can collect user and touch on it or close operational motion.Such as: user uses the operational motion of the positions of the attachmentes on touch panel or close to touch panel such as finger, stylus, and can drive corresponding attachment device according to preset formula.Optionally, touch panel may include both touch detecting apparatus and touch controller.Wherein, the touch operation of touch detecting apparatus detection user, and the touch operation that will test is converted to electric signal, and sends electric signal to touch controller;Touch controller receives electric signal from touch detecting apparatus, and converts the electrical signal to contact coordinate, is then forwarded to processor 101.Touch controller can also receive the order of the transmission of processor 101 and execution.Furthermore, it is possible to be realized using multiple types such as resistance-type, condenser type, infrared ray (Infrared) and surface acoustic waves Touch panel.In other embodiments of the invention, entity enter key used by input unit 103 can include but is not limited at least one of physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc..The input unit 103 of microphone form can collect the voice of user or environment input and order that convert thereof into electrical signal form, that processor 101 is executable.
In one embodiment, input unit 103 can also be various kinds of sensors part, such as: Hall sensor, the physical quantity of portable electronic device can be detected, such as power, torque, pressure, stress, position, displacement, speed, acceleration, angle, angular speed, revolution, revolving speed, working condition changed time, it is transformed into electricity to be detected and controlled.Other sensors part can also include accrued gravity-feed tank, triaxial accelerometer, gyroscope, electronic compass, ambient light sensor, proximity sensor, temperature sensor, humidity sensor, pressure sensor, heart rate sensor, Fingerprint Identification Unit etc..
Processor 101 is the control centre of portable electronic device, utilize the various pieces of various interfaces and the entire portable electronic device of connection, by running or executing the code in memory 102, and the data being stored in memory 102 are called, to execute the various functions and/or processing data of portable electronic device.Processor 101 can also be made of the single integrated circuit encapsulated (full name in English: Integrated Circuit, abbreviation: IC) composition the encapsulation IC of more identical functions of connection or different function.For example, processor 101 can only include central processing unit (full name in English: Central Processing Unit, abbreviation: CPU), it also may include graphics processor (full name in English: Graphics Processing Unit, abbreviation: GPU), digital signal processor (full name in English: Digital Signal Processor, abbreviation: DSP) and the control chip (such as baseband chip) in communication device 105 combination.Wherein, CPU can be single operation core, be also possible to multioperation core.
Communication device 105 allows portable electronic device to connect remote server by communication channel for establishing communication channel, and from remote server downloads of media data.Communication device 105 may include WLAN (full name in English: Wireless Local Area Network, abbreviation: WLAN) module, bluetooth module, the communication modules such as base band (Base Band) module, and the corresponding radio frequency of communication module (full name in English: Radio Frequency, abbreviation: RF) circuit, for carrying out WLAN communication, Bluetooth communication, infrared communication and/or cellular communications system communication, such as wideband code division multiple accesses (full name in English: Wideband Code Division Multiple Access, abbreviation: WCDMA) and/or high-speed downstream packet access (High Speed Downli Nk Packet Access, abbreviation: HSDPA).Communication module is used to control the communication of each component in portable electronic device, and can support direct memory access (full name in English: Direct Memory Access, abbreviation: DMA).
In one embodiment, the various communication modules in communication device 105 generally occur in the form of IC chip (Chip), and the property of can be chosen combines, without including all communication modules and corresponding antenna sets.For example, communication device 105 can only include baseband chip, radio frequency chip and corresponding antenna to provide communication function in a cellular communication system.The wireless communication connection established via communication device 105, such as WLAN access or WCDMA access, portable electronic device can connect to Cellular Networks (Cellular Network) or internet (Internet).In some optional embodiments of the invention, communication module in communication device 105, such as baseband module is desirably integrated into processor 101.
RF circuit is for sending and receiving signal in information transmit-receive or communication process.Processor 101 is sent to after the downlink information of base station being received to handle, and upstream data can also be sent to base station.Under normal conditions, radio circuit includes the known circuits for executing these functions, including but not limited to antenna system, radio frequency transceiver, one or more amplifiers, tuner, one or more oscillators, digital signal processor, encoding and decoding (Codec) chipset, subscriber identity module (full name in English: Subscriber Identity Module, abbreviation: SIM) card, memory etc..In addition, radio circuit can also be communicated with network and other equipment by wireless communication.Any communication standard or agreement can be used in wireless communication, including but not limited to global system for mobile communications (full name in English: Global System of Mobile communication, abbreviation: GSM), general packet radio service (full name in English: General Packet Radio Service, abbreviation: GPRS), CDMA (full name in English: Code Division Multiple Access, abbreviation: CDMA), wideband code division multiple access (full name in English: Wideband Code Division Multiple Access, abbreviation: WCDMA), high speed uplink downlink packet connects Enter technology (full name in English: High Speed Uplink Packet Access, abbreviation: HSUPA), long term evolution (full name in English: Long Term Evolution, LTE), Email, short message service (full name in English: Short Messaging Service, abbreviation: SMS) etc..
Output device 104 includes but is not limited to image output unit and voice output unit.Image output unit is used for output character, picture and/or video.Image output unit may include display panel, such as: use liquid crystal display (full name in English: Liquid Crystal Display, abbreviation: LCD), Organic Light Emitting Diode (full name in English: Organic Light-Emitting Diode, abbreviation: OLED), Field Emission Display (full name in English: field emission display, abbreviation: FED) etc. configurations display panel, it also may include reflected displaying device, such as: electrophoresis-type (electrophoretic) display, interference of light modulation tech (Interferometric Modulation of Light) display.Image output unit may include individual monitor, also may include various sizes of multiple displays.Wherein, the display panel that touch panel used by input unit 103 also can simultaneously as output device 104.For example, when touch panel detects on it After touch or close gesture operation, processor 101 is sent to determine the type of touch event, it is followed by subsequent processing device 101 and provides corresponding visual output on a display panel according to the type of touch event, such as, image output unit can show various Graphic User Interfaces (full name in English: Graphical User Interface, abbreviation: GUI) using as virtual controlling component, including but not limited to window, scroll bar, icon and scrapbook, so that user is operated by touch control manner.Wherein, image output unit may include filter and amplifier, the video filtering that processor 101 can be exported and amplification.Wherein, audio output unit may include digital analog converter, the audio signal that processor 101 exports can be converted to analog format from number format.
Memory 102 can be used for store code, and processor 101 is by running the code for being stored in memory 102 to execute the various functions of portable electronic device and realizing data processing.Memory 102 mainly includes program storage area and data storage area, program storage area can application program needed for storage program area, at least one function, such as sound playing program, video reproduction program etc., data storage area, which can be stored, uses created data (such as audio data, phone directory) according to portable electronic device.Wherein, memory 102 may include volatile memory, such as non-volatile dynamic random access memory (full name in English: Nonvolatile Random Access Memory, abbreviation: NVRAM), phase change random access memory (full name in English: Phase Change RAM, PRAM), magnetic-resistance random access memory (full name in English: Magnetoresistiverandom access memory, abbreviation: MRAM) etc.;It can also include nonvolatile memory, such as at least one disk memory, Electrical Erasable programmable read only memory (full name in English: Electrically Erasable Programmable Read-Only Memory, abbreviation: EEPROM), flush memory device etc..Nonvolatile storage stores operating system and application program performed by processor 102.Processor 102 is stored in mass storage from nonvolatile storage load operating program and data to memory and by digital content.Operating system includes such as memory management, the control of storage equipment, power management for controlling and manage general system tasks, and facilitates the various assemblies communicated between various software and hardwares and/or driver.
Application program may include installation any application on an electronic device, and including but not limited to browser, Email, instant message service, word processing, keyboard be virtual, widget (Widget), encryption, digital copyright management, speech recognition, speech reproduction, positioning (such as by the function of global positioning system offer), music.
Power supply 106 is used to be powered to the different components of portable electronic device to maintain its operation.Power supply 106 can be built-in battery, such as lithium ion battery, nickel-metal hydride battery, be also possible to external power supply, such as AC adapter etc..Wherein, power supply 106 can also include power-supply management system, charging system, power failure detection circuit, power adapter or inverter, power supply status indicator (such as light emitting diode), and generate with the electric energy of electronic equipment, manage and be distributed other associated any components.
Referring to Fig. 2, Fig. 2 is a kind of flow diagram of processing method disclosed by the embodiments of the present invention.As shown in Fig. 2, the processing method may comprise steps of, the executing subject of following steps is the portable electronic device equipped with camera.
201, when camera is in operating status and the screening-mode of camera is default screening-mode, portable electronic device obtains video data and stores to buffer area.
Portable electronic device will shoot video data by camera when detecting that camera is in operating status and the screening-mode of camera is default screening-mode, and video data is stored to buffer area.Wherein, the size of buffer area is fixed, when buffer area is full by storage, the video data for being first stored in buffer area will be dropped, and the video data newly shot is stored to buffer area, that is the buffer area principle that follows first in first out, to guarantee that the video data of buffer area storage is newest video data.
In the present embodiment, the video data for being stored in buffer area can be the frame after compressed encoding, is also possible to primitive frame, i.e., does not carry out the frame of compressed encoding.When frame after storing the video data in buffer area to be compressed encoding, the spatial cache of buffer area can be saved.Wherein, it can be encoded using H.264 standard, can also using H.261, H.262, H.263, H.265, Xvid, Divx, combined activities motion picture expert group version (full name in English: Motion Joint Photographic Experts Group, abbreviation: MJPEG), the standards such as MPEG-1, MPEG-2, MPEG-4 are encoded.When using H.264 standard is encoded, H.264 standard defines three kinds of frames, i.e., the frame completely encoded is I frame, is only P frame comprising the frame that difference section encodes with reference to what I frame before generated, and a kind of also frame that encodes of the frame before and after reference is B frame.Image carries out tissue as unit of sequence in the h .264 standard, and a sequence is the data flow after one section of image coding, is started with I frame, arrives next I frame end.I frame can be decoded individually, but P frame and B frame cannot be decoded individually.Therefore, when caching, which has been expired, to abandon data, P frame B frame earliest I frame and behind abandons together.When storing the video data in buffer area is primitive frame, several seconds video datas can be accurately intercepted.
202, when portable electronic device detects photographing operation, in response to photographing operation, a photo is shot.
In the present embodiment, during portable electronic device obtains video, when portable electronic device detects the photographing operation of user, that is, detect that user presses the operation of shutter or user clicks preset icon When operation, portable electronic device responds photographing operation, shoots a photo.Wherein, when portable electronic device shoots photo, portable electronic device can stop shooting video data, can not also stop video data.Please refer to Figure 17, Figure 17 is that one kind disclosed by the embodiments of the present invention is taken pictures schematic diagram.As shown in figure 17, there are a shutter icons at the camera interface of portable electronic device, when the user clicks on this icon, are equivalent to carry out photographing operation, portable electronic device will shoot photo.
203, portable electronic device obtains the first video data of preset duration from buffer area.
In the present embodiment, while portable electronic device shoots photo, or after taking photo, portable electronic device will obtain the first video data of preset duration from the video data that buffer area stores.First video data is final stage video data in the video data of buffer area storage.Wherein, there are mapping relations between the last frame image and photo of the first video data, it can be last frame image and photo be originated from the same initial data of imaging sensor (i.e. last frame image is identical as the content of photo but pixel is different);It can also include label of identical time with last frame image and photo (that is to say last frame image, identical but pixel is different with the content of photo);It can also be that the time absolute value of the difference at the acquisition moment for obtaining moment and photo of last frame image is less than preset value, i.e. photo, which can be, shoots before last frame image, it is also possible to shoot simultaneously with last frame image, can also be and shot after last frame image.It should be understood that when photo shot before last frame image, the time difference of the shooting time of the shooting time and photo of last frame image less than 1.5 seconds, usually several milliseconds or a few tens of milliseconds or several hundred milliseconds.
204, portable electronic device obtains the last frame image of the first video data and replicates N last frame images, and adds a photo frame respectively for N last frame images.
In the present embodiment, portable electronic device is after the first video data for getting preset duration in buffer area, it will acquire the last frame image of the first video data, and replicate N last frame images, portable electronic device is that N last frame images add a photo frame respectively later.When adding photo frame respectively for N last frame images, it can be the default photo frame of addition, the prompt information for prompting user to determine addition photo frame quantity can be first exported when adding default photo frame, after detecting the quantity of user's input, obtained respective numbers and preset photo frame;The default photo frame of preset quantity can also be directly acquired;It is also possible to first export the prompt information for prompting user to add photo frame, so that user needs photo frame to be added according to prompt information selection, when receiving the photo frame of user's selection, the photo frame of selection is added in image.Wherein, N number of photo frame of addition can be not exactly the same, i.e. the pattern of some photo frames is identical, and the pattern of some photo frames is different, such as: the photo frame of first half image uses another using the photo frame of one style and latter half image Pattern;Be also possible to completely it is different, that is, the pattern of all photo frames added is all different;It can also be that the pattern of all photo frames is identical.Figure 18 is please referred to, Figure 18 is a kind of effect picture added after photo frame for image disclosed by the embodiments of the present invention.As shown in figure 18, three images on the right are obtained by the image addition photo frame on the left side, and photo frame is black gray expandable rectangular shaped rim, and the pattern that the photo frame in image is opened on the right three is identical, is black gray expandable frame, but photo frame present position in every image is different.Correspondingly, the quantity for adding photo frame can be greater than 0 and be less than or equal to N, when the photo frame of at least two images addition is identical, will adjust position of the photo frame in this at least two images, so that photo frame is all different position in this at least two images, to embody the difference between these images.Wherein, N is the integer greater than 0.
205, N images after portable electronic device will add photo frame synthesize the second video data, and the first video data and the second video data are packaged into third video data.
In the present embodiment, portable electronic device is after N last frame images add a photo frame respectively, and portable electronic device can be by N images after addition photo frame according to duplication sequence (or sequence of addition photo frame) the second video data of synthesis;The second video data can also be synthesized by N images and a preset audio data after addition photo frame or by the audio data that microphone is recorded, the playing duration of this audio data is equal to the playing duration of the second video data.
In the present embodiment, after portable electronic device synthesizes the second video data, the first video data and the second video data can be encapsulated as third video data by portable electronic device.Portable electronic device can also be encapsulated as third video data by the first video data, the second video data and a preset audio data or by the audio data that microphone is recorded.When the second video data includes audio data, the playing duration of this audio data is equal to the playing duration of the first video data or the playing duration of third video data.If this audio data is recorded by the microphone of portable electronic device, by microphone recording while this audio data can be the first video data of shooting, the audio data of recording be can store in another buffer area.When the second video data does not include audio data, the playing duration of this audio data is equal to the playing duration of third video data.First video data before the second video data, that is, when playing third video data, first plays the first video data and plays the second video data again in third video data.Wherein, the audio data for being stored in buffer area can be initial data, the data after being also possible to compressed encoding.When data after storing the audio data in buffer area to be compressed encoding, Advanced Audio Coding (full name in English: Advanced Audio Coding can be used, abbreviation: AAC) encoded, can also using MPEG-1audio layer 3, G.711U, G.711A, pulse code modulation (full name in English: Pulse Code Modulation, abbreviation: PCM), Differential Pulse Code Modulation (Adaptive Pulse Code Modulation, abbreviation: ADPCM), linear predictive coding (full name in English: Linear Predictive Coding, abbreviation: LPC), Code Excited Linear Prediction (full name in English: CodeExcited Linear Prediction, abbreviation: CELP), G.711, G.721, G.722, G.723, G.723.1, G.728, G.729, G.729A, global internet protocol sound (full name in English: Global IP Sound, abbreviation: GIPS) , Apt-X, nearly instantaneous companding audio-frequency multiplex (full name in English: Near-Instantaneously Companded Audio Multiplex, abbreviation: NICAM), MPEG-1audio layer 1, MPEG-1audio layer 2, MPEG-2audio layer, Dolby AC-3, adaptive spectrum perceive entropy coding (full name in English: Adaptive Spectral Perceptual Entropy Coding, ASPEC), perceptual audio encoders (full name in English: Perceptual Audio Coder, abbreviation: PA C), half rate (full name in English: Half Rate, abbreviation: HR), full rate (full name in English: Full Rate, abbreviation: FR), global system for mobile communications (full name in English: Global System Mobile Communication, abbreviation: GSM)-self-adaption multi-speed encoding/decoding (full name in English: Adaptive Multi-Rrte Codec, abbreviation: AMR), enhanced variable rate codec (full name in English: Enhanced Variable Rate Codec, abbreviation: EVRC), Variable Rate Code VRCBLP Excited Linear Prediction (full name in English: Qualcomm Code-Excited Li Near Prediction, abbreviation: QCELP) etc. encoded.
206, photo and third video data are stored as a file by portable electronic device.
In the present embodiment, portable electronic device obtains after third video data, the photo of shooting and third video data can be stored as a file, third video data is stored as mpeg format, photo is stored as to the file of JPEG, the third video data of mpeg format is stored in the extended field of file, and preset mark is added on the head of file, to show to be stored with photos and videos data in this document.Wherein, preset mark can be type mark, for showing that file is the file for including photos and videos, or the location information of third video data hereof can also be the location information of type mark and third video data hereof.Furthermore, third video data can also be encapsulated as to MP4, transport stream (full name in English: Transport Stream, abbreviation: TS), Matroska video (full name in English: Matroska Video, abbreviation: MKV), animated video (full name in English: Flash Video, abbreviation: FLV), Interleave (full name in English: Audio Video Interleaved, abbreviation: AVI), true media variable bit rate (English Full name: Real Media Variable Bit Rate, abbreviation: RMVB), windows media video (full name in English: Windows Media Video, abbreviation: WMV), third generation partner program (full name in English: 3rd Generation Partnership Project, abbreviation: 3GP), Version object base (full name in English: Versioned Object Base, abbreviation: VOB), true media (full name in English: Real Media, abbreviation: RM) formats such as RM, MOV.Figure 19 is please referred to, Figure 19 is a kind of schematic diagram that photo and third video data are stored as to file disclosed by the embodiments of the present invention.
In the present embodiment, there are many kinds of the storage formats of jpeg file, but the most commonly used is jpeg file exchange format (full name in English: JPEG File Interchange Format, abbreviation: JFIF).Jpeg file may include flag code and compressed data two parts.Flag code is made of two bytes, first character section is 0XFF, and for identifying the beginning of flag code, the first character section of flag code is fixed and invariable in different jpeg files, the value of second byte difference of flag code in different jpeg files, different second byte represents different meanings.What flag code occurred generally in the form of marker code in jpeg file, such as: image starts (full name in English: Start Of Image, abbreviation: SOI) marker code be 0XFFD8, i.e., when occurring 0XFFD8 in jpeg file, show to be SOI label herein.Compressed data is located at behind flag code, for recording the information of file, as picture contents data,.Wherein, some typical flag codes and its representative meaning are as shown in table 1:
Table 1
In order to will include that the jpeg file of video data is distinguished with normal jpeg file, the byte informations such as 02,03 can be added behind the first character section 0XFF of flag code, 02, the byte informations such as 03 can indicate that start offset amount of the third video data in jpeg file, byte information can be double byte or other data structures.When reading the jpeg file, when the first character section for reading flag code is not 0XFF, it can determine that this document ending contains video data, read the subsequent start offset amount of 0XFF, data in file before the offset are picture data, and the data after the offset are video data.Furthermore, the file of jpeg format could alternatively be label image file format (full name in English: Ttag Image File Format, abbreviation: TIFF) file, GIF(Graphic Interchange format) (full name in English: Graphics Interchange Format, abbreviation: GIF) file, portable network graphics format (full name in English: Portable Network Graphic Format, abbreviation: PNG) file etc..
In the processing method described in Fig. 2, before portable electronic device detects photographing operation, video data is obtained by camera and is shot when portable electronic device detects photographing operation by camera Photo, it is seen then that portable electronic device can not only take the picture for pressing shutter moment, can also take the picture pressed Kuai in front of the door, therefore, can enrich the picture of shooting.
Referring to Fig. 3, Fig. 3 is the flow diagram of another processing method disclosed by the embodiments of the present invention.Referring to Fig. 3, the processing method may comprise steps of, the executing subject of following steps is the portable electronic device equipped with camera.
301, when camera is in operating status and the screening-mode of camera is default screening-mode, portable electronic device determines the velocity and acceleration of portable electronic device.
In the present embodiment, since the video or the photo that when the speed of portable electronic device or larger acceleration, will cause shooting are unclear.Therefore, when camera is in operating status and the screening-mode of camera is default screening-mode, portable electronic device can first pass through the velocity and acceleration of the devices measurement portable electronic devices such as Inertial Measurement Unit (full name in English: Inertial Measurement Unit, abbreviation: IMU).
302, when speed is less than first threshold and acceleration is less than second threshold, portable electronic device, which obtains video data and stores, arrives buffer area.
Wherein, step 303~step 307 is identical as step 202~step 206 in preceding embodiment, and the embodiment of the present invention does not repeat herein.
308, when portable electronic device detects the display operation for acting on this document, in response to display operation, photo is shown.
Figure 20 is please referred to, Figure 20 is the schematic diagram of the photo in a kind of display file disclosed by the embodiments of the present invention.As shown in figure 20, the doggie icon of square is the icon of this document, when display screen shows the icon, if user clicks the icon (figure on the left side in Figure 20), then portable electronic device will detect that the display operation for acting on file, by the photo shown in file in display screen (figure on the right in Figure 20).
As a kind of possible embodiment, when the display photo in display screen file, user can carry out slide to the left, to the right, upward or downward etc. for photo, to browse the partial frame image in third video data.
As a kind of possible embodiment, it can be operated by long-pressing photo to portable electronic device input editing, portable electronic device can obtain photo from file, and modifying preset mark is normal value, that is, common photo files are converted to by file after editing.
In as a kind of possible embodiment, file can be set to the background image of locking screen interface, portable electronic device shows photo under normal circumstances, when the click for detecting the preset icon being directed on the photo When operating or touch the duration of the photo greater than preset value, portable electronic device will play third video data.
309, when portable electronic device detects the play operation for acting on this document, in response to play operation, third video data is played.
In the present embodiment, when showing the photo, and detecting the operation for the preset icon on the photo or touch the duration of the photo greater than preset value, portable electronic device will play third video data.Figure 21 is please referred to, Figure 21 is the schematic diagram of video data in a kind of played file disclosed by the embodiments of the present invention.As shown in figure 21, the star-like icon being shown in above photo has the function of that instruction plays third video data, when detecting that user clicks the icon, portable electronic device will play third video data, and the image shown in the third width figure in Figure 21 is an image in third video data.The play instruction for playing third video data can also be inputted to portable electronic device by long-pressing photo.
310, when portable electronic device detects the transmission operation for acting on this document, it is operated in response to sending, at least show transmission types, when selected transmission types are entire file, file is sent to an application or at least one recipient, when selected transmission types are image, photo is obtained from file, modification preset mark is normal value, photo is sent to an application or at least one recipient, when selected transmission types are video, third video data is obtained from file according to the preset mark of file, third video data is sent to an application or at least one recipient.
In the present embodiment, when portable electronic device shows file and detects that the touch time for file is greater than preset value, or when showing photo and detecting that the touch time for photo is greater than preset value, portable electronic device includes whether display to send the prompt information of this document, when detecting the determination information of transmission this document of user's input, display is included entire file by portable electronic device, the prompt information of the transmission types of at least one of image and video, when selected transmission types are entire file, file is sent to an application or at least one recipient by portable electronic device, when selected transmission types are image, portable electronic device obtains photo from file, modification preset mark is normal value, photo is sent to an application or at least one recipient, when selected transmission class When type is video, portable electronic device obtains third video data according to the preset mark of file from file, and third video data is sent to an application or at least one recipient.Figure 22 is please referred to, Figure 22 is a kind of schematic diagram for sending file disclosed by the embodiments of the present invention.As shown in figure 22, when detecting the long press operation for photo, portable electronic device will show the information such as " sending file ", " editing files " on a display screen, " send when detecting that user clicks When file "; portable electronic device will show " entire file ", " image " and " video " information on a display screen; when detecting that user clicks the operation of " entire file "; entire file is sent to selected by user by portable electronic device to be applied or recipient; when detecting that user clicks the operation of " image "; photo is sent to selected by user by portable electronic device to be applied or recipient, when detecting that user clicks the operation of " video ", portable electronic device sends third video data to applying selected by user or recipient.
In the processing method described in Fig. 3, before portable electronic device detects photographing operation, video data is obtained by camera, when portable electronic device detects photographing operation, photo is shot by camera, it is seen that, portable electronic device can not only take the picture for pressing shutter moment, the picture pressed Kuai in front of the door can also be taken, therefore, the picture of shooting can be enriched.
Referring to Fig. 4, Fig. 4 is the flow chart of another processing method disclosed by the embodiments of the present invention.As shown in figure 4, the processing method may comprise steps of, the executing subject of following steps is the portable electronic device equipped with camera.
Wherein, step 401 is identical as the step 201 in preceding embodiment, and the embodiment of the present invention does not repeat herein.
402, when portable electronic device detects photographing operation, in response to photographing operation, at least N number of image data is shot, a photo is obtained from the image data.
During portable electronic device shoots video, when the photographing operation for detecting user, that is, detect user press shutter operation or user click preset icon operation when, portable electronic device will respond photographing operation, captured image data, and a photo is obtained from image data, this photo can be the highest image of pixel in image data, it is also possible to first image, it can also be last image, can also be other images, this embodiment is not limited.Wherein, image data includes at least N images.Wherein, it when shooting photo, can stop shooting video data, can not also stop shooting video data.
Wherein, step 403 is identical as the step 203 in preceding embodiment, and the embodiment of the present invention does not repeat herein.
404, portable electronic device obtains N number of image from the first video data or image data, and adds a photo frame respectively for N number of image.
In the present embodiment, portable electronic device can obtain N number of image according to preset standard after the first video data for getting preset duration in buffer area from the first video data or image data.Preset rules can be the score that every image in image data is calculated according to default standards of grading, preset when score is greater than When the quantity of the image of value is greater than or equal to N, the image that score is arranged in top N from high to low is obtained from image data, when the quantity that score is greater than the image of preset value is less than N, all I frame images in available first video data stream can obtain the image that score is arranged in top N from high to low from these I frame images.Preset rules can also obtain the image that score is arranged in top N from high to low directly from image data, or acquisition score is arranged in the image of top N from high to low directly from all I frame images in the first video data stream.
In the present embodiment, portable electronic device can add a photo frame after getting N number of image in the first video data or image data for N number of image respectively.The process that portable electronic device adds photo frame is identical as described in step 204, and the embodiment of the present invention does not repeat herein.
Wherein, step 405~step 406 is identical as step 205~206, and the embodiment of the present invention does not repeat herein.
In the processing method described in Fig. 4, before portable electronic device detects photographing operation, video data is obtained by camera, when portable electronic device detects photographing operation, photo is shot by camera, it is seen that, portable electronic device can not only take the picture for pressing shutter moment, the picture pressed Kuai in front of the door can also be taken, therefore, the picture of shooting can be enriched.
Referring to Fig. 5, Fig. 5 is the flow chart of another processing method disclosed by the embodiments of the present invention.As shown in figure 5, the processing method may comprise steps of, the executing subject of following steps is the portable electronic device equipped with camera.
Wherein, step 501~step 502 is identical as step 301~step 302 in preceding embodiment, and the embodiment of the present invention does not repeat herein
Wherein, step 503~step 507 is identical as step 402~step 406 in preceding embodiment, and the embodiment of the present invention does not repeat herein.
Wherein, step 508~step 510 is identical as step 308~step 310 in preceding embodiment, and the embodiment of the present invention does not repeat herein.
In the processing method described in Fig. 5, before portable electronic device detects photographing operation, video data is obtained by camera, when portable electronic device detects photographing operation, photo is shot by camera, it is seen that, portable electronic device can not only take the picture for pressing shutter moment, the picture pressed Kuai in front of the door can also be taken, therefore, the picture of shooting can be enriched.
Referring to Fig. 6, Fig. 6 is the flow chart of another processing method disclosed by the embodiments of the present invention.As shown in fig. 6, the processing method may comprise steps of, the executing subject of following steps is equipped with camera Portable electronic device.
601, portable electronic device detection acts on the display operation of the file of the preset kind including photo and third video data of display screen display.
602, portable electronic device shows photo in response to display operation.
In the present embodiment, file is obtained by the corresponding embodiment of Fig. 2, Fig. 3, Fig. 4 and/or Fig. 5 including photos and videos data file, and the embodiment of the present invention does not repeat herein.It is identical that portable electronic device shows that the process of photo is described with step 308, and the embodiment of the present invention does not repeat herein.
Wherein, step 603~step 604 is identical as step 309~step 310 in preceding embodiment, and the embodiment of the present invention does not repeat herein.
In the processing method described in Fig. 6, before portable electronic device detects photographing operation, video data is obtained by camera, when portable electronic device detects photographing operation, photo is shot by camera, it is seen then that portable electronic device not only takes the picture for pressing shutter moment, also the picture pressed Kuai in front of the door is taken, therefore, when operating photo files, the photo of shooting can be not only shown, the video data of shooting can also be played, the picture of display can be enriched.
Referring to Fig. 7, the structural diagrams that Fig. 7 is another portable electronic device disclosed by the embodiments of the present invention are intended to.As shown in Figure 7, the portable electronic device may include: that one or more processors 701, memory 702, detector 703, display 704, collector 705, bus system 706, transceiver 707 and one or more programs, processor 701, memory 702, detector 703, display 704, collector 705 and transceiver 707 are connected by bus system 706;Wherein, detector 703 and collector 705 are optional.
Wherein, one or more programs are stored in memory 702, and one or more programs include instruction, and instruction makes portable electronic device execute method corresponding to Fig. 2, Fig. 3, Fig. 4 and Fig. 5 when being executed by portable electronic device.
Referring to Fig. 8, Fig. 8 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention.As shown in Figure 8, the portable electronic device may include: one or more processors 801, memory 802, display 803, bus system 804, transmitter transceiver 805, detector 806 and one or more programs, processor 801, memory 802, display 803 and transceiver 805 are connected with detector 806 by bus system 804, and display 803 may include touch sensitive surface and display screen;Wherein, detector 806 is optional.
Wherein, one or more programs are stored in memory 802, and one or more programs include instruction, and instruction makes portable electronic device execute method corresponding to Fig. 6 when being executed by portable electronic device.
Referring to Fig. 9, Fig. 9 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention.Wherein, which is provided with camera.As shown in figure 9, the portable electronic device may include:
Acquisition unit 901, for obtaining video data;
Storage unit 902, for storing the video data of the acquisition of acquisition unit 901;
Detection unit 903, for detecting photographing operation;
Acquisition unit 901 is also used to the photographing operation detected in response to detection unit 903, obtains a photo;
Processing unit 904, it is also used to obtain the first video data of preset duration from the video data that storage unit 902 stores, for the last frame image and photo of first video data there are mapping relations, mapping relations include: the same initial data that last frame image and photo are originated from imaging sensor;Alternatively, last frame image and photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and photo of last frame image is less than preset value;
Processing unit 904 is also used to obtain last frame image;
Processing unit 904, is also used to replicate N last frame images, and N is the integer greater than 0;
Processing unit 904 is also used to add a photo frame respectively for N number of last frame image;
Processing unit 904 is also used to N number of image after addition photo frame synthesizing the second video data;
Processing unit 904 is also used to the first video data and the second video data being packaged into third video data;
Storage unit 902 is also used to the photo that acquisition unit 901 obtains and the third video data that processing unit 904 encapsulates being stored as a file.
In the portable electronic device described in Fig. 9, before detecting photographing operation, video data is obtained by camera, when detecting photographing operation, photo is shot by camera, it is seen that, the picture for pressing shutter moment can not only be taken, the picture pressed Kuai in front of the door can also be taken, therefore, the picture of shooting can be enriched.
Referring to Fig. 10, Figure 10 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention.Wherein, portable electronic device shown in Fig. 10 is portable electronic device progress as shown in Figure 9 What optimization obtained, in which:
N number of photo frame of addition is not exactly the same, alternatively, N number of photo frame of addition is completely different, alternatively, N number of photo frame of addition is identical.
As a kind of possible embodiment, N number of image after adding photo frame is synthesized the second video data and includes by processing unit 904:
N number of image after adding photo frame and a preset audio Data Synthesis are the second video data by processing unit 904.
As a kind of possible embodiment, the first video data and the second video data are packaged into third video data and include by processing unit 904:
First video data, the second video data and another preset audio data are packaged into third video data by processing unit 904.
As a kind of possible embodiment, photo and third video data are stored as a file and include: by storage unit 902
Photo and third video data are stored as the file of jpeg format by storage unit 902, third video data is stored in the mpeg format in the extended field of file, the head of file includes preset mark, and preset mark comprises at least one of the following: the location information of type identification and third video data hereof.
As a kind of possible embodiment, acquisition unit 901 are also used to determine the velocity and acceleration of portable electronic device, when speed is less than first threshold and acceleration is less than second threshold, executes and obtain video data.
As a kind of possible embodiment, detection unit 903 are also used to detect the display operation for acting on file;
The portable electronic device can also include:
Display unit 905, the display operation for being detected in response to detection unit 903, the photo that display acquisition unit 901 obtains.
As a kind of possible embodiment, detection unit 903 are also used to detect the play operation for acting on file;
Display unit 905 is also used to the play operation detected in response to detection unit 903, the third video data that playback process unit 904 encapsulates.
As a kind of possible embodiment, detection unit 903 are also used to detect the hair for acting on file Send operation;
Display unit 905, the transmission operation for being also used to detect in response to detection unit 903, at least shows that transmission types, transmission types comprise at least one of the following: entire file, image and video.
As a kind of possible embodiment, which can also include transmission unit 906, and transmission unit 906 is used for:
When selected transmission types are the entire file that display unit 905 is shown, file is sent to an application or at least one recipient;
When selected transmission types are the image that display unit 905 is shown, photo is obtained from file, modification preset mark is normal value, and photo is sent to an application or at least one recipient;
When selected transmission types are the video that display unit 905 is shown, third video data is obtained from file according to the preset mark of file, third video data is sent to an application or at least one recipient.
Wherein, acquisition unit 901 can replace the collector 705 in Fig. 7, storage unit 902 can replace the memory 702 in Fig. 7, detection unit 903 can replace the detector 703 in Fig. 7, processing unit 904 can replace the processor 701 in Fig. 7, display unit 905 can replace the display 704 in Fig. 7, and transmission unit 906 can replace the transceiver 707 in Fig. 7.
In the portable electronic device described in Figure 10, before detecting photographing operation, video data is obtained by camera, when detecting photographing operation, photo is shot by camera, it is seen that, the picture for pressing shutter moment can not only be taken, the picture pressed Kuai in front of the door can also be taken, therefore, the picture of shooting can be enriched.
Figure 11 is please referred to, Figure 11 is the structure chart of another portable electronic device disclosed by the embodiments of the present invention.Wherein, which is provided with camera.As shown in figure 11, which may include:
Acquisition unit 1101, for obtaining video data;
Storage unit 1102, for storing the video data of the acquisition of acquisition unit 1101;
Detection unit 1103, for detecting photographing operation;
Acquisition unit 1101 is also used to the photographing operation detected in response to detection unit 1103, obtains a photo, and photo is in response to one in the image data that photographing operation obtains;
Processing unit 1104 is also used to obtain preset duration from the video data that storage unit 1102 stores First video data, for the last frame image and photo of the first video data there are mapping relations, mapping relations include: the same initial data that last frame image and photo are originated from imaging sensor;Alternatively, last frame image and photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and photo of last frame image is less than preset value;
Processing unit 1104, is also used to obtain N number of image from the first video data or image data, and N is the integer greater than 0;
Processing unit 1104 is also used to add a photo frame respectively for N number of image;
Processing unit 1104 is also used to N number of image after addition photo frame synthesizing the second video data;
Processing unit 1104 is also used to the first video data and the second video data being packaged into third video data;
Storage unit 1102 is also used to the photo that acquisition unit 1101 obtains and the third video data that processing unit 1104 encapsulates being stored as a file.
In the portable electronic device described in Figure 11, before portable electronic device detects photographing operation, video data is obtained by camera, when portable electronic device detects photographing operation, photo is shot by camera, it is seen that, the picture for pressing shutter moment can not only be taken, the picture pressed Kuai in front of the door can also be taken, therefore, the picture of shooting can be enriched.
Figure 12 is please referred to, Figure 12 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention.Wherein, portable electronic device shown in Figure 12 is that portable electronic device as shown in Figure 11 optimizes, in which:
N number of photo frame of addition is not exactly the same, alternatively, N number of photo frame of addition is completely different, alternatively, N number of photo frame of addition is identical.
As a kind of possible embodiment, N number of image after adding photo frame is synthesized the second video data and includes by processing unit 1104:
N number of image after adding photo frame and a preset audio Data Synthesis are the second video data by processing unit 1104.
As a kind of possible embodiment, the first video data and the second video data are packaged into third video data and include by processing unit 1104:
First video data, the second video data and another preset audio data are packaged into third video data by processing unit 1104.
As a kind of possible embodiment, photo and third video data are stored as a file and include: by storage unit 1102
Photo and third video data are stored as the file of jpeg format by storage unit 1102, third video data is stored in the mpeg format in the extended field of file, the head of file includes preset mark, and preset mark comprises at least one of the following: the location information of type identification and third video data hereof.
As a kind of possible embodiment, acquisition unit 1101 are also used to determine the velocity and acceleration of portable electronic device, when speed is less than first threshold and acceleration is less than second threshold, executes and obtain video data.
As a kind of possible embodiment, detection unit 1103 are also used to detect the display operation for acting on file;
The portable electronic device can also include:
Display unit 1105, the display operation for being detected in response to detection unit 1103, the photo that display acquisition unit 1101 obtains.
As a kind of possible embodiment, detection unit 1103 are also used to detect the play operation for acting on file;
Display unit 1105 is also used to the play operation detected in response to detection unit 1103, the third video data that playback process unit 1104 encapsulates.
As a kind of possible embodiment, detection unit 1103 are also used to detect the transmission operation for acting on file;
Display unit 1105, the transmission operation for being also used to detect in response to detection unit 1103, at least shows that transmission types, transmission types comprise at least one of the following: entire file, image and video.
As a kind of possible embodiment, which can also include transmission unit 1106, and transmission unit 1106 is used for:
When selected transmission types are the entire file that display unit 1105 is shown, file is sent to an application or at least one recipient;
When selected transmission types are the image that display unit 1105 is shown, photo is obtained from file, modification preset mark is normal value, and photo is sent to an application or at least one recipient;
When selected transmission types are the video that display unit 1105 is shown, third video data is obtained from file according to the preset mark of file, third video data is sent to an application or at least one reception Side.
As a kind of possible embodiment, it partially or is entirely screened from the whole frame image or partial frame image of the first video data according to pre-set criteria in N number of image;Alternatively,
It partially or is entirely screened from all images or parts of images of image data according to pre-set criteria in N number of image.
Wherein, acquisition unit 1101 can replace the collector 705 in Fig. 7, storage unit 1102 can replace the memory 702 in Fig. 7, detection unit 1103 can replace the detector 703 in Fig. 7, processing unit 1104 can replace the processor 701 in Fig. 7, display unit 1105 can replace the display 704 in Fig. 7, and transmission unit 1106 can replace the transceiver 707 in Fig. 7.
In the portable electronic device described in Figure 12, before detecting photographing operation, video data is obtained by camera, when detecting photographing operation, photo is shot by camera, it is seen that, the picture for pressing shutter moment can not only be taken, the picture pressed Kuai in front of the door can also be taken, therefore, the picture of shooting can be enriched.
Figure 13 is please referred to, Figure 13 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention.Wherein, which is provided with camera.As shown in figure 13, which may include:
Detection unit 1301, for detecting the display operation for acting on a file of display screen display, the format of file is JPEG, the third video data of mpeg format is stored in the extended field of file, the head of file includes preset mark, preset mark comprises at least one of the following: the location information of type identification and third video data hereof, file is made of a photo and third video data, photo is that portable electronic device response photographing operation obtains, third video data is made of the first video data and the second video data, first video data is obtained from the buffer area of portable electronic device, there are mapping relations with photo for the last frame image of first video data, mapping relations include: the same original number that last frame image and photo are originated from imaging sensor According to;Alternatively, last frame image and photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and photo of last frame image is less than preset value;Second video data is synthesized by N number of last frame image after addition photo frame, and N is the integer greater than 0;
Display unit 1302, the display operation for detecting in response to detection unit 1301 show photo.
In the portable electronic device described in Figure 13, before detecting photographing operation, obtained by camera Take video data, when detecting photographing operation, photo is shot by camera, it is seen then that not only takes the picture for pressing shutter moment, also the picture pressed Kuai in front of the door is taken, therefore, when operating photo files, the photo of shooting can be not only shown, the video data of shooting can also be played, the picture of display can be enriched.
Figure 14 is please referred to, Figure 14 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention.Wherein, portable electronic device shown in Figure 14 is that portable electronic device as shown in Figure 13 optimizes.
As a kind of possible embodiment, detection unit 1301 are also used to detect the play operation for acting on file;
Display unit 1302 is also used to the play operation detected in response to detection unit 1301, plays third video data.
As a kind of possible embodiment, detection unit 1301 are also used to detect the transmission operation for acting on file;
Display unit 1302, the transmission operation for being also used to detect in response to detection unit 1301, at least shows that transmission types, transmission types comprise at least one of the following: entire file, image and video.
As a kind of possible embodiment, portable electronic device further includes transmission unit 1303, and transmission unit 1303 is used for:
When selected transmission types are the entire file that display unit 1302 is shown, file is sent to an application or at least one recipient;
When selected transmission types are the image that display unit 1302 is shown, photo is obtained from file, modification preset mark is normal value, and photo is sent to an application or at least one recipient;
When selected transmission types are the video that display unit 1302 is shown, third video data is obtained from file according to the preset mark of file, third video data is sent to an application or at least one recipient.
As a kind of possible embodiment, N number of photo frame of addition is not exactly the same, alternatively, N number of photo frame of addition is completely different, alternatively, N number of photo frame of addition is identical.
As a kind of possible embodiment, the second video data includes the N number of image and a preset audio data after adding photo frame;And/or
Third video data includes the first video data, the second video data and another preset audio data.
Wherein, detection unit 1301 can replace the detector 806 in Fig. 8, and display unit 1302 can be replaced Display 803 in Fig. 8, transmission unit 1303 can replace the transceiver 805 in Fig. 8.
In the portable electronic device described in Figure 14, before detecting photographing operation, video data is obtained by camera, when detecting photographing operation, photo is shot by camera, it is seen then that not only takes the picture for pressing shutter moment, also the picture pressed Kuai in front of the door is taken, therefore, when operating photo files, the photo of shooting can be not only shown, the video data of shooting can also be played, the picture of display can be enriched.
Figure 15 is please referred to, Figure 15 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention.Wherein, which is provided with camera.As shown in figure 15, which may include:
Detection unit 1501, for detecting the display operation for acting on a file of display screen display, the format of file is JPEG, the third video data of mpeg format is stored in the extended field of file, the head of file includes preset mark, preset mark comprises at least one of the following: the location information of type identification and third video data hereof, file is made of a photo and third video data, photo is that portable electronic device response photographing operation obtains, third video data is made of the first video data and the second video data, first video data is obtained from the buffer area of portable electronic device, there are mapping relations with photo for the last frame image of first video data, mapping relations include: the same original number that last frame image and photo are originated from imaging sensor According to;Alternatively, last frame image and photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and photo of last frame image is less than preset value;Second video data is synthesized by N number of image after addition photo frame, and N number of image is obtained from the first video data, and N is the integer greater than 0;
Display unit 1502, the display operation for detecting in response to detection unit 1501 show photo.
In the portable electronic device described in Figure 15, before detecting photographing operation, video data is obtained by camera, when detecting photographing operation, photo is shot by camera, it is seen then that not only takes the picture for pressing shutter moment, also the picture pressed Kuai in front of the door is taken, therefore, when operating photo files, the photo of shooting can be not only shown, the video data of shooting can also be played, the picture of display can be enriched.
Figure 16 is please referred to, Figure 16 is the structural schematic diagram of another portable electronic device disclosed by the embodiments of the present invention.Wherein, portable electronic device shown in Figure 16 is that portable electronic device as shown in Figure 15 optimizes.
As a kind of possible embodiment, detection unit 1501 are also used to detect the play operation for acting on file;
Display unit 1502 is also used to the play operation detected in response to detection unit 1501, plays third video data.
As a kind of possible embodiment, detection unit 1501 are also used to detect the transmission operation for acting on file;
Display unit 1502, the transmission operation for being also used to detect in response to detection unit, at least shows that transmission types, transmission types comprise at least one of the following: entire file, image and video.
As a kind of possible embodiment, portable electronic device further includes transmission unit 1503, and transmission unit 1503 is used for:
When selected transmission types are the entire file that display unit 1502 is shown, file is sent to an application or at least one recipient;
When selected transmission types are the image that display unit 1502 is shown, photo is obtained from file, modification preset mark is normal value, and photo is sent to an application or at least one recipient;
When selected transmission types are the video that display unit 1502 is shown, third video data is obtained from file according to the preset mark of file, third video data is sent to an application or at least one recipient.
As a kind of possible embodiment, N number of photo frame of addition is not exactly the same, alternatively, N number of photo frame of addition is completely different, alternatively, N number of photo frame of addition is identical.
As a kind of possible embodiment, the second video data includes the N number of image and a preset audio data after adding photo frame;And/or third video data includes the first video data, the second video data and another preset audio data.
Wherein, detection unit 1501 can replace the detector 806 in Fig. 8, and display unit 1502 can replace the display 803 in Fig. 8, and transmission unit 1503 can replace the transceiver 805 in Fig. 8
In the portable electronic device described in Figure 16, before detecting photographing operation, video data is obtained by camera, when detecting photographing operation, photo is shot by camera, it is seen then that not only takes the picture for pressing shutter moment, also the picture pressed Kuai in front of the door is taken, therefore, when operating photo files, the photo of shooting can be not only shown, the video data of shooting can also be played, the picture of display can be enriched.
In one embodiment, a kind of computer readable storage medium storing one or more programs, one or more programs include instruction, and instruction makes portable electronic device execute the method as corresponding to Fig. 2-6 when being executed by portable electronic device.
In one embodiment, the GUI on a kind of portable electronic device, portable electronic device may include display, memory, multiple application programs;With the one or more processors for executing one or more programs stored in memory, GUI includes the user interface shown according to the method for Fig. 3, Fig. 5 and Fig. 6, wherein display may include touch sensitive surface and display screen.Wherein, user interface can be interface shown by display screen in Figure 17, Figure 18, Figure 20, Figure 21 and Figure 22.
It should be noted that, for each embodiment of the method above-mentioned, for simple description, therefore, it is stated as a series of action combinations, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because according to the present invention, certain some step can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know that, the embodiments described in the specification are all preferred embodiments, and related actions and modules are not necessarily necessary for the present invention.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is relevant hardware can be instructed to complete by program, the program can be stored in a computer readable storage medium, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
It is provided for the embodiments of the invention processing method above and portable electronic device is described in detail, used herein a specific example illustrates the principle and implementation of the invention, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;At the same time, for those skilled in the art, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (78)

  1. A kind of processing method, which is characterized in that the method is applied to the portable electronic device equipped with camera, comprising:
    It obtains video data and stores and arrive buffer area;
    Detect photographing operation;
    In response to the photographing operation, a photo is obtained;
    The first video data of preset duration is obtained from the buffer area, for the last frame image and the photo of first video data there are mapping relations, the mapping relations include: the same initial data that the last frame image and the photo are originated from imaging sensor;Alternatively, the last frame image and the photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and the photo of the last frame image is less than preset value;
    It obtains the last frame image and replicates the N last frame images, the N is the integer greater than 0;
    A photo frame is added respectively for N number of last frame image;
    N number of image after addition photo frame is synthesized into the second video data;
    First video data and second video data are packaged into third video data;
    The photo and the third video data are stored as a file.
  2. The method according to claim 1, wherein N number of photo frame of addition is not exactly the same, alternatively, N number of photo frame of addition is completely different, alternatively, N number of photo frame of addition is identical.
  3. Method according to claim 1 or 2, which is characterized in that N number of image after the photo frame by addition synthesizes the second video data, comprising:
    N number of image after photo frame will be added and preset audio Data Synthesis is the second video data.
  4. Method according to any one of claims 1 to 3, which is characterized in that described that first video data and second video data are packaged into third video data, comprising:
    First video data, second video data and another preset audio data are packaged into third video data.
  5. Method according to any one of claims 1 to 4, which is characterized in that described that the photo and the third video data are stored as a file, comprising:
    The photo and the third video data are stored as to the file of jpeg format, the third video data is stored in the mpeg format in the extended field of the file, the head of the file includes preset mark, and the preset mark comprises at least one of the following: the location information of type identification and the third video data in the file.
  6. Method according to any one of claims 1 to 5, which is characterized in that before the acquisition video data, the method also includes:
    Determine the velocity and acceleration of the portable electronic device;
    When the speed is less than first threshold and the acceleration is less than second threshold, executes and obtain video data.
  7. Method according to any one of claims 1 to 6, which is characterized in that the method also includes:
    Detect the display operation for acting on the file;
    In response to the display operation, the photo is shown.
  8. Method according to any one of claims 1 to 7, which is characterized in that the method also includes:
    Detect the play operation for acting on the file;
    In response to the play operation, the third video data is played.
  9. Method according to any one of claims 1 to 8, which is characterized in that the method also includes:
    Detect the transmission operation for acting on the file;
    It is operated in response to the transmission, at least shows that transmission types, the transmission types comprise at least one of the following: entire file, image and video.
  10. According to the method described in claim 9, it is characterized in that, the method also includes:
    When the selected transmission types are entire file, the file is sent to an application or at least one recipient;
    When the selected transmission types are image, the photo is obtained from the file, modifying the preset mark is normal value, and the photo is sent to an application or at least one recipient;
    When the selected transmission types are video, the third video data is obtained from the file according to the preset mark of the file, the third video data is sent to an application or at least one recipient.
  11. A kind of portable electronic device, which is characterized in that the portable electronic device includes: equipped with camera, the portable electronic device
    Acquisition unit, for obtaining video data;
    Storage unit, the video data obtained for storing the acquisition unit;
    Detection unit, for detecting photographing operation;
    The acquisition unit is also used to the photographing operation detected in response to the detection unit, obtains a photo;
    Processing unit, it is also used to obtain the first video data of preset duration from the video data that the storage unit stores, for the last frame image and the photo of first video data there are mapping relations, the mapping relations include: the same initial data that the last frame image and the photo are originated from imaging sensor;Alternatively, the last frame image and the photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and the photo of the last frame image is less than preset value;
    The processing unit is also used to obtain the last frame image;
    The processing unit, is also used to replicate the N last frame images, and the N is the integer greater than 0;
    The processing unit is also used to add a photo frame respectively for N number of last frame image;
    The processing unit is also used to N number of image after addition photo frame synthesizing the second video data;
    The processing unit is also used to first video data and second video data being packaged into third video data;
    The storage unit is also used to the third video data of photo and processing unit encapsulation that the acquisition unit obtains being stored as a file.
  12. Portable electronic device according to claim 11, which is characterized in that N number of photo frame of addition is not exactly the same, alternatively, N number of photo frame of addition is completely different, alternatively, N number of photo frame of addition is identical.
  13. Portable electronic device according to claim 11 or 12, which is characterized in that N number of image after adding photo frame is synthesized the second video data and includes by the processing unit:
    N number of image after adding photo frame and a preset audio Data Synthesis are the second video data by the processing unit.
  14. 1 to 13 described in any item portable electronic devices according to claim 1, which is characterized in that first video data and second video data are packaged into third video data and include by the processing unit:
    The processing unit is by first video data, second video data and another default sound Frequency evidence is packaged into third video data.
  15. 1 to 14 described in any item portable electronic devices according to claim 1, which is characterized in that the photo and the third video data are stored as a file and include: by the storage unit
    The photo and the third video data are stored as the file of jpeg format by the storage unit, the third video data is stored in the mpeg format in the extended field of the file, the head of the file includes preset mark, and the preset mark comprises at least one of the following: the location information of type identification and the third video data in the file.
  16. 1 to 15 described in any item portable electronic devices according to claim 1, it is characterized in that, the acquisition unit, is also used to determine the velocity and acceleration of the portable electronic device, when the speed is less than first threshold and the acceleration is less than second threshold, executes and obtain video data.
  17. 1 to 16 described in any item portable electronic devices according to claim 1, which is characterized in that the detection unit is also used to detect the display operation for acting on the file;
    The portable electronic device further include:
    Display unit, the display operation for detecting in response to the detection unit show the photo that the acquisition unit obtains.
  18. 1 to 17 described in any item portable electronic devices according to claim 1, which is characterized in that the detection unit is also used to detect the play operation for acting on the file;
    The display unit is also used to the play operation detected in response to the detection unit, plays the third video data of the processing unit encapsulation.
  19. 1 to 18 described in any item portable electronic devices according to claim 1, which is characterized in that the detection unit is also used to detect the transmission operation for acting on the file;
    The display unit, the transmission operation for being also used to detect in response to the detection unit, at least shows that transmission types, the transmission types comprise at least one of the following: entire file, image and video.
  20. Portable electronic device according to claim 19, which is characterized in that the portable electronic device further includes transmission unit, and the transmission unit is used for:
    When the selected transmission types are entire file, the file is sent to an application or at least one recipient;
    When the selected transmission types are image, the photo is obtained from the file, modifying the preset mark is normal value, and the photo is sent to an application or at least one recipient;
    When the selected transmission types are video, the third video data is obtained from the file according to the preset mark of the file, the third video data is sent to an application or at least one recipient.
  21. A kind of portable electronic device characterized by comprising
    One or more processors, memory, display, bus system, transceiver and one or more programs, the processor, the memory, the display and the transceiver are connected by the bus system;
    Wherein, one or more of programs are stored in the memory, one or more of programs include instruction, and described instruction makes the portable electronic device execute method as described in any one of claim 1 to 10 when being executed by the portable electronic device.
  22. A kind of computer readable storage medium storing one or more programs, it is characterized in that, one or more of programs include instruction, and described instruction executes the portable electronic device such as any one of claims 1 to 10 the method.
  23. Graphic user interface on a kind of portable electronic device, which is characterized in that the portable electronic device includes display, memory, multiple application programs;With the one or more processors for executing the one or more programs being stored in the memory, the graphic user interface includes the user interface that the method described according to any of claims 1 to 10 is shown, wherein, the display includes touch sensitive surface and display screen.
  24. A kind of processing method, which is characterized in that the method is applied to the portable electronic device equipped with camera and display, and the display includes touch sensitive surface and display screen, comprising:
    Detect the display operation for acting on a file of the display screen display, the format of the file is JPEG, the third video data of mpeg format is stored in the extended field of the file, the head of the file includes preset mark, the preset mark comprises at least one of the following: the location information of type identification and the third video data in the file, the file is made of a photo and the third video data, the photo is that the portable electronic device response photographing operation obtains, the third video data is made of the first video data and the second video data, first video data is obtained from the buffer area of the portable electronic device, there are mapping relations with the photo for the last frame image of first video data, the mapping relations include : the same initial data of the last frame image and the photo from imaging sensor;Alternatively, when the last frame image and the photo include identical Between mark;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and the photo of the last frame image is less than preset value;Second video data is synthesized by N number of last frame image after addition photo frame, and the N is the integer greater than 0;
    In response to the display operation, the photo is shown.
  25. According to the method for claim 24, which is characterized in that the method also includes:
    Detect the play operation for acting on the file;
    In response to the play operation, the third video data is played.
  26. The method according to claim 24 or 25, which is characterized in that the method also includes:
    Detect the transmission operation for acting on the file;
    It is operated in response to the transmission, at least shows that transmission types, the transmission types comprise at least one of the following: entire file, image and video.
  27. According to the method for claim 26, which is characterized in that the method also includes:
    When the selected transmission types are entire file, the file is sent to an application or at least one recipient;
    When the selected transmission types are image, the photo is obtained from the file, modifying the preset mark is normal value, and the photo is sent to an application or at least one recipient;
    When the selected transmission types are video, the third video data is obtained from the file according to the preset mark of the file, the third video data is sent to an application or at least one recipient.
  28. According to the described in any item methods of claim 24 to 27, which is characterized in that N number of photo frame of addition is not exactly the same, alternatively, N number of photo frame of addition is completely different, alternatively, N number of photo frame of addition is identical.
  29. According to the described in any item methods of claim 24 to 28, which is characterized in that second video data includes the N number of image and a preset audio data after adding photo frame;And/or
    The third video data includes first video data, second video data and another preset audio data.
  30. A kind of portable electronic device, which is characterized in that for the portable electronic device equipped with camera and display, the display includes touch sensitive surface and display screen, and the portable electronic device includes:
    Detection unit, for detecting the display operation for acting on a file of the display screen display, The format of the file is JPEG, the third video data of mpeg format is stored in the extended field of the file, the head of the file includes preset mark, the preset mark comprises at least one of the following: the location information of type identification and the third video data in the file, the file is made of a photo and the third video data, the photo is that the portable electronic device response photographing operation obtains, the third video data is made of the first video data and the second video data, first video data is obtained from the buffer area of the portable electronic device, there are mapping relations with the photo for the last frame image of first video data, the mapping relations include: the same original that the last frame image and the photo are originated from imaging sensor Beginning data;Alternatively, the last frame image and the photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and the photo of the last frame image is less than preset value;Second video data is synthesized by N number of last frame image after addition photo frame, and the N is the integer greater than 0;
    Display unit, the display operation for detecting in response to the detection unit, shows the photo.
  31. Portable electronic device according to claim 30, which is characterized in that the detection unit is also used to detect the play operation for acting on the file;
    The display unit is also used to the play operation detected in response to the detection unit, plays the third video data.
  32. The portable electronic device according to claim 30 or 31, which is characterized in that the detection unit is also used to detect the transmission operation for acting on the file;
    The display unit, the transmission operation for being also used to detect in response to the detection unit, at least shows that transmission types, the transmission types comprise at least one of the following: entire file, image and video.
  33. Portable electronic device according to claim 32, which is characterized in that the portable electronic device further includes transmission unit, and the transmission unit is used for:
    When the selected transmission types are entire file, the file is sent to an application or at least one recipient;
    When the selected transmission types are image, the photo is obtained from the file, modifying the preset mark is normal value, and the photo is sent to an application or at least one recipient;
    When the selected transmission types are video, the third video data is obtained from the file according to the preset mark of the file, the third video data is sent to an application or at least one recipient.
  34. According to the described in any item portable electronic devices of claim 30 to 33, which is characterized in that N number of photo frame of addition is not exactly the same, alternatively, N number of photo frame of addition is completely different, alternatively, N number of photo frame of addition is identical.
  35. According to the described in any item portable electronic devices of claim 30 to 34, which is characterized in that second video data includes the N number of image and a preset audio data after adding photo frame;And/or
    The third video data includes first video data, second video data and another preset audio data.
  36. A kind of portable electronic device characterized by comprising
    One or more processors, memory, display, bus system, transceiver and one or more programs, the processor, the memory, the display and the transceiver are connected by the bus system, and the display includes touch sensitive surface and display screen;
    Wherein, one or more of programs are stored in the memory, one or more of programs include instruction, and described instruction makes the portable electronic device execute such as the described in any item methods of claim 24 to 29 when being executed by the portable electronic device.
  37. A kind of computer readable storage medium storing one or more programs, it is characterized in that, one or more of programs include instruction, and described instruction executes the portable electronic device such as any one of claim 24 to 29 the method.
  38. Graphic user interface on a kind of portable electronic device, which is characterized in that the portable electronic device includes display, memory, multiple application programs;With the one or more processors for executing the one or more programs being stored in the memory, the graphic user interface includes the user interface shown according to the described in any item methods of claim 24 to 29, wherein, the display includes touch sensitive surface and display screen.
  39. A kind of processing method, which is characterized in that the method is applied to the portable electronic device equipped with camera, comprising:
    It obtains video data and stores and arrive buffer area;
    Detect photographing operation;
    In response to the photographing operation, a photo is obtained, the photo is in response to one in the image data that the photographing operation obtains;
    From the buffer area obtain preset duration the first video data, first video data it is last There are mapping relations, the mapping relations include: the same initial data that the last frame image and the photo are originated from imaging sensor for one frame image and the photo;Alternatively, the last frame image and the photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and the photo of the last frame image is less than preset value;
    N number of image is obtained from first video data or described image data, the N is the integer greater than 0;
    A photo frame is added respectively for N number of image;
    N number of image after addition photo frame is synthesized into the second video data;
    First video data and second video data are packaged into third video data;
    The photo and the third video data are stored as a file.
  40. According to the method for claim 39, which is characterized in that N number of photo frame of addition is not exactly the same, alternatively, N number of photo frame of addition is completely different, alternatively, N number of photo frame of addition is identical.
  41. The method according to claim 39 or 40, which is characterized in that N number of image after the photo frame by addition synthesizes the second video data, including
    N number of image after photo frame will be added and preset audio Data Synthesis is the second video data.
  42. According to the described in any item methods of claim 39 to 41, which is characterized in that described that first video data and second video data are packaged into third video data, comprising:
    First video data, second video data and another preset audio data are packaged into third video data.
  43. According to the described in any item methods of claim 39 to 42, which is characterized in that described that the photo and the third video data are stored as a file, comprising:
    The photo and the third video data are stored as to the file of jpeg format, the third video data is stored in the mpeg format in the extended field of the file, the head of the file includes preset mark, and the preset mark comprises at least one of the following: the location information of type identification and the third video data in the file.
  44. According to the described in any item methods of claim 39 to 43, which is characterized in that before the acquisition video data, the method also includes:
    Determine the velocity and acceleration of the portable electronic device;
    When the speed is less than first threshold and the acceleration is less than second threshold, executes and obtain video data.
  45. According to the described in any item methods of claim 39 to 44, which is characterized in that the method also includes:
    Detect the display operation for acting on the file;
    In response to the display operation, the photo is shown.
  46. According to the described in any item methods of claim 39 to 45, which is characterized in that the method also includes:
    Detect the play operation for acting on the file;
    In response to the play operation, the third video data is played.
  47. According to the described in any item methods of claim 39 to 46, which is characterized in that the method also includes:
    Detect the transmission operation for acting on the file;
    It is operated in response to the transmission, at least shows that transmission types, the transmission types comprise at least one of the following: entire file, image and video.
  48. According to the method for claim 47, which is characterized in that the method also includes:
    When the selected transmission types are entire file, the file is sent to an application or at least one recipient;
    When the selected transmission types are image, the photo is obtained from the file, modifying the preset mark is normal value, and the photo is sent to an application or at least one recipient;
    When the selected transmission types are video, the third video data is obtained from the file according to the preset mark of the file, the third video data is sent to an application or at least one recipient.
  49. According to the described in any item methods of claim 39 to 48, which is characterized in that partially or entirely screened from the whole frame image or partial frame image of first video data according to pre-set criteria in N number of image;Alternatively,
    It partially or is entirely screened from all images or parts of images of described image data according to pre-set criteria in N number of image.
  50. A kind of portable electronic device, which is characterized in that the portable electronic device is equipped with camera shooting Head, the portable electronic device include:
    Acquisition unit, for obtaining video data;
    Storage unit, the video data obtained for storing the acquisition unit;
    Detection unit, for detecting photographing operation;
    The acquisition unit is also used to the photographing operation detected in response to the detection unit, obtains a photo, and the photo is in response to one in the image data that the photographing operation obtains;
    Processing unit, it is also used to obtain the first video data of preset duration from the video data that the storage unit stores, for the last frame image and the photo of first video data there are mapping relations, the mapping relations include: the same initial data that the last frame image and the photo are originated from imaging sensor;Alternatively, the last frame image and the photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and the photo of the last frame image is less than preset value;
    The processing unit, is also used to obtain N number of image from first video data or described image data, and the N is the integer greater than 0;
    The processing unit is also used to add a photo frame respectively for N number of image;
    The processing unit is also used to N number of image after addition photo frame synthesizing the second video data;
    The processing unit is also used to first video data and second video data being packaged into third video data;
    The storage unit is also used to the third video data of photo and processing unit encapsulation that the acquisition unit obtains being stored as a file.
  51. Portable electronic device according to claim 50, which is characterized in that N number of photo frame of addition is not exactly the same, alternatively, N number of photo frame of addition is completely different, alternatively, N number of photo frame of addition is identical.
  52. The portable electronic device according to claim 50 or 51, which is characterized in that N number of image after adding photo frame is synthesized the second video data and includes by the processing unit:
    N number of image after adding photo frame and a preset audio Data Synthesis are the second video data by the processing unit.
  53. According to the described in any item portable electronic devices of claim 50 to 52, which is characterized in that first video data and second video data are packaged into third video data and include by the processing unit:
    First video data, second video data and another preset audio data are packaged into third video data by the processing unit.
  54. According to the described in any item portable electronic devices of claim 50 to 53, which is characterized in that the photo and the third video data are stored as a file and include: by the storage unit
    The photo and the third video data are stored as the file of jpeg format by the storage unit, the third video data is stored in the mpeg format in the extended field of the file, the head of the file includes preset mark, and the preset mark comprises at least one of the following: the location information of type identification and the third video data in the file.
  55. According to the described in any item portable electronic devices of claim 50 to 54, it is characterized in that, the acquisition unit, is also used to determine the velocity and acceleration of the portable electronic device, when the speed is less than first threshold and the acceleration is less than second threshold, executes and obtain video data.
  56. According to the described in any item portable electronic devices of claim 50 to 55, which is characterized in that the detection unit is also used to detect the display operation for acting on the file;
    The portable electronic device further include:
    Display unit, the display operation for detecting in response to the detection unit, shows the photo.
  57. According to the described in any item portable electronic devices of claim 50 to 56, which is characterized in that the detection unit is also used to detect the play operation for acting on the file;
    The display unit is also used to the play operation detected in response to the detection unit, plays the third video data of the encapsulation unit encapsulation.
  58. According to the described in any item portable electronic devices of claim 50 to 57, which is characterized in that the detection unit is also used to detect the transmission operation for acting on the file;
    The display unit, the transmission operation for being also used to detect in response to the detection unit, at least shows that transmission types, the transmission types comprise at least one of the following: entire file, image and video.
  59. Portable electronic device according to claim 58, which is characterized in that the portable electronic device further includes transmission unit, and the transmission unit is used for:
    When the selected transmission types are entire file, the file is sent to an application or at least one recipient;
    When the selected transmission types are image, the photo is obtained from the file, modifying the preset mark is normal value, and the photo is sent to an application or at least one recipient;
    When the selected transmission types are video, the third video data is obtained from the file according to the preset mark of the file, the third video data is sent to an application or at least one recipient.
  60. According to the described in any item portable electronic devices of claim 50 to 59, which is characterized in that partially or entirely screened from the whole frame image or partial frame image of first video data according to pre-set criteria in N number of image;Alternatively,
    It partially or is entirely screened from all images or parts of images of described image data according to pre-set criteria in N number of image.
  61. A kind of portable electronic device characterized by comprising
    One or more processors, memory, display, bus system, transceiver and one or more programs, the processor, the memory, the display and the transceiver are connected by the bus system;
    Wherein one or more of programs are stored in the memory, one or more of programs include instruction, and described instruction makes the portable electronic device execute such as the described in any item methods of claim 39 to 49 when being executed by the portable electronic device.
  62. A kind of computer readable storage medium storing one or more programs, it is characterized in that, one or more of programs include instruction, and described instruction executes the portable electronic device such as any one of claim 39 to 49 the method.
  63. Graphic user interface on a kind of portable electronic device, which is characterized in that the portable electronic device includes display, memory, multiple application programs;With the one or more processors for executing the one or more programs being stored in the memory, the graphic user interface includes the user interface shown according to the described in any item methods of claim 39 to 49, wherein, the display includes touch sensitive surface and display screen.
  64. A kind of processing method, which is characterized in that the method is applied to the portable electronic device equipped with camera and display, and the display includes touch sensitive surface and display screen, comprising:
    Detect the display operation for acting on a file of the display screen display, the format of the file is JPEG, the third video data of mpeg format is stored in the extended field of the file, the head of the file includes preset mark, the preset mark comprises at least one of the following: the location information of type identification and the third video data in the file, and the file is by a photo and the third video counts According to composition, the photo is that the portable electronic device response photographing operation obtains, the third video data is made of the first video data and the second video data, first video data is obtained from the buffer area of the portable electronic device, for the last frame image and the photo of first video data there are mapping relations, the mapping relations include: the same initial data that the last frame image and the photo are originated from imaging sensor;Alternatively, the last frame image and the photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and the photo of the last frame image is less than preset value;Second video data is synthesized by N number of image after addition photo frame, and N number of image is obtained from first video data, and the N is the integer greater than 0;
    In response to the display operation, the photo is shown.
  65. Method according to claim 64, which is characterized in that the method also includes:
    Detect the play operation for acting on the file;
    In response to the play operation, the third video data is played.
  66. The method according to claim 64 or 65, which is characterized in that the method also includes:
    Detect the transmission operation for acting on the file;
    It is operated in response to the transmission, at least shows that transmission types, the transmission types comprise at least one of the following: entire file, image and video.
  67. Method according to claim 66, which is characterized in that the method also includes:
    When the selected transmission types are entire file, the file is sent to an application or at least one recipient;
    When the selected transmission types are image, the photo is obtained from the file, modifying the preset mark is normal value, and the photo is sent to an application or at least one recipient;
    When the selected transmission types are video, the third video data is obtained from the file according to the preset mark of the file, the third video data is sent to an application or at least one recipient.
  68. According to the described in any item methods of claim 64 to 67, which is characterized in that N number of photo frame of addition is not exactly the same, alternatively, N number of photo frame of addition is completely different, alternatively, N number of photo frame of addition is identical.
  69. According to the described in any item methods of claim 64 to 68, which is characterized in that second video data includes the N number of image and a preset audio data after adding photo frame;And/or
    The third video data includes first video data, second video data and another preset audio data.
  70. A kind of portable electronic device, which is characterized in that for the portable electronic device equipped with camera and display, the display includes touch sensitive surface and display screen, and the portable electronic device includes:
    Detection unit, for detecting the display operation for acting on a file of the display screen display, the format of the file is JPEG, the third video data of mpeg format is stored in the extended field of the file, the head of the file includes preset mark, the preset mark comprises at least one of the following: the location information of type identification and the third video data in the file, the file is made of a photo and the third video data, the photo is that the portable electronic device response photographing operation obtains, the third video data is made of the first video data and the second video data, first video data is obtained from the buffer area of the portable electronic device, there are mapping relations with the photo for the last frame image of first video data, institute Stating mapping relations includes: the same initial data that the last frame image and the photo are originated from imaging sensor;Alternatively, the last frame image and the photo are marked comprising the identical time;Alternatively, the time absolute value of the difference at the acquisition moment for obtaining moment and the photo of the last frame image is less than preset value;Second video data is synthesized by N number of image after addition photo frame, and N number of image is obtained from first video data, and the N is the integer greater than 0;
    Display unit, the display operation for detecting in response to the detection unit, shows the photo.
  71. Portable electronic device according to claim 70, which is characterized in that the detection unit is also used to detect the play operation for acting on the file;
    The display unit is also used to the play operation detected in response to the detection unit, plays the third video data.
  72. The portable electronic device according to claim 70 or 71, which is characterized in that the detection unit is also used to detect the transmission operation for acting on the file;
    The display unit, the transmission operation for being also used to detect in response to the detection unit, at least shows that transmission types, the transmission types comprise at least one of the following: entire file, image and video.
  73. The portable electronic device according to claim 72, which is characterized in that the portable electronic device further includes transmission unit, and the transmission unit is used for:
    When the selected transmission types are entire file, the file is sent to application or extremely A few recipient;
    When the selected transmission types are image, the photo is obtained from the file, modifying the preset mark is normal value, and the photo is sent to an application or at least one recipient;
    When the selected transmission types are video, the third video data is obtained from the file according to the preset mark of the file, the third video data is sent to an application or at least one recipient.
  74. According to the described in any item portable electronic devices of claim 70 to 73, which is characterized in that N number of photo frame of addition is not exactly the same, alternatively, N number of photo frame of addition is completely different, alternatively, N number of photo frame of addition is identical.
  75. According to the described in any item portable electronic devices of claim 70 to 74, which is characterized in that second video data includes the N number of image and a preset audio data after adding photo frame;And/or
    The third video data includes first video data, second video data and another preset audio data.
  76. A kind of portable electronic device characterized by comprising
    One or more processors, memory, display, bus system, transceiver and one or more programs, the processor, the memory, the display and the transceiver are connected by the bus system, and the display includes touch sensitive surface and display screen;
    Wherein one or more of programs are stored in the memory, one or more of programs include instruction, and described instruction makes the portable electronic device execute such as the described in any item methods of claim 64 to 69 when being executed by the portable electronic device.
  77. A kind of computer readable storage medium storing one or more programs, it is characterized in that, one or more of programs include instruction, and described instruction executes the portable electronic device such as any one of claim 64 to 69 the method.
  78. Graphic user interface on a kind of portable electronic device, which is characterized in that the portable electronic device includes display, memory, multiple application programs;With the one or more processors for executing the one or more programs being stored in the memory, the graphic user interface includes the user interface shown according to the described in any item methods of claim 64 to 69, wherein, the display includes touch sensitive surface and display screen.
CN201680010100.XA 2016-01-29 2016-01-29 Processing method and portable electronic equipment Active CN107431752B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/072742 WO2017128288A1 (en) 2016-01-29 2016-01-29 Processing method and portable electronic device

Publications (2)

Publication Number Publication Date
CN107431752A true CN107431752A (en) 2017-12-01
CN107431752B CN107431752B (en) 2020-10-23

Family

ID=59396930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680010100.XA Active CN107431752B (en) 2016-01-29 2016-01-29 Processing method and portable electronic equipment

Country Status (2)

Country Link
CN (1) CN107431752B (en)
WO (1) WO2017128288A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040141A (en) * 2017-10-20 2022-02-11 杭州海康威视数字技术股份有限公司 Data transmission method, camera and electronic equipment
CN110180181B (en) * 2019-04-22 2022-12-23 努比亚技术有限公司 Method and device for capturing wonderful moment video and computer readable storage medium
CN112689160B (en) * 2020-11-27 2022-12-09 烟台艾睿光电科技有限公司 Video transmission method and device applied to image acquisition equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120075488A1 (en) * 2010-09-28 2012-03-29 Sony Computer Entertainment America, LLC. System and methdod for capturing and displaying still photo and video content
CN103595925A (en) * 2013-11-15 2014-02-19 深圳市中兴移动通信有限公司 Method and device for synthesizing video with photos
CN103747181A (en) * 2014-01-10 2014-04-23 上海斐讯数据通信技术有限公司 System for combining videos and camera-acquired pictures
CN105245777A (en) * 2015-09-28 2016-01-13 努比亚技术有限公司 Method and device for generating video image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120075488A1 (en) * 2010-09-28 2012-03-29 Sony Computer Entertainment America, LLC. System and methdod for capturing and displaying still photo and video content
CN103595925A (en) * 2013-11-15 2014-02-19 深圳市中兴移动通信有限公司 Method and device for synthesizing video with photos
CN103747181A (en) * 2014-01-10 2014-04-23 上海斐讯数据通信技术有限公司 System for combining videos and camera-acquired pictures
CN105245777A (en) * 2015-09-28 2016-01-13 努比亚技术有限公司 Method and device for generating video image

Also Published As

Publication number Publication date
WO2017128288A1 (en) 2017-08-03
CN107431752B (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN109819313B (en) Video processing method, device and storage medium
WO2020187086A1 (en) Video editing method and apparatus, device, and storage medium
CN110377250B (en) Touch method in screen projection scene and electronic equipment
US11355157B2 (en) Special effect synchronization method and apparatus, and mobile terminal
US11398995B2 (en) Generating interactive messages with asynchronous media content
US10200634B2 (en) Video generation method, apparatus and terminal
US9407834B2 (en) Apparatus and method for synthesizing an image in a portable terminal equipped with a dual camera
CN106233706B (en) Apparatus and method for providing backward compatibility of video with both standard and high dynamic range
CN111432265B (en) Method for processing video pictures, related device and storage medium
CN110572722A (en) Video clipping method, device, equipment and readable storage medium
EP3131302B1 (en) Method and device for generating video content
US9258392B2 (en) Method and apparatus for generating metadata of immersive media
CN107948562B (en) Video recording method and video recording terminal
US20240040205A1 (en) Method for Displaying Label in Image Picture, Terminal Device, and Storage Medium
CN108055587A (en) Sharing method, device, mobile terminal and the storage medium of image file
CN113409427B (en) Animation playing method and device, electronic equipment and computer readable storage medium
CN114880062B (en) Chat expression display method, device, electronic device and storage medium
US20240087257A1 (en) Transferring objects from 2d video to 3d ar
CN107431752A (en) A kind of processing method and portable electric appts
CN108012101B (en) Video recording method and video recording terminal
CN113873187B (en) Cross-terminal screen recording method, terminal equipment and storage medium
CN113010825A (en) Data processing method and related device
CN116797767A (en) Augmented reality scene sharing method and electronic device
CN108717382B (en) JSON structure-based audio and video file processing method and device and terminal equipment
CN108153461A (en) A kind of sending method of image data, device and mobile terminal

Legal Events

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