[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107770449B - Continuous shooting method, electronic device and storage medium - Google Patents

Continuous shooting method, electronic device and storage medium Download PDF

Info

Publication number
CN107770449B
CN107770449B CN201711065544.6A CN201711065544A CN107770449B CN 107770449 B CN107770449 B CN 107770449B CN 201711065544 A CN201711065544 A CN 201711065544A CN 107770449 B CN107770449 B CN 107770449B
Authority
CN
China
Prior art keywords
continuous shooting
camera
image data
continuous
camera application
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.)
Expired - Fee Related
Application number
CN201711065544.6A
Other languages
Chinese (zh)
Other versions
CN107770449A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711065544.6A priority Critical patent/CN107770449B/en
Publication of CN107770449A publication Critical patent/CN107770449A/en
Application granted granted Critical
Publication of CN107770449B publication Critical patent/CN107770449B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Studio Devices (AREA)

Abstract

The invention relates to a continuous shooting method, an electronic device and a storage medium. The method is applied to the electronic equipment comprising the camera module, and comprises the following steps: when a continuous shooting instruction is received, continuous shooting operation is executed; if an instruction of quitting the camera is received before the continuous shooting is finished, suspending a subprocess related to image data acquisition in the camera quitting process; and continuously acquiring and storing the continuous shooting image data through the sub-process related to the image data acquisition. According to the method, the electronic equipment and the storage medium, the data acquisition is kept through suspending the sub-process of the camera application in the exit process, the storage of the image data after the camera application triggers the exit operation when the continuous shooting is not finished can be realized, the loss of the image data is avoided, and the user experience is improved.

Description

Continuous shooting method, electronic device and storage medium
Technical Field
The present invention relates to the field of photographing technologies, and in particular, to a continuous photographing method, a computer device, and a storage medium.
Background
In the device using the camera module, the camera can be used for providing relevant application functions for a user. Taking a huge number of handheld intelligent mobile terminals as an example, the handheld intelligent mobile terminals are basically equipped with cameras and have a photographing function. The photographing function of the handheld intelligent mobile terminal is provided for a user in a camera application mode. The camera application can provide a plurality of photographing requirements for users, and high-quality image photographing can be realized through simple operation. Such as night shot, beauty shot, panoramic shot, continuous shot, and the like.
The continuous shooting function is that a user starts shooting once, and the camera can automatically and quickly take a plurality of pictures continuously. Therefore, continuous shooting can quickly store a plurality of instantaneous images in a scene. And then the user can select the image which is shot most satisfactorily for saving.
However, in the conventional camera application, if the camera is inadvertently exited during the continuous shooting process, the continuously shot pictures are completely lost, and the user experience is affected.
Disclosure of Invention
Based on this, there is a need for a method that can still save image data when the camera is exited during continuous shooting.
A continuous shooting method is applied to electronic equipment comprising a camera module, and comprises the following steps:
when a continuous shooting instruction is received, continuous shooting operation is executed;
if an instruction of quitting the camera is received before the continuous shooting is finished, suspending a subprocess related to image data acquisition in the camera quitting process;
and continuously acquiring and storing the continuous shooting image data through the sub-process related to the image data acquisition.
In one embodiment, the burst instruction is generated by one of:
acquiring an operation signal of an entity key which is configured with quick continuous shooting operation in advance in a set state, and generating a continuous shooting instruction according to the operation signal; the operation on the entity key comprises single key operation and combined key operation, and the operation on each key comprises one of single click, more than two continuous clicks and continuous pressing;
under a set state, acquiring an operation signal of a continuous shooting virtual key, and generating a continuous shooting instruction according to the operation signal; the operation on the virtual key comprises one of single touch operation, more than two continuous touch operations and continuous touch and press operation;
acquiring a sensing signal of a sensor in a set state, and generating a continuous shooting instruction according to a preset sensing signal rule;
acquiring a gesture in a set state, and generating a continuous shooting instruction according to a preset gesture rule;
and under a set state, acquiring a voice signal, and generating a continuous shooting instruction according to a preset voice rule.
In one embodiment, the burst command is triggered in one of the following states:
after the camera application is started, the camera application is in a shooting preparation state; the executing continuous shooting operation comprises continuously calling a shooting subprocess;
after the electronic device is unlocked, before a camera application is started; the continuous shooting operation comprises starting a camera application and continuously calling a shooting subprocess;
before the electronic device is unlocked; the continuous shooting execution operation comprises unlocking the device, starting the camera application and continuously calling the shooting subprocess.
In one embodiment, the method further comprises the following steps: and after the continuous shooting image data is stored, recovering the suspended subprocess and exiting.
In one embodiment, the suspended sub-process includes a take preview sub-process.
In one embodiment, in the step of saving the continuously shot image data, a mode of saving the picture file is different from a mode of saving the picture file in a normal continuous shooting process.
In one embodiment, the mode of saving the picture file includes setting a storage path of the picture file, naming the picture file according to a set mode, and setting more than one of a generation type of the picture file.
In one embodiment, the acquisition of the burst data image continues for a preset time before the camera finishes exiting.
An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
According to the method, the electronic equipment and the storage medium, the data acquisition is kept through suspending the sub-process of the camera application in the exit process, the storage of the image data after the camera application triggers the exit operation when the continuous shooting is not finished can be realized, the loss of the image data is avoided, and the user experience is improved.
Drawings
Fig. 1 is a schematic internal structure diagram of an electronic device according to an embodiment;
FIG. 2 is a diagram of a smartphone interface of an embodiment;
fig. 3 is a schematic diagram of image data acquisition in a mobile phone photographing process according to an embodiment;
FIG. 4 is a flowchart of a continuous shooting method according to an embodiment;
FIG. 5 is a diagram illustrating a smart phone displaying a preview screen according to an embodiment;
fig. 6 is a block diagram of a partial structure of a cellular phone related to a computer device provided in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a schematic internal structure diagram of an electronic device according to an embodiment. As shown in fig. 1, the electronic apparatus includes a processor, a nonvolatile storage medium, an internal memory, a network interface, a sound collection device, a speaker, a display screen, a camera, and an input device, which are connected by a system bus. Wherein the non-volatile storage medium of the terminal stores an operating system and computer readable instructions. The computer readable instructions, when executed by a processor, implement a burst method. The processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. Internal memory in the electronic device provides an environment for the execution of computer-readable instructions in the non-volatile storage medium. The display screen of the electronic device may be a liquid crystal display screen or an electronic ink display screen, and the input device may be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a housing of the electronic device, or an external keyboard, a touch pad or a mouse. The electronic device may be a mobile phone, a tablet computer, or a personal digital assistant or a wearable device, etc. Those skilled in the art will appreciate that the architecture shown in fig. 1 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the electronic devices to which the subject application may be applied, and that a particular electronic device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The following description will be given by taking a smart phone or a smart tablet of the android system as an example. It is to be understood that the present method is not limited to an android system, nor to a smartphone or smart tablet.
As shown in fig. 2, the photographing function in the smart phone is generally provided by a system application program "camera". And clicking the camera icon on the desktop of the smart phone to start the camera application program. In other cases, it is also possible to launch the camera application by means of other application calls. The camera application program provides a user interaction interface on one hand, and calls system functions and a camera hardware module to the bottom layer on the other hand, and completes a photographing function through a series of software and hardware resources. The photographing process of the camera generally comprises: and starting the camera application, receiving instructions of setting, photographing and the like of a user by the camera application through an interactive interface, and calling system resources to execute a photographing subprocess by the camera application according to the photographing instruction and the setting. In the following embodiments, the three terms camera application, and camera will be used without distinction to accommodate different contexts.
As shown in fig. 3, in the android system, a camera application 101 belongs to an application layer (application layer). In the process of implementing the functions of the camera application 101, an interface provided by a framework layer (framework) needs to be called to obtain underlying functional support, which includes starting a camera service (running in the background) 102 to provide the support, and the camera service 102 interacts with the camera hardware module 103 to obtain image data. After the photographing is finished, the camera service 102 sends the image data to the camera application 101 for processing and saving as a picture file. When the camera application 101 is started, the camera application 101 of the application layer is to establish a connection (connect) with the camera service 102 to acquire image data.
When the camera application 101 exits, the connection of the camera application 101 to the camera service 102 is also disconnected and no more image data will be received. If the camera application exits during the continuous shooting process, the shooting process is not completed, and the connection between the camera application 101 and the camera service 102 is disconnected, so that the image data cannot be obtained, and the continuous shooting image is lost.
The following embodiments provide a continuous shooting method, which can avoid image data loss caused by inadvertent exit of a camera application in a continuous shooting process. As shown in FIG. 4 in conjunction with FIG. 3, the method of one embodiment may include the following steps S110-S130.
S110: and when the continuous shooting instruction is received, executing continuous shooting operation. The continuous shooting instruction is used for starting continuous shooting, and continuous shooting operation is carried out to execute a specific continuous shooting process.
S120: and if an instruction for quitting the camera is received before the continuous shooting is finished, suspending the subprocess related to the image data acquisition in the camera quitting process. If the camera application 101 is to be exited, a series of sub-processes are required to destroy the process and release resources. In a state where the continuous shooting has been started, the image data acquisition can be continued by suspending a sub-process related to the image data acquisition.
S130: and continuously acquiring and storing the continuous shooting image data through the sub-process related to the image data acquisition. When the camera application 101 exits, the sub-process related to image data acquisition may continue to remain connected to the camera service 102, obtain image data from the camera service 102, and save the image data as a picture file in time.
According to the method, the data acquisition is kept through suspending the sub-process of the camera application in the exit process, the storage of the image data after the camera application triggers the exit operation when the continuous shooting is not finished can be realized, the loss of the image data is avoided, and the user experience is improved.
In the step S110, the continuous shooting command is generated by one of the following methods:
(1) and under the set state, acquiring an operation signal of an entity key which is configured with a quick continuous shooting operation in advance, and generating a continuous shooting instruction according to the operation signal. The operation of the entity key comprises a single key operation and a combined key operation, and the operation of each key comprises one of single click, more than two continuous clicks and continuous pressing. Referring to fig. 2, a smart phone is taken as an example, and is generally provided with an on-off key 11, two volume keys 12 and 13, and a home key 14. In the set state, the continuous shooting command can be triggered by the on-off key 11 and the two volume keys 12 and 13. For example, after the camera application is started, the camera application is in a shooting preview interface, one of the volume keys is pressed to trigger continuous shooting, or a combination of the volume key and an on-off key is pressed, or the volume key is continuously pressed, or the volume key is double-clicked, and the like.
(2) Under a set state, acquiring an operation signal of a continuous shooting virtual key, and generating a continuous shooting instruction according to the operation signal; the operation on the virtual key comprises one of a single touch operation, more than two continuous touch operations and a continuous touch and press operation. As shown in fig. 5, when the camera application is started, the mobile phone screen displays a photo preview screen 16. Typically, the system will provide a virtual key 17 for taking a picture, and a single touch of the virtual key 17 will trigger a normal picture taking instruction. In a state where the photographing preview screen 16 is displayed, a setting operation may be performed on the virtual key 17 to generate a continuous photographing instruction, for example, to continuously press the virtual key 17. In addition, an additional virtual key dedicated to continuous shooting may be provided, and a single touch may be performed on the additional virtual key to generate a continuous shooting command, which is not limited herein.
(3) And in a set state, acquiring a sensing signal of the sensor, and generating a continuous shooting instruction according to a preset sensing signal rule. Smartphones are mostly equipped with a rich set of sensors, such as light sensors, gyroscopes, acceleration sensors, magnetic sensors, etc. In some embodiments, the continuous shooting instruction may also be generated according to a preset sensing signal rule, for example, when the mobile phone changes the gesture in the screen-off state, the camera application is directly started and continuous shooting is performed, so that the effect of quick snapshot can be achieved.
(4) And acquiring the gesture in a set state, and generating a continuous shooting instruction according to a preset gesture rule. For example, in a screen-off state, a gesture meeting the gesture rule is scribed on the screen of the mobile phone, and a continuous shooting instruction is generated. And can also be taken a snapshot quickly.
(5) And under a set state, acquiring a voice signal, and generating a continuous shooting instruction according to a preset voice rule. For example, in the case where "continuous shooting" is included in the voice spoken by the user in the shooting preview interface, a continuous shooting instruction is generated.
The above-mentioned generation mode needs to be set in the system in advance, and when the state and the operation are both in accordance with the condition, the continuous shooting instruction can be generated. It is to be understood that the generation of the burst command is not limited to the above-listed modes, and other feasible modes can be adopted.
In the step S110, the continuous shooting command is triggered in one of the following states:
(1) after the camera application is started, it is in a shooting preparation state. This state can be applied to the above-described instruction generation methods (1) to (5). At this time, step S110 includes continuously calling the photographing sub-process. Namely, the shooting subprocess is called repeatedly according to the preset time interval and the shooting times.
(2) After the device is unlocked, the camera application is started. This state can be applied to the above-described instruction generation methods (1) to (5). And (3) for the instruction generation mode in the step (2), the virtual key can be a shortcut key on a desktop. At this time, step S110 includes sequentially starting the camera application and continuously invoking the photographing sub-process.
(3) Before the device is unlocked. This state can be applied to the above-described instruction generation methods (1), (3) to (5). At this time, step S110 includes temporarily unlocking the device, starting the camera application, and continuously invoking the photographing sub-process.
After step S110 is executed, the camera application starts to execute a specific continuous shooting process. If the continuous shooting is finished, the image data is acquired through the camera service 102 and is stored as a picture file after being processed. The condition for ending the continuous shooting may be that the shooting time is reached, the shooting frequency is reached, or a continuous pressing signal of a key is no longer received, and therefore, a certain time is generally consumed from the beginning to the end of the continuous shooting. If the camera application is unexpectedly exited within this period of time, step S120 is performed.
In the above step S120, the suspended sub-process may include a photo preview sub-process. The photo preview sub-process is referred to as preview () method in the android system. After the camera application is started, the preview () method will start to be executed, and at this time, the mobile phone screen can display the picture to be shot in real time, and the user can view the picture through the displayed picture. When the camera application exits, the preview () method is also stopped, that is, the mobile phone screen does not display the shot picture in real time any more. It will be appreciated that the preview () method will constantly fetch image data from the camera service 102 to meet the requirements of real-time previewing.
In step S120, a continuous shooting status may be detected, and when the continuous shooting is not finished, it can be determined that the exit at this time may be an abnormal exit. When the preview () method is to be stopped, a semaphore can be started, and the preview () method is suspended. After the preview () method is suspended, the acquisition of image data can still be maintained without conflict with the exit of the camera application.
In step S130, the picture file is saved in a different manner from that in the normal continuous shooting process. Files stored in the camera application exit process sometimes need to be distinguished from picture files stored in the normal continuous shooting process, so that a user can know which files are stored in the camera application exit process and which files are stored in the normal continuous shooting process, and the user can conveniently distinguish and use the files.
The mode for saving the picture file comprises more than one of setting a storage path of the picture file, naming the picture file according to a set mode and setting a generation type of the picture file. For example, pictures taken by a common camera are stored in a default camera folder of the system, and continuously taken picture files are also stored in the default camera folder. A general naming method of a camera shooting file may be "IMG _ date _ number", and a prefix, a suffix, or a special character string may be added to a picture file saved during the camera exit process, for example, "IMG _ date _ number _ back". Or another naming mode is used for distinguishing. In addition, different file types can be generated for distinguishing. It is to be understood that in other embodiments, the above-listed manner is not limited to use, so long as the two files are conveniently distinguished.
In one embodiment, step S130 continues to acquire the continuous shooting image data for a preset time before the camera completely exits. This can avoid part of the subsequent meaningless image data.
In one embodiment, after the step S130, the method may further include: the suspended sub-process is resumed and exited. Because the camera application has exited at this point, it is necessary to log off all sub-processes associated with the camera application to avoid subsequent unexpected errors.
The embodiment of the invention also provides computer equipment. As shown in fig. 6, for convenience of illustration, only the portion related to the embodiment of the present invention is shown, and details of the technique are not disclosed, please refer to the method portion of the embodiment of the present invention. The computer device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking the computer device as the mobile phone as an example:
fig. 6 is a block diagram of a partial structure of a cellular phone related to a computer device provided in an embodiment of the present invention. Referring to fig. 6, the handset includes: radio Frequency (RF) circuit 610, memory 620, input unit 630, display unit 640, sensor 650, audio circuit 660, wireless fidelity (WiFi) module 670, processor 680, and power supply 690. Those skilled in the art will appreciate that the handset configuration shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 610 may be used for receiving and transmitting signals during information transmission or communication, and may receive downlink information of the base station and then process the downlink information to the processor 680; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 610 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
The memory 620 may be used to store software programs and modules, and the processor 680 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 620. The memory 620 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 620 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 input unit 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 600. Specifically, the input unit 630 may include a touch panel 631 and other input devices 632. The touch panel 631, which may also be referred to as a touch screen, may collect touch operations performed by a user on or near the touch panel 631 (e.g., operations performed by the user on or near the touch panel 631 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 631 may include two parts of 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 680, and can receive and execute commands sent by the processor 680. In addition, the touch panel 631 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 630 may include other input devices 632 in addition to the touch panel 631. In particular, other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 640 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 640 may include a display panel 641. In one embodiment, the Display panel 641 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 631 can cover the display panel 641, and when the touch panel 631 detects a touch operation thereon or nearby, the touch panel is transmitted to the processor 680 to determine the type of the touch event, and then the processor 680 provides a corresponding visual output on the display panel 641 according to the type of the touch event. Although in fig. 6, the touch panel 631 and the display panel 641 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 631 and the display panel 641 may be integrated to implement the input and output functions of the mobile phone.
The handset 600 may also include at least one sensor 650, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 641 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 641 and/or the backlight when the mobile phone is moved to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), the vibration identification related functions (such as pedometer and knocking) and the like; the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
Audio circuit 660, speaker 661, and microphone 662 can provide an audio interface between a user and a cell phone. The audio circuit 660 may transmit the electrical signal converted from the received audio data to the speaker 661, and convert the electrical signal into an audio signal through the speaker 661 for output; on the other hand, the microphone 662 converts the collected sound signal into an electrical signal, which is received by the audio circuit 660 and converted into audio data, which is then processed by the audio data output processor 680 and then transmitted to another mobile phone via the RF circuit 610, or the audio data is output to the memory 620 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 670, and provides wireless broadband Internet access for the user. Although fig. 6 shows WiFi module 670, it is understood that it is not an essential component of handset 600 and may be omitted as desired.
The processor 680 is a control center of the mobile phone, and connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 620 and calling data stored in the memory 620, thereby performing overall monitoring of the mobile phone. In one embodiment, processor 680 may include one or more processing units. In one embodiment, processor 680 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, and the like; the modem processor handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 680.
The handset 600 also includes a power supply 690 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 680 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
The handset 600 may include a camera, a bluetooth module, etc.
In an embodiment of the invention, the computer device comprises a processor 680 that implements the methods of the embodiments described above when executing a computer program stored on a memory.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like. Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, performs the methods of the above embodiments.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A continuous shooting method is applied to electronic equipment comprising a camera module, and comprises the following steps:
when a continuous shooting instruction is received, continuous shooting operation is executed;
if an instruction of quitting the camera is received before the continuous shooting is finished, suspending a subprocess related to image data acquisition in the camera quitting process;
continuously acquiring continuous shooting image data through the sub-process related to the image data acquisition and storing the continuous shooting image data;
wherein the image data acquisition related sub-process is suspended when the camera application exits, the camera application remaining connected to the camera service.
2. The continuous shooting method according to claim 1, wherein the continuous shooting instruction is generated by one of:
acquiring an operation signal of an entity key which is configured with quick continuous shooting operation in advance in a set state, and generating a continuous shooting instruction according to the operation signal; the operation on the entity key comprises single key operation and combined key operation, and the operation on each key comprises one of single click, more than two continuous clicks and continuous pressing;
under a set state, acquiring an operation signal of a continuous shooting virtual key, and generating a continuous shooting instruction according to the operation signal; the operation on the virtual key comprises one of single touch operation, more than two continuous touch operations and continuous touch and press operation;
acquiring a sensing signal of a sensor in a set state, and generating a continuous shooting instruction according to a preset sensing signal rule;
acquiring a gesture in a set state, and generating a continuous shooting instruction according to a preset gesture rule;
and under a set state, acquiring a voice signal, and generating a continuous shooting instruction according to a preset voice rule.
3. The continuous shooting method according to claim 1, wherein the continuous shooting instruction is triggered in one of the following states:
after the camera application is started, the camera application is in a shooting preparation state; the executing continuous shooting operation comprises continuously calling a shooting subprocess;
after the electronic device is unlocked, before a camera application is started; the continuous shooting operation comprises starting a camera application and continuously calling a shooting subprocess;
before the electronic device is unlocked; the continuous shooting execution operation comprises unlocking the device, starting the camera application and continuously calling the shooting subprocess.
4. The continuous shooting method according to claim 1, further comprising: and after the continuous shooting image data is stored, recovering the suspended subprocess and exiting.
5. The continuous shooting method according to claim 1, wherein the suspended sub-process comprises a photo preview sub-process.
6. The continuous shooting method according to claim 1, wherein in the step of saving the continuous shooting image data, a picture file is saved in a manner different from that in a normal continuous shooting process.
7. The continuous shooting method according to claim 6, wherein the manner of saving the picture file includes at least one of setting a storage path of the picture file, naming the picture file according to a set mode, and setting a generation type of the picture file.
8. The continuous shooting method according to claim 1, wherein the continuous shooting data image is continuously acquired for a preset time before the camera finishes exiting.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any of claims 1 to 8 are performed when the program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the steps of the method of any one of claims 1 to 8.
CN201711065544.6A 2017-11-02 2017-11-02 Continuous shooting method, electronic device and storage medium Expired - Fee Related CN107770449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711065544.6A CN107770449B (en) 2017-11-02 2017-11-02 Continuous shooting method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711065544.6A CN107770449B (en) 2017-11-02 2017-11-02 Continuous shooting method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN107770449A CN107770449A (en) 2018-03-06
CN107770449B true CN107770449B (en) 2020-03-27

Family

ID=61272479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711065544.6A Expired - Fee Related CN107770449B (en) 2017-11-02 2017-11-02 Continuous shooting method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN107770449B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401800B (en) * 2019-08-26 2021-06-04 Oppo广东移动通信有限公司 Image processing method, image processor, photographing device and electronic equipment
CN110719409B (en) * 2019-11-07 2021-06-08 维沃移动通信有限公司 Continuous shooting method and electronic equipment
CN110996012B (en) * 2019-12-23 2022-03-22 Oppo广东移动通信有限公司 Continuous shooting processing method, image processor, shooting device and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257939B (en) * 2013-04-02 2016-08-10 小米科技有限责任公司 A kind of obtain the method for image, device and equipment
CN103685963B (en) * 2013-12-30 2017-07-25 深圳Tcl新技术有限公司 image display processing method and device
CN104038698A (en) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 Background photographing method and device
CN104660903B (en) * 2015-02-28 2018-09-04 努比亚技术有限公司 Image pickup method and filming apparatus
CN105827940A (en) * 2015-09-24 2016-08-03 维沃移动通信有限公司 Photographing method and electronic device

Also Published As

Publication number Publication date
CN107770449A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
US10635449B2 (en) Method and apparatus for running game client
CN103488939B (en) Method, device and terminal for prompting user
US20160105418A1 (en) Method, system, device, and terminal for network initialization of multimedia playback device
CN108279948B (en) Application program starting method and mobile terminal
CN104967896A (en) Method for displaying bulletscreen comment information, and apparatus thereof
CN110213440B (en) Image sharing method and terminal
CN108174103B (en) Shooting prompting method and mobile terminal
CN109857297B (en) Information processing method and terminal equipment
CN109639569B (en) Social communication method and terminal
CN108984066B (en) Application icon display method and mobile terminal
WO2015131768A1 (en) Video processing method, apparatus and system
CN110308834B (en) Setting method of application icon display mode and terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN106101764A (en) A kind of methods, devices and systems showing video data
CN103068016B (en) The method of mobile terminal and reduction power consumption thereof
CN111124706A (en) Application program sharing method and electronic equipment
CN106791916B (en) Method, device and system for recommending audio data
CN112691363A (en) Cross-terminal switching method and related device for cloud games
CN107770449B (en) Continuous shooting method, electronic device and storage medium
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN108132749A (en) A kind of image edit method and mobile terminal
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN111417929A (en) Interface display method and control terminal
CN110825474B (en) Interface display method and device and electronic equipment
CN108228357B (en) Memory cleaning method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200327

CF01 Termination of patent right due to non-payment of annual fee