Video generation system, method, and related devices

By analyzing and editing real-time captured videos and using geolocation information to determine the timing, the long waiting time problem in existing technologies for generating album videos has been solved, achieving a more efficient video generation process.

CN116366785BActive Publication Date: 2025-11-18HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111580204.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-22
Publication Date
2025-11-18
Estimated Expiration
2041-12-22

AI Technical Summary

Technical Problem

Existing technologies require long waiting times when generating photo album videos, especially when dealing with large amounts of data. They cannot effectively utilize the resources of electronic devices during the charging and screen-off periods, resulting in a poor user experience.

Method used

By analyzing and editing live video footage in real time, and using the geographic location information of electronic devices to determine the start and end times of the analysis, video generation is performed synchronously, reducing waiting time.

Benefits of technology

It improves video generation efficiency, reduces user waiting time, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116366785B_ABST
    Figure CN116366785B_ABST
Patent Text Reader

Abstract

Disclosed are a video generation method and related devices, characterized in that the method comprises: when a geographical position of a first electronic device meets a first preset condition, the first electronic device starts to analyze and edit video and / or image data that is being captured in real time by another electronic device (for example, a second electronic device), thereby selecting part of the pictures in the real-time captured video and / or image. That is, the other electronic device captures video and / or image while the first electronic device synchronously selects pictures from the video and / or image. When the geographical position of the first electronic device meets a second preset condition, the first electronic device generates a first video and no longer analyzes and edits video and / or image that is captured thereafter. The first video is obtained by splicing the selected part of the pictures. This way of synchronously analyzing video and / or image that is being captured in real time can improve the efficiency of video generation and reduce the waiting time of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and in particular to a video generation system, method and related apparatus. Background Technology

[0002] Mobile phones can edit and splice images or videos saved in the album over a period of time or under a theme to automatically generate a new video (also known as a vlog). This new video can be a highlight reel of a period of time, such as a highlight reel of a weekend or holiday; or it can be a highlight reel of a theme, such as a highlight reel of a sports theme, a highlight reel of a travel theme, a highlight reel of a graduation theme, etc.

[0003] Currently, the generation of videos capturing memorable moments from photo albums needs to be completed while the electronic device is charging and the screen is off. This process is time-consuming, especially with large amounts of data, leading to long waiting times for users with numerous photos and videos. Furthermore, during travel, fleeting moments of beauty often occur that users want to capture with photos or videos but don't have the time. Therefore, improving video generation efficiency and reducing user waiting time is a problem that those skilled in the art are researching. Summary of the Invention

[0004] This application provides a video generation system, method, and related apparatus that can simultaneously analyze and edit real-time captured videos, improving video generation efficiency and reducing user waiting time.

[0005] In a first aspect, this application provides a video generation method, the method comprising: a first electronic device determining that its own geographical location information meets a first preset condition; the first electronic device acquiring a real-time captured video and / or image; the first electronic device selecting a portion of the real-time captured video and / or image; when the geographical location information of the first electronic device meets a second preset condition, the first electronic device generating a first video, the first video being stitched together based on the portion of the image.

[0006] In this embodiment, a first electronic device determines the start and end times of video and / or image analysis based on its own geographical location. When the geographical location of the first electronic device meets a first preset condition, the first electronic device begins to analyze and edit video and / or image data captured in real time by other electronic devices (e.g., a second electronic device), thereby selecting a portion of the captured video and / or image. That is, while other electronic devices are capturing video, the first electronic device simultaneously selects frames from that video. When the geographical location of the first electronic device meets a second preset condition, the first electronic device generates a first video and no longer analyzes or edits subsequently captured video and / or images. This first video is obtained by stitching together the selected portion of the video. This method of synchronously analyzing real-time captured video and / or images can improve the efficiency of video generation and reduce user waiting time.

[0007] Based on the first aspect, in one possible implementation, the first preset condition includes: the current geographical location of the first electronic device has left the user's usual residence area; or the current geographical location of the first electronic device has left the user's usual residence area and the duration of the departure exceeds a first threshold; or the shortest distance between the current geographical location of the first electronic device and a preset location is greater than or equal to a second threshold, where the preset location includes the user's usual residence area; or the current geographical location of the first electronic device has entered a specific area. The first preset condition determines the timing when the first electronic device begins analyzing video and / or images. When the first electronic device determines that its geographical location information meets the first preset condition, the first electronic device begins synchronous analysis of the real-time captured video and / or images. In this embodiment, the first preset condition is related to the geographical location information of the first electronic device and can be applied to application scenarios where users generate travel videos while traveling.

[0008] Based on the first aspect, in one possible implementation, the video and / or images are captured in real time by a second electronic device. Optionally, the video and / or images may be captured in real time by a first electronic device; alternatively, the video and / or images may be captured in real time by multiple electronic devices.

[0009] Based on the first aspect, in one possible implementation, the first electronic device selects a portion of the video and / or image, including: the first electronic device segments the acquired video and / or image; the first electronic device scores the segmented video and / or image based on an aesthetic scoring algorithm, and selects the highest-scoring image from each segmented video and / or image, wherein the portion of the image includes the highest-scoring image from each segmented video and / or image.

[0010] In one possible implementation, the scoring weights of the aesthetic scoring algorithm are associated with the scene type of the segmented video and / or image. The scoring rules for aesthetic scoring can change according to the scene type of the video frame. For each video segment divided by the first electronic device, the scene type of that video segment is determined based on the current geographical location of the first electronic device or image recognition technology, thereby determining the scoring rules corresponding to that scene type. In this way, by using precise scene classification and customized aesthetic scoring rules, the most aesthetically pleasing image segments can be selected, improving the user experience.

[0011] Based on the first aspect, in one possible implementation, the second preset condition includes: the first electronic device's current geographical location has entered a preset location; or the remaining time between the first electronic device's current geographical location and the preset location is less than a fifth threshold. The second preset condition determines when the first electronic device ends its analysis of video and / or images, allowing it to generate the first video immediately upon meeting the second preset condition, without waiting for lengthy background analysis. In this embodiment, the second preset condition is related to the geographical location information of the first electronic device, making it applicable to application scenarios where users generate travel videos while traveling.

[0012] Based on the first aspect, in one possible implementation, the first electronic device generates a first video, and then further includes: the first electronic device outputs a first prompt message, the first prompt message being used to provide editing methods for the first video, the editing methods including playing the first video, saving the first video, deleting the first video, adjusting the order of the displayed frames in the first video, deleting some of the displayed frames in the first video, inserting transition effects between the displayed frames of the first video, adding text, stickers, watermarks to the displayed frames of the first video, and adding one or more of the background music of the first video.

[0013] Based on the first aspect, in one possible implementation, the method further includes: the first electronic device generating a video name for the first video based on the geographical location information of the first electronic device or the video content of the first video. This solves the current problem of monotonous video names in photo libraries, enriching the ecosystem of photo libraries for users to record their lives.

[0014] Based on the first aspect, in one possible implementation, the method further includes: the first electronic device sending the first video to a third electronic device, the third electronic device including the second electronic device.

[0015] Secondly, this application provides a video generation system, including a first electronic device and a second electronic device, wherein the first electronic device and the second electronic device establish a connection;

[0016] A second electronic device for capturing videos and / or images;

[0017] A first electronic device is used to determine whether its own geographical location information meets a first preset condition;

[0018] The first electronic device is further configured to acquire video and / or images captured in real time by the second electronic device;

[0019] The first electronic device is further configured to select a portion of the video and / or image;

[0020] The first electronic device is also used to generate a first video when the geographical location information of the first electronic device meets the second preset condition. The first video is spliced ​​together based on the partial images.

[0021] In this embodiment, a first electronic device and a second electronic device are connected, allowing the second electronic device to capture video / images at any time. The first electronic device determines the start and end times of video and / or image analysis based on its geographical location. When the geographical location of the first electronic device meets a first preset condition, the first electronic device begins analyzing and editing the video and / or image data captured in real time by the second electronic device, thereby selecting a portion of the captured video and / or image. That is, while the second electronic device is capturing video, the first electronic device simultaneously selects frames from that video. When the geographical location of the first electronic device meets a second preset condition, the first electronic device generates a first video and no longer analyzes or edits subsequently captured video and / or images. This first video is obtained by stitching together the selected frames. This method of synchronously analyzing real-time captured video and / or images improves video generation efficiency and reduces user waiting time.

[0022] Based on the second aspect, in one possible implementation, the first preset condition includes: the current geographical location of the first electronic device has left the user's usual residence area; or the current geographical location of the first electronic device has left the user's usual residence area and the duration of the departure exceeds a first threshold; or the shortest distance between the current geographical location of the first electronic device and a preset location is greater than or equal to a second threshold, where the preset location includes the user's usual residence area; or the current geographical location of the first electronic device has entered a specific area. The first preset condition determines the timing when the first electronic device begins analyzing video and / or images. When the first electronic device determines that its geographical location information meets the first preset condition, the first electronic device begins synchronous analysis of the real-time captured video and / or images. In this embodiment, the first preset condition is related to the geographical location information of the first electronic device and can be applied to application scenarios where users generate travel videos while traveling.

[0023] Based on the second aspect, in one possible implementation, the first electronic device is further configured to select a portion of the video and / or image captured in real time, including: the first electronic device is further configured to segment the acquired video and / or image; the first electronic device is further configured to score the segmented video and / or image based on an aesthetic scoring algorithm, and select the highest-scoring image from each segmented video and / or image, wherein the portion of the image includes the highest-scoring image from each segmented video and / or image.

[0024] In one possible implementation, the scoring weights of the aesthetic scoring algorithm are associated with the scene type of the segmented video and / or image. The scoring rules for aesthetic scoring can change according to the scene type of the video frame. For each video segment divided by the first electronic device, the scene type of that video segment is determined based on the current geographical location of the first electronic device or image recognition technology, thereby determining the scoring rules corresponding to that scene type. In this way, by using precise scene classification and customized aesthetic scoring rules, the most aesthetically pleasing image segments can be selected, improving the user experience.

[0025] Based on the second aspect, in one possible implementation, the second preset condition includes: the first electronic device's current geographical location has entered a preset location; or the remaining time between the first electronic device's current geographical location and the preset location is less than a fifth threshold. The second preset condition determines when the first electronic device ends its analysis of video and / or images, allowing it to generate the first video immediately upon meeting the second preset condition, without waiting for lengthy background analysis. In this embodiment, the second preset condition is related to the geographical location information of the first electronic device, making it applicable to application scenarios where users generate travel videos while traveling.

[0026] Based on the second aspect, in one possible implementation, the first electronic device is further configured to output a first prompt message after generating the first video. The first prompt message is configured to provide editing methods for the first video, including playing the first video, saving the first video, deleting the first video, adjusting the order of the displayed frames in the first video, deleting some of the displayed frames in the first video, inserting transition effects between the displayed frames of the first video, adding text, stickers, watermarks to the displayed frames of the first video, and adding one or more of the background music of the first video.

[0027] Based on the second aspect, in one possible implementation, the first electronic device is further used to generate a video name for the first video based on the geographical location information of the first electronic device or the video content of the first video. This solves the current problem of monotonous video names in photo galleries, enriching the ecosystem of photo galleries for users to record their lives.

[0028] Based on the second aspect, in one possible implementation, the first electronic device is also used to send the first video to the second electronic device.

[0029] Based on the second aspect, in one possible implementation, the second electronic device is further configured to receive the first video; the second electronic device is further configured to output a second prompt message, the second prompt message being configured to provide editing methods for the first video, the editing methods including playing the first video, deleting the first video, adjusting the order of the displayed frames in the first video, deleting part of the displayed frames in the first video, inserting transition effects between the displayed frames of the first video, adding text, stickers, watermarks to the displayed frames of the first video, and adding one or more of the background music of the first video.

[0030] Thirdly, this application provides an electronic device, including: one or more processors and one or more memories; the one or more memories are coupled to the one or more processors; the one or more memories are used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed on the processor, the electronic device causes the electronic device to perform the video generation method in any possible implementation of any of the above aspects.

[0031] Fourthly, this application provides a server, including: one or more processors and one or more memories; the one or more memories are coupled to the one or more processors; the one or more memories are used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed on the processor, the electronic device performs the video generation method in any possible implementation of any of the above aspects.

[0032] Fifthly, embodiments of this application provide a computer storage medium including computer instructions that, when executed on an electronic device, cause a communication device to perform the video generation method in any of the possible implementations of any of the above aspects.

[0033] Sixthly, embodiments of this application provide a computer program product that, when run on a computer, causes the computer to execute the video generation method in any of the possible implementations of any of the above aspects. Attached Figure Description

[0034] Figure 1 A flowchart illustrating the steps for automatically generating image-stitched video according to an embodiment of this application;

[0035] Figure 2 This is a schematic diagram of the architecture of a video generation system provided in an embodiment of this application;

[0036] Figure 3aThis is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0037] Figure 3b A software structure diagram of an electronic device provided in an embodiment of this application;

[0038] Figure 4 A flowchart illustrating the steps of a video generation method provided in this application embodiment;

[0039] Figures 5a-5c This application provides an illustration of a video generation method according to an embodiment of the present application.

[0040] Figure 6 This application provides an illustration of a video generation method according to an embodiment of the present application.

[0041] Figure 7 This application provides an interface diagram of a video generation method on an in-vehicle infotainment system, as shown in the embodiments of this application.

[0042] Figure 8 This is an application interface diagram of a video generation method provided in this application embodiment on a mobile phone. Detailed Implementation

[0043] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " represents "or," for example, A / B can represent A or B; the word "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0044] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying relative importance or implicitly indicating the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of embodiments of this application, unless otherwise stated, "multiple" means two or more. The terms "middle," "left," "right," "upper," and "lower," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.

[0045] The electronic devices involved in the embodiments of this application may be mobile phones, tablets, desktops, laptops, ultra-mobile personal computers (UMPCs), handheld computers, netbooks, personal digital assistants (PDAs), virtual reality devices, portable internet devices, data storage devices, wearable devices (e.g., wireless headphones, smartwatches, smart bracelets, smart glasses, head-mounted displays (HMDs), electronic clothing, electronic bracelets, electronic necklaces, electronic accessories, electronic tattoos, and smart mirrors), vehicles, in-vehicle systems, in-vehicle terminals (e.g., smart screens, in-vehicle cameras, displays), cameras, and various electronic devices with cameras, etc.

[0046] The technical keywords involved in the embodiments of this application are described below.

[0047] Image Aesthetic Scoring: This involves scoring images based on aesthetic scoring algorithms. For image aesthetic scoring algorithms, some quantitative image aesthetic rules can be used, such as the distribution of important features within the captured image. These aesthetic scoring rules can be derived from empirical summaries; commonly used aesthetic scoring rules include the rule of thirds, the main diagonal principle, visual balance, and determining the proportion of the subject within the frame. Different image aesthetic rules can be used based on different needs. An aesthetic score Ei can be calculated based on each rule. The final aesthetic score of an image can be the aesthetic score calculated according to any one rule, or it can be a weighted average of aesthetic scores calculated according to multiple rules, i.e., E = ∑wiEi, where wi represents the weight. Specifically, the aesthetic score under each rule can be expressed as Ei = g(Si,Fi), where Si describes the size and position of the captured subject, Fi describes the distribution of the main features within the image, and g is a user-defined function (e.g., a Gaussian function).

[0048] Video aesthetics scoring: Similar to image aesthetics scoring, image frames are extracted from a video, and the aesthetics score of a video can be a weighted average of the aesthetics scores of multiple image frames in the video.

[0049] The following examples illustrate the application scenarios involved in the embodiments of this application.

[0050] Mobile phones can edit and splice images or videos saved in the album over a period of time or under a theme to automatically generate a new video (also known as a vlog). This new video can be a highlight reel of a period of time, such as a highlight reel of a weekend or holiday; or it can be a highlight reel of a theme, such as a highlight reel of a sports theme, a highlight reel of a travel theme, a highlight reel of a graduation theme, etc.

[0051] In some application scenarios, while a user is driving, other users in the car can take photos of the surrounding scenery as a record. If the user wants to obtain a new processed video based on the photos or videos, they need to manually edit and stitch them together; alternatively, the mobile phone can generate it automatically. Currently, the process of automatically generating image-stitched videos on a mobile phone involves performing time and location clustering, scene classification, and aesthetic scoring on the photos in the user's album while the phone is charging and the screen is off. After taking photos with the phone, the user needs to wait for a period of time while the phone is charging and the screen is off. After the photos in the album are clustered by time and location, intelligently classified, and an artistic cover is generated, a picture video composed of several photos can be obtained.

[0052] Specifically, such as Figure 1 As shown, Figure 1 This document describes a step-by-step process for automatically generating a stitched video. When an electronic device detects that it is currently charging and in a screen-off state, it categorizes the photos stored in its album. This categorization can be based on time and / or location. Time-based categorization could involve grouping photos stored within a week or within a weekend. Location-based categorization could involve grouping photos stored at the same location or within a weekend at the same location. The electronic device then analyzes the grouped photos, removing duplicates and scoring them using an algorithm. Photos with high repetition rates and low scores are eliminated, resulting in a final set of photos. These photos are then sorted, and photos depicting similar scenes are grouped together to generate the final stitched video. This video can be named based on time or scene, such as "Weekend Moments" or "Weekend Stories."

[0053] In particular, due to the heavy reliance on intelligent capabilities for specific scenarios or moments, and the fact that user photos are mostly from weekend trips, the generated album videos are mostly videos without specific context. A large number of videos without specific context suffer from duplicate and repetitive naming issues. Furthermore, the aforementioned methods require the process to be completed while the electronic device is charging and the screen is off. With large amounts of data, the analysis time is long, and with a large number of photos, the user's waiting time is also long.

[0054] This application provides a video generation method in which an electronic device can synchronously analyze and edit a video being captured in real time. This solves the problem of long waiting time for users in the above scenario. While a user is driving a car, other users in the car can record the surrounding scenery. When the recorded video ends, the user can immediately obtain the edited new video.

[0055] Figure 2 The present application illustrates the system architecture of a video generation system according to an embodiment of the present application, such as... Figure 2 As shown, the video generation system includes an electronic device 100 and one or more electronic devices 101. The electronic devices 100 and 101 can be connected via wired or wireless communication, such as Bluetooth, Near Field Communication (NFC), Wireless Fidelity (WiFi), or WiFi Direct. One or more electronic devices 101 may include cameras, tablets, iPads, mobile phones, or other electronic devices with cameras. Optionally, the electronic device 100 may have an application that supports video generation technology installed and running; this application may be a photography application or a video processing application.

[0056] In this embodiment, electronic device 101 records video, and electronic device 100 can acquire video data in real time during the recording process. Electronic device 100 then analyzes and edits the acquired video data. That is, while electronic device 101 records video, electronic device 100 simultaneously analyzes and edits the video. When recording ends, electronic device 100 obtains a newly edited video. This improves video generation efficiency and reduces user waiting time. For example, electronic device 100 can be a vehicle-mounted system, such as a car camera or a mobile phone with a camera. When a user is driving a vehicle connected to electronic device 101, electronic device 101 can record roadside scenery in real time. Electronic device 100 can then simultaneously analyze and edit the captured video or images. After the drive ends, electronic device 100 can generate a travel video about the driving experience. Furthermore, electronic device 100 can share the generated travel video with other electronic devices (including electronic device 101).

[0057] In some embodiments, electronic devices 100 and 101 can communicate via a server, which provides backend services for applications supporting video generation technology. The server can be an application server, cloud server, backend server, etc. It can also be a cloud computing platform, virtualization center, etc., and includes devices for accessing wide area networks, such as base stations, broadband access servers (BRAS), optical network units, broadband network gateways (BNG), aggregation switches, etc.

[0058] In some embodiments, electronic device 100 and electronic device 101 are devices logged into the same account, or the accounts logged into by electronic device 100 and electronic device 101 are associated accounts, wherein the associated account can be an account authorized by the same account. Optionally, the account here can refer to an application account, device account, identity account, etc.

[0059] The electronic device 100 involved in the embodiments of this application will be introduced first below.

[0060] See Figure 3a , Figure 3a A schematic diagram of the structure of an exemplary electronic device 100 provided in an embodiment of this application is shown.

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

[0062] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0063] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0064] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.

[0065] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

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

[0067] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C buses. The processor 110 can couple to the touch sensor 180K, charger, flash, camera 193, etc., through different I2C bus interfaces. For example, the processor 110 can couple to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0068] The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface to enable the function of answering phone calls through a Bluetooth headset.

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

[0070] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface to enable music playback through Bluetooth headphones.

[0071] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to enable the electronic device 100 to capture images. The processor 110 and the display screen 194 communicate via the DSI interface to enable the electronic device 100 to display images.

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

[0073] USB port 130 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.

[0074] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0075] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.

[0076] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, external memory, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.

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

[0078] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.

[0079] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0080] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.

[0081] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including UWB, wireless local area networks (WLAN) (such as wireless fidelity (WiFi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0082] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

[0083] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0084] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0085] In some embodiments of this application, the display screen 194 displays the interface content currently output by the system. For example, the interface content is the interface provided by an instant messaging application.

[0086] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0087] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0088] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0089] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.

[0090] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0091] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.

[0092] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.

[0093] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0094] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.

[0095] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.

[0096] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or make hands-free calls through the speaker 170A.

[0097] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a telephone call or voice message, the receiver 170B can be brought close to the ear to listen to the voice.

[0098] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Electronic device 100 may have at least one microphone 170C. In some embodiments, electronic device 100 may have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, electronic device 100 may also have three, four, or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.

[0099] The 170D headphone jack is used to connect wired headphones. The 170D headphone jack can be a USB 130 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.

[0100] Pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, pressure sensor 180A may be disposed on display screen 194. In some optional embodiments of this application, pressure sensor 180A may be used to capture the pressure value generated when a user's finger touches the display screen and transmit the pressure value to the processor so that the processor can identify which finger the user is using to input the user operation.

[0101] There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the touch position based on the detection signal from the pressure sensor 180A. In some embodiments, different touch positions can correspond to different operation commands. In some optional embodiments, the pressure sensor 180A can also calculate the number of touch points based on the detected signal and transmit the calculated value to the processor, allowing the processor to recognize whether the user inputs the operation using a single finger or multiple fingers.

[0102] The gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 100. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the electronic device 100 around three axes (the X-axis, Y-axis, and Z-axis of the electronic device). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the shake of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 100 by moving in the opposite direction, thus achieving image stabilization. The gyroscope sensor 180B can also be used in navigation and motion-sensing game scenarios.

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

[0104] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip cover. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover using the magnetic sensor 180D. Then, based on the detected opening and closing state of the cover or the flip cover, features such as automatic flip unlocking can be set.

[0105] Accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in various directions (generally three axes). When electronic device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic device and applied to applications such as screen orientation switching and pedometers. In some optional embodiments of this application, accelerometer 180E can be used to capture the acceleration value generated when a user's finger touches the display screen (or the user's finger taps the rear edge of the back cover of electronic device 100) and transmit the acceleration value to the processor so that the processor can identify which finger the user used to input the operation.

[0106] A distance sensor 180F is used to measure distance. Electronic device 100 can measure distance via infrared or laser. In some embodiments, during a shooting scene, electronic device 100 can utilize the distance sensor 180F to measure distance for rapid focusing.

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

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

[0109] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.

[0110] Temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 uses the temperature detected by temperature sensor 180J to execute a temperature handling strategy. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs thermal protection by reducing the performance of a processor located near temperature sensor 180J to reduce power consumption. In other embodiments, when the temperature is below another threshold, electronic device 100 heats battery 142 to prevent abnormal shutdown of electronic device 100 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, electronic device 100 boosts the output voltage of battery 142 to prevent abnormal shutdown due to low temperature.

[0111] Touch sensor 180K, also known as a "touch panel," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it, such as actions by a user's hand, elbow, stylus, etc., touching display screen 194. The touch sensor transmits 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 display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.

[0112] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals from the vibrating bone segments of the human vocal cords. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals. In some embodiments, the bone conduction sensor 180M can also be incorporated into headphones to form bone conduction headphones. The audio module 170 can parse the voice signals from the vibrating bone segments of the vocal cords acquired by the bone conduction sensor 180M to realize voice functionality. The application processor can parse heart rate information from the blood pressure signals acquired by the bone conduction sensor 180M to realize heart rate detection functionality.

[0113] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.

[0114] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 191 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 194. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.

[0115] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.

[0116] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with or separate from the electronic device 100.

[0117] The software systems of electronic devices 100 and 101 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application uses the Android system as an example to exemplify the software architecture of electronic device 100. The Android system is merely one system instance of electronic device 100 or 101 in this application embodiment; this application can also be applied to other types of operating systems, such as iOS, Windows, HarmonyOS, etc., and this application does not impose any limitations on them. The following only uses the Android system as an example of the operating system for electronic device 100.

[0118] Figure 3b This is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention.

[0119] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

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

[0121] like Figure 3b As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.

[0122] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0123] like Figure 3b As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0124] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.

[0125] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.

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

[0127] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).

[0128] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0129] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.

[0130] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

[0131] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.

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

[0133] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.

[0134] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0135] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

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

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

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

[0139] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0140] Based on the above system architecture and hardware / software structure, the following details the steps and flow of a video generation method provided in this application, such as... Figure 4 As shown, Figure 4 An exemplary flowchart of a video generation method is shown, which may include:

[0141] S101: Electronic device 100 and electronic device 101 establish a connection.

[0142] Electronic device 100 and electronic device 101 can be connected via wired or wireless communication methods. These wireless communication methods may include, for example, Bluetooth, near field communication (NFC), wireless fidelity (WiFi), or WiFi Direct. Electronic device 101 includes devices with cameras such as cameras, tablets, iPads, and mobile phones. In this embodiment, electronic device 100 may also be referred to as a first electronic device, and electronic device 101 may also be referred to as a second electronic device.

[0143] In some embodiments, electronic devices 100 and 101 can communicate with each other via a server, which may be an application server, a cloud server, a backend server, etc.

[0144] In some embodiments, if electronic device 100 is a vehicle, then electronic device 101 can be a mobile phone, camera, etc.; or if electronic device 100 is a mobile phone, then electronic device 101 can be a vehicle camera, other mobile phones, etc. Optionally, electronic device 101 can be mounted on electronic device 100. For example, if electronic device 100 is a vehicle, electronic device 101 is a vehicle camera; or if electronic device 100 is a mobile phone, electronic device 101 is a camera on the mobile phone.

[0145] In some embodiments, electronic device 100 and electronic device 101 are activated, electronic device 101 can capture pictures and / or videos, and electronic device 100 can synchronously acquire the picture and / or video data captured by electronic device 101.

[0146] In some embodiments, electronic device 100 establishes a connection with multiple electronic devices 101, and electronic device 100 can simultaneously acquire image or video data captured by multiple electronic devices 101. For example, electronic device 100 is a vehicle, and electronic devices 101 are a vehicle-mounted camera and a camera on a mobile phone.

[0147] S102: Electronic device 100 determines that the geographical location information of electronic device 100 meets the first preset condition.

[0148] The electronic device 100 obtains its own geographical location information, which may include absolute geographical location information determined by the GPS system, such as latitude and longitude; geographical location area located by the navigation system, such as a certain street in a certain district; relative position of the electronic device 100 from the initial starting position; or relative position of the electronic device 100 from a certain preset position.

[0149] In some embodiments, the first preset condition is that the current geographical location of the electronic device 100 has left the user's usual residence area. The user's usual residence area may include one or more regions, which can be based on a city, a region, a street, etc. Optionally, the user's usual residence area is preset by the electronic device 100, and the user can add or delete it. Optionally, the user's usual residence area is calculated by the electronic device 100 based on its historical movement trajectory, and the electronic device 100 can update (add or delete) the user's usual residence area.

[0150] Furthermore, the first preset condition is that the current geographical location of the electronic device 100 has left the user's usual residence area and the duration of the absence exceeds a first threshold.

[0151] In some embodiments, the first preset condition is that the shortest distance between the current geographical location of the electronic device 100 and a preset location of the electronic device 100 is greater than or equal to a second threshold. For example, let the second threshold be 30 kilometers, and the preset location of the electronic device 100 be point A. When the current geographical location of the electronic device 100 is point B, and the distance between point B and point A is 30 kilometers or greater, then the current geographical location of the electronic device (point B) satisfies the first preset condition. Optionally, the preset location can be the user's usual residence area.

[0152] In some embodiments, the first preset condition is that the current geographical location of the electronic device 100 has entered a specific area, such as a scenic area, tourist attraction, etc. Optionally, the specific area is updated in real time, for example, new scenic areas are added based on the network; alternatively, the specific area is preset by the user.

[0153] In some embodiments, the first preset condition is that the distance between the current geographical location of the electronic device 100 and its initial starting location is greater than or equal to a third threshold. For example, let the third threshold be 30 kilometers. If the electronic device 100 starts moving from point A, and when the electronic device 100 moves to point B, and the distance between point B and point A is 30 kilometers or greater, then the current geographical location of the electronic device (point B) satisfies the first preset condition.

[0154] In some embodiments, the first preset condition is that the electronic device 100 detects that it has entered the highway through a toll station. Optionally, the electronic device 100 detects its current geographical location through the toll station based on navigation software. Optionally, the electronic device 100 detects that it has passed through the toll station based on sensors.

[0155] In some embodiments, the first preset condition is that the electronic device 100 receives a user confirmation instruction. When the electronic device 100 receives a user confirmation instruction, the electronic device 100 meets the first preset condition.

[0156] S103: Electronic device 100 analyzes the video captured in real time by electronic device 101.

[0157] When the electronic device 100 determines that its geographical location information meets the first preset condition, the electronic device 100 analyzes the video captured in real time by the electronic device 101.

[0158] In some application scenarios, taking electronic device 100 as an in-vehicle infotainment system as an example, electronic device 101 is an in-vehicle camera connected to the infotainment system. When the vehicle starts, the vehicle power supply provides power to the infotainment system and the in-vehicle camera, allowing the in-vehicle camera to record video in real time. When the infotainment system determines that its current geographical location information meets the first preset condition, it then acquires and analyzes the video currently being recorded by the in-vehicle camera.

[0159] In some embodiments, when the electronic device 100 determines that its geographical location information meets the first preset condition, the electronic device 101 starts to shoot video, and the electronic device 100 analyzes the video shot in real time.

[0160] In some embodiments, electronic device 101 is recording video. When electronic device 101 determines that its geographical location information meets a first preset condition, electronic device 101 analyzes the video it is recording in real time. If electronic device 101 detects that its geographical location information meets the first preset condition after recording for 5 minutes, then electronic device 101 analyzes the video it is currently recording, that is, it analyzes the video recorded 5 minutes later. For example, electronic device 100 is a vehicle infotainment system, and electronic device 101 is a vehicle-mounted camera. When the vehicle starts, the vehicle infotainment system and the vehicle-mounted camera are powered, and the vehicle-mounted camera begins recording video. When the vehicle infotainment system determines that its geographical location information meets the first preset condition, the vehicle infotainment system then synchronously analyzes the video recorded in real time by the vehicle-mounted camera.

[0161] The following details the methods and principles by which electronic device 100 analyzes the video captured in real time by electronic device 101.

[0162] Electronic device 100 synchronously acquires the video captured in real time by electronic device 101, selects a scene from the acquired video, and uses the selected scene as a segment of the final generated new video.

[0163] like Figure 5aAs shown, electronic device 100 synchronously acquires video footage captured by electronic device 101. Electronic device 100 extracts frames from the acquired video footage and scores them based on an aesthetic scoring algorithm. When a change in scene type is detected in the video footage, electronic device 100 determines the highest-scoring video segment from the previous scene. Then, it continues to extract and score frames for the next scene until the process ends.

[0164] In this embodiment, the electronic device 100 selects the highest-scoring video frame in real time via a sliding window. This allows the electronic device 100 to generate the first video immediately upon meeting the second preset condition, without waiting for lengthy background analysis. Furthermore, when the electronic device 100 is an in-vehicle infotainment system, its power consumption requirements are lower, with an average analysis time of 800-1000ms per frame, thus saving resources.

[0165] In some embodiments, the electronic device 100 segments the acquired video data and then selects a portion of the video from each segment according to a preset method.

[0166] Furthermore, the electronic device 100 can segment the acquired video data based on scene shots, such as character shots, landscape shots, transition shots, etc. Figure 5b As shown, Figure 5b The example illustrates a video captured in real time by electronic device 101. Electronic device 100 simultaneously acquires the video captured by electronic device 101. Electronic device 100 identifies image frames in the video based on image recognition technology, thereby classifying the shots into different categories. Figure 5b The image shows three types of scene shots, each corresponding to a segment of video. Image frames in the video before time point 1 are classified as scene shot 1; image frames in the video between time point 1 and time point 2 are classified as scene shot 2; and image frames in the video after time point 2 are classified as scene shot 3.

[0167] Each time the electronic device 100 divides a video segment, it selects frames from that segment and uses the selected frames as part of the final generated new video. In some embodiments, the electronic device 100 can generate corresponding names or brief descriptions for the selected video frames based on geographic location information or video content, thereby improving the user's viewing experience of the generated new video.

[0168] Optionally, the selection method can be to divide the video into several segments, then give each segment an aesthetic score, and select the segment with the highest score as a segment of the final generated new video.

[0169] Optionally, the selection method can be to refine the video segment into scenes, classify the scenes again, give each scene in the video an aesthetic score, and select the scene with the highest score as a segment of the final generated new video.

[0170] Optionally, the selection method can be to extract frames from the video segment at equal intervals, such as... Figure 5c As shown, Figure 5c Taking scene shot 1 as an example, this paper demonstrates an exemplary method for selecting a scene shot. Figure 5c In this process, electronic device 100 extracts nine image frames from scene shot 1, dividing scene shot 1 into eight video segments. Electronic device 100 performs aesthetic scoring on these nine image frames, determining a score for each frame, thereby determining the score for each video segment. Optionally, the score for each video segment can be the average score of two image frames. For example, the score for video segment 1 is the average score of image frames 1 and 2, the score for video segment 2 is the average score of image frames 2 and 3, and so on. Electronic device 100 selects the video segment with the highest score as a segment of the final generated new video.

[0171] Optionally, the electronic device 100 selects video frames with scores greater than the fourth threshold as content for the final generated new video. This may result in a situation where no frames are selected in a scene, or a situation where a large number of frames are selected in a scene.

[0172] In some embodiments, the aesthetic scoring rules can be modified according to changes in the scene type of the video footage. Each time the electronic device 100 divides a video segment, it determines the scene type of that segment based on the current geographical location of the electronic device 100 or image recognition technology, thereby determining the corresponding scoring rules. For example, if a user is driving on Provincial Highway S101, where the terrain is characterized by Danxia landforms, the aesthetic scoring rules can increase or add weight to the intensity of color and terrain layering; on the Qiandao Lake Ring Road, which is mostly characterized by eroded low hills and reservoir landforms, the aesthetic scoring rules can increase or add weight to the proportion of water, islands, and sky; while driving in a city, such as on the Shanghai Yan'an Road Elevated Highway, the aesthetic scoring rules can increase or add weight to the intensity of light and the proportion of sky and tall buildings; and so on. In this way, by using precise scene classification and customized aesthetic scoring rules, the most aesthetically pleasing video clips can be selected, improving the user experience.

[0173] The process of analyzing the video captured in real time by the electronic device 101 by the electronic device 100 is carried out synchronously with the video footage captured by the electronic device 101. The electronic device 100 receives the video footage captured by the electronic device 101 synchronously, segments the received video footage, and extracts a portion of the footage from each segment as the content of the final generated new video, until the geographical location information of the electronic device 100 meets the second preset condition, and the electronic device 100 generates the first video.

[0174] S104: Determine that the geographical location information of the electronic device 100 meets the second preset condition.

[0175] In some embodiments, the second preset condition is that the electronic device 100's current geographical location has reached the destination. Optionally, the destination determination can be based on navigation software. The destination can also be referred to as a preset location.

[0176] Optionally, the second preset condition is that the remaining time for the electronic device 100 to reach its destination from its current geographical location is less than a fifth threshold. Optionally, the fifth threshold can be determined by navigation software.

[0177] In some embodiments, the second preset condition is that the electronic device 100 detects that its geographical location remains unchanged or changes within a small range within a preset time period.

[0178] In some embodiments, the second preset condition is that the electronic device 100 detects that it has left the highway through a toll station. Optionally, the electronic device 100 leaves the toll station based on its current geographical location detected by navigation software. Optionally, the electronic device 100 detects that it has left the toll station based on sensors.

[0179] In some embodiments, the second preset condition is that the electronic device 100 receives a user confirmation instruction. When the electronic device 100 receives a user confirmation instruction, the electronic device 100 meets the second preset condition.

[0180] S105: Electronic device 100 generates a first video, which is obtained by analyzing and editing the video captured by electronic device 101.

[0181] Once the electronic device 100 determines that its geographical location information meets the second preset condition, the electronic device 100 no longer analyzes the video content captured by the electronic device 101 afterward. Instead, the electronic device 100 generates a first video (new video) based on the previously acquired video content. This first video is obtained by analyzing and editing the video content acquired by the electronic device 100.

[0182] In some embodiments, the electronic device 100 synchronously receives video footage captured by the electronic device 101, segments the received video footage, and extracts a portion of the footage from each segment as content in the final generated new video, until the geographical location information of the electronic device 100 meets the second preset condition, and the electronic device 100 generates a new video.

[0183] For example, such as Figure 6 As shown, after determining that the geographical location information of electronic device 100 meets the first preset condition, electronic device 100 synchronously receives video images captured by electronic device 101, divides scene shot 1, and selects the video image 1 with the highest score in scene shot 1; electronic device 100 continuously receives video images captured by electronic device 101, divides scene shot 12, and selects the video image 24 with the highest score in scene shot 2. At this time, video image 1 and video image 2 can be stitched together; ...; electronic device 100 continuously receives video images captured by electronic device 101, dividing scene shot n-1, ... The highest-rated video frame 'a' from scene shot n-1 is selected. Video frame 'a' can then be stitched together with the selected video frame from scene shot n-2. Electronic device 100 continuously receives video frames captured by itself. After determining that its geographical location information meets the second preset condition, electronic device 100 divides the scene shot n into its final segment, selects the highest-rated video frame 'm' from scene shot n, and stitches video frame 'm' together with video frame 'a'. At this point, electronic device 100 generates a first video, which is composed of n video frames stitched together. Optionally, a transition effect or transition frame can be inserted between each video frame in the first video. Optionally, more than one video frame can be selected from each scene shot, or no video frames can be selected.

[0184] In some embodiments, the electronic device 100 generates a first video and saves the first video. Users can view and play the first video on the electronic device 100.

[0185] In some embodiments, the electronic device 100 generates a first video and generates a video name for the first video based on the geographical location information of the electronic device 100 or the video content of the first video, such as a trip to Erhai Lake in Yunnan, a trip around Qiandao Lake, and other rich and varied customized names. This solves the problem of the single name of album videos in the current photo library and enriches the ecosystem of the photo library for users to record their lives.

[0186] In some embodiments, after the electronic device 100 generates the first video, the electronic device 100 outputs a prompt message. This prompt message informs the user that the first video has been generated and provides methods for processing the first video, including saving the first video, deleting the first video, editing the first video, sharing it to an application, sending it to other devices, etc. For example, such as... Figure 7 As shown, Figure 7 Taking an electronic device 100 as an example of a vehicle-mounted system, the following is shown: an application interface 701 in a navigation application after the electronic device 100 generates the first video. The application interface 701 includes a navigation map 702, a toolbar 703, and prompt information 711 for the generation of the first video.

[0187] Toolbar 703 includes one or more function controls, providing functions such as making phone calls and playing music.

[0188] Message 711 indicates that the first video has been generated. Figure 7 The message displayed is "The vlog of this driving trip has been generated". The prompt message 711 includes a thumbnail of the first video 712, a play control 713, a save control 714, a delete control 715, an edit control 716, a share control 717, a continue editing control 718, and a restart control 719.

[0189] Playback control 713 is used to play the first video.

[0190] The save control 714 is used to save the first video to the electronic device 100.

[0191] The delete control 715 is used to delete the first video.

[0192] The editing control 716 is used to edit the first video, including, for example, changing the order of video frames in the first video, deleting parts of the first video, inserting transition effects between two video frames, adding text, stickers, watermarks, etc., adding background music, editing the video name of the first video, and so on.

[0193] The sharing control 717 is used to send the first video to other devices or share it to applications.

[0194] The Continue Editing control 718 is used to instruct the electronic device 100 to continue receiving and analyzing the video footage captured in real time by the electronic device 101, and to regenerate the first video. Specifically, the Continue Editing control can be used when the electronic device 100 incorrectly determines that it meets the second preset condition; in this case, the user can choose for the electronic device 100 to continue analyzing and editing the video footage captured in real time. Alternatively, if the user wants to edit the video content from two driving sessions into a single vlog, they can choose for the electronic device 100 to continue analyzing and editing the video footage captured in real time.

[0195] The restart control 719 is used to instruct the electronic device 100 to delete the first video and re-receive and analyze the video footage captured in real time by the electronic device 101.

[0196] Optionally, after generating the first video, the electronic device 100 sends the first video to other electronic devices.

[0197] Once electronic device 100 determines that its geographical location information meets the second preset condition, it generates a first video and sends the first video to other electronic devices. These other electronic devices may include electronic device 101 or other electronic devices that have established a connection with electronic device 100.

[0198] In some embodiments, other electronic devices receive the first video and output a prompt message. This prompt message notifies the user that the first video has been received and provides instructions on how to process the first video, including confirming receipt, saving, deleting, editing, sharing, etc. For example, such as... Figure 8 As shown, taking a mobile phone as an example of another electronic device that receives the first video, Figure 8 An example lock screen interface 801 is shown. When the mobile phone is in the lock screen state, it receives a first video sent by the electronic device 100, and the mobile phone outputs a prompt message. Figure 8 The lock screen interface 801 shown includes a status bar 802 and a notification 803 (prompt information), wherein,

[0199] The status bar 802 may include: one or more signal strength indicators 804 for mobile communication signals (also known as cellular signals), one or more signal strength indicators 805 for wireless fidelity (Wi-Fi) signals, a Bluetooth indicator 806, and a battery status indicator 807. When the Bluetooth module of the electronic device is turned on (i.e., the electronic device is powering the Bluetooth module), the Bluetooth indicator 806 is displayed on the display interface of the electronic device.

[0200] Notification 803 indicates that the user has received the first video ( Figure 8 The message displayed is "Received the vlog from this driving trip, click to view". The notification message 803 includes a play control 808, a delete control 809, an edit control 810, and a share control 811.

[0201] Playback control 808 is used to play the first received video.

[0202] The delete control 809 is used to delete the first video.

[0203] The editing control 810 is used to edit the first video, including, for example, changing the order of video frames in the first video, deleting parts of the first video, inserting transition effects between two video frames, adding text, stickers, watermarks, etc., adding background music, and so on.

[0204] The sharing control 811 is used to send the first video to other electronic devices or share it to applications.

[0205] In this embodiment, the electronic device 100 determines the start and end times of video analysis based on its own geographical location. When the geographical location of the electronic device 100 meets a first preset condition, the electronic device 100 begins to analyze and edit the video data captured in real time by the electronic device 101. That is, while the electronic device 101 is capturing video, the electronic device 100 simultaneously analyzes and edits the video. When the geographical location of the electronic device 100 meets a second preset condition, the electronic device 100 generates a first video and no longer analyzes and edits the video data captured by the electronic device 101 afterward. This first video is obtained by analyzing and editing the video content acquired by the electronic device 100. In this way, the electronic device 100 simultaneously analyzes the video content captured in real time, which can improve the efficiency of video generation and reduce the user's waiting time.

[0206] For example, electronic device 100 is a vehicle-mounted system, and electronic device 101 can be a vehicle-mounted camera or a mobile phone, or other devices with cameras. When a user is driving a vehicle equipped with electronic device 100, electronic device 101 can capture the scenery along the roadside in real time. Electronic device 100 can then simultaneously analyze and edit the captured video data or images. After the drive ends, electronic device 100 can generate a travel video about the driving process. Electronic device 100 can then send this video to other electronic devices.

[0207] In some application scenarios, electronic device 100 is a vehicle infotainment system, and electronic device 101 can be a camera on a mobile phone. The mobile phone can capture the scenery along the roadside in real time during the driving process, and after the drive is completed, electronic device 100 can generate a travel video about the driving process. Electronic device 100 can send this video to other electronic devices, such as mobile phones.

[0208] In some application scenarios, electronic device 100 is a mobile phone, and electronic device 101 can be a vehicle-mounted camera. The vehicle-mounted camera can capture the scenery along the roadside in real time during the driving process, and the mobile phone can generate a travel video about the driving process after the driving is over.

[0209] In some embodiments, electronic device 101 includes multiple electronic devices. For example, electronic device 100 is a vehicle infotainment system, and electronic device 101 can be a vehicle-mounted camera or a camera on a mobile phone, meaning that electronic device 100 can receive video data captured in real time by multiple electronic devices 101. Optionally, electronic device 100 can analyze multiple video data segments acquired within the same time period and select multiple video segments to stitch together.

[0210] The above embodiments all use video recording by electronic device 101 as an example. However, the electronic device 101 is not limited to video data; it can also capture images. Electronic device 100 can simultaneously acquire the image data captured in real time by electronic device 101. In some embodiments, electronic device 100 acquires the image data captured in real time by electronic device 101. When the geographical location of electronic device 100 meets a first preset condition, electronic device 100 begins to analyze and edit the image data captured in real time. That is, while electronic device 101 is capturing images, it simultaneously analyzes and edits the received images.

[0211] For example, the electronic device 100 performs scene classification on a series of captured images, and selects a portion of the images in each scene as part of the final generated video. The selection method includes, for example, filtering photos with higher scores based on an aesthetic scoring algorithm. Furthermore, before performing aesthetic scoring, the electronic device 100 filters photos with high repetition rates based on image recognition technology, and selects one or more of them (e.g., the one with the highest aesthetic score) to retain.

[0212] For example, the electronic device 100 first determines the number of images n needed, and then performs an aesthetic score on each received image, with the top n images used as the content in the final generated video.

[0213] When the geographical location of electronic device 100 meets the second preset condition, electronic device 100 generates the first video and no longer analyzes or edits the image data captured by electronic device 101 afterward. This first video is obtained by analyzing and editing the images acquired by electronic device 100. In this way, the method of electronic device 100 synchronously analyzing the images captured in real time can improve the efficiency of video generation and reduce the user's waiting time.

[0214] In some embodiments, electronic device 100 can acquire image data and video data sent by electronic device 101. When the geographical location of electronic device 100 meets a first preset condition, electronic device 100 begins to analyze and edit the image data and video data captured in real time by electronic device 101. That is, while electronic device 101 is capturing images and videos, electronic device 100 simultaneously analyzes and edits the received image data and video data. When the geographical location of electronic device 100 meets a second preset condition, electronic device 100 generates a first video and no longer analyzes and edits the image data and video data captured by electronic device 101 afterward.

[0215] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.

[0216] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A method of video generation, the method comprising: The method comprises: The first electronic device determines that the geographical position information of the first electronic device satisfies a first preset condition; The first electronic device acquires a video and / or an image that is captured in real time by a second electronic device; the first electronic device and the second electronic device are connected; The first electronic device selects part of pictures in the video and / or the image that is captured in real time; When the geographical position information of the first electronic device satisfies a second preset condition, the first electronic device generates a first video, the first video being spliced based on the part of pictures.

2. The method of claim 1, wherein, The first preset condition comprises: The current geographical position of the first electronic device is away from a user's residence area; or The current geographical position of the first electronic device is away from the user's residence area and the duration of the away exceeds a first threshold value; or The shortest distance between the current geographical position of the first electronic device and a preset position is greater than or equal to a second threshold value, the preset position comprising the user's residence area; or The current geographical position of the first electronic device enters a specific area.

3. The method of claim 1, wherein, The first electronic device selects the part of pictures in the video and / or the image, comprising: The first electronic device segments the acquired video and / or image; The first electronic device scores the segmented video and / or image based on an aesthetic scoring algorithm, selects the picture with the highest score in each segment of the segmented video and / or image, and the part of pictures comprises the picture with the highest score in each segment of the segmented video and / or image.

4. The method of claim 3, wherein, The scoring weight of the aesthetic scoring algorithm is associated with the scene type of the segmented video and / or image.

5. The method of claim 1, wherein, The second preset condition comprises: The current geographical position of the first electronic device enters a preset position; or The remaining time of the current geographical position of the first electronic device to the preset position is less than a fifth threshold value.

6. The method of claim 1, wherein, The first electronic device generates the first video, and further comprises: The first electronic device outputs first prompt information, the first prompt information being used to provide an editing mode for the first video, the editing mode comprising one or more of playing the first video, saving the first video, deleting the first video, adjusting the order of display pictures in the first video, deleting part of the display pictures in the first video, inserting a transition effect between the display pictures in the first video, adding text, stickers, watermarks on the display pictures in the first video, and adding background music of the first video.

7. The method of claim 1, wherein, The method further comprises: The first electronic device generates a video name of the first video based on the geographical position information of the first electronic device or the video content of the first video.

8. The method according to any one of claims 1 to 7, characterized in that, The method further comprises: The first electronic device sends the first video to a third electronic device, the third electronic device comprising the second electronic device.

9. A video generation system comprising a first electronic device and a second electronic device, the first electronic device and the second electronic device being connected; The second electronic device is configured to capture a video and / or an image; The first electronic device is configured to determine that geographical position information of the first electronic device satisfies a first preset condition. The first electronic device is further configured to acquire a video and / or an image that is captured in real time by the second electronic device. The first electronic device is further configured to select part of pictures in the video and / or the image that is captured in real time. The first electronic device is further configured to generate a first video when the geographical position information of the first electronic device satisfies a second preset condition, the first video being spliced based on the part of pictures.

10. The system of claim 9, wherein, The first preset condition comprises: The current geographical position of the first electronic device is away from a user's residence area; or The current geographical position of the first electronic device is away from the user's residence area and the duration of the away exceeds a first threshold; or The shortest distance between the current geographical position of the first electronic device and a preset position, which comprises the user's residence area, is greater than or equal to a second threshold; or The current geographical position of the first electronic device enters a specific area.

11. The system of claim 9, wherein, The first electronic device is further configured to select part of pictures in the video and / or the image that is captured in real time, comprising: The first electronic device is further configured to segment the acquired video and / or image. The first electronic device is further configured to score the segmented video and / or image based on an aesthetic scoring algorithm, and select the picture with the highest score in each segment of the segmented video and / or image, the part of pictures comprising the picture with the highest score in each segment of the segmented video and / or image.

12. The system of claim 11, wherein, The scoring weight of the aesthetic scoring algorithm is associated with the scene type of the segmented video and / or image.

13. The system of claim 9, wherein, The second preset condition comprises: The current geographical position of the first electronic device enters a preset position; or The remaining time of the current geographical position of the first electronic device to the preset position is less than a fifth threshold.

14. The system of claim 9, wherein, The first electronic device is further configured to output first prompt information after generating the first video, the first prompt information being used to provide an editing mode for the first video, the editing mode comprising one or more of playing the first video, saving the first video, deleting the first video, adjusting the order of display pictures in the first video, deleting part of the display pictures in the first video, inserting a transition effect between the display pictures in the first video, adding text, stickers, watermarks on the display pictures in the first video, and adding background music of the first video.

15. The system of claim 9, wherein, The first electronic device is further configured to generate a video name of the first video based on the geographical position information of the first electronic device or the video content of the first video.

16. The system of any of claims 9-15, wherein, The first electronic device is further configured to send the first video to the second electronic device.

17. The system of claim 16, wherein, The second electronic device is further configured to receive the first video. The second electronic device is further configured to output second prompt information, the second prompt information being configured to provide an editing manner for the first video, the editing manner including one or more of playing the first video, deleting the first video, adjusting an order of display screens in the first video, deleting part of the display screens in the first video, inserting a transition effect between the display screens of the first video, adding text, stickers, and watermarks on the display screens of the first video, and adding background music of the first video.

18. An electronic device, comprising: The one or more processors, the one or more memories; the one or more memories are respectively coupled with the one or more processors; the one or more memories are configured to store computer program codes, the computer program codes include computer instructions; when the computer instructions run on the processor, make the electronic device execute the method as any one of claims 1-8.

19. A computer readable medium storing one or more programs configured to be executed by one or more processors, the one or more programs comprising instructions for performing the method of any one of claims 1-8. ​

Citation Information

Patent Citations

  • Multi-angle video editing based on cloud video sharing

    CN106170096A

  • Picture editing method and terminal

    CN108958598A