Video shooting method, device and electronic equipment

By configuring and presetting shooting parameters on the video shooting interface, and automatically adjusting parameters such as focal length, aperture and frame rate, the problem of ordinary users needing professional skills when shooting videos is solved, and automatic shooting of high-quality videos is realized, which enhances users Experience.

CN115379039BActive Publication Date: 2024-12-03HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110553170.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-20
Publication Date
2024-12-03
Estimated Expiration
2041-05-20

AI Technical Summary

Technical Problem

Ordinary users need to have professional shooting skills when shooting videos, which increases the difficulty of shooting and the quality of filming is limited.

Method used

Provide a video shooting method, by configuring parameters on the shooting interface, obtaining and presetting shooting parameters, such as focal length, aperture, frame rate, etc., and automatically adjusting these parameters according to the preset time to achieve automatic shooting of videos.

Benefits of technology

It reduces the difficulty for users to shoot videos, and can shoot high-quality videos without professional skills, improve user experience, and simplify the shooting process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115379039B_ABST
    Figure CN115379039B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a video shooting method, device and electronic device. The video shooting method includes, after entering a shooting interface, responding to a first operation acting on a parameter configuration item on the shooting interface, obtaining a first parameter and a second parameter, determining a value of the first parameter corresponding to a preset time according to the second parameter, wherein the preset time includes one or more times, and responding to the second operation, shooting a video at the preset time with the value of the first parameter corresponding to the preset time, thereby realizing automatic video shooting and reducing the difficulty of users shooting high-quality videos.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a video shooting method, device and electronic device. Background Art

[0002] With the development of electronic technology, the functions of terminal devices are constantly improving. Taking mobile phones as an example, the image capture function is one of the functions that users use most frequently. Moreover, users are paying more and more attention to the image quality of mobile phones and are pursuing higher and higher shooting effects. In order to present a good shooting effect, the requirements for photographers are also relatively high. For most users, they do not have complete professional shooting skills, which will affect the quality of the film. Summary of the invention

[0003] The embodiments of the present application provide a video shooting method, device and electronic device, which can automatically shoot videos that meet user requirements, reduce the difficulty of shooting high-quality videos, and improve the user experience.

[0004] In a first aspect, an embodiment of the present application provides a video shooting method, which is applied to an electronic device with a shooting function, the method comprising: after entering a shooting interface, in response to a first operation acting on a parameter configuration item on the shooting interface, obtaining a first parameter and a second parameter, wherein the first parameter is a parameter used by the electronic device when shooting, and the second parameter is used to set the value of the first parameter; determining the value of the first parameter corresponding to a preset time according to the second parameter, wherein the preset time includes one or more times; and in response to the second operation, shooting a video at the preset time with the value of the first parameter corresponding to the preset time.

[0005] According to the video shooting method of the embodiment of the present invention, shooting is performed according to a combination of a first parameter and a second parameter pre-set by a user. The user does not need to set the parameters of the camera while shooting the video, which reduces the difficulty of shooting videos for the user. Cool videos can be shot without professional shooting skills, thereby improving the user experience.

[0006] In one possible implementation manner, when the preset time includes multiple times, the values ​​of the first parameter corresponding to the respective preset times are different.

[0007] In one possible implementation, the method includes: when the preset time includes multiple time periods, the lengths of the time periods are different; or, when the preset time includes multiple time periods, the lengths of the time periods are the same.

[0008] In one possible implementation, determining the value of the first parameter corresponding to the preset time according to the second parameter includes: linearly adjusting the value of the first parameter according to the second parameter to determine the value of the first parameter corresponding to the preset time; or, nonlinearly adjusting the value of the first parameter according to the second parameter to determine the value of the first parameter corresponding to the preset time.

[0009] In one possible implementation, when the values ​​of the first parameter corresponding to two adjacent preset times are different, and the two adjacent preset times include an earlier preset time and a later preset time, then in response to the second operation, shooting a video at the preset time with the value of the first parameter corresponding to the preset time includes: obtaining the value of the first parameter corresponding to the earlier preset time to obtain a first value; obtaining the value of the first parameter corresponding to the later preset time to obtain a second value; within the time period of the two adjacent preset times, gradually adjusting the first value to the second value according to a preset transition rule, and shooting a video using the value of the first parameter after each adjustment.

[0010] In one possible implementation manner, the first parameter includes one or more of focal length, aperture, and shooting frame rate.

[0011] In one possible implementation, the second parameter includes the time interval between two adjacent adjustments and the adjustment amount between two adjacent adjustments; or, the second parameter includes the adjustment duration, the time interval between two adjacent adjustments and the adjustment amount between two adjacent adjustments; or, the second parameter includes the number of adjustments, the time interval between two adjacent adjustments and the adjustment amount between two adjacent adjustments; or, the second parameter includes the time interval between two adjacent adjustments, the adjustment amount between two adjacent adjustments and the final value of the first parameter; or, the second parameter includes the initial value of the first parameter, the adjustment duration, the time interval between two adjacent adjustments and the adjustment amount between two adjacent adjustments; or, the second parameter includes the initial value of the first parameter, the number of adjustments, the time interval between two adjacent adjustments and the adjustment amount between two adjacent adjustments; or, the second parameter includes the initial value of the first parameter, the time interval between two adjacent adjustments, the adjustment amount between two adjacent adjustments and the final value of the first parameter.

[0012] In one possible implementation, the second parameter includes a total adjustment amount and an adjustment frequency; or, the second parameter includes an adjustment duration, a total adjustment amount, and an adjustment frequency; or, the second parameter includes an initial value of the first parameter, an adjustment duration, a total adjustment amount, and an adjustment frequency; or, the second parameter includes an initial value of the first parameter, a final value of the first parameter, and an adjustment frequency.

[0013] In one possible implementation manner, the method further includes: determining a target object; and shooting a video image with the target object as the center.

[0014] In a second aspect, an embodiment of the present application provides a video shooting device, which is applied to an electronic device with a shooting function, and the device includes: an acquisition module, which is used to obtain a first parameter and a second parameter in response to a first operation acting on a parameter configuration item on the shooting interface after entering the shooting interface, wherein the first parameter is a parameter used by the electronic device when shooting, and the second parameter is used to set the value of the first parameter; a determination module, which is used to determine the value of the first parameter corresponding to a preset time based on the second parameter, wherein the preset time includes one or more times; a shooting module, which is used to shoot a video at the preset time with the value of the first parameter corresponding to the preset time in response to the second operation.

[0015] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a touch screen, the touch screen comprising a display screen and a touch sensor; one or more cameras; one or more processors; a memory; wherein one or more computer programs are stored in the memory, and the one or more computer programs include instructions, and when the instructions are executed by the electronic device, the electronic device executes the video shooting method as described in any one of the above items.

[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes any of the methods described above.

[0017] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a computer program code. When the computer program code is executed by a computer, the computer program code can enable the computer to execute any of the above video shooting methods.

[0018] In an embodiment of the present application, after entering the shooting interface, in response to a first operation acting on a parameter configuration item on the shooting interface, a first parameter and a second parameter are obtained, and the value of the first parameter corresponding to a preset time is determined according to the second parameter, wherein the preset time includes one or more times, and in response to the second operation, a video is shot at the preset time with the value of the first parameter corresponding to the preset time, thereby realizing automatic video shooting, reducing the difficulty of users shooting high-quality videos, and presenting a cool video effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0020] Figure 2 A software structure block diagram of an electronic device is provided in an embodiment of the present application.

[0021] Figure 3 A schematic diagram of the application of the video shooting method provided in an embodiment of the present application.

[0022] Figure 4 A schematic diagram of the structure of a video shooting device provided in an embodiment of the present application.

[0023] Figure 5 A flowchart of a video shooting method provided in an embodiment of the present application.

[0024] Figure 6 A schematic diagram of the main interface provided in an embodiment of the present application.

[0025] Figure 7 A schematic diagram of the shooting interface provided in an embodiment of the present application.

[0026] Figure 8a A schematic diagram of a parameter configuration interface provided in an embodiment of the present application.

[0027] Figure 8b A schematic diagram of another parameter configuration interface provided in an embodiment of the present application.

[0028] Figures 9a to 9d A schematic diagram of video shooting provided in an embodiment of the present application.

[0029] Figures 10a to 10d Another video shooting schematic diagram provided for an embodiment of the present application.

[0030] Figures 11a to 11d Another video shooting schematic diagram provided for an embodiment of the present application.

[0031] Fig.12 A schematic diagram of the structure of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0033] The implementation of this embodiment will be described in detail below with reference to the accompanying drawings.

[0034] The video shooting method provided in the embodiment of the present application can be applied to electronic devices, which can also be referred to as user equipment (UE), mobile station (MS), mobile terminal (MobileTerminal), etc. Optionally, the electronic device can have the ability to communicate with one or more core networks via a radio access network (RAN), for example, the electronic device can be a mobile phone (or "cellular" phone), or a computer with mobile properties, etc.

[0035] The electronic device 100 may be a mobile phone, a tablet computer, a desktop 802-type computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, as well as a cellular phone, a personal digital assistant (PDA), an artificial intelligence (AI) device, a wearable device, a smart home device and / or a smart city device. The embodiments of the present application do not impose any special restrictions on the specific type of the electronic device.

[0036] Taking the mobile phone as an example, please refer to Figure 1 , Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0037] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0038] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0039] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0040] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0041] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0042] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0043] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0044] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0045] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0046] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0047] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0048] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0049] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0050] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0051] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0052] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0053] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0054] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0055] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0056] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0057] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0058] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0059] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0060] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0061] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0062] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0063] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0064] During the process of taking a photo, the reflected light of the photographed object can generate an optical image after passing through the lens, and the optical image is projected onto the photosensitive element. The photosensitive element converts the received light signal into an electrical signal. Then, the camera 193 sends the obtained electrical signal to the DSP (Digital Signal Processing) module for digital signal processing, and finally obtains a frame of digital image.

[0065] Similarly, in the process of shooting a video, the camera 193 can continuously shoot multiple frames of digital images at a certain frame rate (shooting frame rate), and these continuous multiple frames of digital images can form a video after being encoded. Due to the special physiological structure of the human eye, when the frame rate of the picture being viewed is higher than 16 frames per second (fps), the human eye will think that the picture seen is coherent. This phenomenon can be called visual retention. In order to ensure the continuity of the user's viewing of the video, the mobile phone can capture each frame of the image at a shooting frame rate higher than 16 frames per second (for example, 30fps or 60fps) when shooting the video. In this way, when the user watches the video shot by the mobile phone, he or she will perceive that the picture in the video is coherent.

[0066] Among them, the image or video captured by the camera 193 can be output on the mobile phone 100 through the display screen 194, or the digital image can be stored in the internal memory 121 (or external memory 120), and the embodiment of the present application does not impose any restrictions on this.

[0067] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0068] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0069] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0070] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).

[0071] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.;

[0072] Non-volatile memory may include disk storage devices and flash memory.

[0073] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle. It can be divided into single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage unit potential level. It can be divided into universal flash storage (UFS), embedded multi media Card (eMMC), etc. according to the storage specification.

[0074] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.

[0075] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .

[0076] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.

[0077] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0078] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0079] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0080] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0081] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0082] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0083] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0084] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0085] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0086] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.

[0087] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0088] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0089] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0090] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0091] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0092] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0093] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch screen includes the touch sensor 180K and the display screen 194, which is also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0094] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0095] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0096] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0097] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0098] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0099] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The operating system of the electronic device may include, but is not limited to, a Linux system, an Android system, an IOS operating system, a Symbian operating system, a Black Berry operating system, a Windows Phone 8 operating system, and the like. The embodiment of the present application takes the Android system of a layered architecture as an example to exemplify the software structure of the electronic device 100.

[0100] See also Figure 2 , Figure 2 A software structure block diagram of an electronic device is provided in an embodiment of the present application.

[0101] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0102] The application layer can include a series of application packages.

[0103] like Figure 2 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0104] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0105] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0106] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar 801, lock the screen, capture the screen, etc.

[0107] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0108] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can include one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0109] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0110] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0111] The notification manager enables the application to display notification information in the status bar 801, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the completion of downloads, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar 801 in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar 801, a prompt sound is emitted, the electronic device 100 vibrates, an indicator light flashes, etc.

[0112] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0113] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.

[0114] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0115] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0116] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0117] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0118] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0119] A 2D graphics engine is a drawing engine for 2D drawings.

[0120] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0121] The following is an illustrative description of the workflow of the software and hardware of the electronic device 100 in conjunction with capturing a photo scene.

[0122] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, timestamp of the touch operation, and other information). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is the control of the camera application icon, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer to capture static images or videos through the camera 193.

[0123] by Figure 2 As an example, in the embodiment of the present invention, developers can use the above-mentioned Figure 2 The system architecture of the operating system shown in FIG. 1 is used to develop a software program for implementing the video shooting method provided by the embodiment of the present invention, so that the video shooting method can be based on the system architecture of the operating system shown in FIG. Figure 2 The operating system shown is running. That is, the processor or electronic device can implement the video shooting method provided by the embodiment of the present invention by running the software program in the operating system.

[0124] See also Figure 3 The video shooting method provided in the embodiment of the present application can be executed by the video shooting device 30, and the video shooting device 30 can be implemented as a module or a function of the camera application. The video shooting device 30 receives the user's operation, starts the camera application, and starts the camera driver by calling the kernel layer, and captures a static image or video through the camera hardware.

[0125] The embodiment of the present application provides a model training method, which is performed by a model training device. The functions of the model training device can be implemented by a software system. It can also be implemented by a hardware device, or it can be implemented by a combination of a software system and a hardware device.

[0126] When the model training device is a software device, see Figure 4 The video shooting device 30 can be logically divided into multiple modules, each module can have different functions, and the function of each module is implemented by a processor in a computing device reading and executing instructions in a memory. The computing device structure can be as follows Figure 1 The electronic device or Fig.12 The electronic device shown in FIG. 4 exemplarily, the video shooting device 30 may include an acquisition module 401 , a determination module 402 and a shooting module 403 .

[0127] The acquisition module 401 is used to acquire a first parameter and a second parameter in response to a first operation acting on a parameter configuration item on the shooting interface 70 after entering the shooting interface 70, wherein the first parameter is a parameter used by the electronic device when shooting, and the second parameter is used to set the value of the first parameter.

[0128] The first parameter includes one or more of focal length, aperture, and shooting frame rate.

[0129] Among them, the second parameter includes the time interval between two adjacent adjustments and the adjustment amount between two adjacent adjustments; or, the second parameter includes the adjustment duration, the time interval between two adjacent adjustments and the adjustment amount between two adjacent adjustments; or, the second parameter includes the number of adjustments, the time interval between two adjacent adjustments and the adjustment amount between two adjacent adjustments; or, the second parameter includes the time interval between two adjacent adjustments, the adjustment amount between two adjacent adjustments and the final value of the first parameter; or, the second parameter includes the initial value of the first parameter, the adjustment duration, the time interval between two adjacent adjustments and the adjustment amount between two adjacent adjustments; or, the second parameter includes the initial value of the first parameter, the number of adjustments, the time interval between two adjacent adjustments and the adjustment amount between two adjacent adjustments; or, the second parameter includes the initial value of the first parameter, the time interval between two adjacent adjustments, the adjustment amount between two adjacent adjustments and the final value of the first parameter.

[0130] In one possible implementation, the second parameter includes a total adjustment amount and an adjustment frequency; or, the second parameter includes an adjustment duration, a total adjustment amount, and an adjustment frequency; or, the second parameter includes an initial value of the first parameter, an adjustment duration, a total adjustment amount, and an adjustment frequency; or, the second parameter includes an initial value of the first parameter, a final value of the first parameter, and an adjustment frequency.

[0131] The determination module 402 is used to determine the value of the first parameter corresponding to the preset time according to the second parameter, where the preset time includes one or more times.

[0132] In one possible implementation manner, when the preset time includes multiple times, the value of the first parameter corresponding to each preset time is different.

[0133] The shooting module 403 is used to shoot a video at the preset time with the value of the first parameter corresponding to the preset time in response to the second operation.

[0134] In one possible implementation, when the values ​​of the first parameter corresponding to two adjacent preset times are different, and the two adjacent preset times include an earlier preset time and a later preset time, then in response to the second operation, shooting a video at the preset time with the value of the first parameter corresponding to the preset time includes: obtaining the value of the first parameter corresponding to the earlier preset time to obtain a first value; obtaining the value of the first parameter corresponding to the later preset time to obtain a second value; within the time period of the two adjacent preset times, gradually adjusting the first value to the second value according to a preset transition rule, and shooting a video using the value of the first parameter after each adjustment.

[0135] The executor of the video shooting method provided in the embodiment of the present invention may be the electronic device mentioned above, or may be a functional module and / or functional entity in the electronic device that can implement the video shooting method. The specific execution subject may be determined according to actual usage requirements, and the embodiment of the present invention does not limit it.

[0136] The video shooting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings. Figure 1 The electronic device 100 of the composition shown in FIG. 1 can also be applied to a device having Figure 2 The operating system is shown divided into electronic devices.

[0137] Flowcharts are used in the present application to illustrate the operations performed by the apparatus or electronic device according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed precisely in order. On the contrary, various steps may be processed in reverse order or simultaneously as required. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.

[0138] Please refer to Figure 5 , is a flow chart of a video shooting method provided in an embodiment of the present application. Figure 5 As shown, the method is applied to an electronic device with a shooting function. Taking the electronic device as a smart phone as an example, the method may include the following steps:

[0139] Step S301: receiving a start operation.

[0140] In the embodiment of the present application, a camera application (application, APP) is installed in the smart phone. Figure 6 , Figure 6A schematic diagram of a main interface 60 provided in an embodiment of the present application, a smart phone displays a graphical user interface (GUI), which is the main interface 60 of the mobile phone, and the main interface 60 includes a status bar 801, a desktop 802 and a dock bar 603. The status bar 801 may include the name of the operator (e.g., China Mobile), time, signal strength and current remaining power. The status bar 801 may also include other icons, such as a Wi-Fi icon, a mobile network (e.g., 4G), an alarm icon, etc. The desktop 802 includes application icons, which include embedded applications and downloadable applications. The desktop 802 displays icon elements such as a clock 612, a calendar 622, a gallery 632 and sports health 642. The dock bar 603 includes icons of commonly used applications, such as camera 613, address book 623, phone 633 and information 643. Among them, the camera 613 is the interface icon corresponding to the camera APP. The user clicks the camera 613 to trigger the camera APP to run, and receives a startup operation for starting the camera application.

[0141] Step S302: In response to the start-up operation, the shooting interface 70 is displayed.

[0142] In the embodiment of the present application, after the smartphone receives the user's start operation (such as a click operation), it can receive the instruction to run the camera APP corresponding to the click operation, and then the smartphone runs the camera APP, and the smartphone displays the graphical user interface of the camera APP. Accordingly, the GUI is updated to Figure 7 The shooting interface 70 is shown.

[0143] The shooting interface 70 may include: an area 701, a shooting mode list 705, a control 702, a control 703, a control 704 and a shooting mode list 705. Among them:

[0144] Area 701 may be referred to as a preview frame 701 or a viewfinder frame 701. Preview frame 701 may be used to display a color image captured in real time by camera 193. The electronic device may refresh the display content therein in real time so that the user can preview the image currently captured by camera 193. Here, camera 193 may be a rear camera or a front camera.

[0145] Control 702 can be used to monitor user operations that trigger shooting (photographing or recording). The electronic device can detect user operations acting on control 702 (such as a click operation on control 702), and in response to the operation, the electronic device 100 can save the image in preview box 701. The saved image can be a picture or a video. In addition, the electronic device 100 can also display a thumbnail of the saved image in control 703. In other words, the user can click control 702 to trigger shooting. Among them, control 702 can be a button or other forms of controls.

[0146] Control 703 can be used to monitor user operations that trigger camera switching. Electronic device 100 can detect user operations acting on control 504 (such as a click operation on control 703), and in response to the operation, electronic device 100 can switch cameras (such as switching the rear camera to the front camera, or switching the front camera to the rear camera).

[0147] Control 704 can be used to monitor user operations that trigger the opening of the "Gallery". The electronic device 100 can detect user operations acting on the control 505 (such as a click operation on the control 704). In response to the operation, the electronic device 100 can display the user interface of the "Gallery", in which pictures saved by the electronic device 100 can be displayed. Here, the "Gallery" is an application for picture management on electronic devices such as smart phones and tablet computers, which can also be called an "album". The embodiment of the present application does not limit the name of the application. The "Gallery" can support users to perform various operations on pictures stored on electronic devices, such as browsing, editing, deleting, selecting, and the like.

[0148] In one possible implementation, a control 706 may be further provided on the area 701 , and the control 706 may be used to monitor a user operation that triggers the adjustment of the focus, so as to facilitate the user to manually adjust the focus.

[0149] One or more shooting mode options may be displayed in the shooting mode list 705. The one or more shooting options may include: night scene mode option 705A, portrait mode option 705B, photo mode option 705C, video mode option 705D, more shooting mode options 705E and parameter configuration items 705F. The one or more shooting options may be displayed as text information on the interface, for example, the night scene mode option 705A, the portrait mode option 705B, the photo mode option 705C, the video mode option 705D, more shooting mode options 705E and the parameter configuration items may correspond to the text "night scene", "portrait", "photo", "video", "more" and "parameter configuration" respectively. Not limited to this, the one or more shooting options may also be displayed as icons or other forms of interactive elements (IE) on the interface. In some embodiments, the electronic device 100 may select the photo mode option 705C by default, and the display state of the photo mode option 705C (such as the photo mode option 705C being highlighted) may indicate that the photo mode option 705C has been selected.

[0150] The electronic device 100 can detect a user operation on a shooting mode option, and the user operation can be used to select a shooting mode. In response to the operation, the electronic device 100 can turn on the shooting mode selected by the user. In particular, when the user operation acts on more shooting mode options 705E, the electronic device 100 can further display more other shooting mode options, such as a large aperture shooting mode option, a slow motion shooting mode option, etc., and can show the user more abundant camera functions. When the user further selects the large aperture shooting mode option, the user manually adjusts the aperture for shooting. When the user further selects the slow motion shooting mode option, the user can manually adjust the slow motion shooting. Not limited to Figure 7 As shown, more shooting mode options 705E may not be displayed in the shooting mode list 705 , and the user may browse other shooting mode options by sliding left / right in the shooting mode list 705 .

[0151] It can be seen that the shooting interface 70 can display a variety of camera functions (modes) provided by the “camera” to the user, and the user can choose to turn on the corresponding shooting mode by clicking on the shooting mode option.

[0152] Step S303: After entering the shooting interface, in response to a first operation acting on a parameter configuration item on the shooting interface, obtain a first parameter and a second parameter, wherein the first parameter is a parameter used by the electronic device when shooting, and the second parameter is used to set the value of the first parameter.

[0153] In an embodiment of the present application, after entering the shooting interface 70, the electronic device can detect a user operation acting on the parameter configuration item 705F on the shooting interface 70 (such as a click operation on the parameter configuration item 705F), and in response to the operation, the electronic device obtains relevant parameters.

[0154] Specifically, the user clicks the parameter configuration item 705F on the shooting interface 70, and the smart phone displays the parameter configuration interface. Accordingly, the GUI is updated to Figure 8a The parameter configuration interface 80 shown. In one possible implementation, the parameter configuration interface 80 may also be referred to as the shooting interface 70. The parameter configuration interface 80 includes a first parameter configuration item list 801, and the first parameter configuration item list 801 includes various first parameters, that is, the parameters used by the electronic device when shooting. It can be understood that the setting of the first parameter will directly or indirectly affect the quality of the film and the effect of video shooting. The first parameter may include focal length, brightness, aperture value, shooting frame rate, etc. The brightness refers to the brightness of the picture, and the unit is candela per square meter (cd / m 2 ) or nits, in electronic devices, the brightness can usually be represented by a numerical value. The higher the brightness value, the brighter the picture, and the smaller the brightness value, the darker the picture. The first parameter can also include other parameters, such as resolution, exposure value, etc. Exemplarily, the first parameter configuration item list 801 includes a focal length configuration option 801A, an aperture configuration option 801B, and a frame rate configuration option 801C. Among them:

[0155] The focal length configuration option 801A is used to configure the focal length of the electronic device. Focal length is a measurement method for measuring the convergence or divergence of light in an optical system. It refers to the distance from the optical center of the lens to the focus of light when parallel light is incident. Usually, the length of the focal length is millimeters. In electronic devices, the focal length is usually expressed as X times the focal length, such as 1.0 times, 2.0 times, 30.0 times, etc. It can be understood that the electronic device in the embodiment of the present application supports adjusting the focal length.

[0156] Aperture configuration option 801B is used to configure the aperture value of the electronic device. Aperture value (FNO) = focal length / entrance pupil diameter. The aperture value is a system parameter of the shooting lens, which determines the amount of light entering the lens. The smaller the FNO value, the larger the aperture, and the more light entering; conversely, the larger the FNO value, the smaller the aperture, and the less light entering. At the same time, the aperture also determines the ultimate resolution of the lens. The larger the aperture, the higher the resolution. Conversely, the smaller the aperture, the lower the resolution. The aperture value of the lens is directly related to the quality of the film, such as illumination, resolution, and dark environment imaging capabilities. Exemplarily, the aperture values ​​may include: F1, F4, F8, F11, F16, F22, F32, F44, and F64. It can be understood that the electronic device in the embodiment of the present application supports adjusting the aperture value.

[0157] The frame rate configuration option 801C is used to configure the shooting frame rate of the electronic device. The frame rate, also known as the frame rate, is measured in frames per second (fps). When an electronic device is recording a video, the frame rate may refer to the number of static images captured by the electronic device per second. When the electronic device plays a video at the same frame rate, it plays the same number of static images per second. To the user, these static images will have a dynamic effect. Generally speaking, a frame rate of 8fps or more will allow the user to feel a smooth playback effect. The movie standard is 24fps, and it can also be higher. When the frame rate of the electronic device shooting the video is lower, the number of static images captured by the electronic device per second is less, the exposure time of each static image will increase, and the brightness of the static image will increase. The shooting frame rate is relative to the playback frame rate. The shooting frame rate refers to the number of static images captured by the electronic device per second. It can be understood that the electronic device in the embodiment of the present application supports adjusting the shooting frame rate.

[0158] The electronic device 100 can detect the operation acting on each configuration option in the first parameter configuration item list 801, and in response to the operation, the electronic device 100 can obtain the parameters corresponding to the configuration options. For example, if a click operation on the focal length configuration option 801A is detected, the electronic device 100 can obtain the focal length as the first parameter used for shooting the video. Or if a click operation on the aperture configuration option 801B is detected, the electronic device 100 can obtain the aperture as the first parameter used for shooting the video. Or if a click operation on the frame rate configuration option 801C is detected, the electronic device 100 can obtain the shooting frame rate as the first parameter used for shooting the video.

[0159] The parameter configuration interface 80 includes a second parameter configuration list 802, which is used to adjust the value of the first parameter selected in the first parameter configuration list 802, that is, to configure the value of the currently set first parameter. The second parameter configuration list 802 may include various second parameters, and the value of the first parameter is adjusted by the second parameters. Figure 8a As shown, the second parameter configuration list 802 may include: any one or more of: a time interval configuration item 802A between two adjacent adjustments, an adjustment amount configuration item 802B between two adjacent adjustments, an adjustment duration configuration item 802C, an adjustment number configuration item 802D, an initial value configuration item 802E of the first parameter, and a final value configuration item 802F of the first parameter. The second parameter configuration list 802 is not limited to Figure 8a As shown, the second parameter may include any one or more of the time interval between two adjacent adjustments, the adjustment amount between two adjacent adjustments, the adjustment duration, the number of adjustments, the initial value of the first parameter, and the final value of the first parameter, wherein:

[0160] The time interval configuration item 802A between two adjacent adjustments is used to configure the time interval between two adjacent adjustments, that is, the time interval between two adjacent adjustments of the value of the first parameter. The time interval between two adjacent adjustments is a time period, which can be 5 seconds, 6 seconds, etc.

[0161] Exemplarily, the user enters M seconds in the time interval configuration item 802A between two adjacent adjustments, and sets the time interval between two adjacent adjustments to M seconds. The time of the first adjustment of the first parameter is 0 seconds, the time of the second adjustment of the first parameter is the Mth second, the time of the third adjustment of the first parameter is 2M seconds, and so on.

[0162] The adjustment amount configuration item 802B for two adjacent adjustments is used to configure the adjustment amount for two adjacent adjustments, that is, the difference between the values ​​of the first parameter of two adjacent adjustments. The adjustment amount for two adjacent adjustments can also be called a step value, such as if the first parameter is the focal length, the adjustment amount for two adjacent adjustments is 0.5X, that is, the step value is 0.5X, or the first parameter is the shooting frame rate, the adjustment amount for two adjacent adjustments is 10fps, that is, the step value is 10fps. Exemplarily, if the user enters 10fps in the adjustment amount configuration item 802B for two adjacent adjustments, the adjustment amount for two adjacent adjustments is set to 10fps, then the value of the first parameter for the Nth adjustment is 5fps, the value of the first parameter for the N+1th adjustment is 15fps seconds, the value of the first parameter for the 3rd adjustment is 25fps, and so on.

[0163] The adjustment duration configuration item 802C is used to configure the adjustment duration, which can be the total duration from the start of video shooting to the end of video shooting. In one possible implementation, the adjustment duration can also be the total duration from the first adjustment of the value of the first parameter to the last adjustment of the value of the first parameter. In one possible implementation, the adjustment duration can also be a certain time period, that is, a certain unit time in the process of shooting a video. For example, if a certain video is set to include two adjustment durations, the first adjustment duration can be 30 seconds, and the second adjustment duration can be 60 seconds, then the video is greater than or equal to 90 seconds.

[0164] The adjustment times configuration item 802D is used to configure the adjustment times, that is, the total number of times the value of the first parameter is adjusted, such as the total number of times the value of the first parameter is adjusted from the first adjustment to the last adjustment. The adjustment times can be 20 times, 25 times, etc.

[0165] The initial value configuration item 802E of the first parameter is used to configure the initial value of the first parameter. When the first parameter is the focal length, the initial value of the first parameter can be configured to 1 times. When the first parameter is the aperture value, the initial value of the first parameter can be configured to F1. When the first parameter is the shooting frame rate, the initial value of the first parameter can be configured to 30fps.

[0166] The final value configuration item 802F of the first parameter is used to configure the final value of the first parameter, that is, the last value of the first parameter. When the first parameter is the focal length, the final value of the first parameter can be configured to be 30 times. When the first parameter is the aperture value, the final value of the first parameter can be configured to be F64. When the first parameter is the shooting frame rate, the final value of the first parameter can be configured to be 120fps.

[0167] In one possible implementation, Figure 8b As shown, the second parameter configuration list 802 may include any one or more of a total adjustment amount configuration item 802G, an adjustment frequency configuration item 802H, an adjustment duration configuration item 802C, an initial value configuration item 802E of the first parameter, and a final value configuration item 802F of the first parameter. The second parameter configuration list 802 is not limited to Figure 8b As shown, the second parameter may include any one or more of the total adjustment amount, the adjustment frequency, the adjustment duration, the initial value of the first parameter, and the final value of the first parameter, wherein:

[0168] The total adjustment amount configuration item 802G is used to configure the total adjustment amount for adjusting the value of the first parameter. That is, the amount that can be adjusted between the first adjustment of the value of the first parameter to the last adjustment of the value of the first parameter. If the total adjustment amount is 90fps, then the change in the first parameter from the first adjustment to the last adjustment is 90fps, that is, the difference between the value of the first parameter and the value of the last parameter is 90fps. The total adjustment amount can be the total adjustment amount per unit time, and the total adjustment amount is the total adjustment amount per unit time. For example, if the unit time is from the 1st second to the 10th second, the total adjustment amount is the value of the first parameter at the 10th second minus the value of the first parameter at the 1st second.

[0169] The adjustment frequency configuration item 802H is used to configure the frequency of adjusting the value of the first parameter. The adjustment frequency can be the number of times adjusted per unit time, for example, one unit time can be adjusted once, twice, three times, etc., and five times within 30 seconds. Or it can be adjusted once every five seconds.

[0170] The specific contents of the adjustment duration configuration item 802C, the initial value configuration item 802E of the first parameter and the final value configuration item 802F of the first parameter can be referred to the above description and will not be described again here.

[0171] It is understood that the setting of the second parameter is not limited to the above Figure 8a and Figure 8bAs shown, the second parameter can also be a configuration item at a certain moment, and a first parameter value configuration item corresponding to the moment, or can also include a configuration item for a certain time period, and a first parameter value configuration item corresponding to the time period. The embodiment of the present application does not specifically limit the configuration of each configuration parameter in the second parameter configuration list 802, and the combination of each configuration parameter.

[0172] The electronic device 100 can detect the operation acting on each configuration item in the second parameter configuration list 802. In response to the operation, the electronic device 100 can obtain the parameter corresponding to the configuration item in the second parameter configuration list 802. For example, in the configuration item 802A for operating the time interval between two adjacent adjustments, input a, and the electronic device 100 can obtain the time interval between two adjacent adjustments of the second parameter as a. Or the configuration item 802B for operating the adjustment amount of two adjacent adjustments, input b, and the electronic device 100 can obtain the adjustment amount of two adjacent adjustments of the second parameter as b. Or the configuration item 802C for operating the adjustment duration, input c, and the electronic device 100 can obtain the adjustment duration of the second parameter as c. Or the configuration item 802D for operating the number of adjustments, input d, and the electronic device 100 can obtain the number of adjustments of the second parameter as d. Or the configuration item 802E for operating the initial value of the first parameter, input e, and the electronic device 100 can obtain the initial value of the first parameter as e. Or the configuration item 802F for operating the final value of the first parameter, input f, and the electronic device 100 can obtain the final value of the first parameter of the second parameter as f. Or operate the total adjustment amount configuration item 802G, input g, and the electronic device 100 can obtain the total adjustment amount of the second parameter as g. Or operate the adjustment frequency configuration item 802H, input h, and the electronic device 100 can obtain the adjustment frequency of the second parameter as h.

[0173] Step S304: determining the value of the first parameter corresponding to the preset time according to the second parameter.

[0174] In an embodiment of the present application, the value of the first parameter corresponding to the preset time can be determined according to the second parameter, wherein the preset time may include one or more times. The time may be a moment or a time period. That is, the value of the first parameter corresponding to the preset moment can be determined according to the second parameter, or the value of the first parameter corresponding to the preset time period can be determined according to the second parameter. The preset time may be a time determined according to the second parameter.

[0175] It can be understood that the user can configure the second parameter according to their own needs to adjust the value of the first parameter according to their own needs. Among them, the second parameter can be configured through the second parameter configuration list 802, and the value of the first parameter can be linearly adjusted according to the second parameter to achieve linear adjustment of the value of the first parameter, that is, the value of the first parameter changes linearly over time, such as changing with a fixed step value. The second parameter can also be configured through the second parameter configuration list 802, and the value of the first parameter can be nonlinearly adjusted according to the second parameter to achieve nonlinear adjustment of the value of the first parameter, that is, the value of the first parameter changes nonlinearly over time, such as the value of the first parameter in different time periods changes with different step values. Exemplarily, the step value can be set by setting the step value, that is, by configuring the adjustment amount configuration item 802B of two adjacent adjustments, setting the step value of each adjustment so that the value of the first parameter changes linearly. It is also possible to set multiple different step values, such as setting the step value of the adjustment duration to 3 seconds as A, setting the step value of the adjustment duration from 3 seconds to 10 seconds as B, and the step values ​​A and B are different, then the value of the first parameter can be adjusted nonlinearly.

[0176] It is understandable that the embodiments of the present application can set multiple first parameters, and set the multiple first parameters. For example, the focal length and shooting frame rate are set at the same time, and different second parameters are set for the focal length and shooting frame rate respectively, or the same second parameters are set. When shooting a video, the corresponding focal length and shooting frame rate can be used to shoot the video.

[0177] In the embodiment of the present application, different adjustment methods can be used to adjust the value of the first parameter, that is, different second parameters or different combinations of second parameters can be used to set the value of the first parameter, such as setting the value of the first parameter to increase from the first second at 30fps per second, then the adjustment amount of two adjacent adjustments can be set to 30fps, and the time interval between two adjacent adjustments can be set to one second. The adjustment frequency can also be set to 30fps per second.

[0178] In one possible implementation manner, the value of the first parameter may also be set to a fixed value. For example, the value of the first parameter is set to be A within a certain period of time. In this case, the value of the first parameter is A within the period of time.

[0179] In the embodiment of the present application, the user sets the second parameter in order to set the value of the first parameter used when shooting a video, such as the focal length is N times, or the shooting frame rate is 48fps, etc. By setting the value of the first parameter by setting the second parameter, the value of the first parameter corresponding to the preset time can be determined, that is, the value of the first parameter corresponding to the preset time during the shooting process can be determined, such as the value of the first parameter at a certain moment can be determined, and the value of the first parameter in a certain time period can also be determined.

[0180] In one possible implementation, the second parameter configuration list 802 may include a combination of a time interval configuration item 802A for two adjacent adjustments and an adjustment amount configuration item 802B for two adjacent adjustments, that is, the value of the first parameter may be adjusted according to the time interval between two adjacent adjustments of the second parameter and the adjustment amount between two adjacent adjustments.

[0181] Exemplarily, taking the first parameter as the shooting frame rate, the user can operate the time interval configuration item 802A for two adjacent adjustments, and input the time interval for two adjacent adjustments as 5 seconds, so that the value of the first parameter is adjusted every 5 seconds. The user can operate the adjustment amount configuration item 802B for two adjacent adjustments, and input the adjustment amount for two adjacent adjustments as 30fps, so that the amplitude of the value of the first parameter adjusted each time is 30fps, then according to the parameters input in the time interval configuration item 802A for two adjacent adjustments and the adjustment amount configuration item 802B for two adjacent adjustments, it can be obtained that the amplitude of adjusting the value of the first parameter every 5 seconds is 30fps. If the electronic device defaults to the initial value of the first parameter as 10fps, according to the amplitude of adjusting the value of the first parameter every 5 seconds as 30fps, it can be determined that the value of the first parameter at the 5th second is 40fps, the value of the first parameter at the tenth second is 70fps, and so on.

[0182] In one possible implementation, the second parameter configuration list 802 may include a combination of a time interval configuration item 802A between two adjacent adjustments, an adjustment amount configuration item 802B between two adjacent adjustments, and an adjustment duration configuration item 802C. That is, the value of the first parameter may be adjusted according to the time interval between two adjacent adjustments of the second parameter, the adjustment amount between two adjacent adjustments, and the adjustment duration.

[0183] Exemplarily, taking the first parameter as the shooting frame rate, the user can operate the time interval configuration item 802A between two adjacent adjustments, and input the time interval between two adjacent adjustments as 5 seconds, so that the value of the first parameter is adjusted every 5 seconds. The user can operate the adjustment amount configuration item 802B between two adjacent adjustments, and input the adjustment amount of two adjacent adjustments as 30fps, so that the amplitude of the value of the first parameter adjusted each time is 30fps, and the user can operate the adjustment duration configuration item 802C, and input the adjustment duration as 30 seconds, so that the amplitude of the value of the first parameter adjusted every 5 seconds is 30fps, and the adjustment duration is 30 seconds. If the electronic device defaults to the initial value of the first parameter as 10fps, according to the amplitude of the value of the first parameter adjusted every 5 seconds as 30fps, it can be determined that the value of the first parameter at the 5th second is 40fps, the value of the first parameter at the tenth second is 70fps, and so on, until the value of the first parameter at the 30th second is determined to be 190fps.

[0184] In one possible implementation, the second parameter configuration list 802 may include a combination of a time interval configuration item 802A between two adjacent adjustments, an adjustment amount configuration item 802B between two adjacent adjustments, and an adjustment times configuration item 802D. That is, the value of the first parameter may be adjusted according to the time interval between two adjacent adjustments of the second parameter, the adjustment amount between two adjacent adjustments, and the adjustment times.

[0185] Exemplarily, taking the first parameter as the shooting frame rate, the user can operate the time interval configuration item 802A between two adjacent adjustments, and input the time interval between two adjacent adjustments as 5 seconds, so that the value of the first parameter is adjusted every 5 seconds. The user can operate the adjustment amount configuration item 802B between two adjacent adjustments, and input the adjustment amount of two adjacent adjustments as 30fps, so that the amplitude of the value of the first parameter adjusted each time is 30fps, and the user can operate the adjustment number configuration item 802D, and input the number of adjustments as 5 times, so that the amplitude of the value of the first parameter adjusted every 5 seconds is 30fps, and the number of adjustments is 5 times. If the electronic device defaults to the initial value of the first parameter as 10fps, according to the amplitude of the value of the first parameter adjusted every 5 seconds as 30fps, it can be determined that the first adjustment, the value of the first parameter at the 5th second is 40fps, the second adjustment, the value of the first parameter at the tenth second is 70fps, and so on, until the fifth adjustment is determined, the value of the first parameter at the 25th second is 130fps.

[0186] In one possible implementation, the second parameter configuration list 802 may include a combination of a time interval configuration item 802A between two adjacent adjustments, an adjustment amount configuration item 802B between two adjacent adjustments, and a final value configuration item 802F of the first parameter. That is, the value of the first parameter may be adjusted according to the time interval between two adjacent adjustments of the second parameter, the adjustment amount between two adjacent adjustments, and the final value of the first parameter.

[0187] Exemplarily, taking the first parameter as the shooting frame rate, the user can operate the time interval configuration item 802A between two adjacent adjustments, and input the time interval between two adjacent adjustments as 5 seconds, so that the value of the first parameter is adjusted every 5 seconds. The user can operate the adjustment amount configuration item 802B between two adjacent adjustments, and input the adjustment amount of two adjacent adjustments as 30fps, so that the amplitude of each adjustment of the value of the first parameter is 30fps. The user can operate the final value configuration item 802F of the first parameter, and input the final value of the first parameter as 190fps, so that the amplitude of adjusting the value of the first parameter every 5 seconds is 30fps, and the final value of the first parameter is 190fps. If the electronic device defaults to the initial value of the first parameter as 10fps, according to the amplitude of adjusting the value of the first parameter every 5 seconds as 30fps, it can be determined that the value of the first parameter at the 5th second is 40fps, the value of the first parameter at the tenth second is 70fps, and so on, until the value of the first parameter at the 30th second is 190fps.

[0188] In one possible implementation, the second parameter configuration list 802 may include a combination of a time interval configuration item 802A between two adjacent adjustments, an adjustment amount configuration item 802B between two adjacent adjustments, an adjustment duration configuration item 802C, and an initial value configuration item 802E of the first parameter. That is, the value of the first parameter may be adjusted according to the time interval between two adjacent adjustments of the second parameter, the adjustment amount between two adjacent adjustments, the adjustment duration, and the initial value of the first parameter.

[0189] For example, taking the first parameter as the shooting frame rate, the user can operate the configuration item 802A of the time interval between two adjacent adjustments, and input the time interval between two adjacent adjustments as 5 seconds, so that the value of the first parameter is adjusted every 5 seconds. The user can operate the configuration item 802B of the adjustment amount between two adjacent adjustments, and input the adjustment amount of two adjacent adjustments as 30fps, so that the amplitude of the value of the first parameter adjusted each time is 30fps. The user can operate the configuration item 802C of the adjustment duration, and input the adjustment duration as 30 seconds, so that the amplitude of the value of the first parameter adjusted every 5 seconds is 30fps, and the adjustment duration is 30 seconds. The user can operate the configuration item 802E of the initial value of the first parameter, and input the initial value of the first parameter as 10fps. According to the amplitude of the value of the first parameter adjusted every 5 seconds as 30fps, the electronic device can determine that the value of the first parameter at the 5th second is 40fps, the value of the first parameter at the 10th second is 70fps, and so on, until the value of the first parameter at the 30th second is determined to be 190fps.

[0190] In one possible implementation, the second parameter configuration list 802 may include a combination of a time interval configuration item 802A between two adjacent adjustments, an adjustment amount configuration item 802B between two adjacent adjustments, an adjustment number configuration item 802D, and an initial value configuration item 802E of the first parameter. That is, the value of the first parameter may be adjusted according to the time interval between two adjacent adjustments of the second parameter, the adjustment amount between two adjacent adjustments, the adjustment duration, and the initial value of the first parameter.

[0191] For example, taking the first parameter as the shooting frame rate, the user can operate the time interval configuration item 802A between two adjacent adjustments, and input the time interval between two adjacent adjustments as 5 seconds, so that the value of the first parameter is adjusted every 5 seconds. The user can operate the adjustment amount configuration item 802B between two adjacent adjustments, and input the adjustment amount of two adjacent adjustments as 30fps, so that the value amplitude of each adjustment of the first parameter is 30fps. The user can operate the adjustment number configuration item 802D, and input the adjustment number as 5 times, so that the amplitude of the value of the first parameter adjusted every 5 seconds is 30fps, and the adjustment number is 5. The user can operate the initial value configuration item 802E of the first parameter, and input the initial value of the first parameter as 10fps. According to the amplitude of adjusting the value of the first parameter every 5 seconds as 30fps, the electronic device can determine that the value of the first parameter at the 5th second is 40fps for the first adjustment, the value of the first parameter at the 10th second is 70fps for the second adjustment, and so on, until the fifth adjustment is determined, the value of the first parameter at the 25th second is 130fps.

[0192] In one possible implementation, the second parameter configuration list 802 may include a combination of a time interval configuration item 802A between two adjacent adjustments, an adjustment amount configuration item 802B between two adjacent adjustments, an initial value configuration item 802E of the first parameter, and a final value configuration item 802F of the first parameter. That is, the value of the first parameter may be adjusted according to the time interval between two adjacent adjustments of the second parameter, the adjustment amount between two adjacent adjustments, the initial value of the first parameter, and the final value of the first parameter.

[0193] Exemplarily, taking the first parameter as the shooting frame rate, the user can operate the time interval configuration item 802A between two adjacent adjustments, and input the time interval between two adjacent adjustments as 5 seconds, so that the value of the first parameter is adjusted every 5 seconds. The user can operate the adjustment amount configuration item 802B between two adjacent adjustments, and input the adjustment amount of two adjacent adjustments as 30fps, so that the value amplitude of each adjustment of the first parameter is 30fps. The user can operate the initial value configuration item 802E of the first parameter, and input the initial value of the first parameter as 10fps. The user can operate the final value configuration item 802F of the first parameter, and input the final value of the first parameter as 190fps. According to the amplitude of adjusting the value of the first parameter every 5 seconds as 30fps, the electronic device can determine that the value of the first parameter at the 5th second is 40fps, the value of the first parameter at the 10th second is 70fps, and so on, until the value of the first parameter at the 30th second is determined to be 190fps.

[0194] In one possible implementation, the second parameter configuration list 802 may include a combination of a total adjustment amount configuration item 802G and an adjustment frequency configuration item 802H, that is, the value of the first parameter may be adjusted according to the second parameter total adjustment amount and the adjustment frequency.

[0195] Exemplarily, taking the first parameter as the shooting frame rate, the user can operate the total adjustment amount configuration item 802G and input the total adjustment amount of 90fps, then the change amount of the first parameter from the first adjustment to the last adjustment is 90fps. The user can operate the adjustment frequency configuration item 802H and input the adjustment frequency as 5 times. If the electronic device defaults to the initial value of the first parameter as 10fps, according to the total adjustment amount of 90fps and the number of adjustments of 5 times, it can be determined that the step value of each adjustment is 18fps. If the initial value of the first parameter is 10fps, the value of the first parameter is adjusted for the first time is 28fps, and the value of the first parameter is adjusted for the second time is 46fps, and so on, the value of the first parameter adjusted each time can be determined. Among them, the total adjustment amount can be the adjustment amount within a certain unit time. If it is the total adjustment amount within 30 seconds, that is, at 30 seconds, the value of the first parameter increases by 90fps relative to the initial value of the first parameter. If the value of the first parameter is adjusted linearly, the sixth second is the first adjustment, the twelfth second is the second adjustment, and so on.

[0196] In one possible implementation, the second parameter configuration list 802 may include a combination of a total adjustment amount configuration item 802G, an adjustment frequency configuration item 802H and an adjustment duration configuration item 802C, that is, the value of the first parameter can be adjusted according to the second parameter total adjustment amount, adjustment frequency and adjustment duration.

[0197] Exemplarily, taking the first parameter as the shooting frame rate, the user can operate the total adjustment amount configuration item 802G and input the total adjustment amount of 90fps, then the change in the first parameter from the first adjustment to the last adjustment is 90fps. The user can operate the adjustment frequency configuration item 802H and input the adjustment frequency as 5 times. The user can operate the adjustment duration configuration item 802H and input the adjustment duration as 30 seconds. If the electronic device defaults to the initial value of the first parameter as 10fps, according to the total adjustment amount of 90fps, the number of adjustments is 5 times and the adjustment duration is 30 seconds, it can be determined that the step value of each adjustment is 18fps. If the initial value of the first parameter is 10fps, the value of the first parameter is adjusted for the first time is 28fps, and the value of the first parameter is adjusted for the second time is 46fps. By analogy, the value of the first parameter adjusted each time can be determined. If the value of the first parameter is adjusted linearly, the sixth second is the first adjustment, the twelfth second is the second adjustment, and so on until the thirtieth second.

[0198] In one possible implementation, the second parameter configuration list 802 may include a combination of a total adjustment amount configuration item 802G and an adjustment duration configuration item 802C, that is, the value of the first parameter may be adjusted according to the second parameter total adjustment amount and the adjustment duration.

[0199] For example, taking the first parameter as the shooting frame rate, the user can operate the total adjustment configuration item 802G and input the total adjustment amount of 20fps and 30fps. The user can operate the adjustment duration configuration item 802H and input the adjustment durations of 10 seconds and 20 seconds respectively. The total adjustment amount of 10fps corresponds to an adjustment duration of 10 seconds, and the total adjustment amount of 20fps corresponds to an adjustment duration of 20 seconds. Then, the value of the first parameter from the 0th second to the 10th second can be determined to be 20fps, and the value of the first parameter from the 10th second to the 30th second can be determined to be (20fps+30fps).

[0200] In one possible implementation, the second parameter configuration list 802 may include a combination of a total adjustment amount configuration item 802G, an adjustment frequency configuration item 802H, an adjustment duration configuration item 802C, and an initial value configuration item 802E of the first parameter, that is, the value of the first parameter can be adjusted according to the total adjustment amount of the second parameter, the adjustment frequency, the adjustment duration, and the initial value of the first parameter.

[0201] Exemplarily, taking the first parameter as the shooting frame rate, the user can operate the total adjustment amount configuration item 802G and input the total adjustment amount of 90fps, then the change in the first parameter from the first adjustment to the last adjustment is 90fps. The user can operate the adjustment frequency configuration item 802H and input the adjustment frequency as 5 times. The user can operate the adjustment duration configuration item 802C and input the adjustment duration as 30 seconds. The user can operate the initial value configuration item 802E of the first parameter and input the initial value of the first parameter as 10fps. The electronic device can determine that the step value of each adjustment is 18fps based on the total adjustment amount of 90fps, the adjustment duration of 30 seconds and the initial value of the first parameter of 10fps. If the initial value of the first parameter is 10fps, the value of the first parameter adjusted in the sixth second is 28fps, the value of the first parameter adjusted in the twelfth second is 46fps, and so on, the value of the first parameter adjusted each time can be determined.

[0202] In one possible implementation, the second parameter configuration list 802 may include a combination of an adjustment frequency configuration item 802H, an initial value configuration item 802E of the first parameter, and a final value configuration item 802F of the first parameter, that is, the value of the first parameter can be adjusted according to the adjustment frequency, the initial value of the first parameter, and the final value of the first parameter.

[0203] For example, taking the first parameter as the shooting frame rate, the user can operate the adjustment frequency configuration item 802H and input the adjustment frequency as once every five seconds, the user can operate the initial value configuration item 802E of the first parameter and input the initial value of the first parameter as 10fps, and the user can operate the final value configuration item 802F of the first parameter and input the final value of the first parameter as 90fps. The electronic device adjusts 10fps each time by default. Based on the initial value of the first parameter of 10fps, adjustment every 5 seconds, and the final value of the first parameter of 90fps, the electronic device can determine that the value of the first parameter at the fifth second is 20fps, the value of the first parameter at the tenth second is 30fps, and so on, until the value of the first parameter is 90fps.

[0204] In the embodiment of the present application, the parameter configuration item includes parameter configuration item 705F, that is, the parameter configuration item includes a first parameter configuration item list 801 and a second parameter configuration list 802. Further, the parameter configuration item may include a focal length configuration option 801A, an aperture configuration option 801B, and a frame rate configuration option 801C. The parameter configuration item may also include a time interval configuration item 802A between two adjacent adjustments, an adjustment amount configuration item 802B between two adjacent adjustments, an adjustment duration configuration item 802C, an adjustment number configuration item 802D, an initial value configuration item 802E of the first parameter, a final value configuration item 802F of the first parameter, a total adjustment amount configuration item 802G, and an adjustment frequency configuration item 802H. The first operation acting on the parameter configuration item on the shooting interface 70 includes the operation on the parameter configuration item 705F, that is, the first operation includes the operation on the first parameter configuration item list 801 and the second parameter configuration list 802, such as the operation of clicking on any one or more configuration options of the focal length configuration option 801A, the aperture configuration option 801B and the frame rate configuration option 801C. Or it may include the input or click operation of any one or more of the time interval configuration item 802A between two adjacent adjustments, the adjustment amount configuration item 802B between two adjacent adjustments, the adjustment duration configuration item 802C, the adjustment number configuration item 802D, the initial value configuration item 802E of the first parameter, the final value configuration item 802F of the first parameter, the total adjustment amount configuration item 802G and the adjustment frequency configuration item 802H. The first parameter and the second parameter obtained include the parameter information corresponding to the configuration option obtained according to the operation on each of the above configuration options (such as the focal length configuration option 801A or the adjustment frequency configuration item 802H, etc.).

[0205] In one possible implementation, when the preset time includes multiple times, the values ​​of the first parameter corresponding to each preset time are different. For example, if three times are included, the value of the first parameter corresponding to the first time is 60fps, the value of the first parameter corresponding to the second time is 80fps, and the value of the first parameter corresponding to the third time is 100fps.

[0206] In one possible implementation, when the preset time includes multiple times, the values ​​of the first parameter corresponding to each preset time are the same. For example, if three times are included, the value of the first parameter corresponding to the first time is 60fps, the value of the first parameter corresponding to the second time is 60fps, and the value of the first parameter corresponding to the third time is 60fps.

[0207] In one possible implementation, when the preset time includes multiple times, the values ​​of the first parameter corresponding to some of the preset times are the same, and the values ​​of the first parameter corresponding to the remaining preset times are different. For example, if three times are included, the value of the first parameter corresponding to the first time is 60fps, the value of the first parameter corresponding to the second time is 60fps, and the value of the first parameter corresponding to the third time is 100fps.

[0208] In an embodiment of the present application, when the preset time includes multiple time periods, the duration of each time period is different, or, when the preset time includes multiple time periods, the duration of each time period is the same.

[0209] Step S305: In response to the second operation, shooting a video at the preset time with the value of the first parameter corresponding to the preset time.

[0210] In the embodiment of the present application, after the user sets the second parameter, the electronic device can determine the value of the first parameter according to the set second parameter, and the electronic device can obtain the value of the first parameter corresponding to the preset time. The second operation can be a video shooting operation. For example, after the user sets the second parameter, the user clicks Figure 7 The electronic device detects a second operation of the user clicking the control 702, and in response to the second operation for instructing to shoot a video, the electronic device shoots according to the value of the first parameter corresponding to the determined preset time.

[0211] In one possible implementation, Figure 7 As shown, after entering the shooting interface 70, the electronic device collects each frame of image and presents the collected image in the shooting interface 70. After the user sets the second parameter, the user can select the object presented in the shooting interface 70 as the target object, and the electronic device detects the second operation of the user selecting the target object. In response to the second operation, the electronic device shoots according to the value of the first parameter corresponding to the preset time. In one possible implementation, the electronic device can shoot with the target object as the center. For example, according to the set first parameter and second parameter, the target object can be automatically zoomed, and the video can be shot with the target object as the center.

[0212] In one possible implementation, step S304 and step S305 may be combined as follows: in response to the second operation, determine the value of the first parameter corresponding to the preset time according to the second parameter, and shoot the video at the preset time with the value of the first parameter corresponding to the preset time. That is, after the first parameter and the second parameter are set in step S303, in response to the second operation, shoot the video according to the set first parameter and second parameter.

[0213] In one possible implementation, step S304 may be: detecting a second operation, and determining the value of the first parameter corresponding to the preset time according to the second parameter. That is, after detecting the second operation of the user clicking to shoot a video, determining the value of the first parameter corresponding to the preset time according to the second parameter, and then executing step S305, in response to the second operation, shooting a video at the preset time with the value of the first parameter corresponding to the preset time.

[0214] In the embodiment of the present application, after determining the value of the first parameter corresponding to the preset time, a video is shot at the preset time with the value of the first parameter corresponding to the preset time, such as the value of the first parameter at the first second is 1 times the focal length, the value of the first parameter at the second second is 1.5 times the focal length, and the value of the first parameter at the third second is 3 times the focal length. When the electronic device shoots a video, it uses 1 times the focal length for shooting at the first second, 1.5 times the focal length for shooting at the second second, and 3 times the focal length for shooting at the third second.

[0215] In one possible implementation, when the values ​​of the first parameter corresponding to two adjacent preset times are different, and the two adjacent preset times include an earlier preset time and a later preset time, then in response to the second operation, shooting a video at the preset time with the value of the first parameter corresponding to the preset time includes: obtaining the value of the first parameter corresponding to the earlier preset time to obtain a first value; obtaining the value of the first parameter corresponding to the later preset time to obtain a second value; within the time period of two adjacent preset times, gradually adjusting the first value to the second value according to a preset transition rule, and using the value of the first parameter after each adjustment to shoot the video, to ensure the smoothness of the adjustment of the first parameter, so that the shot video is smoother.

[0216] In an embodiment of the present application, the preset transition rule may be to interpolate between the first value and the second value through interpolation, that is, to shoot a video with the intermediate value in the time period of the two adjacent preset times. The value of the intermediate value is within the numerical range of the first parameter corresponding to the two adjacent preset times, that is, between the first value and the second value. The numerical value of the first parameter corresponding to the first preset time is 0.5X, and the numerical value of the first parameter corresponding to the later preset time is 1.0X. The intermediate value is between 0.5X and 1.0X, excluding 0.5X and 1.0X. For example, intermediate values ​​0.6X, 0.7X, 0.8X, etc. may be inserted. Multiple values ​​may be inserted, and the inserted intermediate values ​​may change linearly. If 4 intermediate values ​​are inserted, namely 0.6X, 0.7X, 0.8X, and 0.9X, the inserted intermediate values ​​will change linearly. When adjusting the value of the first parameter from 0.5X to the value of the first parameter from 1.0X, first adjust the value of the first parameter from 0.5X to 0.6X, use 0.6X focal length to shoot the video, then adjust the value of the first parameter from 0.6X to 0.7X, use 0.7X focal length to shoot the video, then adjust the value of the first parameter from 0.7X to 0.8X, use 0.8X focal length to shoot the video, then adjust the value of the first parameter from 0.8X to 0.9, use 0.9X focal length to shoot the video, then adjust the value of the first parameter from 0.9X to 1.0X, use 1.0X focal length to shoot the video. The inserted value can also be a nonlinear change, such as inserting 4 intermediate values, namely 0.6X, 0.65X, 0.85X, and 0.95X, then the inserted intermediate values ​​show nonlinear changes. When adjusting the value of the first parameter from 0.5X to the value of the first parameter from 1.0X, first adjust the value of the first parameter from 0.5X to 0.6X, use a 0.6X focal length to shoot the video, then adjust the value of the first parameter from 0.6X to 0.65X, use a 0.65X focal length to shoot the video, then adjust the value of the first parameter from 0.65X to 0.85X, use a 0.85X focal length to shoot the video, then adjust the value of the first parameter from 0.85X to 0.95, use a 0.95X focal length to shoot the video, then adjust the value of the first parameter from 0.95X to 1.0X, use a 1.0X focal length to shoot the video.

[0217] In an embodiment of the present application, the preset transition rule can determine the change rate according to the first value, the second value and the time period of the two adjacent preset times, and then determine the intermediate value according to the change rate. For example, if the value of the first parameter corresponding to the first second of the prior preset time is 0.5X, and the value of the first parameter corresponding to the sixth second of the subsequent preset time is 1.0X, and the time period of the two adjacent preset times is 5 seconds, then the change rate can be determined to be 0.1X / s, then the value of the first parameter corresponding to the second second can be determined to be 0.6X, the value of the first parameter corresponding to the third second is 0.7X, the value of the first parameter corresponding to the fourth second is 0.8X, and the value of the first parameter corresponding to the fifth second is 0.9X. When adjusting the value of the first parameter corresponding to the first second (0.5X) to the value of the first parameter corresponding to the sixth second (1.0X), the value of the first parameter is adjusted to 0.6X at the second second, to 0.7X at the third second, to 0.8X at the fourth second, to 0.9X at the fifth second, and finally to 1.0X at the sixth second. Then, a video is shot using a 0.5X focal length at the 1st second, a 0.6X focal length at the 2nd second, a 0.7X focal length at the 3rd second, a 0.8X focal length at the 4th second, a 0.9X focal length at the 5th second, and a 1.0X focal length at the 6th second.

[0218] For example, please refer to Figure 8a , the user clicks on the focal length configuration option 801A, selects the parameter for shooting video as focal length, and configures the time interval between two consecutive adjustments to be 5 seconds, and the adjustment amount between two consecutive adjustments to be 0.2X, and the initial value of the first parameter to be 0.8X, then the value of the first parameter at the 5th second is 1.0X, the value of the first parameter at the 10th second is 1.0X, and the value of the first parameter at the 15th second is 1.2X. At the 5th second, a video is shot using a 1.0X focal length, such as Figure 9a As shown, the focal length 1.0X currently used for shooting the video is presented on the shooting interface 70. At the 10th second, the video is shot using the 1.2X focal length, as shown in FIG. Figure 9b As shown, the focal length 1.2X currently used for shooting the video is presented on the shooting interface 70. At the 15th second, the video is shot using the 1.4X focal length, as shown in FIG. Fig.9c As shown, the focal length 1.4X currently used for shooting the video is presented on the shooting interface 70. Further, between the 0th second and the 5th second, the video can be shot with a 0.8X focal length, or the 0.8X focal length can be gradually adjusted to a 1.0X focal length according to a preset transition rule, such as shooting a video with a 0.85X focal length between the 0th second and the 3rd second, and shooting a video with a 0.95X focal length between the 3rd second and the 5th second. When choosing to shoot with the set focal length, the video can be shot with one-key zoom.

[0219] For example, please refer to Figure 8b , the user clicks on the shooting frame rate configuration option 801C, selects the shooting frame rate as the parameter for shooting the video, and the user configures the initial value of the shooting frame rate to be 120 frames / second, sets the first adjustment time length to be from the 5th second to the 10th second, and the total adjustment amount corresponding to the first adjustment time length is 120 frames, and sets the second adjustment time length to be from the 11th second to the 20th second, and the total adjustment amount corresponding to the second adjustment time length is 720 frames. The video is shot at a shooting frame rate of 120 frames / second from the 1st second to the 4th second, such as Fig.10a As shown, the shooting frame rate of 120 frames / second used for the current video shooting is presented on the shooting interface 70. The video is shot at a shooting frame rate of 240 frames / second from the 1st second to the 10th second. Fig.10b As shown, the shooting frame rate of 240 frames / second used for the current video shooting is presented on the shooting interface 70. The video is shot at a shooting frame rate of 960 frames / second from the 11th second to the 20th second. Fig.10c As shown, the shooting frame rate 960 frames / second used for the current video shooting is presented on the shooting interface 70. Further, between the 4th second and the 5th second, the video can be shot using a shooting frame rate between 120 frames / second and 240 frames / second (such as 180 frames / second). When the set shooting frame rate is selected for shooting, the video can be shot in slow motion or fast motion with one click.

[0220] For example, please refer to Figure 8a , the user clicks on the aperture configuration option 801B, and selects the aperture as the parameter for shooting video. The user configures the initial value of the aperture to be F2.4, the time interval between the first two consecutive adjustments to be 5 seconds, and the corresponding final value of the aperture to be F4. The time interval between the second two consecutive adjustments to be 10 seconds, and the corresponding final value of the aperture to be F7.1. Then, the aperture value at the first second is F2.4, the aperture value at the sixth second is F4, and the aperture value at the sixteenth second is F7.1. At the first second, the video is shot with the aperture value of F2.4, such as Fig.11a As shown, the aperture value F2.4 currently used for shooting the video is presented on the shooting interface 70. At the 6th second, the video is shot using the aperture value F4, as shown in FIG. Fig.11b As shown, the aperture value F4 currently used for shooting the video is presented on the shooting interface 70. At the 16th second, the video is shot using the aperture value F7.1, as shown in FIG. Fig.11c As shown, the aperture value F7.1 currently used for shooting the video is presented on the shooting interface 70. Furthermore, between the 1st second and the 6th second, the aperture value F2.4 can be gradually adjusted to the aperture value F4 according to the preset transition rule, and the video person can be shot with the adjusted aperture value. For example, if the aperture value is F3 at the 2nd second, the video can be shot with the aperture value F3 at the 3rd second. When the set aperture is selected for shooting, the starburst in the shot video can change from none to a starburst, presenting a cool effect.

[0221] Step S306: In response to the end instruction, stop shooting and save the video.

[0222] In the embodiment of the present application, during the shooting process, the user clicks the shooting interface 70, and the shooting will present corresponding controls, such as Figure 9d , Fig.10d or Fig.11d As shown, controls 901, 902 and 704 are presented on the shooting interface 70, wherein control 901 is used to monitor the user operation that triggers the stop shooting, and control 902 is used to monitor the user operation that triggers the pause shooting.

[0223] In the embodiment of the present application, the electronic device may receive the end instruction in the following situations:

[0224] The first scenario: The user triggers the capture end control (such as Figure 9d , Fig.10d or Fig.11d ), the electronic device 100 can detect a user operation acting on the control 901 (such as a click operation on the control 901), and in response to the operation, stop shooting and save the video.

[0225] In the second case, the electronic device detects that the first and second parameters set by the user have been executed, stops shooting, and saves the video. For example, if the user sets the adjustment time to 30 seconds and detects that the video is shot for 30 seconds, then stop shooting and save the video. Or if the user sets the final value of the first parameter to 120fps and detects that the value of the first parameter reaches 120fps / s, then stop shooting and save the video.

[0226] It can be seen that during the video shooting process, after the user sets the first parameter and the second parameter, the electronic device automatically shoots according to the set first parameter and the second parameter. This avoids the user having to perform manual operations during the shooting process, and a cool video can be shot with one click.

[0227] The embodiment of the present application discloses an electronic device, including a processor, a memory connected to the processor, an input device, and an output device. The input device and the output device can be integrated into one device, for example, a touch sensor can be used as an input device, a display screen can be used as an output device, and the touch sensor and the display screen can be integrated into a touch screen.

[0228] At this time, if Fig.12As shown, the electronic device may include: a touch screen 1201, the touch screen 1201 including a touch sensor 1206 and a display screen 1207; one or more processors 1202; one or more cameras 1208; a memory 1203; one or more applications (not shown); and one or more computer programs 1204, and the above-mentioned devices may be connected via one or more communication buses 1205. The one or more computer programs 1204 are stored in the above-mentioned memory 1203 and are configured to be executed by the one or more processors 1202, and the one or more computer programs 1204 include instructions, which can be used to execute the various steps in the above-mentioned embodiments. Among them, all relevant contents of the various steps involved in the above-mentioned method embodiments can be referred to the functional description of the corresponding physical device, and will not be repeated here.

[0229] For example, the processor 1202 may be Figure 1 The processor 110 shown in FIG. 1 , the memory 1703 may specifically be Figure 1 The internal memory 121 shown, the camera 1208 can be specifically Figure 1 The camera 193 shown, the display screen 1207 can be specifically Figure 1 The display screen 194 shown, the touch sensor 1206 can be specifically Figure 1 The touch sensor in the sensor module 180 shown is not limited in any way in the embodiment of the present application.

[0230] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0231] Each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units.

[0232] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as flash memory, mobile hard disk, read-only memory, random access memory, disk or optical disk.

[0233] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the present application should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.

Claims

1. A video shooting method, characterized in that: Applied to an electronic device with a photographing function, the method comprises: After entering the shooting interface, in response to a first operation on a parameter configuration item on the shooting interface, obtaining a first parameter and a second parameter input by a user, wherein the first parameter is a parameter used by the electronic device when shooting, and the second parameter is used to indicate an adjustment amount of two adjacent adjustments of the value of the first parameter, so as to set the value of the first parameter; Determine a preset time and a value of the first parameter corresponding to the preset time according to the second parameter, wherein the preset time includes one or more times; In response to the second operation, a video is captured at the preset time with a value of the first parameter corresponding to the preset time.

2. The method according to claim 1, characterized in that The method comprises: When the preset time includes multiple times, the values ​​of the first parameter corresponding to the respective preset times are different.

3. The method according to claim 1 or 2, characterized in that The method comprises: When the preset time includes multiple time periods, the duration of each time period is different; or, When the preset time includes multiple time periods, the duration of each time period is the same.

4. The method according to claim 1 or 2, characterized in that: The step of determining the value of the first parameter corresponding to the preset time according to the second parameter includes: linearly adjusting the value of the first parameter according to the second parameter to determine the value of the first parameter corresponding to the preset time; or, The value of the first parameter is nonlinearly adjusted according to the second parameter to determine the value of the first parameter corresponding to the preset time.

5. The method according to claim 1 or 2, characterized in that: When the values ​​of the first parameter corresponding to two adjacent preset times are different, and the two adjacent preset times include an earlier preset time and a later preset time, then in response to the second operation, shooting a video at the preset time with the value of the first parameter corresponding to the preset time includes: Obtaining a value of the first parameter corresponding to the previously preset time to obtain a first value; Obtaining a value of the first parameter corresponding to the subsequent preset time to obtain a second value; In a time period between two adjacent preset time periods, the first value is gradually adjusted to the second value according to a preset transition rule, and a video is captured using the value of the first parameter after each adjustment.

6. The method according to claim 1 or 2, characterized in that: The first parameter includes one or more of focal length, aperture, and shooting frame rate.

7. The method according to claim 1 or 2, characterized in that: The second parameter includes the time interval between two adjacent adjustments and the adjustment amount between two adjacent adjustments; or, The second parameter includes adjustment duration, a time interval between two adjacent adjustments, and an adjustment amount between two adjacent adjustments; or, The second parameter includes the number of adjustments, the time interval between two adjacent adjustments, and the adjustment amount between two adjacent adjustments; or, The second parameter includes the time interval between two adjacent adjustments, the adjustment amount between two adjacent adjustments and the final value of the first parameter; or, The second parameter includes the initial value of the first parameter, the adjustment duration, the time interval between two adjacent adjustments, and the adjustment amount between two adjacent adjustments; or, The second parameter includes the initial value of the first parameter, the number of adjustments, the time interval between two adjacent adjustments, and the adjustment amount between two adjacent adjustments; or, The second parameter includes an initial value of the first parameter, a time interval between two adjacent adjustments, an adjustment amount between two adjacent adjustments, and a final value of the first parameter.

8. The method according to claim 1 or 2, characterized in that: The second parameter includes a total adjustment amount and an adjustment frequency; or, The second parameter includes adjustment duration, total adjustment amount and adjustment frequency; or, The second parameter includes the initial value, adjustment duration, total adjustment amount and adjustment frequency of the first parameter; or, The second parameter includes an initial value of the first parameter, a final value of the first parameter, and an adjustment frequency.

9. The method according to claim 1 or 2, characterized in that: The method further comprises: Identify the target audience; The target object is taken as the center of the video image for shooting.

10. A video shooting device, characterized in that: Applicable to an electronic device with a photographing function, the device comprises: The acquisition module is used to, after entering the shooting interface, respond to the first operation acting on the parameter configuration item on the shooting interface. The method further comprises: obtaining a first parameter and a second parameter input by a user, wherein the first parameter is a parameter used by the electronic device when shooting, and the second parameter indicates an adjustment amount of two consecutive adjustments of the value of the first parameter, so as to be used for setting the value of the first parameter; a determination module, configured to determine a preset time and a value of the first parameter corresponding to the preset time according to the second parameter, wherein the preset time includes one or more times; The shooting module is configured to respond to a second operation and to capture the first parameter corresponding to the preset time at the preset time. The numerical value of the video is shot.

11. An electronic device, characterized in that: The electronic device comprises: A touch screen, comprising a display screen and a touch sensor; One or more cameras; one or more processors; Memory; Wherein, one or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instructions are executed by the electronic device, the electronic device executes the video shooting method as described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 9.

13. A computer program product, characterized in that The computer program product comprises computer program codes, and when the computer program codes are executed by a computer, the computer program codes can enable the computer to execute the video shooting method according to any one of claims 1 to 9.