Video editing method, system, device and medium

By building a graph structure and a deep learning model, it can identify key barrages and moments in live videos and automatically edit the essence of the video, solving the problem of low video editing efficiency in the existing technology and realizing the ability to quickly extract the essence of the video.

CN118828099AInactive Publication Date: 2024-10-22BINZHOU QIUGUANHU NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411048393.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-10-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing video editing technology is inefficient and difficult to meet the needs of large-scale video content production and personalization, especially how to quickly extract the essence of long-term live videos.

Method used

Using graph structure and deep learning model, the graph structure is constructed by obtaining live video and barrage information, using the graph attention network to identify interesting video barrages, combined with the recurrent neural network to determine the target video clip, and automatically edit the highlight clips.

Benefits of technology

It improves the efficiency of video editing, can quickly extract the key moments that the audience pays attention to, and generates short videos that attract the audience's attention to meet personalized needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118828099A_ABST
    Figure CN118828099A_ABST
Patent Text Reader

Abstract

The invention provides a video editing method, system and device and a medium, and relates to the technical field of video editing, and the method comprises the steps: obtaining screen recording video information and multiple pieces of video bullet screen information after live broadcast of a user; constructing a graph structure; processing the graph structure based on a graph attention network to determine a plurality of interested video bullet screens; determining a plurality of initial edited videos corresponding to the plurality of interested video barrages based on the screen recording video information after the user live broadcast and the plurality of interested video barrages; based on the plurality of initial edited videos corresponding to the plurality of interest video bullet screens, using a target edited video determination model to determine a plurality of target edited videos; and editing the plurality of target edited videos. The method can improve the video editing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video editing, and in particular to a video editing method, system, device and medium. Background Art

[0002] With the rise of the Internet and social media, video content has become one of the important media for information dissemination. User-generated content (UGC), especially live videos, has been widely welcomed due to its immediacy and interactivity. However, live videos often contain a lot of redundant information. How to quickly extract the essence from these long videos and generate short videos that attract the audience's attention has become an important topic in the field of video editing. Traditional video editing methods usually rely on manual editing, which requires editors to have professional skills and a lot of time to screen, cut and reorganize video clips. This method is inefficient and difficult to meet the needs of large-scale video content production and personalization.

[0003] Therefore, how to improve the efficiency of video editing is a problem that needs to be solved urgently. Summary of the invention

[0004] The main technical problem solved by the present invention is how to improve the efficiency of video editing.

[0005] According to the first aspect, the present invention provides a video editing method, including: obtaining screen recording video information and multiple video barrage information after a user's live broadcast; constructing a graph structure, the graph structure including multiple video barrage nodes and multiple edges between the multiple video barrage nodes, the node feature of each video barrage node including a video barrage message, and the multiple edges between the multiple video barrage nodes representing the time relationship of the video barrage nodes; processing the graph structure based on a graph attention network to determine multiple interest video barrages; determining multiple initial editing videos corresponding to multiple interest video barrages based on the screen recording video information after the user's live broadcast and the multiple interest video barrages; determining multiple target editing videos using a target editing video determination model based on the multiple initial editing videos corresponding to the multiple interest video barrages; and editing the multiple target editing videos.

[0006] In one possible implementation, the target video clip determination model is a recurrent neural network model, the input of the target video clip determination model is a plurality of initial video clips corresponding to the plurality of interest video bullet screens, and the output of the target video clip determination model is a plurality of target video clips.

[0007] In a possible implementation, the method further includes: arranging and synthesizing a plurality of target clipped videos in a predetermined time sequence to form a complete clipped video.

[0008] In a possible implementation, the graph attention network is trained by a gradient descent method.

[0009] In a possible implementation, constructing the graph structure includes: Arrange each video bullet message in the order of its appearance in the video; Create a node for each video comment information and add these nodes to the graph structure in chronological order; According to the appearance time of the video barrage information, a directed edge is established between the nodes to indicate the temporal relationship of the barrage.

[0010] According to a second aspect, the present invention provides a video editing system, comprising: The acquisition module is used to obtain the recorded video information and multiple video barrage information after the user's live broadcast; A construction module, configured to construct a graph structure, wherein the graph structure includes a plurality of video bullet screen nodes and a plurality of edges between the plurality of video bullet screen nodes, wherein a node feature of each video bullet screen node includes a video bullet screen message, and the plurality of edges between the plurality of video bullet screen nodes represent a temporal relationship between the video bullet screen nodes; A graph structure processing module, used to process the graph structure based on a graph attention network to determine multiple interesting video comments; An initial editing video determination module is used to determine multiple initial editing videos corresponding to multiple interest video bullet screens based on the screen recording video information after the user's live broadcast and the multiple interest video bullet screens; A target clipping video determination module, configured to determine a plurality of target clipping videos using a target clipping video determination model based on a plurality of initial clipping videos corresponding to the plurality of interest video bullet screens; The editing module is used to edit the multiple target editing videos.

[0011] In a possible implementation, the graph attention network is trained by a gradient descent method.

[0012] In a possible implementation, the construction module is also used to: arrange each video barrage information in the order of their appearance in the video; create a node for each video barrage information, and add these nodes to the graph structure in chronological order; according to the appearance time of the video barrage information, establish directed edges between nodes to indicate the temporal order of the barrage.

[0013] According to a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor; a memory; and a computer program; wherein the computer program is stored in the memory and configured to be executed by the processor to implement a method as described above, the method comprising: obtaining screen recording video information and multiple video barrage information after a user's live broadcast; constructing a graph structure, the graph structure comprising multiple video barrage nodes and multiple edges between the multiple video barrage nodes, the node feature of each video barrage node comprising a video barrage message, and the multiple edges between the multiple video barrage nodes representing the temporal relationship of the video barrage nodes; processing the graph structure based on a graph attention network to determine multiple interest video barrages; determining multiple initial clipped videos corresponding to multiple interest video barrages based on the screen recording video information after the user's live broadcast and the multiple interest video barrages; determining multiple target clipped videos using a target clipping video determination model based on the multiple initial clipped videos corresponding to the multiple interest video barrages; and clipping the multiple target clipped videos.

[0014] According to the fourth aspect, this embodiment provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the video editing method provided above, the method comprising: obtaining screen recording video information and multiple video barrage information after a user's live broadcast; constructing a graph structure, the graph structure comprising multiple video barrage nodes and multiple edges between the multiple video barrage nodes, the node feature of each video barrage node comprising a video barrage message, and the multiple edges between the multiple video barrage nodes representing the temporal relationship of the video barrage nodes; processing the graph structure based on a graph attention network to determine multiple interest video barrages; determining multiple initial editing videos corresponding to multiple interest video barrages based on the screen recording video information after the user's live broadcast and the multiple interest video barrages; determining multiple target editing videos using a target editing video determination model based on the multiple initial editing videos corresponding to the multiple interest video barrages; and editing the multiple target editing videos.

[0015] The present invention provides a video editing method, system, device and medium, the method comprising obtaining screen recording video information and multiple video barrage information after a user's live broadcast; constructing a graph structure, the graph structure comprising multiple video barrage nodes and multiple edges between the multiple video barrage nodes, the node feature of each video barrage node comprising a video barrage message, and the multiple edges between the multiple video barrage nodes representing the temporal relationship of the video barrage nodes; processing the graph structure based on a graph attention network to determine multiple interest video barrages; determining multiple initial editing videos corresponding to multiple interest video barrages based on the screen recording video information after the user's live broadcast and the multiple interest video barrages; determining multiple target editing videos using a target editing video determination model based on the multiple initial editing videos corresponding to the multiple interest video barrages; editing the multiple target editing videos, the method can improve video editing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic diagram of a flow chart of a video editing method provided by an embodiment of the present invention; Figure 2 A schematic diagram of a process for constructing a graph structure provided by an embodiment of the present invention; Figure 3 A schematic diagram of a video editing system provided by an embodiment of the present invention; Figure 4 A schematic diagram of an electronic device provided by an embodiment of the present invention; Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0017] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present invention better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present invention are not shown or described in the specification, this is to avoid the core part of the present invention being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.

[0018] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.

[0019] The serial numbers assigned to the components herein, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in the present invention, unless otherwise specified, include direct and indirect connections (couplings).

[0020] In an embodiment of the present invention, there is provided Figure 1 A video editing method is shown, the video editing method comprises steps S1 to S6: Step S1, obtaining the screen recording video information and multiple video barrage information after the user's live broadcast.

[0021] The screen recording video information after the user's live broadcast refers to the video file recorded after the live broadcast ends, which contains all the visual and sound content during the live broadcast.

[0022] Video barrage information is real-time comments sent by viewers while watching live broadcasts. These comments usually appear on the video in the form of dynamic subtitles and move as the video progresses.

[0023] In some embodiments, the screen recording video file of a specific live broadcast session can be retrieved from the data storage of the live broadcast platform, and the barrage information sent by all viewers in the live broadcast session can be captured and collected, including the content of the barrage, the sending timestamp and possible other metadata (such as the sender ID).

[0024] Step S2, constructing a graph structure, wherein the graph structure includes multiple video barrage nodes and multiple edges between the multiple video barrage nodes, the node feature of each video barrage node includes a video barrage message, and the multiple edges between the multiple video barrage nodes represent the time relationship of the video barrage nodes.

[0025] A graph is a data structure consisting of nodes and edges. It can be used to represent entities and their relationships. Each node represents a video comment, and the edge represents the order in which the comment appears or the temporal correlation.

[0026] In the graph structure, each node can have multiple node features, which here refers to the video barrage message, that is, the specific content of the barrage.

[0027] In some embodiments, Figure 2A schematic diagram of a process of constructing a graph structure provided by an embodiment of the present invention, wherein constructing the graph structure includes steps S21 to S23: Step S21, arrange each video bullet screen information in the order of its appearance in the video.

[0028] In some embodiments, all collected video bullet information can be read to extract the sending timestamp of each bullet. The bullet information is sorted according to the timestamp to ensure that the bullets are arranged in the order in which they actually appear in the live video. The time order arrangement helps to maintain the actual time relationship between bullets when constructing the graph structure, which is crucial for the subsequent analysis of the relevance of bullets to video content.

[0029] Step S22, create a node for each video bullet comment information, and add these nodes to the graph structure in chronological order.

[0030] For each sorted video comment information, create a node, and add the nodes one by one to the graph structure according to the time sequence of the comment information to form a timeline.

[0031] Step S23, according to the appearance time of the video bullet screen information, a directed edge is established between the nodes to indicate the temporal sequence of the bullet screen.

[0032] For each pair of adjacent nodes (i.e., temporally consecutive bullet comments), a directed edge is added between them, with the direction of the edge pointing from the earlier bullet comment to the later bullet comment.

[0033] Step S3, processing the graph structure based on the graph attention network to determine multiple interesting video comments.

[0034] Graph Attention Network (GAT) is a deep learning model designed specifically for processing graph-structured data. It can identify the most important nodes and edges in a graph by assigning attention weights between nodes, and is suitable for various tasks on graph data.

[0035] Interest video comments refer to those comments that attract the strongest audience response, have the highest level of engagement, or contain key information. These comments may be closely related to specific events, performances, or content in the live broadcast, and can reflect the audience's interests or emotional fluctuations.

[0036] The graph attention network is able to operate directly on graph data instead of converting the graph into vectors or other linear structures. This means that it can preserve the complex relationships between nodes and is very suitable for processing graph-structured data such as video comments, where the temporal and semantic relationships between nodes (comments) are very important.

[0037] The attention mechanism allows the network to assign different weights to each node when processing it, based on the node's features and its relationship with other nodes. In the video barrage scenario, this means that the model can identify which barrages (nodes) are more critical or popular in terms of time and content, thereby highlighting the audience's interests.

[0038] The graph structure uses nodes and edges to represent bullet comments and the time sequence between them. The directionality of the edges clearly indicates the order of the bullet comments. This representation method enables the model to track the evolution of bullet comments over time, identify the peaks and troughs of audience reactions, and thus locate the moments that the audience is most interested in.

[0039] In the graph structure, each node (bullet comment) not only contains its own information, but can also interact with other nodes in its neighborhood through edges. This means that the model can consider the context of the bullet comment and understand the potential connections between bullet comments, such as the audience's collective reaction to a specific event in the live broadcast.

[0040] The graph attention network can assign attention weights to each node when processing graph structures, which enables the model to identify which bullet comments are more important or interesting. The attention mechanism can capture the intrinsic value of bullet comments and the audience's attention to them, thereby screening out interesting video bullet comments.

[0041] In some embodiments, the graph attention network is trained by gradient descent.

[0042] Step S4, determining multiple initial clipped videos corresponding to multiple interest video bullet screens based on the screen recording video information after the user's live broadcast and the multiple interest video bullet screens.

[0043] In some embodiments, multiple initial editing videos corresponding to multiple interest video bullet screens can be determined based on a deep neural network model. The initial editing videos are determined based on the interest video bullet screens and include the clips in the live video that the audience reacts most enthusiastically and is most interested in.

[0044] The deep neural network model includes a deep neural network (DNN). The deep neural network may include multiple processing layers, each of which is composed of multiple neurons, and each neuron performs a matrix transformation on the data. The parameters used by the matrix can be obtained through training. The input of the deep neural network model is the screen recording video information after the user's live broadcast and the multiple interest video bullet screens, and the output of the deep neural network model is multiple initial clipped videos corresponding to the multiple interest video bullet screens.

[0045] In some embodiments, video editing software can be used to cut out corresponding video clips from the screen recording video based on the time window of each interesting bullet comment, ensuring that each clip contains the live broadcast highlights reflected by the interesting bullet comment.

[0046] By identifying and editing the video clips corresponding to the interest video barrage, it can be ensured that the final edited video focuses on the most attractive parts of the live broadcast to the audience, thereby increasing the attractiveness and viewing value of the video.

[0047] Step S5, determining multiple target clipping videos using a target clipping video determination model based on the multiple initial clipping videos corresponding to the multiple interest video bullet screens.

[0048] The target video clip determination model is a recurrent neural network model, the input of the target video clip determination model is a plurality of initial video clips corresponding to the plurality of interest video bullet screens, and the output of the target video clip determination model is a plurality of target video clips.

[0049] The recurrent neural network model includes the recurrent neural network (RNN). The recurrent neural network model can process sequence data, capture sequence information, and output results based on the correlation between the previous and next data in the sequence. The recurrent neural network model has the ability to process sequence data and remember the historical information in the sequence. In the scenario of video editing, this means that the RNN can understand the temporal relationship between video clips and remember the content of previous clips, which is crucial for understanding the plot of the video and the audience's interest points.

[0050] The recurrent neural network model is able to perceive and utilize contextual information. When determining the target video clip, the RNN not only analyzes a single clip, but also considers the relevance of the previous and next clips, so as to better determine which clips best represent the highlights of the entire video.

[0051] In some embodiments, the target video clip determination model includes an action determination layer, a wonderfulness determination layer, and a target video determination layer. The action determination layer, the wonderfulness determination layer, and the target video determination layer all include a recurrent neural network. The input of the action determination layer is a plurality of initial video clips corresponding to the plurality of interest video bullet screens, the output of the action determination layer is a user facial expression sequence, a hand movement sequence, a leg movement sequence, the input of the wonderfulness determination layer is a user facial expression sequence, a hand movement sequence, a leg movement sequence, the output of the wonderfulness determination layer is a wonderfulness score of each initial video clip, the input of the target video determination layer is a wonderfulness score of each initial video clip, and the output of the target video determination layer is a target video clip.

[0052] Action determination layer This layer focuses on parsing the actions in the video, whether it is facial expressions, hand or leg movements. This specialization helps the model recognize and classify various action details more accurately, because each subtask has its own unique characteristics and patterns.

[0053] This layer receives the output from the action determination layer, which are different types of action sequences, and combines them to assess the excitement of each video clip. This step allows the model to assess video quality from multiple dimensions, taking into account various aspects of audience response.

[0054] The target video determination layer determines which clips should be selected into the target editing video based on the wonderfulness score. This is the decision-making level of the model, which needs to integrate the information of all previous levels to make the final editing selection.

[0055] Step S6, editing the multiple target editing videos.

[0056] After a plurality of target editing videos are determined, the plurality of target editing videos are edited.

[0057] In some embodiments, the method further includes: arranging and synthesizing a plurality of target clipped videos in a predetermined time sequence to form a complete clipped video.

[0058] Based on the same inventive concept, Figure 3 A schematic diagram of a video editing system provided by an embodiment of the present invention, the video editing system comprising: An acquisition module 31 is used to acquire screen recording video information and multiple video barrage information after the user's live broadcast; A construction module 32 is used to construct a graph structure, wherein the graph structure includes a plurality of video bullet screen nodes and a plurality of edges between the plurality of video bullet screen nodes, wherein the node feature of each video bullet screen node includes a video bullet screen message, and the plurality of edges between the plurality of video bullet screen nodes represent a temporal relationship between the video bullet screen nodes; A graph structure processing module 33, configured to process the graph structure based on a graph attention network to determine a plurality of interesting video comments; An initial editing video determining module 34 is used to determine a plurality of initial editing videos corresponding to a plurality of interest video bullet screens based on the screen recording video information after the user's live broadcast and the plurality of interest video bullet screens; A target clipping video determination module 35 is used to determine a plurality of target clipping videos using a target clipping video determination model based on a plurality of initial clipping videos corresponding to the plurality of interest video bullet screens; The editing module 36 is used to edit the multiple target editing videos.

[0059] Based on the same inventive concept, an embodiment of the present invention provides an electronic device, such as Figure 4 As shown, including: It includes: a processor 41; a memory 42; and a computer program; wherein the computer program is stored in the memory 42 and is configured to be executed by the processor 41 to implement the video editing method provided above, the method including: obtaining screen recording video information and multiple video barrage information after the user's live broadcast; constructing a graph structure, the graph structure including multiple video barrage nodes and multiple edges between the multiple video barrage nodes, the node feature of each video barrage node including a video barrage message, and the multiple edges between the multiple video barrage nodes representing the time relationship of the video barrage nodes; processing the graph structure based on a graph attention network to determine multiple interest video barrages; determining multiple initial editing videos corresponding to multiple interest video barrages based on the screen recording video information after the user's live broadcast and the multiple interest video barrages; determining multiple target editing videos using a target editing video determination model based on the multiple initial editing videos corresponding to the multiple interest video barrages; and editing the multiple target editing videos.

[0060] Based on the same inventive concept, this embodiment provides a computer-readable storage medium having a computer program stored thereon, which, when executed by the processor 41, implements the video editing method provided above, the method comprising: obtaining screen recording video information and multiple video barrage information after the user's live broadcast; constructing a graph structure, the graph structure comprising multiple video barrage nodes and multiple edges between the multiple video barrage nodes, the node feature of each video barrage node comprising a video barrage message, and the multiple edges between the multiple video barrage nodes representing the temporal relationship of the video barrage nodes; processing the graph structure based on a graph attention network to determine multiple interest video barrages; determining multiple initial editing videos corresponding to multiple interest video barrages based on the screen recording video information after the user's live broadcast and the multiple interest video barrages; determining multiple target editing videos using a target editing video determination model based on the multiple initial editing videos corresponding to the multiple interest video barrages; and editing the multiple target editing videos.

[0061] The video editing method provided in the embodiments of the present application can be applied to terminal devices (such as mobile phones), tablet computers, laptops, ultra-mobile personal computers (UMPCs), handheld computers, netbooks, personal digital assistants (PDAs), wearable devices (such as smart watches, smart glasses or smart helmets, etc.), augmented reality (AR) and virtual reality (VR) devices, smart home devices, car computers and other electronic devices, and the embodiments of the present application do not impose any restrictions on this.

[0062] Taking the mobile phone 100 as an example of the electronic device, Figure 4 A schematic structural diagram of the mobile phone 100 is shown.

[0063] like Figure 4 As shown, the mobile phone 100 may include a processing module 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0064] The sensor module 180 may include a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor and other sensors.

[0065] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the mobile phone 100. In other embodiments of the present application, the mobile phone 100 may include more or fewer components than those illustrated, or combine certain components, or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

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

[0067] The controller can be the nerve center and command center of the mobile phone 100, and is the decision maker that commands the various components of the mobile phone 100 to work in coordination according to the instructions. The controller can generate an operation control signal according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0068] The application processor may be installed with an operating system of the mobile phone 100, which is used to manage the hardware and software resources of the mobile phone 100. For example, it may manage and configure memory, determine the priority of system resource supply and demand, manage file systems, manage drivers, etc. The operating system may also be used to provide an operating interface for users to interact with the system. Various types of software may be installed in the operating system, such as drivers, applications (applications, apps), etc. Exemplarily, the operating system of the mobile phone 100 may be an Android system, a Linux system, etc.

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

[0070] In some embodiments, the processing module 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuits 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.

[0071] The processing module 110 can be used to: obtain the screen recording video information and multiple video barrage information after the user's live broadcast; construct a graph structure, the graph structure includes multiple video barrage nodes and multiple edges between the multiple video barrage nodes, the node feature of each video barrage node includes a video barrage message, and the multiple edges between the multiple video barrage nodes represent the time relationship of the video barrage nodes; process the graph structure based on the graph attention network to determine multiple interest video barrages; determine multiple initial editing videos corresponding to the multiple interest video barrages based on the screen recording video information after the user's live broadcast and the multiple interest video barrages; determine multiple target editing videos using a target editing video determination model based on the multiple initial editing videos corresponding to the multiple interest video barrages; and edit the multiple target editing videos.

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

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

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

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

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

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

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

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

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

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

[0082] The mobile phone 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor. In some embodiments, the mobile phone 100 can realize the video communication function through the ISP, the camera 193, the video codec, the GPU and the application processor.

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

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

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

[0086] Video codecs are used to compress or decompress digital videos. Mobile phone 100 may support one or more video codecs. Thus, mobile phone 100 may play or record videos in various coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

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

[0088] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100. The external memory card communicates with the processing module 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0089] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processing module 110 executes various functional applications and data processing of the mobile phone 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the mobile phone 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0090] The mobile phone 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.

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

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

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

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

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

[0096] The key 190 includes a power key, a volume key, etc. The key 190 can be a mechanical key or a touch key. The mobile phone 100 can receive key input and generate key signal input related to the user settings and function control of the mobile phone 100.

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

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

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

[0100] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation of this specification. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and corrections to this specification. Such modifications, improvements and corrections are suggested in this specification, so such modifications, improvements and corrections still belong to the spirit and scope of the exemplary embodiments of this specification.

[0101] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures or characteristics in one or more embodiments of this specification can be appropriately combined.

[0102] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in this specification, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of this specification. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this specification. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.

[0103] Similarly, it should be noted that in order to simplify the description disclosed in this specification and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the subject matter of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.

[0104] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.

Claims

1. A video editing method, characterized in that: include: Get the recorded video information and multiple video barrage information after the user's live broadcast; Constructing a graph structure, wherein the graph structure includes a plurality of video bullet screen nodes and a plurality of edges between the plurality of video bullet screen nodes, wherein a node feature of each video bullet screen node includes a video bullet screen message, and the plurality of edges between the plurality of video bullet screen nodes represent a temporal relationship between the video bullet screen nodes; Processing the graph structure based on a graph attention network to determine a plurality of interesting video comments; Determine multiple initial editing videos corresponding to multiple interest video bullet screens based on the screen recording video information after the user's live broadcast and the multiple interest video bullet screens; Determine multiple target clipping videos using a target clipping video determination model based on multiple initial clipping videos corresponding to the multiple interest video bullet screens; The multiple target clipping videos are cut out.

2. The video editing method according to claim 1, characterized in that: The target video clip determination model is a recurrent neural network model, the input of the target video clip determination model is a plurality of initial video clips corresponding to the plurality of interest video bullet screens, and the output of the target video clip determination model is a plurality of target video clips.

3. The video editing method according to claim 1, characterized in that: The method further comprises: arranging and synthesizing a plurality of target editing videos in a predetermined time sequence to form a complete editing video.

4. The video editing method according to claim 1, characterized in that: The graph attention network is trained by gradient descent method.

5. The video editing method according to claim 4, characterized in that: The construction of the graph structure includes: Arrange each video bullet message in the order of its appearance in the video; Create a node for each video comment information and add these nodes to the graph structure in chronological order; According to the appearance time of the video barrage information, a directed edge is established between the nodes to indicate the temporal relationship of the barrage.

6. A video editing system, characterized in that: include: The acquisition module is used to obtain the recorded video information and multiple video barrage information after the user's live broadcast; A construction module, configured to construct a graph structure, wherein the graph structure includes a plurality of video bullet screen nodes and a plurality of edges between the plurality of video bullet screen nodes, wherein a node feature of each video bullet screen node includes a video bullet screen message, and the plurality of edges between the plurality of video bullet screen nodes represent a temporal relationship between the video bullet screen nodes; A graph structure processing module, used to process the graph structure based on a graph attention network to determine multiple interesting video comments; An initial editing video determination module is used to determine multiple initial editing videos corresponding to multiple interest video bullet screens based on the screen recording video information after the user's live broadcast and the multiple interest video bullet screens; A target clipping video determination module, configured to determine a plurality of target clipping videos using a target clipping video determination model based on a plurality of initial clipping videos corresponding to the plurality of interest video bullet screens; The editing module is used to edit the multiple target editing videos.

7. The video editing system according to claim 6, characterized in that: The graph attention network is trained by gradient descent method.

8. The video editing system according to claim 6, wherein: The building blocks are also used to: Arrange each video bullet message in the order of its appearance in the video; Create a node for each video comment information and add these nodes to the graph structure in chronological order; According to the appearance time of the video barrage information, a directed edge is established between the nodes to indicate the temporal relationship of the barrage.

9. An electronic device, characterized in that: include: processor; Memory; And a computer program; wherein the computer program is stored in the memory and is configured to be executed by the processor to implement the video editing method according to any one of claims 1 to 5.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the video editing method according to any one of claims 1 to 5 is implemented.