CN108322659B - Shooting method and mobile terminal - Google Patents

Shooting method and mobile terminal Download PDF

Info

Publication number
CN108322659B
CN108322659B CN201810293150.4A CN201810293150A CN108322659B CN 108322659 B CN108322659 B CN 108322659B CN 201810293150 A CN201810293150 A CN 201810293150A CN 108322659 B CN108322659 B CN 108322659B
Authority
CN
China
Prior art keywords
shooting
content
user
video
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810293150.4A
Other languages
Chinese (zh)
Other versions
CN108322659A (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.)
Aiku Software Technology Shanghai Co ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810293150.4A priority Critical patent/CN108322659B/en
Publication of CN108322659A publication Critical patent/CN108322659A/en
Application granted granted Critical
Publication of CN108322659B publication Critical patent/CN108322659B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The invention provides a shooting method and a mobile terminal, wherein the method comprises the following steps: if the camera of the mobile terminal is detected to be started, pre-shooting is carried out through the camera, wherein the pre-shooting comprises at least one of continuous shooting and video recording; if the shooting operation of the user is detected, stopping pre-shooting, and acquiring shooting contents and corresponding pre-shooting contents according to the shooting operation; and processing the shooting content and the pre-shooting content to obtain target shooting content. After the camera of the mobile terminal is started, the mobile terminal can perform pre-shooting without the operations of selecting a shooting mode, clicking a shooting key and the like by a user, and can also process the shot content and the corresponding pre-shot content to obtain the shot content meeting the user expectation, so that the mobile terminal has the advantage of simpler shooting operation, and is not easy to cause the user to miss some wonderful instant picture records.

Description

Shooting method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a shooting method and a mobile terminal.
Background
With the increasing popularization of mobile terminals and the continuous progress of shooting technologies, people can shoot various scenes by using the mobile terminals at any time and any place. In actual shooting, people often encounter a wonderful shooting scene which is still vanishing, but because the existing mobile terminal needs a series of operations such as starting a camera, selecting a shooting mode and clicking a shooting button before shooting, the user is easy to miss picture records of the wonderful moment.
Therefore, the existing mobile terminal has the problem of complicated shooting operation.
Disclosure of Invention
The embodiment of the invention provides a shooting method and a mobile terminal, and aims to solve the problem that the existing mobile terminal is complicated in shooting operation.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a shooting method, which is applied to a mobile terminal, and the method includes:
if the camera of the mobile terminal is detected to be started, pre-shooting is carried out through the camera, wherein the pre-shooting comprises at least one of continuous shooting and video recording;
if the shooting operation of the user is detected, stopping pre-shooting, and acquiring shooting contents and corresponding pre-shooting contents according to the shooting operation;
and processing the shooting content and the pre-shooting content to obtain target shooting content.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including:
the device comprises a pre-shooting module, a pre-shooting module and a control module, wherein the pre-shooting module is used for pre-shooting through a camera if the camera of the mobile terminal is detected to be started, and the pre-shooting comprises at least one of continuous shooting and video recording;
the device comprises a stopping and obtaining module, a pre-shooting module and a pre-shooting module, wherein the stopping and obtaining module is used for stopping pre-shooting if the shooting operation of a user is detected, and obtaining shooting contents and corresponding pre-shooting contents according to the shooting operation;
and the processing module is used for acquiring the shooting content and the corresponding pre-shooting content according to the shooting operation.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps in the above-mentioned shooting method.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the above-mentioned shooting method.
In the embodiment of the invention, the mobile terminal can perform pre-shooting through the camera when detecting that the camera is started, stop the pre-shooting when detecting the shooting operation of a user, and process the shooting content and the corresponding pre-shooting content according to the shooting operation to obtain the target shooting content. Therefore, after the camera of the mobile terminal is started, the user can shoot in advance without selecting a shooting mode and clicking a shooting key and other operations, and can also process the shot content and the corresponding shot content in advance to obtain the shot content meeting the user expectation, so that the method has the advantage of simpler shooting operation, and is not easy to cause the user to miss some wonderful instantaneous picture records.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a photographing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another photographing method provided by an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a shooting method provided in an embodiment of the present invention, and is applied to a mobile terminal, as shown in fig. 1, the method includes the following steps:
step 101, if it is detected that a camera of the mobile terminal is started, pre-shooting is performed through the camera, wherein the pre-shooting comprises at least one of continuous shooting and video recording.
In this embodiment, the mobile terminal may be configured with a pre-shooting function, and the pre-shooting function may be shooting through a camera of the mobile terminal when the camera is started, without manual shooting by a user. Therefore, in this step, if it is detected that the camera of the mobile terminal is started, pre-shooting is performed through the camera, where the pre-shooting may be continuous shooting, or video recording, or continuous shooting and video recording may be performed simultaneously, and the scene where the camera of the mobile terminal is started may include a scene where the camera is started through a camera application and a scene where the camera is started through a shooting function of a non-camera application.
Therefore, when the camera of the mobile terminal is started, the camera can be used for pre-shooting, so that the user does not need to manually shoot, and the purposes of simplifying user operation and quickly shooting can be achieved.
It should be noted that the pre-shooting function may be set by a user to be turned on, that is, the user may set to start pre-shooting when the camera is turned on, so as to avoid missing some wonderful instant picture records, and may also turn off the pre-shooting function when the camera is not needed to perform pre-shooting, so as to save system resources.
And 102, if the shooting operation of the user is detected, stopping pre-shooting, and acquiring shooting contents and corresponding pre-shooting contents according to the shooting operation.
In this embodiment, the pre-shooting may be stopped when the shooting operation of the user is detected, that is, the mobile terminal may perform the pre-shooting before the user manually shoots, and if the shooting operation of the user is detected, the pre-shooting is ended, and the shooting is performed according to the shooting operation of the user. The shooting operation may be an operation of touching a shooting key, for example: clicking a photographing key on the photographing preview interface or pressing a physical key (e.g., a volume key) having a photographing function.
After the shooting operation of the user is detected, shooting content and corresponding pre-shooting content can be obtained, wherein the shooting content can be understood as a photo or a video obtained by shooting operation of the user, and the corresponding pre-shooting content can be content corresponding to the shooting operation of the user in the pre-shooting content. For example: if the pre-shooting comprises continuous shooting or video recording, acquiring continuous shooting photos or videos obtained by pre-shooting before the user shooting after the user shooting; if the pre-shooting comprises continuous shooting and video recording, and the shooting operation of the user is the operation of shooting the photo, the continuous shooting photo obtained by pre-shooting before the user shooting can be obtained after the user shooting; if the pre-shooting includes continuous shooting and video recording, and the shooting operation of the user is the operation of shooting the video, the pre-shooting of the user before shooting can be performed after the user shoots.
In this way, in this step, the pre-shooting can be stopped under the condition of the shooting operation of the user, and the excessive occupation of the system storage space by the pre-shot content which is not in line with the expectation of the user can be avoided.
And 103, processing the shooting content and the pre-shooting content to obtain target shooting content.
In this embodiment, after stopping the pre-shooting, the shooting content and the pre-shooting content may be processed to obtain the target shooting content, for example: the shot content and the pre-shot content may be edited, selected, combined, saved, deleted, and the like, and specifically, the shot content and the pre-shot content may be processed differently according to the type of the shot content, for example: if the shot content is a photo, the shot content can be screened and stored for the pre-shot continuous photo, if the shot content is a video, the pre-shot video and the video shot by the user can be spliced and stored, and the video content in a certain time period can be captured and stored.
In this embodiment of the present invention, the mobile terminal may be any device having a storage medium, for example: terminal devices such as computers (Computer), Mobile phones, Tablet Personal computers (Tablet Personal Computer), Laptop computers (Laptop Computer), Personal Digital Assistants (PDA), Mobile Internet Devices (MID), and Wearable devices (Wearable Device).
In the shooting method in this embodiment, the mobile terminal may perform pre-shooting through the camera when detecting that the camera thereof is started, stop pre-shooting when detecting a shooting operation of a user, and process the shooting content and the corresponding pre-shooting content according to the shooting operation to obtain the target shooting content. Therefore, after the camera of the mobile terminal is started, the user can shoot in advance without selecting a shooting mode and clicking a shooting key and other operations, and can also process the shot content and the corresponding shot content in advance to obtain the shot content meeting the user expectation, so that the method has the advantage of simpler shooting operation, and is not easy to cause the user to miss some wonderful instantaneous picture records.
Referring to fig. 2, fig. 2 is a flowchart of another shooting method provided in an embodiment of the present invention, which is applied to a mobile terminal, and in this embodiment, on the basis of the embodiment shown in fig. 1, a step of stopping pre-shooting if a shooting operation of a user is detected is refined, so that a scene in which the mobile terminal stops pre-shooting is further defined. As shown in fig. 2, the method comprises the steps of:
step 201, if it is detected that a camera of the mobile terminal is started, pre-shooting is performed through the camera, wherein the pre-shooting includes at least one of continuous shooting and video recording.
The specific implementation of this step can refer to the implementation of step 101 in the method embodiment shown in fig. 1, and the same beneficial effects can be achieved, and for avoiding repetition, details are not described here.
Step 202, if the shooting operation of the user is detected within a preset time after the pre-shooting is started, stopping the pre-shooting, and acquiring the shooting content and the corresponding pre-shooting content according to the shooting operation.
The preset time period may be a preset time period, for example: 3 seconds, 5 seconds, 8 seconds, etc., and the above-mentioned shooting operation may be an operation of a touch shooting key, for example: clicking a photographing key on the photographing preview interface or pressing a physical key (e.g., a volume key) having a photographing function. In this embodiment, if the shooting operation of the user is detected within the preset duration after the pre-shooting is started, the pre-shooting is stopped, specifically, after the pre-shooting is performed by the mobile terminal, the recording of the duration of the pre-shooting is started, and whether the shooting operation of the user is detected is determined, if the shooting operation is detected under the condition that the duration of the pre-shooting does not reach the preset duration, the pre-shooting is stopped, and the shooting is performed according to the shooting operation of the user. For example: the preset time is 5 seconds, and if the shooting operation is detected when the time for pre-shooting is 3 seconds, the pre-shooting is stopped.
The specific implementation of obtaining the shooting content and the corresponding pre-shooting content according to the shooting operation may refer to the related implementation of step 102 in the method embodiment shown in fig. 1, and is not described herein again to avoid repetition.
It should be noted that, in this embodiment, the mobile terminal may further stop the pre-shooting when the duration of the pre-shooting reaches the preset duration and the shooting operation of the user is not detected within the preset duration after the pre-shooting starts.
In this embodiment, after the pre-shooting is started, the duration of the pre-shooting may be recorded, and it may be determined whether the shooting operation of the user is detected within the preset duration after the pre-shooting is started, and if the duration of the pre-shooting reaches the preset duration and the shooting operation is not detected within the preset duration after the pre-shooting is started, the pre-shooting is stopped. For example: the preset time length is 5 seconds, and if the pre-shooting time length reaches 5 seconds and no shooting operation is detected within 5 seconds after the pre-shooting is started, the pre-shooting is stopped.
Therefore, the pre-shooting can be finished under the condition that the shooting operation of the user is not detected within the preset time after the pre-shooting is started after the time of the pre-shooting reaches the preset time, so that the situation that the pre-shooting time is too long and too much pre-shooting content is obtained is avoided. The preset duration can be used as the reaction time of the user, namely when the camera is started, the pre-shooting can be performed firstly to avoid missing the picture record at the moment of wonderful moment, and the preset duration can be reserved for the user after the pre-shooting is started, so that the user can select the expected shooting mode within the preset duration to shoot.
Optionally, the pre-shooting comprises continuous shooting and video recording;
the acquiring of the shooting content and the corresponding pre-shooting content according to the shooting operation comprises:
if the shooting mode corresponding to the shooting operation is a shooting mode, acquiring a picture obtained by the shooting operation and a continuous shooting picture obtained by pre-shooting;
and if the shooting mode corresponding to the shooting operation is a video recording mode, acquiring the video obtained by the shooting operation and the video obtained by pre-shooting.
In this embodiment, the pre-shooting includes continuous shooting and video recording, that is, when the mobile terminal detects that the camera is started, the continuous shooting and the video recording are simultaneously performed through the camera, so that continuous shooting pictures and videos are obtained. Therefore, in this embodiment, after the shooting operation of the user is detected, the corresponding shooting content and the pre-shooting content may also be acquired according to the shooting mode corresponding to the shooting operation.
Specifically, if the shooting mode corresponding to the shooting operation is a shooting mode, the photo obtained by the shooting operation and the continuous shot photo obtained by pre-shooting can be obtained, so that the mobile terminal can perform processing such as screening, saving, deleting and the like on the photo shot by the user and the continuous shot photo pre-shot by the mobile terminal; if the shooting mode corresponding to the shooting operation is a video recording mode, the video obtained by the shooting operation and the video obtained by pre-shooting can be obtained, so that the mobile terminal can perform processing such as splicing, intercepting, storing and the like on the video shot by the user and the video pre-shot by the mobile terminal.
Therefore, in the embodiment, the corresponding shooting content and the pre-shooting content can be obtained according to the shooting mode corresponding to the shooting operation, so that the mobile terminal can further process the obtained shooting content and the corresponding pre-shooting content conveniently, and the target shooting content obtained after processing can be ensured to be in accordance with the content expected by the user, and further the user experience is improved.
Of course, the same can be applied to the embodiment shown in fig. 1 and the same advantageous effects can be achieved.
And 203, processing the shooting content and the pre-shooting content to obtain target shooting content.
The specific implementation of this step can refer to the implementation of step 103 in the method embodiment shown in fig. 1, and the same beneficial effects can be achieved, and for avoiding repetition, details are not described here.
Optionally, the processing the shooting content and the pre-shooting content to obtain the target shooting content includes:
under the condition that the shooting mode corresponding to the shooting operation is a shooting mode, displaying the continuous photos obtained by pre-shooting, storing photos selected by a user in the continuous photos obtained by pre-shooting, and storing the photos obtained by the shooting operation;
and under the condition that the shooting mode corresponding to the shooting operation is a video recording mode, splicing the video obtained by the pre-shooting with the video obtained by the shooting operation, and storing the spliced video.
In this embodiment, when the shooting mode corresponding to the shooting operation is the shooting mode, the pre-shot continuous shot photos may be displayed to show the pre-shot continuous shot photos to the user, and the user may view the pre-shot continuous shot photos and may select photos that the user desires to keep, so that the mobile terminal stores photos selected by the user in the pre-shot continuous shot photos, and may delete photos that are not selected by the user in the pre-shot continuous shot photos. The photos obtained by the shooting operation can be directly stored, so that the obtained target shooting content is the photos selected by the user from the photos shot by the user and the pre-shot continuous photos.
When the shooting mode corresponding to the shooting operation is a video mode, the video obtained by the pre-shooting and the video obtained by the shooting operation may be spliced to obtain a complete video within a continuous time period, and then the spliced video is stored, so that the obtained target shooting content is the spliced video. In this embodiment, after the splicing, the spliced video may be displayed to allow the user to preview, and the user may select to directly retain the spliced video, or may edit the spliced video, for example: one or more of the spliced videos may be intercepted.
It should be noted that, if the shooting mode corresponding to the shooting operation is a video recording mode and the video recording mode is a small video mode, the video obtained by the pre-shooting and the video obtained by the shooting operation may be spliced to obtain a complete video in a continuous time period, and if the duration of the spliced video exceeds the duration of the small video, the video content in a certain time period may be automatically screened and stored, or the video content in the certain time period may be intercepted and stored according to the certain time period screened by the user.
It should be further noted that, if the mobile terminal detects the shooting operation of the user after the duration of the pre-shooting reaches the preset duration, and the shooting mode corresponding to the shooting operation is a video recording mode, after the user finishes shooting, because a time difference exists between a video in the content obtained by the pre-shooting and a video obtained by the shooting operation, the video obtained by the pre-shooting and the video obtained by the shooting operation may not be spliced, so as to avoid the problem of discontinuity of the front and rear video contents.
In this way, in this embodiment, when the shooting mode corresponding to the shooting operation is the shooting mode, the continuous shooting pictures obtained by the pre-shooting are displayed, the pictures selected by the user in the continuous shooting pictures obtained by the pre-shooting are saved, and the pictures obtained by the shooting operation are saved, and when the shooting mode corresponding to the shooting operation is the video recording mode, the videos obtained by the pre-shooting and the videos obtained by the shooting operation are spliced and the spliced videos are saved, so that the pre-shot contents can be processed in different modes according to different shooting modes selected by the user during shooting, so as to obtain target shooting contents which better meet the user's desire, without requiring more operations by the user, and further enriching the functions of the shooting method.
Optionally, after the video obtained by the pre-shooting and the video obtained by the shooting operation are spliced and the spliced video is stored, the method further includes:
displaying a message notification bar, wherein prompt information is displayed in the message notification bar and used for prompting a user to view or edit the spliced video; and/or
The method comprises the steps of storing target content in pre-shot content, and deleting content except the target content in the pre-shot content, wherein the target content is selected or edited by a user in the pre-shot content.
In this embodiment, after the video obtained by the pre-shooting and the video obtained by the shooting operation are spliced and the spliced video is stored, a message notification bar may be further displayed, where prompt information is displayed in the message notification bar, and the prompt information is used to prompt a user to view or edit the spliced video. Specifically, since the spliced video needs a certain time, after the user has finished shooting, the un-spliced video may be displayed first, and after the video obtained by the pre-shooting and the video obtained by the shooting operation are spliced, the spliced video is displayed, and a message notification bar pops up on the current display interface, where a prompt message prompting the user to view or edit the spliced video is displayed in the message notification bar, so that the user can know the information that is currently displayed as the spliced video according to the prompt message in the message notification bar, and can view the spliced video and edit the spliced video, for example: and intercepting part of the spliced video or intercepting a plurality of sections of videos and the like.
In this embodiment, a target content in the pre-captured content may be saved, and a content other than the target content in the pre-captured content may be deleted, where the target content is selected or edited by a user in the pre-captured content. Specifically, after the pre-shooting is stopped, the pre-shot contents may be temporarily stored in a temporary folder, and then the contents selected or edited by the user among the pre-shot contents may be stored in a local album according to a selection operation or an editing operation of the user, and the contents in the temporary folder may be deleted. In this way, the mobile terminal can only store the content selected or edited by the user in the pre-shot content, so that the occupation of the system storage space due to the excessive pre-shot content can be avoided.
In this embodiment, on the basis of the embodiment shown in fig. 1, the step of stopping the pre-shooting if the shooting operation of the user is detected is refined, so that a scene in which the mobile terminal stops the pre-shooting is further defined. In addition, a plurality of optional implementation manners are added to the embodiment shown in fig. 1, and these optional implementation manners may be implemented in combination with each other or individually, and both of them can achieve the technical effects of simple shooting operation and making the user not easily miss some wonderful moment picture records.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 3, the mobile terminal 300 includes:
a pre-shooting module 301, configured to perform pre-shooting through a camera of the mobile terminal 300 if it is detected that the camera is started, where the pre-shooting includes at least one of continuous shooting and video recording;
a stop and acquisition module 302, configured to stop pre-shooting if a shooting operation of a user is detected, and acquire a shooting content and a corresponding pre-shooting content according to the shooting operation;
and the processing module 303 is configured to process the shooting content and the pre-shooting content to obtain a target shooting content.
Optionally, the stopping and acquiring module 302 is configured to stop the pre-shooting if the shooting operation of the user is detected within a preset time period after the pre-shooting starts.
Optionally, the pre-shooting comprises continuous shooting and video recording;
as shown in fig. 4, the stopping and obtaining module 302 includes:
a first obtaining unit 3021, configured to obtain a photo obtained by the shooting operation and a continuous shot photo obtained by pre-shooting if a shooting mode corresponding to the shooting operation is a shooting mode;
a second obtaining unit 3022, configured to obtain a video obtained by the shooting operation and a video obtained by pre-shooting if the shooting mode corresponding to the shooting operation is a video recording mode.
Optionally, as shown in fig. 5, the processing module 303 includes:
a display and storage unit 3031, configured to display the continuous shooting pictures obtained by pre-shooting, store a picture selected by the user in the continuous shooting pictures obtained by pre-shooting, and store the picture obtained by the shooting operation when the shooting mode corresponding to the shooting operation is a shooting mode;
a splicing and storing unit 3032, configured to splice the video obtained by the pre-shooting and the video obtained by the shooting operation and store the spliced video when the shooting mode corresponding to the shooting operation is a video recording mode.
Optionally, as shown in fig. 6, 7 and 8, the mobile terminal 300 further includes:
a display module 304, configured to display a message notification bar, where prompt information is displayed in the message notification bar, and the prompt information is used to prompt a user to view or edit a spliced video; and/or
The storage module 305 is configured to store a target content in the pre-captured content, and delete a content other than the target content in the pre-captured content, where the target content is a content selected or edited by a user in the pre-captured content.
The mobile terminal 300 can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition. The mobile terminal 300 according to the embodiment of the present invention can perform pre-shooting through the camera when detecting that the camera thereof is started, and stop the pre-shooting when detecting the shooting operation of the user, and process the shooting content and the corresponding pre-shooting content according to the shooting operation to obtain the target shooting content. Therefore, after the camera of the mobile terminal is started, the user can shoot in advance without selecting a shooting mode and clicking a shooting key and other operations, and can also process the shot content and the corresponding shot content in advance to obtain the shot content meeting the user expectation, so that the method has the advantage of simpler shooting operation, and is not easy to cause the user to miss some wonderful instantaneous picture records.
Fig. 9 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and a power supply 911. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 9 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 910 is configured to perform pre-shooting through a camera if it is detected that the camera of the mobile terminal is started, where the pre-shooting includes at least one of continuous shooting and video recording;
if the shooting operation of the user is detected, stopping pre-shooting, and acquiring shooting contents and corresponding pre-shooting contents according to the shooting operation;
and processing the shooting content and the pre-shooting content to obtain target shooting content.
Optionally, the processor 910 is configured to: and if the shooting operation of the user is detected within the preset time after the pre-shooting is started, stopping the pre-shooting.
Optionally, the pre-shooting comprises continuous shooting and video recording;
the processor 910 is configured to: if the shooting mode corresponding to the shooting operation is a shooting mode, acquiring a picture obtained by the shooting operation and a continuous shooting picture obtained by pre-shooting;
and if the shooting mode corresponding to the shooting operation is a video recording mode, acquiring the video obtained by the shooting operation and the video obtained by pre-shooting.
Optionally, the processor 910 is configured to: under the condition that the shooting mode corresponding to the shooting operation is a shooting mode, displaying the continuous photos obtained by pre-shooting, storing photos selected by a user in the continuous photos obtained by pre-shooting, and storing the photos obtained by the shooting operation;
and under the condition that the shooting mode corresponding to the shooting operation is a video recording mode, splicing the video obtained by the pre-shooting with the video obtained by the shooting operation, and storing the spliced video.
Optionally, the processor 910 is further configured to: displaying a message notification bar, wherein prompt information is displayed in the message notification bar and used for prompting a user to view or edit the spliced video; and/or
The method comprises the steps of storing target content in pre-shot content, and deleting content except the target content in the pre-shot content, wherein the target content is selected or edited by a user in the pre-shot content.
The mobile terminal 900 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, the details are not described here. The mobile terminal 900 according to the embodiment of the present invention can perform pre-shooting through the camera when detecting that the camera thereof is started, and stop pre-shooting when detecting the shooting operation of the user, and process the shooting content and the corresponding pre-shooting content according to the shooting operation to obtain the target shooting content. Therefore, after the camera of the mobile terminal is started, the user can shoot in advance without selecting a shooting mode and clicking a shooting key and other operations, and can also process the shot content and the corresponding shot content in advance to obtain the shot content meeting the user expectation, so that the method has the advantage of simpler shooting operation, and is not easy to cause the user to miss some wonderful instantaneous picture records.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 901 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 910; in addition, the uplink data is transmitted to the base station. Generally, the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 901 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via the network module 902, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 903 may convert audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output as sound. Also, the audio output unit 903 may also provide audio output related to a specific function performed by the mobile terminal 900 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
The input unit 904 is used to receive audio or video signals. The input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics processor 9041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 906. The image frames processed by the graphic processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via the radio frequency unit 901 or the network module 902. The microphone 9042 can receive sounds and can process such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 901 in case of the phone call mode.
The mobile terminal 900 also includes at least one sensor 905, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 9061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 9061 and/or backlight when the mobile terminal 900 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 905 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described in detail herein.
The display unit 906 is used to display information input by the user or information provided to the user. The Display unit 906 may include a Display panel 9061, and the Display panel 9061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 907 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 9071 (e.g., operations by a user on or near the touch panel 9071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 9071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 910, receives a command from the processor 910, and executes the command. In addition, the touch panel 9071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 907 may include other input devices 9072 in addition to the touch panel 9071. Specifically, the other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, and the like), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 9071 may be overlaid on the display panel 9061, and when the touch panel 9071 detects a touch operation on or near the touch panel 9071, the touch panel is transmitted to the processor 910 to determine the type of the touch event, and then the processor 910 provides a corresponding visual output on the display panel 9061 according to the type of the touch event. Although in fig. 9, the touch panel 9071 and the display panel 9061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 9071 and the display panel 9061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 908 is an interface through which an external device is connected to the mobile terminal 900. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 908 may be used to receive input from external devices (e.g., data information, power, etc.) and transmit the received input to one or more elements within the mobile terminal 900 or may be used to transmit data between the mobile terminal 900 and external devices.
The memory 909 may be used to store software programs as well as various data. The memory 909 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 909 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 910 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 909 and calling data stored in the memory 909, thereby performing overall monitoring of the mobile terminal. Processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The mobile terminal 900 may also include a power supply 911 (e.g., a battery) for powering the various components, and preferably, the power supply 911 is logically connected to the processor 910 through a power management system that provides power management functions to manage charging, discharging, and power consumption.
In addition, the mobile terminal 900 includes some functional modules that are not shown, and thus will not be described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 910, a memory 909, and a computer program that is stored in the memory 909 and can be run on the processor 910, and when the computer program is executed by the processor 910, the processes of the shooting method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (5)

1. A shooting method is applied to a mobile terminal, and is characterized by comprising the following steps:
if the camera of the mobile terminal is detected to be started, pre-shooting is carried out through the camera, wherein the pre-shooting comprises at least one of continuous shooting and video recording;
if the shooting operation of the user is detected, stopping pre-shooting, and acquiring shooting contents and corresponding pre-shooting contents according to the shooting operation;
processing the shooting content and the pre-shooting content to obtain target shooting content;
pre-shooting comprises continuous shooting and video recording;
the acquiring of the shooting content and the corresponding pre-shooting content according to the shooting operation comprises:
if the shooting mode corresponding to the shooting operation is a shooting mode, acquiring a picture obtained by the shooting operation and a continuous shooting picture obtained by pre-shooting;
if the shooting mode corresponding to the shooting operation is a video recording mode, acquiring a video obtained by the shooting operation and a video obtained by pre-shooting;
the processing the shooting content and the pre-shooting content to obtain the target shooting content comprises:
under the condition that the shooting mode corresponding to the shooting operation is a shooting mode, displaying the continuous photos obtained by pre-shooting, storing photos selected by a user in the continuous photos obtained by pre-shooting, and storing the photos obtained by the shooting operation;
splicing the video obtained by the pre-shooting and the video obtained by the shooting operation under the condition that the shooting mode corresponding to the shooting operation is a video recording mode, and storing the spliced video;
after the video obtained by the pre-shooting and the video obtained by the shooting operation are spliced and the spliced video is stored, the method further comprises the following steps:
displaying a message notification bar, wherein prompt information is displayed in the message notification bar and used for prompting a user to view or edit the spliced video; and/or
The method comprises the steps of storing target content in pre-shot content, and deleting content except the target content in the pre-shot content, wherein the target content is selected or edited by a user in the pre-shot content.
2. The method of claim 1, wherein stopping pre-shooting if the user's shooting operation is detected comprises:
and if the shooting operation of the user is detected within the preset time after the pre-shooting is started, stopping the pre-shooting.
3. A mobile terminal, comprising:
the device comprises a pre-shooting module, a pre-shooting module and a control module, wherein the pre-shooting module is used for pre-shooting through a camera if the camera of the mobile terminal is detected to be started, and the pre-shooting comprises at least one of continuous shooting and video recording;
the device comprises a stopping and obtaining module, a pre-shooting module and a pre-shooting module, wherein the stopping and obtaining module is used for stopping pre-shooting if the shooting operation of a user is detected, and obtaining shooting contents and corresponding pre-shooting contents according to the shooting operation;
the processing module is used for processing the shooting content and the pre-shooting content to obtain target shooting content;
pre-shooting comprises continuous shooting and video recording;
the stop and acquisition module comprises:
the first acquisition unit is used for acquiring a photo obtained by the shooting operation and a continuous photo obtained by pre-shooting if the shooting mode corresponding to the shooting operation is a shooting mode;
a second obtaining unit, configured to obtain a video obtained by the shooting operation and a video obtained by pre-shooting if a shooting mode corresponding to the shooting operation is a video recording mode;
the processing module comprises:
the display and storage unit is used for displaying the continuous photos obtained by the pre-shooting, storing the photos selected by the user in the continuous photos obtained by the pre-shooting and storing the photos obtained by the shooting operation under the condition that the shooting mode corresponding to the shooting operation is a shooting mode;
a splicing and storing unit, configured to splice the video obtained by the pre-shooting and the video obtained by the shooting operation and store the spliced video when a shooting mode corresponding to the shooting operation is a video recording mode;
the mobile terminal further includes:
the display module is used for displaying a message notification bar, wherein prompt information is displayed in the message notification bar and used for prompting a user to view or edit the spliced video; and/or
The storage module is used for storing target content in the content obtained by pre-shooting and deleting the content except the target content in the content obtained by pre-shooting, wherein the target content is selected or edited by a user in the content obtained by pre-shooting.
4. The mobile terminal of claim 3, wherein the stopping and obtaining module is configured to stop the pre-shooting if the shooting operation of the user is detected within a preset time period after the pre-shooting is started.
5. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps in the photographing method according to any of claims 1 to 2.
CN201810293150.4A 2018-03-30 2018-03-30 Shooting method and mobile terminal Active CN108322659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810293150.4A CN108322659B (en) 2018-03-30 2018-03-30 Shooting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810293150.4A CN108322659B (en) 2018-03-30 2018-03-30 Shooting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108322659A CN108322659A (en) 2018-07-24
CN108322659B true CN108322659B (en) 2021-05-28

Family

ID=62895986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810293150.4A Active CN108322659B (en) 2018-03-30 2018-03-30 Shooting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108322659B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399073A (en) * 2020-09-29 2021-02-23 深圳市修远文化创意有限公司 Photographing control method and device
CN112954214B (en) * 2021-02-10 2023-04-25 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9154700B2 (en) * 2009-10-16 2015-10-06 Samsung Electronics Co., Ltd. Apparatus and method for image capture using image stored in camera
CN104519262B (en) * 2013-09-27 2018-04-27 腾讯科技(深圳)有限公司 Obtain the method, apparatus and terminal of video data
CN104869314A (en) * 2015-05-28 2015-08-26 小米科技有限责任公司 Photographing method and device
CN105100631B (en) * 2015-09-08 2019-03-01 Oppo广东移动通信有限公司 A kind of automatic continuous interval takes pictures, the method that images and mobile terminal
CN106210541B (en) * 2016-08-11 2019-05-14 由我互动(北京)科技有限公司 A kind of video generation method, device and mobile terminal
CN107222699A (en) * 2017-04-06 2017-09-29 青岛海信移动通信技术股份有限公司 Method and capture apparatus that a kind of video preprocessor is shot
CN107181912A (en) * 2017-05-24 2017-09-19 珠海市魅族科技有限公司 Filming control method and device, computer installation and readable storage medium storing program for executing
CN107302666A (en) * 2017-08-29 2017-10-27 广东欧珀移动通信有限公司 Photographic method, mobile terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN108322659A (en) 2018-07-24

Similar Documents

Publication Publication Date Title
CN108668083B (en) Photographing method and terminal
WO2021036536A1 (en) Video photographing method and electronic device
WO2019137429A1 (en) Picture processing method and mobile terminal
CN108471498B (en) Shooting preview method and terminal
CN109597556B (en) Screen capturing method and terminal
CN107786827B (en) Video shooting method, video playing method and device and mobile terminal
CN108174103B (en) Shooting prompting method and mobile terminal
CN110213440B (en) Image sharing method and terminal
CN109639969B (en) Image processing method, terminal and server
CN110753201B (en) Video recording method and device, electronic equipment and storage medium
CN111147779B (en) Video production method, electronic device, and medium
CN111669503A (en) Photographing method and device, electronic equipment and medium
CN107948562B (en) Video recording method and video recording terminal
CN108121486B (en) Picture display method and mobile terminal
CN111597370B (en) Shooting method and electronic equipment
CN108984143B (en) Display control method and terminal equipment
CN111447365B (en) Shooting method and electronic equipment
CN108132749B (en) Image editing method and mobile terminal
CN108335258B (en) Image processing method and device of mobile terminal
WO2020063136A1 (en) Application program start-up method and terminal device
CN108322659B (en) Shooting method and mobile terminal
CN109005337B (en) Photographing method and terminal
CN108924413B (en) Shooting method and mobile terminal
CN110955793A (en) Display control method and electronic equipment
CN110865752A (en) Photo viewing method and electronic equipment

Legal Events

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

Effective date of registration: 20220817

Address after: 200120 floors 1-3, No. 57, Boxia Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Patentee after: Aiku software technology (Shanghai) Co.,Ltd.

Address before: 523860 No. 283 BBK Avenue, Changan Town, Changan, Guangdong.

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.