Dynamic picture processing method, electronic equipment and computer readable storage medium

By providing multiple interfaces and quick editing portals on electronic devices, editing video materials of dynamic pictures, the problem of simple dynamic picture editing function in the existing technology is solved, and user experience and intelligent processing capabilities are improved.

CN118963624APending Publication Date: 2024-11-15HONOR DEVICE CO LTD
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202310545147.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-15
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The editing function of existing electronic devices for dynamic pictures is relatively simple and cannot be processed intelligently, resulting in poor user experience.

Method used

Provides a dynamic picture processing method, which allows users to edit the video material of the dynamic picture by displaying multiple interfaces on an electronic device, including generating films, adding video effects, selecting shapes and performing puzzle processing, and providing multiple quick edits Entrance to improve user experience.

Benefits of technology

By editing and processing the video materials of dynamic pictures, the filming effect of dynamic pictures is improved, the user experience is improved, flexible editing methods and multiple editing portals are provided, user operations are simplified, and the intelligent processing of dynamic pictures is enhanced. ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963624A_ABST
    Figure CN118963624A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of terminals, and provides a dynamic picture processing method, electronic equipment and a computer readable storage medium, the method is applied to the electronic equipment, the method comprises the steps that the electronic equipment displays a first interface, and the first interface comprises a first control; the electronic equipment displays a second interface in response to the operation of the user on the first control, the second interface comprises a second control and a third control of a first option, the first option displays a cover picture of a first picture, the first picture is a dynamic picture, and the second control is in a non-editable state; the electronic equipment responds to the operation of the user on the third control of the first option, and the state of the second control is switched into an editable state; and the electronic equipment responds to the operation of the user on the second control, and generates a first picture according to the video of the first picture. Through the method, the video material of the dynamic picture can be fully displayed, the picture forming effect of the dynamic picture is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a dynamic image processing method, an electronic device, and a computer-readable storage medium. Background Art

[0002] At present, many electronic devices equipped with cameras provide a camera function. In order to meet the diverse needs of users, the camera function of the electronic device can provide a variety of camera modes, such as taking photos, recording videos, and taking dynamic pictures. Among them, the dynamic picture includes a cover picture and a short video containing the cover picture.

[0003] Electronic devices can provide editing functions for pictures and videos in electronic devices. Taking mobile phones as an example, mobile phones provide a gallery application, which can be used to process pictures and videos in the mobile phone. For example, filters and soundtracks can be added to videos, and stickers and text can be added to pictures. However, the editing functions of electronic devices for pictures and videos are relatively simple, and dynamic pictures cannot be intelligently processed, resulting in a poor user experience. Summary of the invention

[0004] The present application provides a dynamic image processing method, an electronic device and a computer-readable storage medium, which solve the problem of low intelligence level of dynamic image processing by electronic devices in the prior art.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, a dynamic picture processing method is provided, which is applied to an electronic device, comprising:

[0007] The electronic device displays a first interface, the first interface includes a first control, and the first interface is an application interface of a gallery application in the electronic device;

[0008] The electronic device displays a second interface in response to the user's operation on the first control, wherein the second interface includes a second control and a third control of the first option, wherein the first option displays a cover image of a first image, wherein the first image is a dynamic image, wherein the dynamic image includes a cover image and a video, wherein the cover image is any image frame in the video of the dynamic image, and the second control is in a non-editable state;

[0009] The electronic device switches the state of the second control to an editable state in response to a user's operation on the third control of the first option;

[0010] The electronic device generates a first film in response to the user's operation on the second control, where the first film is a video obtained by the electronic device through processing based on the video of the first picture.

[0011] In the embodiment of the present application, in the process of editing the dynamic picture, the short video of the dynamic picture is processed, rather than just the cover picture of the dynamic picture. This processing method can fully display the video material of the dynamic picture, improve the film effect of the dynamic picture, and improve the user experience.

[0012] In an implementation of the first aspect, the second interface includes a fourth control; and the method further includes:

[0013] The electronic device displays a third interface in response to the user's operation on the fourth control, where the third interface is a preview interface of the first image.

[0014] In an implementation manner of the first aspect, the third interface includes a first identifier; and the method further includes:

[0015] The electronic device plays the video of the first picture in the third interface in response to the user's operation on the first identifier.

[0016] In the embodiment of the present application, since the thumbnail cannot fully display the dynamic image, the above-mentioned preview method can enable the user to view the complete dynamic image, which is convenient for the user to select the material, thereby improving the user experience.

[0017] In an implementation of the first aspect, the electronic device generates a first slice in response to a user's operation on a second control of the first option, including:

[0018] In response to the user's operation on the second control, the electronic device adds a first video effect to the video of the first image to obtain the first film.

[0019] In the embodiment of the present application, the user can realize quick editing of the dynamic picture by operating the second control, which is equivalent to providing a quick entry for the user during the processing of the dynamic picture, which is conducive to improving the user experience.

[0020] In an implementation of the first aspect, the method further includes:

[0021] The electronic device displays a fourth interface, the fourth interface includes a first button, and the first button corresponds to a second video effect;

[0022] In response to a user clicking operation on the first button, the electronic device switches the video effect of the first piece from the first video effect to the second video effect.

[0023] In the embodiment of the present application, a variety of video effects are provided to the user, and the user can switch the first video effect as needed. In addition, the method is simple to operate, and the user only needs to click the first button corresponding to the desired video effect to quickly switch the first video effect, which is conducive to improving the user experience.

[0024] In an implementation of the first aspect, the second interface further includes a second identifier of the first option; and the method further includes:

[0025] The electronic device displays the second identifier in the first form in response to the user's operation on the second identifier;

[0026] When the state of the second control is editable, the electronic device generates a second film in response to a third operation of the user on the second control, and the second film is a video obtained by the electronic device processing the first picture according to the form of the first picture represented by the first form.

[0027] In the embodiment of the present application, the user can freely select the form of the dynamic picture, and in response to the user's selection operation, the mobile phone can edit the dynamic picture according to the form selected by the user. This method is highly flexible and can improve the user experience.

[0028] In an implementation of the first aspect, after the electronic device displays the second identifier in the first form in response to a user operation on the second identifier, the method further includes:

[0029] The electronic device switches the form of the second identifier from the first form to the second form in response to the user's operation on the second identifier;

[0030] When the state of the second control is editable, the electronic device generates a third film in response to a third operation of the user on the second control, and the third film is a video obtained by the electronic device processing the first picture according to the form of the first picture represented by the second form.

[0031] In the embodiment of the present application, the user can freely select the form of the dynamic picture, and in response to the user's selection operation, the mobile phone can edit the dynamic picture according to the form selected by the user. This method is highly flexible and can improve the user experience.

[0032] In an implementation manner of the first aspect, the first form indicates that the first picture is in a picture form, and the second form indicates that the first picture is in a video form;

[0033] Alternatively, the first form indicates that the first image is in video form, and the second form indicates that the first image is in picture form.

[0034] In an implementation of the first aspect, the first interface includes a fifth control; and the method further includes:

[0035] The electronic device displays a fifth interface in response to the user's operation on the fifth control, wherein the fifth interface includes a sixth control and a seventh control of a second option, wherein the second option displays a cover image of a second image, the second image is a dynamic image, and the sixth control is in a non-editable state;

[0036] The electronic device switches the state of the sixth control to an editable state in response to the user's operation on the seventh control of the second option;

[0037] The electronic device generates a first puzzle in response to the user's operation on the sixth control, where the first puzzle is a spliced ​​picture obtained by the electronic device through puzzle processing based on the cover picture of the second picture.

[0038] In an embodiment of the present application, when a user performs puzzle processing on a dynamic image, the cover image of the dynamic image is automatically selected for processing, and the user no longer needs to select the form of the dynamic image. This approach not only meets the user's expectations for dynamic image processing, but also reduces user operations, thereby helping to improve user experience.

[0039] In an implementation of the first aspect, the electronic device generates a first puzzle in response to a user's operation on the sixth control, including:

[0040] In response to the user's operation on the sixth control, the electronic device performs puzzle processing on the cover image of the first image according to a first puzzle effect to obtain the first puzzle.

[0041] In the embodiment of the present application, the user can realize quick editing of the dynamic picture by operating the sixth control, which is equivalent to providing a quick entry for the user during the processing of the dynamic picture, which is conducive to improving the user experience.

[0042] In an implementation of the first aspect, the method further includes:

[0043] The electronic device displays a sixth interface, the sixth interface includes a second button, the second button corresponds to a second puzzle effect, and the sixth interface is an editing interface of the first puzzle;

[0044] In response to a user clicking operation on the second button, the electronic device switches the puzzle effect of the first puzzle piece from the first puzzle effect to the second puzzle effect.

[0045] In the embodiment of the present application, a variety of puzzle effects are provided to the user, and the user can switch the puzzle effect of the first puzzle as needed. Moreover, the operation of this method is simple, and the user only needs to click the second button corresponding to the desired puzzle effect to quickly switch the puzzle effect of the first puzzle, which is conducive to improving the user experience.

[0046] In an implementation of the first aspect, the method further includes:

[0047] The electronic device displays a seventh interface, the seventh interface includes a third button, the seventh interface is a preview interface of a third picture, and the third picture is a dynamic picture;

[0048] The electronic device displays an eighth interface in response to a user clicking operation on the third button, wherein the eighth interface includes an eighth control and is an editing interface of the third picture;

[0049] The electronic device generates a fourth film in response to a user's click operation on the eighth control, where the fourth film is a video obtained by the electronic device by processing the video of the third picture.

[0050] In the embodiment of the present application, a quick editing entrance is provided on the preview interface of the dynamic image, and the user can use the entrance to quickly edit the dynamic image, thereby improving the user experience.

[0051] In an implementation of the first aspect, the seventh interface includes a fourth button; and the method further includes:

[0052] In response to the user clicking the fourth button, the electronic device displays a first menu in the seventh interface, wherein the first menu includes the eighth control;

[0053] The electronic device generates the fourth slice in response to a click operation of the user on the eighth control.

[0054] In an embodiment of the present application, a quick editing entrance is provided on the preview interface of the dynamic image, and the user can use the entrance to quickly edit the dynamic image, thereby improving the user experience.

[0055] In addition, in an embodiment of the present application, multiple quick editing entrances are provided on the preview interface of the dynamic image, and the user can quickly edit the dynamic image through any entrance, which reduces user operations, improves the user's convenience in editing the dynamic image, and improves the user experience.

[0056] In an implementation of the first aspect, the method further includes:

[0057] The electronic device displays a ninth interface, the ninth interface includes a third option, the third option displays a cover image of a fourth image, and the fourth image is a dynamic image;

[0058] The electronic device displays the seventh interface in response to the user clicking the third option.

[0059] In an implementation manner of the first aspect, the ninth interface is an interface in a camera application of the electronic device before recording a video or taking a photo, or the ninth interface is an application interface of a gallery application in the electronic device.

[0060] In the embodiment of the present application, the electronic device provides multiple editing entrances for dynamic pictures. After shooting, the user can jump to the editing entrance of the dynamic picture through the camera application, without returning to the mobile phone desktop and entering the editing interface of the dynamic picture through the gallery application; after continuing to shoot other materials, the user can also jump to the editing entrance of the dynamic picture through the gallery application. The above-mentioned multiple editing entrances of dynamic pictures reduce user operations and help improve user experience.

[0061] In an implementation of the first aspect, the method further includes:

[0062] The electronic device displays a tenth interface, the tenth interface includes a fifth button and a sixth button, the fifth button corresponds to the first size, the sixth button corresponds to the second size, and the tenth interface is an editing interface of the fourth sheet;

[0063] In response to a user clicking operation on the fifth button, the electronic device crops the fourth slice according to the first size to obtain a first cropped image;

[0064] In response to a click operation of the user on the sixth button, the electronic device crops the first cropped image according to the second size to obtain a second cropped image.

[0065] In the embodiment of the present application, the electronic device provides a cropping process for dynamic pictures. During the cropping process, if multiple cropping is required, each cropping is further cropped on the result of the previous cropping. In this way, each cropping operation of the user can be saved, which is convenient for the user to edit.

[0066] In an implementation of the first aspect, the tenth interface includes a seventh button; and the method further includes:

[0067] After obtaining the first cropping image, the method further includes:

[0068] In response to a click operation of the user on the seventh button, the electronic device restores the first cropped image to the fourth piece.

[0069] In the embodiment of the present application, during the process of cropping a dynamic image, the electronic device provides a "reset" function, and by clicking the seventh button, the currently cropped image can be quickly restored to the image before the cropping process. In this way, the user does not need to perform the "return" operation step by step, which reduces the user's operation steps and improves the user experience.

[0070] In a second aspect, an electronic device is provided, comprising a memory and one or more processors, wherein the memory is used to store a computer program, and the processor is used to execute the computer program in the memory so that the electronic device implements a method as described in any one of the first aspects.

[0071] According to a third aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the method according to any one of the first aspects is implemented.

[0072] In a fourth aspect, a chip system is provided, which is applied to an electronic device including a display screen and a storage medium; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a line; the interface circuit is used to receive a signal from the memory of the electronic device and send the signal to the processor, the signal including a computer program stored in the memory; when the processor executes the computer program, the method described in any one of the first aspects is implemented.

[0073] According to a fifth aspect, a computer program product is provided. When the computer program product is run on a computer, the computer is enabled to execute the method as described in any one of the first aspects.

[0074] It can be understood that the beneficial effects that can be achieved by the electronic device described in the second aspect, the computer-readable storage medium described in the third aspect, the chip system described in the fourth aspect, and the computer program product described in the fifth aspect provided above can refer to the beneficial effects in the first aspect and any possible design method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0076] Figure 2 A schematic diagram of the interface of a camera application provided in an embodiment of the present application;

[0077] Figure 3 A schematic diagram of an interface of a camera application provided by another embodiment of the present application;

[0078] Figure 4 A schematic diagram of the application interface of a mobile phone gallery application provided in an embodiment of the present application;

[0079] Figure 5 A schematic diagram of an application interface of another mobile phone gallery application provided in an embodiment of the present application;

[0080] Figure 6 A schematic diagram of the "one-click blockbuster" editing interface provided in an embodiment of the present application;

[0081] Figure 7 A schematic diagram of a "one-click blockbuster" editing interface provided by another embodiment of the present application;

[0082] Figure 8 A schematic diagram of the editing interface of the "puzzle" provided in the embodiment of the present application;

[0083] Fig. 9 A schematic diagram of the editing interface of a dynamic picture provided in an embodiment of the present application;

[0084] Fig.10 A schematic diagram of a capture interface for a dynamic image provided in an embodiment of the present application;

[0085] Fig.11 A schematic diagram of a dynamic picture cropping interface provided in an embodiment of the present application;

[0086] Fig.12 A schematic diagram of a dynamic picture cropping interface provided by another embodiment of the present application;

[0087] Fig.13 A schematic diagram of an interface for adding text to a dynamic image provided in an embodiment of the present application;

[0088] Fig.14 A schematic diagram of the sticker adding interface for a dynamic picture provided in an embodiment of the present application;

[0089] Fig.15 A schematic diagram of a dynamic picture saving interface provided in an embodiment of the present application;

[0090] Fig.16 A schematic diagram of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0091] In the following description, specific details such as specific system structures and technologies are provided for illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details.

[0092] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0093] It should also be understood that in the embodiments of the present application, "one or more" refers to one, two or more than two; "and / or" describes the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B may be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0094] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", "fourth", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0095] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0096] At present, many electronic devices equipped with cameras provide a camera function. In order to meet the diverse needs of users, the camera function of the electronic device can provide a variety of camera modes, such as taking photos, recording videos, and taking dynamic pictures. Among them, the dynamic picture includes a cover picture and a short video containing the cover picture.

[0097] Electronic devices can provide editing functions for pictures and videos in electronic devices. Taking mobile phones as an example, mobile phones provide a gallery application, which can be used to process pictures and videos in the mobile phone. For example, filters and soundtracks can be added to videos, and stickers and text can be added to pictures. However, the editing functions of electronic devices for pictures and videos are relatively simple, and dynamic pictures cannot be intelligently processed, resulting in a poor user experience.

[0098] Based on this, the embodiment of the present application provides a method for processing dynamic images. By using the method of the embodiment of the present application, the electronic device can edit the video material of the dynamic image during the process of processing the dynamic image, thereby improving the intelligent level of dynamic image processing and thus improving the user experience.

[0099] The method of the embodiment of the present application can be applied to an electronic device with a screen and a shooting function. For example, the electronic device in the embodiment of the present application can be a mobile phone, a tablet computer, a desktop computer, a handheld computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) or a virtual reality (VR) device, etc., which supports video processing. The embodiment of the present application does not impose any special restrictions on the specific form of the electronic device.

[0100] See also Figure 1 , is a structural diagram of an electronic device provided in an embodiment of the present application. 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, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a touch sensor 180K, an ambient light sensor 180L, and the like.

[0101] 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.

[0102] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural network processor (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. For example, the processor 110 is used to execute the dynamic picture processing method in the embodiment of the present application.

[0103] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0104] 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.

[0105] The external memory 120 generally refers to an external memory. In the embodiment of the present application, the external memory refers to a memory other than the memory of the electronic device and the cache of the processor, and the memory is generally a non-volatile memory.

[0106] The internal memory 121, which may also be referred to as "memory", may be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.

[0107] 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. In some embodiments, the electronic device 100 displays a user interface through the display screen 194. In some embodiments, the user interacts with the electronic device 100 through the display screen 194.

[0108] 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.

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

[0110] 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. Exemplarily, the camera 193 is used to capture dynamic pictures.

[0111] The electronic device 100 also includes various sensors that can convert various physical signals into electrical signals. Exemplarily, the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. The air pressure sensor 180C is used to measure the air pressure. The magnetic sensor 180D includes a Hall sensor. The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. 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 fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc. The temperature sensor 180J is used to detect the temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. The bone conduction sensor 180M can obtain a vibration signal.

[0112] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch 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.

[0113] Exemplarily, in an embodiment of the present application, the touch sensor 180K can detect a user's click operation on an application icon, and transmit the detected click operation to the application processor, determine that the click operation is used to start or run the application, and then execute the running operation of the application.

[0114] 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.

[0115] 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.

[0116] The above is a specific description of the embodiment of the present application using the electronic device 100 as an example. It should be understood that the embodiment of the present application does not particularly limit the specific structure of the execution subject of the dynamic picture processing method, as long as the code of the dynamic picture processing method of the embodiment of the present application can be run to perform processing according to the dynamic picture processing method provided by the embodiment of the present application. For example, the execution subject of a dynamic picture processing method provided by the embodiment of the present application can be a functional module in an electronic device that can call and execute a program, or a processing device applied to an electronic device, such as a chip.

[0117] The following will describe in detail the dynamic picture processing method of the embodiment of the present application in conjunction with the accompanying drawings and take the electronic device being a mobile phone as an example.

[0118] A dynamic image consists of a cover image and a short video containing the cover image.

[0119] The mobile phone can receive the user's operation 1, which can be used to trigger the mobile phone to start shooting dynamic pictures. Exemplarily, the framing interface before shooting includes a "shoot" button, and in response to the user's operation 1 on the "shoot" button, the mobile phone starts shooting dynamic pictures. Among them, operation 1 can be a click operation on the "shoot" button. The dynamic picture after shooting includes a short video N seconds (such as 1.5s or 5s) before and after clicking the "shoot" button and a cover picture. The cover picture can be any frame image in the short video. For example, the cover picture is the first frame image in the short video. For another example, the cover picture is a frame image corresponding to the moment when the "shoot" button is clicked.

[0120] As an example of turning the dynamic image feature on and off, see Figure 2 , is a schematic diagram of the interface of the camera application provided in real time by this application.

[0121] The user clicks the camera application icon on the main interface of the mobile phone (or uses a pre-set shortcut gesture) to start the camera application. After the mobile phone receives the user's click operation (or shortcut gesture) on the camera application icon, it starts the camera application and displays the main interface of the camera application, such as Figure 2 The interface shown in (a).

[0122] Figure 2 The main interface 20 of the camera application shown in (a) is a framing interface corresponding to the photo function, that is, the main interface 20 can frame the picture captured by the camera in real time, and is also provided with a "shoot" button 201 for starting photo taking. The framing screen in the interface schematic diagram provided in the embodiment of the present application is only used to indicate that the current interface will display the framing screen, and does not impose any restrictions on the content of the framing screen.

[0123] like Figure 2 As shown in (a) in the figure, the main interface 20 of the camera application includes a mode selection area 202, a function selection area 203 and a framing area 204. The mode selection area 202 can display multiple mode controls, each of which corresponds to a shooting mode. For example, the "large aperture" control, "portrait" control, "photo" control, "video" control and "more" control in the interface 20. Multiple function controls can be displayed in the function selection area 203, each of which corresponds to a shooting function. For example, the "AI" control, "flash" control and "settings" control in the interface 20.

[0124] In some scenarios, the "dynamic picture" control is hidden in the "more" in the mode selection area. For example, when the user needs to take a dynamic picture, he can click the "more" control. After the mobile phone receives the operation of clicking the "more" control, multiple mode controls that are not displayed in the interface 20 are displayed in the interface. For example, Figure 2 The "Multi-Camera" control, "HDR" control, "Document" control, "Black and White Art" control, and "Dynamic Picture" control in the interface 21 shown in (b) of FIG. The user clicks the "Dynamic Picture" control, and the mobile phone receives the operation of the "Dynamic Picture" control and turns on the dynamic picture function. For example, Figure 2 In the interface 22 shown in (c), the "more" control is replaced by a "dynamic picture" control to prompt the user that the dynamic picture function is currently turned on. Of course, other methods can also be used to prompt the user that the dynamic picture function is turned on, for example, displaying a dynamic picture logo on the framing area or in the function selection area.

[0125] After the dynamic picture shooting is completed, the dynamic picture function can be kept turned on, and the dynamic picture function can be turned off when the user operates other controls in the mode selection area 202. The dynamic picture function can also be automatically turned off after the dynamic picture shooting is completed, and return to the default mode, such as the mode corresponding to the "photograph" control in the mode selection area 202.

[0126] As another example of the dynamic image feature being turned on and off, see Figure 3 , is a schematic diagram of the interface of a camera application provided in another embodiment of the present application.

[0127] like Figure 3 The main interface 30 of the camera application shown in (a) of FIG. 3 includes a mode selection area 301, a function selection area 302, and a viewfinder area 303. The function selection area 302 may display multiple function controls, such as a "dynamic picture" control 3011 in the main interface 30. In another example, the "dynamic picture" control may also be displayed in the viewfinder area 303. In addition, Figure 3 The "dynamic picture" control is only an example, and the "dynamic picture" control may also be represented by other forms of icons, which are not specifically limited here.

[0128] Reference Figure 3 In the viewfinder interface 30 shown in (a), there is a slash on the "dynamic picture" control 3011 in the interface 30, indicating that the dynamic picture function is turned off; Figure 3 In the framing interface 31 shown in (b), there is no slash on the "dynamic picture" control 3011 in the interface 31, indicating that the dynamic picture function is turned on.

[0129] Of course, in actual applications, other forms of icons can also be used to indicate the on and off states of the dynamic picture function. For example, when the "dynamic picture" control 3011 is white (or black), it indicates that the dynamic picture function is off; when the "dynamic picture" control 3011 is lit in other colors (for example, yellow, red, etc.) or colors, it indicates that the dynamic picture function is on. The embodiment of the present application does not limit the display effect of the dynamic picture function control in the on and off states.

[0130] In addition, the on state (or off state) of the dynamic picture function can be used as the default state. After the mobile phone enters the camera application, the dynamic picture function is in the default state. The user clicks the "dynamic picture" control 3011 to trigger the mobile phone to switch the dynamic picture function from the default state to another state. Of course, the above dynamic picture function can also be set in the setting function of the camera application, that is, Figure 3The "Dynamic Picture" control will not appear in the interface shown in (a) or (b), and the user can further turn on or off the dynamic picture function in the "Settings" control.

[0131] Above Figure 2 and Figure 3 The embodiments are examples of turning on and off the dynamic picture function. In actual applications, the dynamic picture function can also be turned on and off in other ways, which are not specifically limited here.

[0132] After the dynamic picture function is turned on, the user clicks the "shoot" button on the interface (such as Figure 2 The mobile phone receives the operation of the "shoot" button 201 in the middle interface 20, and executes the shooting of the dynamic picture. Specifically, the mobile phone obtains a short video of N seconds (such as 1.5s or 5s) before and after the user clicks the "shoot" button through the camera, and uses any frame image in the short video as the cover picture.

[0133] In addition, since the shooting time of dynamic pictures is relatively short, in order to improve the user experience, shooting prompts can be displayed during the shooting of dynamic pictures. For example, after starting to shoot a dynamic picture, the color of the "shooting" control changes, such as from white to gray (or other colors). For another example, after starting to shoot a dynamic picture, the circular lines around the "shooting" control gradually fade clockwise or counterclockwise. When the circular lines around the "shooting" control completely fade, it means that the shooting is over. For another example, after starting to shoot a dynamic picture, a countdown is displayed on the preview interface; when the countdown ends or disappears, it means that the shooting is over. Of course, other prompt methods can also be used, which are not specifically limited here.

[0134] The mobile phone stores the captured dynamic pictures and synchronizes the captured dynamic pictures to the gallery application, and displays the dynamic pictures as cover pictures in the gallery application.

[0135] In the gallery application, thumbnails of pictures, videos and dynamic pictures stored in the phone are displayed. For example, the thumbnail of a picture is a zoomed image of the picture or a partial image of the picture; the thumbnail of a video is any frame of the video, such as the first frame or the last frame; the thumbnail of a dynamic picture is the cover image of the dynamic picture.

[0136] Since the thumbnails of pictures, videos and dynamic pictures are all static pictures, it is difficult for users to identify the type of material corresponding to the thumbnail. In actual applications, users need to click on the thumbnails one by one to view the material corresponding to the thumbnail, which leads to poor user experience.

[0137] In order to solve this problem, in some embodiments, an identifier is displayed on the thumbnail to indicate the type of material corresponding to the thumbnail. The identifiers on the thumbnails of pictures, videos, and dynamic pictures are different, so that users can distinguish pictures, videos, and dynamic pictures based on the different identifiers. In other embodiments, the identifier can also be displayed on the thumbnails of any two of the pictures, videos, and dynamic pictures, while the identifier is not displayed on the thumbnail of the other one. For example, the identifier is displayed on the thumbnails of videos and dynamic pictures, but not on the thumbnails of pictures; or the identifier is displayed on the thumbnails of pictures and dynamic pictures, but not on the thumbnails of videos.

[0138] When the user needs to edit a dynamic image, the user clicks on the thumbnail of the dynamic image to enter the editing interface of the dynamic image.

[0139] For some examples, see Figure 4 (a) in the figure is the application interface 40 of the mobile phone gallery application. The application interface 40 displays thumbnails of videos, thumbnails of pictures and thumbnails of dynamic pictures. Among them, the thumbnails of dynamic pictures are displayed with a logo 401 representing the dynamic picture, and the thumbnails of videos are displayed with a logo 402 representing the video (such as the video length or the play logo), while non-dynamic pictures have no logo. In the process of displaying the application interface of the gallery application, the mobile phone can receive a user's click operation on the thumbnails in the application interface. In response to the user's click operation on the thumbnail 403 of dynamic picture 1 in the application interface 40, the mobile phone enters the editing interface of dynamic picture 1, such as Figure 4 The interface shown in (b).

[0140] The editing interface 41 includes a preview area 411 for displaying dynamic pictures. The editing interface 41 may display a logo 412 for representing the dynamic picture (logo 412 and logo 401 may be the same or different). After the mobile phone enters the dynamic picture editing interface, the preview area in the dynamic picture editing interface displays the cover picture of the dynamic picture. The user long presses the preview area 411. During the process of the user long pressing the preview area 411, the mobile phone responds to the operation and plays a short video of the dynamic picture 1. Figure 4 As shown in (b) and (c) in FIG. 4 , the image in the preview area 411 changes. Of course, a prompt message (such as “long press to view dynamic images”) may also be displayed in the editing interface to prompt the user to operate.

[0141] When the user stops pressing the preview area 411, the mobile phone responds to the operation and stops playing the dynamic picture 1, and the preview interface 411 redisplays the cover picture of the dynamic picture 1, such as Figure 4 As shown in (b) in .

[0142] In order to meet the needs of users to edit pictures and videos, the mobile phone can provide a quick editing entrance for the pictures and videos in the mobile phone. The mobile phone can receive the user's preset operation on the quick editing entrance, such as click operation, sliding operation, etc. In response to the preset operation, the mobile phone can add background music, filters, special effects, transitions, photo frames, stickers and other video effects to the pictures and videos to generate a film.

[0143] In some embodiments, the application interface of the mobile phone gallery application may include a control for representing a quick editing entry.

[0144] As an example of a quick edit entry, Figure 4 As shown in (a) of FIG. 4 , the application interface 40 includes a “photo” control, an “album” control, a “moment” control, and a “create” control, wherein the “create” control is used to represent a quick edit entry. In response to the user's operation on the “create” control, the mobile phone jumps to the following Figure 5 Interface 50 shown in (a).

[0145] The interface 50 may include a plurality of controls for representing different editing modes. Figure 5 As shown in (a) in the figure, the interface 50 includes a "one-click blockbuster" control (which may be referred to as the first control) and a "puzzle" control (which may be referred to as the fifth control). Among them, the "one-click blockbuster" control is used to trigger the mobile phone to use the effect template to process the image and / or video to be processed, and the "puzzle" control is used to trigger the mobile phone to use the puzzle template to splice the image to be processed. For the sake of convenience, the processing function corresponding to the "one-click blockbuster" control may be referred to as "one-click blockbuster" below, and the processing function corresponding to the "puzzle" control may be referred to as "puzzle".

[0146] In the embodiment of the present application, the dynamic picture can be edited using "One-click Blockbuster" and "Puzzle". The following describes the process of editing the dynamic picture using "One-click Blockbuster" and "Puzzle".

[0147] Each effect template in "One-click Blockbuster" has a combination of background music, filters, special effects (such as twinkling stars), transitions, photo frames, stickers and other effects, which can be referred to as video effects. In other words, each effect template corresponds to a set of video effects. Correspondingly, the mobile phone uses the effect template to add corresponding video effects to the video. In response to the user's operation on the "One-click Blockbuster" control, the mobile phone uses the effect template to process the selected material to form a film. Among them, the user's operation on the "One-click Blockbuster" control can be a click operation, a long press operation, a sliding operation, etc. of the user on the "One-click Blockbuster" control, or it can also be a user's sliding up operation on the "One-click Blockbuster" control, etc. The embodiment of the present application does not specifically limit the user's operation form on the "One-click Blockbuster" control.

[0148] In some embodiments, see Figure 5 , is a schematic diagram of the editing interface of the “One-click Blockbuster” provided in an embodiment of the present application.

[0149] In response to the user's operation on the "one-key blockbuster" control (can be called the first control) in the interface 50 (can be called the first interface), the mobile phone jumps to the thumbnail interface, such as Figure 5 The interface 51 (which may be referred to as the second interface) shown in (b) in the figure may include thumbnails of pictures, dynamic pictures and videos in the mobile phone gallery application. Among them, the thumbnail of the dynamic picture may be a cover picture.

[0150] In some application scenarios, when there are many thumbnails and the mobile phone interface cannot display all thumbnails, the thumbnails can be displayed in the order of shooting time. For example, the thumbnails are displayed in the order of shooting time from morning to night, or in the order of shooting time from night to morning. Thumbnails can also be displayed in other orders, such as in the order of the names of the shooting locations, in the order of the names of the people photographed, in the order of pictures first and then videos, etc., which are not specifically limited here. Users can browse thumbnails that are not displayed on the current interface by sliding the thumbnail interface (swiping up or down).

[0151] Thumbnails cannot fully display dynamic images. In order to facilitate users to view complete dynamic images, in an embodiment of the present application, a "one-click blockbuster" provides a preview function.

[0152] For example, a "preview" control 511 (which may be referred to as a fourth control) may be displayed on the thumbnail in the interface 51. For example, in response to a user clicking on the preview control on the thumbnail 512 of the dynamic picture 2, the mobile phone jumps to the preview interface of the dynamic picture 2, such as Figure 5 The preview interface 52 shown in (c) in FIG. 5 can display a logo 521 (which can be called a first logo) representing a dynamic picture and a preview area 522. The logo 521 can be the same as or different from the logo on the thumbnail of the dynamic picture in the application interface of the mobile phone gallery application.

[0153] In some examples, in response to the user's operation on the mark 521, the mobile phone plays a short video of the dynamic picture 2. The user's operation on the mark 521 can be a click, a long press, etc. In other examples, the user long presses the preview area 522. During the process of the user long pressing the preview area 522, the mobile phone responds to the operation and plays a short video of the dynamic picture 2. The playback process of the dynamic picture 2 can be referred to above. Figure 4 Of course, a prompt message (such as “long press to view dynamic pictures”) may also be displayed in the preview area 521 to prompt the user to operate.

[0154] In actual applications, the preview interface of a dynamic image displays an identifier indicating the dynamic image, while the preview interface of an image or video may not display an identifier indicating the type of material.

[0155] The user can select one or more materials to edit. Exemplarily, in the interface 51, a "select" mark 513 (which may be referred to as a third control) is displayed on each thumbnail, and the "select" mark 513 is in a first form, as shown in the interface 51, and the "select" mark is a hollow circle. The first form may be a default form, that is, the form presented by the "select" mark when the user does not operate the "select" mark. The user clicks on the "select" mark 513 on the thumbnail to be selected, and the "select" mark 513 changes from the first form to the second form, as shown in the interface 51. Figure 5 In the interface 53 shown in (d), the "select" mark on the thumbnail 512 is a solid circle with a "√" pattern marked in the solid circle. The user can understand the current selection situation through the change in the form of the "select" mark. Of course, the above is only an example of the change in the form of the "select" mark. In actual applications, other forms can also be set. The embodiment of the present application does not specifically limit the form display effect of the "select" mark.

[0156] In order to facilitate the user to select materials during the preview process, the preview interface may also include a "select" mark. Exemplarily, the interface 52 includes a "select" mark 523. The form presented by the "select" mark on the preview interface (such as interface 53) is consistent with the form presented by the "select" mark in the thumbnail interface (such as interface 53). For example, if the user does not operate the "select" mark on the thumbnail of dynamic picture 2 before entering the preview interface of dynamic picture 2, that is, the "select" mark on the thumbnail of dynamic picture 2 is in the first form, then after entering the preview interface of dynamic picture 2, the "select" mark in the preview interface of the dynamic picture 2 presents the first form (default form). If the user operates the "select" mark on the thumbnail of dynamic picture 2 before entering the preview interface of dynamic picture 2, that is, the "select" mark on the thumbnail of dynamic picture 2 has changed to the second form, then after entering the preview interface of dynamic picture 2, the "select" mark in the preview interface of dynamic picture 2 presents the second form, as shown in interface 52. Similarly, if the "select" mark on the preview interface of dynamic picture 2 is in the second form (as shown in interface 52), after returning to the thumbnail interface, the "select" mark on the thumbnail of dynamic picture 2 still presents the second form (as shown in interface 53). If the "select" mark on the preview interface of dynamic picture 2 is in the first form, after returning to the thumbnail interface, the "select" mark on the thumbnail of dynamic picture 2 still presents the first form.

[0157] In some examples, the thumbnail interface may include a selection area, which displays the thumbnails selected by the user. As shown in interface 53, the interface 53 may include a selection area 531. The thumbnail selected by the user is displayed in the selection area 531. For example, a "select" mark 532 is displayed on each thumbnail in the selection area 531 to facilitate the user's secondary selection. In response to the user's operation on the "select" mark of the thumbnail 533 in the selection area 531, the mobile phone deletes the thumbnail 533 from the selection area 531, that is, the selection area 531 no longer displays the thumbnail 533, and the "select" mark on the thumbnail 533 in the non-selection area changes to the first form, indicating that the thumbnail 533 is not selected. Of course, the user can also perform operations such as sliding on the thumbnails in the selection area to delete the thumbnails from the selection area.

[0158] The selection area in the thumbnail interface may include an editing control for triggering the mobile phone to edit according to the selected material. Such as the "one-key blockbuster" control (which can be called the second control) in interface 51 and interface 53. When the user has not selected the material, that is, when there is no thumbnail in the selection area, the "one-key blockbuster" control in the selection area is in an inoperable mode (as shown in interface 51); after the user selects a thumbnail, that is, when at least one thumbnail is displayed in the selection area, the "one-key blockbuster" control in the selection area is in an operable mode (as shown in interface 53). Of course, the "one-key blockbuster" control can also be displayed in other areas besides the selection area. When the "one-key blockbuster" control is in an operable mode, in response to the user's operation of the "one-key blockbuster" control, the mobile phone edits according to the selected material.

[0159] In the embodiment of the present application, "One-click Blockbuster" can edit pictures, videos and dynamic pictures. The multiple materials selected by the user may include only one type of material, such as all pictures, all videos, or all pictures. The multiple materials selected by the user may also include multiple types of materials, for example, including pictures and videos, or pictures and dynamic pictures, or videos and dynamic pictures, or pictures, videos and dynamic pictures.

[0160] For pictures, "One-click Blockbuster" will switch the selected pictures in the selection order and specified frequency to present a dynamic effect, and add filters, special effects, transitions, photo frames and stickers to the pictures according to the effect template. You can also add background music in the process of switching pictures so that the finished film presents a video effect consistent with the effect template.

[0161] For videos, "One-click Blockbuster" will splice the selected videos into one long video in the order of selection, and add background music, filters, special effects, transitions, photo frames and stickers to the spliced ​​long video according to the effect template, so that the finished film presents a video effect consistent with the effect template.

[0162] For dynamic images, "One-click Blockbuster" can switch the cover images of the selected dynamic images in the order of selection and at the specified frequency to present dynamic effects, and add filters, special effects, transitions, photo frames and stickers to the images according to the effect template. It can also add background music during the image switching process to present a video effect consistent with the effect template. However, this method cannot display short videos of dynamic images, and a lot of video materials are lost, resulting in poor film effects of "One-click Blockbuster" and poor user experience.

[0163] In order to solve the above problem, in one embodiment, for dynamic pictures, "One-click Blockbuster" can splice the short videos of the selected dynamic pictures into one video, and add background music, filters, special effects, transitions, photo frames and stickers to the spliced ​​video according to the effect template, so that the finished film presents a video effect consistent with the effect template.

[0164] In one example, see Figure 6 , Figure 6 The interface 60 shown in the figure is the editing interface of "One-key Blockbuster" (which can be called the fourth interface). In response to the user's operation of the "One-key Blockbuster" control in the interface 53, the mobile phone splices the short videos of the selected dynamic pictures into one video and jumps to the interface 60. The interface 60 may include a preview area 601, a progress bar 602, an editing area 603 and an "OK" control 604.

[0165] The preview area 601 is used to display the video 1 (which may be referred to as the first finished film) generated by the mobile phone according to the selected dynamic picture. When the mobile phone jumps to the interface 60, the first frame image of the video 1 is displayed in the preview area 601. The video 1 may be a spliced ​​video without adding video effects, or may be a finished film with video effects added according to the effect template.

[0166] The video duration corresponding to the progress bar 602 is the total duration of the video 1. In response to the user's operation of the "play" button on the progress bar 602, the mobile phone plays the spliced ​​video 1 in the preview area 601. Of course, the user can also drag the progress bar to position 1, or click position 1 on the progress bar. In response to the user's operation, the mobile phone displays a frame of image corresponding to position 1 in the video 1 in the preview area 601.

[0167] The editing area 603 may include multiple editing controls, such as the "template" control, "music" control, "confirmation" control, "clip" control, and "share" control shown in the interface 60. The user can operate the editing controls as needed, and the mobile phone responds to the user's operation on the editing controls and processes the video 1 according to the video effect corresponding to the editing controls operated by the user.

[0168] For example, in response to the user clicking the "Template" control, the mobile phone displays multiple effect options (which may be referred to as the first button) in the editing interface, such as Figure 6 In the interface 61 shown in (b), the pop-up window 605 of the interface 61 includes "Effect 1", "Effect 2", etc. Each effect option corresponds to a video effect. For example, in response to the user selecting the effect option "Effect 1", the mobile phone processes the video 1 according to the effect template corresponding to "Effect 1", and displays the processed video 1 in the preview area of ​​the interface 60. Figure 6 As shown in (c) in the figure, a photo frame and text are added to the finished film 1, and the grayscale of the video is adjusted.

[0169] In the embodiment of the present application, a variety of video effects are provided to the user, and the user can switch the first video effect as needed. In addition, the method is simple to operate, and the user only needs to click the first button corresponding to the desired video effect to quickly switch the first video effect, which is conducive to improving the user experience.

[0170] In some application scenarios, the user selects the background music of the video through the "Music" control. If the duration of the background music selected by the user is less than the total duration of Video 1, the mobile phone can prompt the user to trim Video 1 in interface 60. Of course, the mobile phone can also automatically recommend background music that meets the total duration of Video 1, which is more intelligent.

[0171] In other application scenarios, if the video 1 itself has sound, if the user selects background music, the mobile phone will replace the original sound of the video 1 with the background music selected by the user.

[0172] It should be noted that, as described above, Video 1 can be a spliced ​​video without video effects added, or a finished film with video effects added according to an effect template. If Video 1 is a spliced ​​video without video effects added, the mobile phone can process Video 1 according to the effect template selected by the user to obtain a finished film; if Video 1 is a finished film with video effects added according to an effect template, the mobile phone can replace the video effects of Video 1 according to the effect template selected by the user to obtain a replaced finished film.

[0173] The "OK" control 604 is used to trigger the mobile phone to save the film. In response to the user's operation on the "OK" control, the mobile phone saves the current film. The user's operation on the "OK" control can be a click or a long press. Of course, the user can also trigger the mobile phone to save the film in other ways, for example, the user slides from the right edge of the interface 60 to the left. In the embodiment of the present application, there is no specific limitation on the operation of triggering the mobile phone to save the film.

[0174] It is understandable that when the video 1 is displayed in the preview area of ​​the interface 60, the user operates the "OK" control, and the mobile phone saves the video 1 as a finished film. When the finished film 1 is displayed in the preview area of ​​the interface 60, the user operates the "OK" control, and the mobile phone saves the finished film 1.

[0175] In some implementations, in response to the user's operation on the "OK" control, the mobile phone saves the current completed image and displays a saving prompt on the interface 60. For example, the saving prompt may be a saving progress bar or the like.

[0176] After the mobile phone has finished saving the finished film, it can display the preview interface of the finished film. For example, the preview interface of the finished film can be the same as the preview interface of the video in the gallery application. Of course, after the finished film is saved, you can also return to the editing interface of the finished film (such as Figure 6 (c) in the figure) to facilitate users to perform secondary editing on the finished film.

[0177] In the embodiment of the present application, the "one-click blockbuster" of the dynamic picture is to process the short video of the dynamic picture, rather than just the cover picture of the dynamic picture. This processing method can fully display the video material of the dynamic picture, improve the filming effect of the "one-click blockbuster", and improve the user experience.

[0178] In order to process dynamic images more flexibly, in some embodiments, the user can freely select whether the dynamic image is a cover image or a video. The mobile phone can display the dynamic image logo on the thumbnail of the dynamic image, and in response to the user's operation on the dynamic image logo, the mobile phone edits the dynamic image according to the dynamic image form indicated by the user.

[0179] In one example, see Figure 7 In response to the user's operation on the "one-key blockbuster" control in interface 50, the mobile phone jumps to the thumbnail interface, such as Figure 7 The interface 70 shown in (a) of FIG. 70 shows a dynamic image logo 701 (which may be called a second logo, and the logo 701 may be the same as or different from the logo on the dynamic image thumbnail in the application interface of the mobile phone gallery application). Figure 7 The form of the logo 701 in the interface 71 shown in (b) indicates that the dynamic image is in the form of a cover image; Figure 7The form of the logo 701 in the interface 72 shown in (c) indicates that the dynamic picture is in the form of a video. Of course, in actual applications, the form of the dynamic picture can also be represented by other forms of icons. For example, when the logo 701 is white (or black), it indicates that the form of the dynamic picture is a cover picture; when the logo 701 is lit in other colors (such as yellow, blue or red, etc.) or color, it indicates that the form of the dynamic picture is a video. The embodiment of the present application does not limit the display effect of the dynamic picture form logo.

[0180] In one implementation, the cover image (or video) of the dynamic image can be used as the default form. After the mobile phone enters the thumbnail interface, the dynamic image is in the default form. The user clicks on mark 701 to trigger the mobile phone to switch the dynamic image from the default form to another form.

[0181] In another implementation, the mark 701 may only indicate that the material type corresponding to the thumbnail is a dynamic picture, but not be used to indicate the form of the dynamic picture, that is, the default form of the dynamic picture is empty. The user triggers the mobile phone to select the form of the dynamic picture by operating the mark 701. Figure 1 The form of the mark 701 on the Figure 1 The corresponding material is a dynamic picture, and this form can be a default form. When the user operates the mark 701, the mark 701 is displayed as a selected form. In response to the user's operation on the sub-mark 701, the mobile phone can display the form of the current dynamic picture according to the user's selection. The form shown in the interface 71 indicates that the form of the dynamic picture currently selected by the user is a video. The form shown in the interface 72 indicates that the form of the dynamic picture currently selected by the user is a cover picture.

[0182] After the user selects the material, the phone displays the "One-click Blockbuster" control. In response to the user's operation of the "One-click Blockbuster" control, the phone edits according to the selected material and the form of the dynamic picture. If the user selects the cover picture of the dynamic picture, the phone will edit the cover picture of the dynamic picture according to the processing method of the picture, that is, the cover picture of the selected dynamic picture will be switched according to the selection order and the specified frequency to present a dynamic effect, and add filters, special effects, transitions, photo frames and stickers to the picture according to the effect template. Background music can also be added in the process of switching pictures so that the finished film presents a video effect consistent with the effect template. If the user selects a video of the dynamic picture, the phone will edit the short video of the dynamic picture according to the processing method of the video, which is the same as the processing method of the video. Figure 6 The same as described in the embodiment, please refer to Figure 6 The description in the embodiments will not be repeated here.

[0183] In the embodiment of the present application, the user can freely select the form of the dynamic picture, and in response to the user's selection operation, the mobile phone can edit the dynamic picture according to the form selected by the user. This method is highly flexible and can improve the user experience.

[0184] The above is the process of editing dynamic pictures using "One-click Blockbuster". The following introduces the process of editing dynamic pictures using "Puzzle".

[0185] "Puzzle" can combine multiple pictures into one picture according to the puzzle template. Each puzzle template corresponds to a puzzle effect, and the position, size, order, etc. of each picture in different puzzle templates are different. In response to the user's operation on the "puzzle" control, the mobile phone uses the puzzle template to process the selected material to form a puzzle picture. Among them, the user's operation on the "puzzle" control can be a click operation, a long press operation, a sliding operation, etc. of the user on the "puzzle" control, or it can also be a swipe up operation on the "puzzle" control, etc. The embodiment of the present application does not specifically limit the user's operation form on the "puzzle" control.

[0186] In one embodiment, see Figure 8 , is a schematic diagram of the editing interface of the “puzzle” provided in an embodiment of the present application.

[0187] In response to the user's operation on the "puzzle" control in the interface 50, the mobile phone jumps to the thumbnail interface, such as Figure 8 Interface 80 shown in (a) in the figure. Interface 80 may include thumbnails of pictures, dynamic pictures and videos in the mobile phone gallery application. Among them, the thumbnail of the dynamic picture may be a cover picture. Of course, in another implementation, it is also possible to limit the "puzzle" to only process pictures. Under this limitation, interface 80 may only include thumbnails of pictures and dynamic pictures in the mobile phone gallery application, but not thumbnails of videos.

[0188] The difference between interface 80 and interface 51 is that the thumbnail of interface 80 does not display the logo of the dynamic picture. In other words, in the process of "puzzle", all the selected materials are processed as static pictures. For example, for dynamic pictures, the cover picture of the dynamic picture is processed; for videos, any frame image in the video (such as the first frame or the last frame, etc.) is processed.

[0189] When the user selects the puzzle mode, it usually means that the user wants to process the static image. Therefore, in this mode, the cover image of the selected dynamic image is processed, and the user does not need to manually select the form of the dynamic image, which improves the intelligence of the "puzzle" and helps to improve the user experience.

[0190] Thumbnails cannot fully display dynamic images. In order to facilitate users to view complete dynamic images, in the embodiment of the present application, the "puzzle" provides a preview function. Exemplarily, a "preview" control 801 and a "select" mark 803 (which can be called the seventh control) can be displayed on the thumbnail in the interface 80.

[0191] The form of the "select" mark 803 can be the same as the above Figure 5 In the embodiment, the form of the "select" mark 532 is the same or different. The "select" mark 803 and the "select" mark 532 implement the same function, which can be specifically referred to in Figure 5 The description of the process of the user selecting a material through the “select” mark 532 in the embodiment will not be repeated here.

[0192] For example, in response to the user clicking the preview control on the thumbnail 802 of the dynamic picture 3, the mobile phone jumps to the preview interface of the dynamic picture 3, such as Figure 8 The preview interface 81 shown in (b) of FIG. The preview interface 81 may display a “select” mark 811 and a preview area 812 .

[0193] The form of the "select" mark 811 can be the same as the above Figure 5 In the embodiment, the form of the "select" mark 511 is the same or different. The "select" mark 811 and the "select" mark 511 have the same function. Figure 5 The description of the process of the user selecting a material through the “select” mark 511 in the embodiment will not be repeated here.

[0194] The preview area 812 is used to display the cover image of a picture or dynamic picture, such as the cover image of dynamic picture 3.

[0195] Consistent with interface 80, the dynamic image logo (such as logo 521) is not displayed on interface 81. In addition, the preview area 812 in interface 81 displays a static image of the material, such as the cover image of the dynamic image, and the user cannot view the short video of the dynamic image by operating the preview area 812.

[0196] In response to the user's operation of the "Exit" control in the preview interface, the mobile phone switches back to the thumbnail interface. The form presented by the "Select" mark on the thumbnail in the thumbnail interface is consistent with the form presented by the "Select" mark in the preview interface. Exemplarily, in response to the user's operation of the "Exit" control 813 in the interface 81, the mobile phone switches back to the interface 80. The "Select" control on the thumbnail 802 of the dynamic picture 3 in the interface 80 and the "Select" mark 811 in the interface 81 are consistent in form.

[0197] The selection area in the thumbnail interface may include an editing control for triggering the mobile phone to "assemble the puzzle" according to the selected material. Such as the "Start Production" control in interface 80 and interface 82 (which can be called the sixth control). When the user has not selected a material, that is, when there is no thumbnail in the selection area, the "Start Production" control in the selection area is in an inoperable mode (as shown in interface 80); after the user selects a thumbnail, that is, when at least one thumbnail is displayed in the selection area, the "Start Production" control in the selection area is in an operable mode (as shown in interface 82). Of course, the "Start Production" control can also be displayed in other areas besides the selection area. When the "Start Production" control is in an operable mode, in response to the user's operation of the "Start Production" control, the mobile phone edits according to the selected material.

[0198] In actual applications, the upper limit of the number of selectable materials for "One-click Blockbuster" and "Puzzle" can be set to different values. For example, "One-click Blockbuster" can select up to 4 materials, and "Puzzle" can select up to 9 materials.

[0199] In the embodiment of the present application, "Jigsaw Puzzle" can edit pictures, videos and dynamic pictures, or can edit pictures and dynamic pictures. The multiple materials selected by the user may include only one type of material, such as all pictures, or all videos, or all pictures. The multiple materials selected by the user may also include multiple types of materials, for example, pictures and videos, or pictures and dynamic pictures, or videos and dynamic pictures, or pictures, videos and dynamic pictures. During the "Jigsaw Puzzle" process, regardless of the type of material, the mobile phone processes the material selected by the user as a static picture.

[0200] For pictures, "Jigsaw Puzzle" combines the selected pictures into one picture according to the puzzle template.

[0201] For videos, "Jigsaw Puzzle" stitches the thumbnails of the selected videos (such as any frame of the video) into one picture according to the puzzle template.

[0202] For dynamic pictures, "Puzzle" stitches the cover images of the selected dynamic pictures into one picture according to the puzzle template.

[0203] It is understandable that if the selected material includes pictures, videos and dynamic pictures, the "puzzle" will splice the thumbnails of the pictures, videos and the cover pictures of the dynamic pictures into one picture according to the puzzle template.

[0204] For example, in response to the operation of the "start making" control in interface 82, the mobile phone performs splicing processing according to the selected materials and displays the spliced ​​picture in interface 83 (which can be called the sixth interface). The interface 83 can include a preview area 831 and an editing area 832.

[0205] The preview area 831 is used to display the spliced ​​picture 1 (which may be called the first puzzle) obtained by the mobile phone after splicing the selected materials. The spliced ​​picture 1 may be a picture spliced ​​according to a default template, and the default template may be any puzzle template provided by the gallery application.

[0206] The editing area 832 may include multiple template options (which may be referred to as the second button). The user may operate the template options as needed, and the mobile phone responds to the user's operation on the template options and processes the spliced ​​picture 1 according to the puzzle template corresponding to the template option operated by the user. For example, in response to the user clicking on the template option 8321, the mobile phone replaces the puzzle template of the spliced ​​picture 1 with the puzzle template corresponding to the template option 8321, that is, the mobile phone re-assembles the selected materials according to the puzzle template corresponding to the template option 8321 to obtain a new spliced ​​picture 2. Figure 8 In the interface 84 shown in (e), the materials of the stitched pictures in the preview area of ​​the interface 84 are the same as those of the stitched pictures in the preview area of ​​the interface 83, but the positions, arrangement orders and sizes of the materials are different.

[0207] In the embodiment of the present application, a variety of puzzle effects are provided to the user, and the user can switch the puzzle effect of the first puzzle as needed. Moreover, the operation of this method is simple, and the user only needs to click the second button corresponding to the desired puzzle effect to quickly switch the puzzle effect of the first puzzle, which is conducive to improving the user experience.

[0208] It should be noted that the puzzle pictures displayed in the above interface 83 and interface 84 are only examples of puzzle effects. In actual applications, puzzle templates can also include photo frames, stickers or text, etc., and the effects of puzzle templates and puzzle pictures are not specifically limited here.

[0209] In one implementation, the mobile phone may automatically recommend a default template based on the number of materials selected by the user.

[0210] In one implementation, in response to the user's operation on the template option in the editing area, if the number of pictures that can be accommodated in the puzzle template corresponding to the template option selected by the user is less than the number of materials selected by the user, the mobile phone can prompt the user to delete the selected materials or reselect the puzzle template in interface 83. Of course, the mobile phone can also automatically recommend template options based on the number of materials selected by the user. In other words, the template options in the editing area can all match the materials selected by the user, which is more intelligent.

[0211] In response to the user's operation on the "Save" control in interface 83 or interface 84, the mobile phone saves the current puzzle picture. The user's operation on the "Save" control may be a click or a long press. Of course, the user may also trigger the mobile phone to save the puzzle picture in other ways, for example, the user slides from the right edge of interface 83 or interface 84 to the left. In the embodiment of the present application, there is no specific limitation on the operation of triggering the mobile phone to save the puzzle picture.

[0212] After the mobile phone completes saving the puzzle picture, it can display a preview interface of the puzzle picture. For example, the preview interface can be the same as the preview interface of the picture in the gallery application. Of course, after the puzzle picture is saved, the mobile phone can continue to display the editing interface of the puzzle picture (such as interface 83 or interface 84) to facilitate the user to continue to perform secondary editing on the puzzle picture.

[0213] In an embodiment of the present application, when a user uses the "puzzle" function to process a dynamic image, the cover image of the dynamic image is automatically selected for processing, and the user no longer needs to select the form of the dynamic image. This method not only meets the user's expectations for dynamic image processing, but also reduces user operations, which is conducive to improving user experience.

[0214] In order to meet the diverse needs of users for dynamic picture editing, in some embodiments, the gallery application in the mobile phone can provide some quick editing functions for dynamic pictures, such as "make emoticon package", "make GIF picture", "convert to video", etc. The following takes making emoticon package as an example for explanation. For the sake of convenience, the "make emoticon package" function is referred to as "make emoticon package" hereinafter.

[0215] The mobile phone can provide multiple editing entrances for the dynamic picture. In some embodiments, the editing entrance of the dynamic picture can be provided in the gallery application in the mobile phone. In other embodiments, the editing entrance of the dynamic picture can be provided in the camera application in the mobile phone.

[0216] For example, see Fig. 9 , is a schematic diagram of the editing interface of a dynamic picture provided in an embodiment of the present application.

[0217] like Fig. 9The interface 92 shown in (c) of FIG. 1 is a preview interface of a dynamic image (which may be referred to as the seventh interface). The preview interface of a dynamic image includes an editing area, and the editing area includes multiple editing controls. As shown in the editing area 921 of the interface 92, the editing area 921 includes multiple editing controls such as a "share" control, a "favorite" control, an "edit" control (which may be referred to as the third button), a "delete" control, and a "more" control (which may be referred to as the fourth button).

[0218] In some application scenarios, the "Make Emoji" control (which may be referred to as the eighth control) is hidden in the "More" in the editing area. In response to the user's operation on the "More" control in the editing area 921, the mobile phone displays multiple editing controls that are not displayed in the editing area of ​​the preview interface in the interface. For example, Fig. 9 In the interface 93 shown in (d), a plurality of editing controls under the "more" menu (which may be referred to as the first menu) are displayed, such as a "move" control, a "copy" control, a "hide" control, a "save as GIF" control, a "save as video" control, and a "make emoticon package" control. In response to the user's operation on the "make emoticon package" control, the mobile phone generates an emoticon package according to the current dynamic picture.

[0219] In other application scenarios, the "make emoticon" control is hidden in the "edit" in the editing area. In response to the user's operation on the "edit" control in the editing area 921, the mobile phone jumps to the following Fig. 9 The interface 94 shown in (e) in FIG. 9 is an editing interface for dynamic pictures (which may be referred to as the eighth interface). The interface 94 includes a "make emoticon package" control. In response to the user's operation on the "make emoticon package" control, the mobile phone generates an emoticon package according to the current dynamic picture.

[0220] Of course, the "make emoticon package" control may also be displayed in the editing area of ​​the interface 92, or in other areas of the interface 92, such as above the interface 92. The display position of the editing entry for making emoticons is not specifically limited here.

[0221] In the embodiment of the present application, there are two ways to enter the preview interface of the dynamic picture.

[0222] The first method is to enter the preview interface of the dynamic picture from the dynamic picture shooting interface. The dynamic picture shooting interface includes a gallery resource control (which can be called the third option), and the gallery resource control can display thumbnails of the latest dynamic pictures. For example, after the dynamic picture 4 is shot, the mobile phone saves the shot dynamic picture 4. After the saving is completed, the mobile phone can display the following Fig. 9The interface 90 shown in (a) is a dynamic picture shooting interface (which can be called the ninth interface). The control 901 at the lower left position of the interface 90 is a gallery resource control, and the thumbnail of the dynamic picture 4 is displayed in the control 901. The gallery resource control can be used to trigger the mobile phone to display the dynamic picture corresponding to the thumbnail. In response to the user's operation on the control 901, the mobile phone can display the interface 92.

[0223] The second way is to enter the preview interface of the dynamic picture (which may be called the ninth interface) from the thumbnail interface of the gallery application. In response to the user's operation on the icon of the gallery application on the mobile phone desktop, the mobile phone enters the thumbnail interface of the gallery application; in response to the user's operation on the thumbnail of the dynamic picture 4 in the thumbnail interface (which may be called the third option), the mobile phone enters the editing interface of the dynamic picture 4. Exemplarily, after the dynamic picture 4 is shot, the mobile phone saves the shot dynamic picture 4, and after saving, the mobile phone synchronizes the dynamic picture 4 to the gallery application. In response to the user's operation on the icon of the gallery application on the mobile phone desktop, the mobile phone enters the thumbnail interface of the gallery application, such as Fig. 9 In response to the user clicking the thumbnail of the dynamic picture 4 in the interface 91 (which can also be a long press, a slide, etc.), the mobile phone enters the editing interface of the dynamic picture 4, such as the interface 92.

[0224] The first method mentioned above is equivalent to providing an editing entry for dynamic pictures in the camera application of the mobile phone, and the second method is equivalent to providing an editing entry for dynamic pictures in the gallery application of the mobile phone.

[0225] In the embodiment of the present application, the mobile phone provides multiple editing entrances for dynamic pictures. After shooting, the user can jump to the editing entrance of the dynamic picture through the camera application, without returning to the mobile phone desktop and entering the editing interface of the dynamic picture through the gallery application; after continuing to shoot other materials, the user can also jump to the editing entrance of the dynamic picture through the gallery application. The above-mentioned multiple editing entrances of dynamic pictures reduce user operations and help improve user experience.

[0226] In the embodiment of the present application, the mobile phone provides a variety of editing functions for "making emoticons" of dynamic pictures, including screenshots, cropping, zooming, adding text or stickers, file exporting, etc.

[0227] In response to the user's operation on the "Make emoticon package" control, the mobile phone jumps to the editing interface of the "Make emoticon package", see Figures 10 to 15 The editing interface 01 shown in (may be called the tenth interface).

[0228] The editing interface 01 includes a preview area 011 , a progress bar area 012 , an editing area 013 and a navigation bar 014 .

[0229] The preview area 011 is used to play the dynamic picture. For example, after entering the editing interface 01 of the dynamic picture 5, the cover picture of the dynamic picture 5 is displayed in the preview area 011. In response to the user's operation on the preview area 011 (such as long pressing, clicking, etc.), the mobile phone plays the short video of the dynamic picture 5 in the preview area 011.

[0230] The progress bar area 012 includes a progress bar 0121 and a "play" control 0122. In actual applications, the default state of the "play" control can be a play state or a pause state. In response to the user's operation on the "play" control, the mobile phone switches the "play" control from the default state to another state. The area between the two handles of the progress bar 0121 is the image frame to be played, wherein the position of the left handle represents the starting frame of the dynamic image, and the position of the right handle represents the ending frame of the dynamic image.

[0231] In one implementation, as the dynamic image is played, the cursor 0123 on the progress bar 0121 moves, and the current position of the cursor 0123 is consistent with the image frame currently displayed in the preview area 011 .

[0232] In another implementation, in response to the user dragging the cursor 0123 , the mobile phone pauses playing the dynamic image and switches the picture in the preview area 011 to an image frame corresponding to the current position of the cursor 0123 .

[0233] The editing area 013 may include multiple editing controls. Such as the "intercept" control, "crop" control, "text" control and "sticker" control shown in the editing interface 01. Among them, the "intercept" control is used to trigger the mobile phone to intercept the short video of the dynamic picture. The "crop" control is used to trigger the mobile phone to crop each image frame in the dynamic picture. The "text" control is used to trigger the mobile phone to add text to the dynamic picture. The "sticker" control is used to trigger the mobile phone to add stickers to the dynamic picture. Of course, other editing controls may also be included in actual applications, or the above-mentioned editing controls may also be used to trigger other editing functions of the mobile phone for dynamic pictures, which are not specifically limited here.

[0234] The navigation bar 014 may include an "Exit" control 0141 and an "Export" control 0142. The "Exit" control 0141 is used to trigger the mobile phone to return to the previous interface. The "Export" control 0142 is used to trigger the mobile phone to keep the currently edited dynamic picture.

[0235] As an example of screenshot processing, in response to the user's operation on the "Snip" control in the editing area 013, the mobile phone displays the following Fig.10 The editing interface 01 shown in (a) is a capture interface of a dynamic image. In some implementations, after entering the capture interface, the dynamic image is automatically played in a loop from the beginning, such as Fig.10 As shown in (a), the "play" control 0122 is in a paused state, indicating that the current dynamic image is in the playing state.

[0236] In some implementations, when the dynamic image is in the playback state, the user drags the handle of the progress bar, the dynamic image is paused, and the cursor is hidden. Fig.10 As shown in (b), the positions of the two handles of the progress bar 0121 have changed, and the "play" control 0122 is in a play state, indicating that the current dynamic image is in a paused state, and the first frame of the currently captured short video (the image frame corresponding to the position of the handle on the left side of the progress bar 0121) is displayed in the preview area 011. In actual applications, the shortest duration of video capture can be set, such as 400 milliseconds.

[0237] In some implementations, when the user releases the handle of the progress bar, the dynamic image automatically plays from the first frame of the captured video (the image frame corresponding to the position of the handle on the left side of the progress bar 0121), and the cursor on the progress bar is redisplayed. Fig.10 As shown in (c) in the figure, the cursor on the progress bar 0121 is displayed, and the "play" control 0122 is in a paused state again, indicating that the current dynamic image is in a playing state. In actual applications, the user can operate the left handle and / or the right handle of the progress bar (such as dragging or sliding, etc.).

[0238] In some implementations, in response to a user long pressing the cursor on the progress bar, the mobile phone may display an image frame corresponding to the current position of the cursor on the preview interface. Fig.10 As shown in (d) in FIG. 1 , the cursor position of the progress bar 0121 is at 00:02, and accordingly, the preview area 011 is the image frame corresponding to 00:02.

[0239] The above is only an example of the short video capture operation of a dynamic picture. In actual applications, short videos of dynamic pictures can also be captured in other ways. The short video capture operation of dynamic pictures is not specifically limited in the embodiments of the present application.

[0240] As an example of cropping processing, in response to the user's operation of the "crop" control in the editing area 013, the mobile phone displays the following Fig.11 The editing interface 01 shown in (a) is a dynamic picture cropping interface. Fig.11 As shown in (a) of FIG. 1 , a cropping frame 0111 is displayed on the cropping interface. In one implementation, the cropping frame 0111 may include a preview area 011, such as the cropping frame 0111 being a boundary frame of the preview area 011. In another implementation, the cropping frame 0111 may be displayed in the center of the preview area 011.

[0241] The thumbnail of the dynamic picture (such as the cover picture) or a currently played image frame can be displayed in the cropping frame 0111. However, in the actual processing process, the mobile phone performs cropping processing on each image frame in the dynamic picture.

[0242] The cropping interface may include a "proportional" control 0112. Fig.11 As shown in (a) of FIG. 1 , the mobile phone includes an “original ratio” control (which may be referred to as the fifth button) and a “1:1” control (which may be referred to as the sixth button). In response to the user’s selection operation on the “ratio” control 0112, the mobile phone crops each image frame of the dynamic image according to the ratio selected by the user. For example, in response to the user’s selection operation on the “1:1” control, the mobile phone crops each image frame of the dynamic image according to 1:1, as shown in FIG. Fig.11 As shown in (b) in the figure, the aspect ratio of the cropping frame 0111 becomes 1:1.

[0243] In one implementation, after a dynamic image is successfully cropped at a 1:1 ratio, if the user continues to select the "original ratio" control, the mobile phone will continue to crop the dynamic image at the original ratio based on the 1:1 cropping result. For example, assuming the original ratio is 16:9, after obtaining a 1:1 cropped image, in response to the user's selection of the "original ratio" control, the mobile phone will continue to crop the 1:1 cropped image into a 16:9 cropped image. In this way, the user can crop and edit the dynamic image multiple times. Fig.11 As shown in (b) and (d), Fig.11 The image frame displayed in the preview area 011 in (d) is, Fig.11 The original ratio cropping is obtained based on the image frame displayed in the preview area 011 in (b). Of course, in practical applications, the next cropping can also be processed on the original dynamic image, that is, the user's continued selection of the cropping ratio is regarded as giving up the previous cropping operation.

[0244] In one implementation, when the dynamic image is successfully cropped at a 1:1 ratio, the cropping interface displays a “reset” control 0113 (which may be referred to as the seventh button), such as Fig.11 The "Reset" control is used to trigger the phone to return to the original ratio of the dynamic image. Fig.11 As shown in (c), in response to the user's operation on the "reset" control 0113, the mobile phone restores the size of the dynamic image to the original ratio, such as from 1:1 to 16:9.

[0245] Fig.11The size of the cropping frames in (c) and (d) is the same, but the images in the cropping frames are different. This is because after "resetting", the phone returns the dynamic image to the state before cropping by default; after 1:1 cropping, cropping at the original ratio is to crop the original ratio based on the 1:1 cropped image. In other words, when cropping multiple times, each cropping is a further cropping on the result of the previous cropping. This can save each cropping operation of the user, making it easier for the user to edit.

[0246] Fig.11 This is just an example of cropping a dynamic image. The image shown in this example is a vertical screen image. For horizontal screen images, the cropping process is the same as Fig.11 The cutting process described in the embodiments is the same and will not be described again here.

[0247] In one implementation, during the cropping process, the user can zoom in and out the image in the cropping frame, and can also move the image in the cropping frame. The zooming operation of the image in the cropping frame by the user may include pinching in with two fingers, expanding with two fingers, etc. The moving operation of the image in the cropping frame by the user may include moving with one finger, moving with two fingers, etc.

[0248] When the user performs a zooming operation on the image in the cropping frame, the mobile phone can pause playing the dynamic picture and display the zooming effect of a currently played image frame in the preview area 011 .

[0249] For example, see Fig.12 In (a), in response to the user's two-finger expansion operation on the cropping frame 0111, the mobile phone displays the following Fig.12 The interface shown in (b) in the figure. Fig.12 As shown in (b), the image beyond the cropping frame 0111 is displayed in black (or displayed in other forms, such as graying or darkening), and the image within the cropping frame 0111 is displayed normally. The "play" control 0122 is in a play state, indicating that the current dynamic image is in a paused state.

[0250] For example, see Fig.12 In (a), in response to the user's two-finger pinch operation on the cropping frame 0111, the mobile phone displays the following Fig.12 The interface shown in (c) in the figure. Fig.12 As shown in (c) in FIG. 1 , the size of the image frame is smaller than the cropping frame 0111, and the image frame is displayed in the center of the cropping frame 0111. When the user releases the two fingers, the image frame fills up the entire cropping frame 0111 again, as shown in FIG. Fig.12 As shown in (d) in .

[0251] When the user moves the image in the cropping frame, the mobile phone can pause playing the dynamic picture and display the zoom effect of a currently played image frame in the preview area 011.

[0252] Exemplarily, in response to a user's Fig.12 The mobile phone displays the following image frame movement operation in the cropping frame 0111 as shown in (b) of FIG. Fig.12 When the user lifts his finger, the black area outside the cropping frame 0111 gradually disappears, and the video automatically plays. Fig.12 As shown in (f), no image is displayed outside the cropping frame 0111, and the "play" control 0122 is in a paused state, indicating that the current dynamic image is in the playing state.

[0253] Fig.12 The above is only an example of moving and scaling dynamic images. In actual applications, dynamic images can also be moved and scaled in other ways. The embodiments of the present application do not specifically limit the moving and scaling operations of dynamic images.

[0254] As an example of adding text processing, in response to the user's operation on the "text" control in the editing area 013, the mobile phone displays the following Fig.13 The editing interface 01 shown in (a) is an interface for adding text to a dynamic image.

[0255] After entering the text adding interface, the keyboard pops up, the navigation bar 014 disappears, and the input box 0114 is displayed (it can be displayed in the center of the interface or in other positions on the interface), such as Fig.13 As shown in (a) in FIG. 1 , the user can move the input box 0114 , such as dragging or sliding the input box 0114 .

[0256] After entering the text adding interface, the dynamic image is paused by default, and the cover image of the dynamic image is displayed on the text adding interface. Of course, the user can control the pause / play of the dynamic image through the "play" control 0122. During the dynamic image playing process, the added text and image frame are played simultaneously.

[0257] When the user does not enter text in the input box 0114, the "Confirm" control 0115 behind the keyboard input box is in a non-clickable state. After the user enters text in the input box 0114, the "Confirm" control 0115 behind the keyboard input box becomes clickable, such as Fig.13 As shown in (b) in .

[0258] In response to the user clicking the "Confirm" control 0115, the mobile phone displays the following Fig.13 The interface shown in (c) in the figure. Fig.13As shown in (c) in the figure, the keyboard disappears, the navigation bar 014 is redisplayed, the dynamic picture is automatically played, and the "play" control 0122 is paused, indicating that the current dynamic picture is in the playing state. The text editing area 016 is displayed. The user can operate the editing controls in the text editing area 016 to trigger the mobile phone to process the added text.

[0259] In response to the user clicking the "Delete" control 0116, the mobile phone displays the following Fig.13 The interface shown in (d) in the figure. Fig.13 As shown in (d) in the figure, the keyboard disappears, the navigation bar 014 is redisplayed, the dynamic picture is automatically played, and the "play" control 0122 is paused, indicating that the current dynamic picture is in the playing state. The input text is displayed in the preview area 011. The logo 0117 is displayed, and the user can trigger the mobile phone to modify the input text through the logo 0117.

[0260] Fig.13 The above is only an example of adding text to dynamic images. In actual applications, text can be added to dynamic images in other ways. The embodiments of the present application do not specifically limit the text addition processing to dynamic images.

[0261] As an example of adding stickers, in response to the user's operation on the "sticker" control in the editing area 013, the mobile phone displays the following Fig.14 The editing interface 01 shown in (a) is an interface for adding stickers to a dynamic image.

[0262] After entering the sticker adding interface, the keyboard pops up, the navigation bar 014 disappears, and the sticker selection area 0118 is displayed. Fig.14 As shown in (a) in .

[0263] After entering the add sticker interface, the dynamic image is paused by default, and the cover image of the dynamic image is displayed on the add sticker interface. Of course, the user can control the pause / play of the dynamic image through the "play" control 0122. During the playback of the dynamic image, the added stickers and image frames are played simultaneously.

[0264] When the user does not operate the sticker in the sticker selection area 0118, the "Confirm" control 0115 behind the sticker selection area 0118 is in a non-clickable state. After the user operates the sticker in the sticker selection area 0118, the "Confirm" control 0115 behind the sticker selection area 0118 becomes clickable. Fig.14 As shown in (b) in .

[0265] In response to the user clicking the "Confirm" control 0115, the mobile phone displays the following Fig.14 The interface shown in (c) in the figure. Fig.14As shown in (c) in the figure, the sticker selection area 0118 disappears, the navigation bar 014 is redisplayed, the dynamic picture is automatically played, and the "play" control 0122 is paused, indicating that the current dynamic picture is in the playing state. The sticker editing area 017 is displayed. The user can operate the editing controls in the sticker editing area 017 to trigger the mobile phone to process the added stickers.

[0266] In response to the user clicking on the "Delete" control 0116, the sticker selection area 0118 disappears, the navigation bar 014 is redisplayed, the dynamic picture is automatically played, and the "Play" control 0122 is paused, indicating that the current dynamic picture is in the playing state.

[0267] Fig.14 The above is only an example of adding stickers to dynamic pictures. In actual applications, stickers can be added to dynamic pictures in other ways. The embodiment of the present application does not make specific limitations on the addition of stickers to dynamic pictures.

[0268] As an example of adding a file export process, in response to the user's operation on the "Export" control 0142 of the navigation bar 014, the mobile phone displays the following Fig.15 The editing interface 01 shown in (a) is an export interface for dynamic pictures.

[0269] In one implementation, when the export starts, an export progress bar pop-up window 018 may be displayed. During the export process, a mask layer is added to the interface except for the progress bar pop-up window 018 (or displayed in other forms, such as graying, dimming, etc.). During the file export process, the dynamic image is paused, and a currently playing image frame or cover image is displayed. When the saving process reaches 100%, that is, the saving is successful, the mobile phone jumps to the following Fig.15 The interface shown in (b) is a preview interface of the emoticon package (the edited dynamic picture). The emoticon package can be played in a loop in the preview interface.

[0270] The above examples are all explained using "making emoticons" as an example. In actual applications, the above editing functions can also be applied to other quick edits of dynamic images, such as "making GIF images", "converting to videos", etc., which are not specifically limited here.

[0271] In the embodiment of the present application, the mobile phone provides a variety of editing functions for dynamic pictures, allowing users to edit dynamic pictures more flexibly, which is conducive to improving user experience.

[0272] The present application also provides a chip system, such as Fig.16As shown, the chip system 1600 includes at least one processor 1601 and at least one interface circuit 1602. The processor 1601 and the interface circuit 1602 can be interconnected via lines. For example, the interface circuit 1602 can be used to receive signals from other devices (such as a memory of an electronic device). For another example, the interface circuit 1602 can be used to send signals to other devices (such as processor 1601). Exemplarily, the interface circuit 1602 can read instructions stored in the memory and send the instructions to the processor 1601. When the instructions are executed by the processor 1601, the electronic device can perform the various steps in the above embodiments. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiments of the present application.

[0273] An embodiment of the present application also provides a computer storage medium, which includes a computer program. When the computer program runs on the above-mentioned electronic device, the electronic device executes each function or step executed by the mobile phone in the above-mentioned method embodiment.

[0274] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute each function or step executed by the mobile phone in the above method embodiment.

[0275] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0276] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0277] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0278] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0279] 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 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, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (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: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0280] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A dynamic picture processing method, characterized in that: Used in electronic equipment, including: The electronic device displays a first interface, the first interface includes a first control, and the first interface is an application interface of a gallery application in the electronic device; The electronic device displays a second interface in response to the user's operation on the first control, wherein the second interface includes a second control and a third control of the first option, the first option displays a cover image of a first image, the first image is a dynamic image, the dynamic image includes a cover image and a video, the cover image is any image frame in the video of the dynamic image, and the second control is in a non-editable state; The electronic device switches the state of the second control to an editable state in response to the user's operation on the third control of the first option; The electronic device generates a first film in response to the user's operation on the second control, where the first film is a video obtained by the electronic device through processing based on the video of the first picture.

2. The method according to claim 1, characterized in that The second interface includes a fourth control; and the method further includes: The electronic device displays a third interface in response to the user's operation on the fourth control, where the third interface is a preview interface of the first image.

3. The method according to claim 2, characterized in that The third interface includes a first identifier; the method further includes: The electronic device plays the video of the first picture in the third interface in response to the user's operation on the first identifier.

4. The method according to any one of claims 1 to 3, characterized in that: The electronic device generates a first slice in response to a user's operation on a second control of the first option, including: In response to the user's operation on the second control, the electronic device adds a first video effect to the video of the first image to obtain the first film.

5. The method according to claim 4, characterized in that The method further comprises: The electronic device displays a fourth interface, the fourth interface includes a first button, and the first button corresponds to a second video effect; In response to a user clicking operation on the first button, the electronic device switches the video effect of the first piece from the first video effect to the second video effect.

6. The method according to any one of claims 1 to 5, characterized in that: The second interface also includes a second identifier of the first option; and the method further includes: The electronic device displays the second identifier in the first form in response to the user's operation on the second identifier; When the state of the second control is editable, the electronic device generates a second film in response to a third operation of the user on the second control, and the second film is a video obtained by the electronic device processing the first picture according to the form of the first picture represented by the first form.

7. The method according to claim 6, characterized in that After the electronic device displays the second identifier in the first form in response to the user's operation on the second identifier, the method further includes: The electronic device switches the form of the second identifier from the first form to the second form in response to the user's operation on the second identifier; When the state of the second control is editable, the electronic device generates a third film in response to a third operation of the user on the second control, and the third film is a video obtained by the electronic device processing the first picture according to the form of the first picture represented by the second form.

8. The method according to claim 6 or 7, characterized in that: The first form indicates that the first picture is in picture form, and the second form indicates that the first picture is in video form; Alternatively, the first form indicates that the first image is in video form, and the second form indicates that the first image is in picture form.

9. The method according to any one of claims 1 to 8, characterized in that: The first interface includes a fifth control; and the method further includes: The electronic device displays a fifth interface in response to the user's operation on the fifth control, wherein the fifth interface includes a sixth control and a seventh control of a second option, wherein the second option displays a cover image of a second image, the second image is a dynamic image, and the sixth control is in a non-editable state; The electronic device switches the state of the sixth control to an editable state in response to the user's operation on the seventh control of the second option; The electronic device generates a first puzzle in response to the user's operation on the sixth control, where the first puzzle is a spliced ​​picture obtained by the electronic device through puzzle processing based on the cover picture of the second picture.

10. The method according to claim 9, characterized in that The electronic device generates a first puzzle in response to the user's operation on the sixth control, including: In response to the user's operation on the sixth control, the electronic device performs puzzle processing on the cover image of the first image according to a first puzzle effect to obtain the first puzzle.

11. The method according to claim 10, characterized in that The method further comprises: The electronic device displays a sixth interface, the sixth interface includes a second button, the second button corresponds to a second puzzle effect, and the sixth interface is an editing interface of the first puzzle; In response to a user clicking operation on the second button, the electronic device switches the puzzle effect of the first puzzle piece from the first puzzle effect to the second puzzle effect.

12. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: The electronic device displays a seventh interface, the seventh interface includes a third button, the seventh interface is a preview interface of a third picture, and the third picture is a dynamic picture; The electronic device displays an eighth interface in response to a user clicking operation on the third button, wherein the eighth interface includes an eighth control and is an editing interface of the third picture; The electronic device generates a fourth film in response to a user's click operation on the eighth control, where the fourth film is a video obtained by the electronic device by processing the video of the third picture.

13. The method according to claim 12, characterized in that The seventh interface includes a fourth button; the method further includes: In response to the user clicking the fourth button, the electronic device displays a first menu in the seventh interface, wherein the first menu includes the eighth control; The electronic device generates the fourth slice in response to a click operation of the user on the eighth control.

14. The method according to claim 12 or 13, characterized in that The method further comprises: The electronic device displays a ninth interface, the ninth interface includes a third option, the third option displays a cover image of a fourth image, and the fourth image is a dynamic image; The electronic device displays the seventh interface in response to the user clicking the third option.

15. The method according to claim 14, characterized in that The ninth interface is an interface in the camera application of the electronic device before recording a video or taking a photo, or the ninth interface is an application interface of the gallery application in the electronic device.

16. The method according to any one of claims 12 to 15, characterized in that The method further comprises: The electronic device displays a tenth interface, the tenth interface includes a fifth button and a sixth button, the fifth button corresponds to the first size, the sixth button corresponds to the second size, and the tenth interface is an editing interface of the fourth sheet; In response to a user clicking operation on the fifth button, the electronic device crops the fourth slice according to the first size to obtain a first cropped image; In response to a click operation of the user on the sixth button, the electronic device crops the first cropped image according to the second size to obtain a second cropped image.

17. The method according to claim 16, characterized in that The tenth interface includes a seventh button; The method further comprises: After obtaining the first cropping image, the method further includes: In response to a click operation of the user on the seventh button, the electronic device restores the first cropped image to the fourth piece.

18. An electronic device, characterized in that: The electronic device comprises a memory and one or more processors, the memory being used to store a computer program, and the processor being used to execute the computer program in the memory, so that the electronic device implements the method according to any one of claims 1 to 17.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the method according to any one of claims 1 to 17 is implemented.

Citation Information

Cited By

  • Drainage circuit, drainage method, driving method of electronic equipment and electronic equipment

    CN119298314A

  • Media editing method and device, equipment and storage medium

    CN119597186A

  • Media editing method and apparatus, device, and storage medium

    WO2026108994A1

  • Media editing method and apparatus, device, storage medium, and program product

    WO2026108998A1

  • Media content editing method, apparatus, electronic device, storage medium, and program product

    WO2026199945A1