Video processing method and related equipment

By obtaining and comparing the operation feedback data of the sliding window, video clips are automatically marked, which solves the problem of long manual labeling time and poor accuracy, and achieves efficient and accurate video clip labeling.

CN114630141BActive Publication Date: 2024-09-20BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210271174.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-18
Publication Date
2024-09-20
Estimated Expiration
2042-03-18

AI Technical Summary

Technical Problem

In the existing technology, manual marking of highlights of live recorded videos takes a lot of time and has poor accuracy, making it impossible to automatically mark target video clips efficiently.

Method used

By obtaining the operation feedback data of the current sliding window, the previous sliding window and the next sliding window of the video to be processed, if the current operation feedback data is greater than the previous operation feedback data and the next operation feedback data, according to the previous sliding window and the next operation feedback data, The sliding window determines the target time period and marks the target video clip corresponding to the target time period in the video.

Benefits of technology

It improves the accuracy of automatically marking video clips, saves marking time, reduces the retrieval of operation feedback data, reduces time complexity, and improves video editing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114630141B
    Figure CN114630141B
Patent Text Reader

Abstract

The disclosed embodiment provides a video processing method and related equipment. The method includes: obtaining a video to be processed; respectively obtaining the current operation feedback data of the current sliding window, the previous operation feedback data of the previous sliding window, and the next operation feedback data of the next sliding window of the video to be processed, wherein the current sliding window and the previous sliding window at least partially overlap, and the current sliding window and the next sliding window at least partially overlap; if the current operation feedback data is greater than the previous operation feedback data and the next operation feedback data, then determining the target time period according to the previous sliding window and the next sliding window; marking the target video segment corresponding to the target time period in the video to be processed. The method can realize automatic marking of the target video segment corresponding to the target time period in the video to be processed, improve the accuracy of marking the target video segment, and save the time of marking the target video segment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a video processing method, a video processing device, an electronic device, a computer-readable storage medium, and a computer program product. Background Art

[0002] With the development of Internet technology and the application of smart devices, watching videos and watching live broadcasts are becoming more and more popular, and watching videos and watching live broadcasts have become a part of life.

[0003] In the related art, a manual marking method is used to mark the highlights of live recorded videos for video editing. However, the manual marking method takes a lot of time and has poor marking accuracy.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The embodiments of the present disclosure provide a video processing method, a video processing device, an electronic device, a computer-readable storage medium, and a computer program product. The method can automatically mark the target video segments corresponding to the target time period in the video to be processed, improve the accuracy of the target video segment marking, and save the time of target video segment marking.

[0006] The present disclosure provides a video processing method, which includes: obtaining a video to be processed; respectively obtaining current operation feedback data of a current sliding window, previous operation feedback data of a previous sliding window, and next operation feedback data of a next sliding window of the video to be processed, wherein the current sliding window and the previous sliding window at least partially overlap, and the current sliding window and the next sliding window at least partially overlap; if the current operation feedback data is greater than the previous operation feedback data and the next operation feedback data, determining a target time period according to the previous sliding window and the next sliding window; and marking a target video segment corresponding to the target time period in the video to be processed.

[0007] In some exemplary embodiments of the present disclosure, the current operation feedback data includes the current resource data and the current interaction data of the current sliding window, the previous operation feedback data includes the previous resource data and the previous interaction data of the previous sliding window, and the next operation feedback data includes the next resource data and the next interaction data of the next sliding window; the target time period includes a first target time period; wherein, if the current operation feedback data is greater than and the next operation feedback data, the target time period is determined according to the previous sliding window and the next sliding window, including: if the current resource data is greater than the previous resource data and the next resource data; or, the current interaction data is greater than the previous interaction data and the next interaction data, then the first target time period is determined according to the previous sliding window and the next sliding window.

[0008] In some exemplary embodiments of the present disclosure, the current interaction data includes the current number of interactions and the current number of interaction keywords, the previous interaction data includes the previous number of interactions and the previous number of interaction keywords, and the next interaction data includes the next number of interactions and the next number of interaction keywords; if the current resource data is greater than the previous resource data and the next resource data; or, the current interaction data is greater than the previous interaction data and the next interaction data, then a first target time period is determined based on the previous sliding window and the next sliding window, including: if the current resource data is greater than the previous resource data and the next resource data; or, the current number of interactions is greater than the previous number of interactions and the next number of interactions; or, the current number of interaction keywords is greater than the previous number of interaction keywords and the next number of interaction keywords, then the first target time period is determined based on the previous sliding window and the next sliding window.

[0009] In some exemplary embodiments of the present disclosure, the target time period also includes a second target time period; wherein, if the current operation feedback data is greater than the previous operation feedback data and the next operation feedback data, the target time period is determined based on the previous sliding window and the next sliding window, and further includes: if the current resource data is greater than the previous resource data and the next resource data, and the current interaction data is greater than the previous interaction data and greater than the next interaction data, the second target time period is determined based on the previous sliding window and the next sliding window.

[0010] In some exemplary embodiments of the present disclosure, marking the target video segment corresponding to the target time period in the video to be processed includes: marking a first target progress bar corresponding to the first target time period in the progress bar of the video to be processed using a first method; and marking a second target progress bar corresponding to the second target time period in the progress bar of the video to be processed using a second method.

[0011] In some exemplary embodiments of the present disclosure, the current interaction data includes the current number of interactions and the current number of interaction keywords, the previous interaction data includes the previous number of interactions and the previous number of interaction keywords, and the next interaction data includes the next number of interactions and the next number of interaction keywords; the second target time period includes the first target sub-time period; wherein, if the current resource data is greater than the previous resource data and the next resource data, and the current interaction data is greater than the previous interaction data and greater than the next interaction data, then the second target time period is determined according to the previous sliding window and the next sliding window, including: if the current resource data is greater than the previous resource data and the next resource data, the current number of interactions is greater than the previous number of interactions and the next number of interactions, and the current number of interaction keywords is less than or equal to the previous number of interaction keywords or the next number of interaction keywords. if the current resource data is greater than the previous resource data and the next resource data, the current number of interactive keywords is greater than the previous number of interactive keywords and the next number of interactive keywords, and the current number of interactions is less than or equal to the previous number of interactions or the next number of interactions, then the first target sub-time period is determined according to the previous sliding window and the next sliding window; if the current number of interactions is greater than the previous number of interactions and the next number of interactions, the current number of interactive keywords is greater than the previous number of interactive keywords and the next number of interactive keywords, and the current resource data is less than or equal to the previous current resource data or the next current resource data, then the first target sub-time period is determined according to the previous sliding window and the next sliding window.

[0012] In some exemplary embodiments of the present disclosure, the second target time period also includes a second target sub-time period; wherein, if the current resource data is greater than the previous resource data and the next resource data, and the current interaction data is greater than the previous interaction data and the next interaction data, then the second target time period is determined based on the previous sliding window and the next sliding window, and also includes: if the current resource data is greater than the previous resource data and the next resource data; and the current number of interactions is greater than the previous number of interactions and the next number of interactions; and the current number of interaction keywords is greater than the previous number of interaction keywords and the next number of interaction keywords, then the second target sub-time period is determined based on the previous sliding window and the next sliding window.

[0013] In some exemplary embodiments of the present disclosure, marking the target video segment corresponding to the target time period in the video to be processed includes: marking a first target progress bar corresponding to the first target time period in the progress bar of the video to be processed using a first method; marking a second target progress bar corresponding to the first target sub-time period in the progress bar of the video to be processed using a second method; and marking a third target progress bar corresponding to the second target sub-time period in the progress bar of the video to be processed using a third method.

[0014] In some exemplary embodiments of the present disclosure, determining the target time period based on the previous sliding window and the next sliding window includes: determining the start time of the previous sliding window as the start time of the target time period, and determining the end time of the next sliding window as the end time of the target time period; determining the target time period based on the start time of the target time period and the end time of the target time period.

[0015] In some exemplary embodiments of the present disclosure, the window lengths of the current sliding window, the previous sliding window and the next sliding window are the same; the starting time of the current sliding window is the middle time of the previous sliding window, and the ending time of the current sliding window is the middle time of the next sliding window.

[0016] The present disclosure provides a video processing device, including: an acquisition module, configured to execute acquisition of a video to be processed; an acquisition module, configured to execute acquisition of current operation feedback data of a current sliding window, previous operation feedback data of a previous sliding window, and next operation feedback data of a next sliding window of the video to be processed, respectively, wherein the current sliding window and the previous sliding window at least partially overlap, and the current sliding window and the next sliding window at least partially overlap; a determination module, configured to execute determination of a target time period according to the previous sliding window and the next sliding window if the current operation feedback data is greater than the previous operation feedback data and the next operation feedback data; and a marking module, configured to mark a target video segment corresponding to the target time period in the video to be processed.

[0017] In some exemplary embodiments of the present disclosure, the current operation feedback data includes the current resource data and the current interaction data of the current sliding window, the previous operation feedback data includes the previous resource data and the previous interaction data of the previous sliding window, and the next operation feedback data includes the next resource data and the next interaction data of the next sliding window; the target time period includes a first target time period; the determination module is also configured to execute if the current resource data is greater than the previous resource data and the next resource data; or, the current interaction data is greater than the previous interaction data and the next interaction data, then determine the first target time period according to the previous sliding window and the next sliding window.

[0018] In some exemplary embodiments of the present disclosure, the current interaction data includes the current number of interactions and the current number of interaction keywords, the previous interaction data includes the previous number of interactions and the previous number of interaction keywords, and the next interaction data includes the next number of interactions and the next number of interaction keywords; the determination module is also configured to execute if the current resource data is greater than the previous resource data and the next resource data; or, the current number of interactions is greater than the previous number of interactions and the next number of interactions; or, the current number of interaction keywords is greater than the previous number of interaction keywords and the next number of interaction keywords, then determine the first target time period according to the previous sliding window and the next sliding window.

[0019] In some exemplary embodiments of the present disclosure, the target time period also includes a second target time period; the determination module is also configured to execute if the current resource data is greater than the previous resource data and the next resource data, and the current interaction data is greater than the previous interaction data and greater than the next interaction data, then determine the second target time period according to the previous sliding window and the next sliding window.

[0020] In some exemplary embodiments of the present disclosure, the marking module is further configured to execute marking a first target progress bar corresponding to the first target time period in the progress bar of the video to be processed using a first method; the marking module is further configured to execute marking a second target progress bar corresponding to the second target time period in the progress bar of the video to be processed using a second method.

[0021] In some exemplary embodiments of the present disclosure, the current interaction data includes the current number of interactions and the current number of interaction keywords, the previous interaction data includes the previous number of interactions and the previous number of interaction keywords, and the next interaction data includes the next number of interactions and the next number of interaction keywords; the second target time period includes a first target sub-time period; the determination module is further configured to execute if the current resource data is greater than the previous resource data and the next resource data, the current number of interactions is greater than the previous number of interactions and the next number of interactions, and the current number of interaction keywords is less than or equal to the previous number of interaction keywords or the next number of interaction keywords, then determine the first target sub-time period according to the previous sliding window and the next sliding window; the determination module is further configured to execute if the current resource data is greater than the previous resource data and the next resource data, the current number of interactions is greater than the previous number of interactions and the next number of interactions, and the current number of interaction keywords is less than or equal to the previous number of interaction keywords or the next number of interaction keywords. If the previous resource data is greater than the previous resource data and the next resource data, the current number of interactive keywords is greater than the previous number of interactive keywords and the next number of interactive keywords, and the current number of interactions is less than or equal to the previous number of interactions or the next number of interactions, then the first target sub-time period is determined according to the previous sliding window and the next sliding window; the determination module is also configured to execute if the current number of interactions is greater than the previous number of interactions and the next number of interactions, the current number of interactive keywords is greater than the previous number of interactive keywords and the next number of interactive keywords, and the current resource data is less than or equal to the previous current resource data or the next current resource data, then the first target sub-time period is determined according to the previous sliding window and the next sliding window.

[0022] In some exemplary embodiments of the present disclosure, the second target time period also includes a second target sub-time period; the determination module is also configured to execute if the current resource data is greater than the previous resource data and the next resource data; and the current number of interactions is greater than the previous number of interactions and the next number of interactions; and the current number of interaction keywords is greater than the previous number of interaction keywords and the next number of interaction keywords, then determine the second target sub-time period according to the previous sliding window and the next sliding window.

[0023] In some exemplary embodiments of the present disclosure, the marking module is further configured to execute marking a first target progress bar corresponding to the first target time period in the progress bar of the video to be processed using a first method; the marking module is further configured to execute marking a second target progress bar corresponding to the first target sub-time period in the progress bar of the video to be processed using a second method; the marking module is further configured to execute marking a third target progress bar corresponding to the second target sub-time period in the progress bar of the video to be processed using a third method.

[0024] In some exemplary embodiments of the present disclosure, the determination module is also configured to determine the start time of the previous sliding window as the start time of the target time period, and the end time of the next sliding window as the end time of the target time period; and determine the target time period based on the start time of the target time period and the end time of the target time period.

[0025] In some exemplary embodiments of the present disclosure, the window lengths of the current sliding window, the previous sliding window and the next sliding window are the same; the starting time of the current sliding window is the middle time of the previous sliding window, and the ending time of the current sliding window is the middle time of the next sliding window.

[0026] An embodiment of the present disclosure provides an electronic device, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the executable instructions to implement any of the above-mentioned video processing methods.

[0027] An embodiment of the present disclosure provides a computer-readable storage medium. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute any of the above-mentioned video processing methods.

[0028] An embodiment of the present disclosure provides a computer program product, including a computer program, which implements any of the above-mentioned video processing methods when the computer program is executed by a processor.

[0029] Some embodiments of the present disclosure provide a video processing method, which respectively obtains the current operation feedback data of the current sliding window of the video to be processed, the previous operation feedback data of the previous sliding window, and the next operation feedback data of the next sliding window. On the one hand, by making the current sliding window and the previous sliding window at least partially overlap, and the current sliding window and the next sliding window at least partially overlap, the operation feedback data can be re-acquired, the time complexity is reduced, and computer resources are saved; on the other hand, when the current operation feedback data is greater than the previous operation feedback data and the next operation feedback data, the target time period is determined according to the previous sliding window and the next sliding window, so that the target video segment corresponding to the target time period can be automatically marked in the video to be processed, thereby improving the accuracy of the target video segment marking and saving the time of the target video segment marking.

[0030] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0032] Figure 1 The diagram shows an exemplary system architecture to which the video processing method according to the embodiment of the present disclosure can be applied.

[0033] Figure 2 The figure is a flowchart of a video processing method according to an exemplary embodiment.

[0034] Figure 3 is a schematic diagram of a sliding window according to an example.

[0035] Figure 4 is a schematic diagram of sliding window sliding update according to an example.

[0036] Figure 5 The diagram is a schematic diagram of operation feedback data of a sliding window of a video to be processed according to an example.

[0037] Figure 6 The invention is a block diagram of a video processing device according to an exemplary embodiment.

[0038] Figure 7 It is a schematic diagram showing the structure of an electronic device suitable for implementing the exemplary embodiments of the present disclosure according to an exemplary embodiment. DETAILED DESCRIPTION

[0039] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.

[0040] The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.

[0041] The accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some block diagrams shown in the accompanying drawings do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in at least one hardware module or integrated circuit, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0042] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and steps, nor must they be executed in the order described. For example, some steps can be decomposed, and some steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0043] In this specification, the terms "a", "an", "the", "said" and "at least one" are used to indicate the presence of at least one element / component / etc.; the terms "comprising", "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first", "second" and "third" etc. are used only as labels and are not intended to limit the quantity of their objects.

[0044] Figure 1 The diagram shows an exemplary system architecture to which the video processing method according to the embodiment of the present disclosure can be applied.

[0045] like Figure 1As shown, the system architecture may include a server 101, a network 102, a terminal device 103, a terminal device 104, and a terminal device 105. The network 102 is used to provide a medium for a communication link between the terminal device 103, the terminal device 104, or the terminal device 105 and the server 101. The network 102 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0046] The server 101 may be a server that provides various services, such as a background management server that provides support for devices operated by users using the terminal device 103, the terminal device 104, or the terminal device 105. The background management server may analyze and process the received request and other data, and feed back the processing results to the terminal device 103, the terminal device 104, or the terminal device 105.

[0047] Terminal device 103, terminal device 104 and terminal device 105 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a wearable smart device, a virtual reality device, an augmented reality device, etc., but are not limited thereto.

[0048] In the disclosed embodiment, the terminal device 103, the terminal device 104 and the terminal device 105 can record the video to be processed and send the video to be processed to the server 101 for processing.

[0049] In the disclosed embodiment, the server 101 may: obtain the video to be processed; respectively obtain the current operation feedback data of the current sliding window of the video to be processed, the previous operation feedback data of the previous sliding window, and the next operation feedback data of the next sliding window, wherein the current sliding window and the previous sliding window at least partially overlap, and the current sliding window and the next sliding window at least partially overlap; if the current operation feedback data is greater than the previous operation feedback data and the next operation feedback data, determine the target time period according to the previous sliding window and the next sliding window; and mark the target video segment corresponding to the target time period in the video to be processed.

[0050] In the disclosed embodiment, the server 101 may send the marked video to the terminal device 103, the terminal device 104 and the terminal device 105 for playback.

[0051] It should be understood that Figure 1 The number of terminal devices 103, terminal devices 104, terminal devices 105, networks 102 and servers 101 are merely illustrative. Server 101 may be a physical server, a server cluster consisting of multiple servers, or a cloud server. Depending on actual needs, any number of terminal devices, networks and servers may be provided.

[0052] The following will describe in more detail the steps of the video processing method in the exemplary embodiment of the present disclosure in combination with the accompanying drawings and embodiments. The method provided in the exemplary embodiment of the present disclosure can be executed by any electronic device, such as the above-mentioned Figure 1 The server 101 and / or terminal device 103 in the embodiment of the present invention are referred to herein, but the present disclosure does not limit this.

[0053] Figure 2 The figure is a flowchart of a video processing method according to an exemplary embodiment.

[0054] like Figure 2 As shown, the method provided by the embodiment of the present disclosure may include the following steps.

[0055] In step S210, a video to be processed is obtained.

[0056] In the embodiments of the present disclosure, the video to be processed may be various types of videos, such as live recorded videos, videos played on a video playback platform, videos recorded by a terminal device, etc., and the present disclosure does not limit this.

[0057] There are many ways to obtain the video to be processed. For example, you can directly receive the video to be processed uploaded by the terminal device, or directly obtain the video to be processed from the network or database. Or, when the number of videos to be processed is large or the memory is large, you can also receive a video processing request sent by the terminal device. The video processing request carries the storage address of the video to be processed. According to the storage address, the video to be processed is obtained in the memory, cache or third-party database of the terminal device.

[0058] In step S220, the current operation feedback data of the current sliding window of the video to be processed, the previous operation feedback data of the previous sliding window, and the next operation feedback data of the next sliding window are respectively obtained, and the current sliding window and the previous sliding window at least partially overlap, and the current sliding window and the next sliding window at least partially overlap.

[0059] In the disclosed embodiment, a sliding window can be used to obtain operation feedback data of the video to be processed. Starting from a certain moment of the video to be processed, the sliding window can be used to slide on the video to be processed. Every time the sliding window slides to a position, the operation feedback data within the sliding window is obtained, thereby obtaining multiple sliding windows and their operation feedback data.

[0060] In the disclosed embodiment, the current sliding window may be any one of the multiple sliding windows obtained above, the previous sliding window refers to the previous sliding window of the current sliding window, the next sliding window refers to the next sliding window of the current sliding window, the current sliding window and the previous sliding window at least partially overlap, and the current sliding window and the next sliding window at least partially overlap.

[0061] In an embodiment of the present disclosure, the window lengths of the current sliding window, the previous sliding window, and the next sliding window may be the same or different. In the following examples, the example in which the window lengths of the current sliding window, the previous sliding window, and the next sliding window are the same is used for illustration, but the present disclosure is not limited to this.

[0062] In an embodiment of the present disclosure, the window lengths of the current sliding window, the previous sliding window, and the next sliding window can be set according to actual needs, for example, they can be set to 10 minutes, 20 minutes, 1 hour, etc. In the following examples, the window length is 10 minutes, but the present disclosure is not limited to this.

[0063] In an embodiment of the present disclosure, the starting time of the current sliding window may be the middle time of the previous sliding window, and the ending time of the current sliding window may be the middle time of the next sliding window, that is, the sliding window may slide in steps of 1 / 2 of the window length, that is, half of the current sliding window and the previous sliding window overlap, and half of the current sliding window and the next sliding window overlap. In the following examples, the sliding window may slide in steps of 1 / 2 of the window length as an example, but those skilled in the art may set the sliding step size according to actual conditions, and the present disclosure does not impose any limitation on this.

[0064] For example, when the window length is 10 minutes, taking the processing starting from the start time of the video to be processed (for example, 0:00), the first sliding window is 0:00-0:10, the second sliding window is 0:05-0:15, the third sliding window is 0:10-0:20, the fourth sliding window is 0:15-0:25, and so on, until the end time (or specified time) of the video to be processed.

[0065] Figure 3 is a schematic diagram of a sliding window according to an example.

[0066] refer to Figure 3 , for example, t k represents the current sliding window, t k For example, 0:30~0:40; t k-1 represents the previous sliding window, t k-1 For example, 0:25~0:35; t k+1 represents the next sliding window, t k+1 For example, it is 0:35 to 0:45, and k is a positive integer greater than 1.

[0067] In the embodiment of the present disclosure, operation feedback data refers to data generated by operations performed by a user on the video to be processed when the user is watching the video to be processed. The performed operations may include but are not limited to liking, commenting, sending barrages, giving props, etc. The operation feedback data is, for example, data generated by the operation of sending barrages when the user is watching a live broadcast or a film or TV series.

[0068] It should be noted that the personal information data involved in the embodiments of the present disclosure have been voluntarily authorized by the user, and the acquisition, storage, processing and transmission of personal information are in compliance with the requirements of relevant laws and regulations.

[0069] In the disclosed embodiment, the current operation feedback data refers to the operation feedback data in the current sliding window, the previous operation feedback data refers to the operation feedback data in the previous sliding window, and the next operation feedback data refers to the operation feedback data in the next sliding window.

[0070] Continue to refer Figure 3 , the current sliding window t can be obtained by real-time statistics k The current operation feedback data, the previous current sliding window t k-1 The previous operation feedback data and the next sliding window t k+1 The next operation feedback data.

[0071] Figure 4 is a schematic diagram of sliding window sliding update according to an example.

[0072] refer to Figure 4 , with the current sliding window t k The window length is L as an example. k Update to the next sliding window t k+1 When the current sliding window t k The first L / 2 length of information is moved out of the window, and the current sliding window t k The information of the last L / 2 length is supplemented with the L / 2 window forward, and the new L / 2 length information enters the window to form the next sliding window t k+1 .

[0073] In step S230, if the current operation feedback data is greater than the previous operation feedback data and the next operation feedback data, the target time period is determined according to the previous sliding window and the next sliding window.

[0074] In an embodiment of the present disclosure, if the current operation feedback data is greater than the previous operation feedback data, and the current operation feedback data is greater than the next operation feedback data, that is, the current operation feedback data is a maximum value (or the maximum value within a local time period), the target time period can be determined based on the previous sliding window and the next sliding window.

[0075] In the disclosed embodiment, the window where the maximum value appears (ie, the current sliding window) and the two windows adjacent thereto (ie, the previous sliding window and the next sliding window) may be determined as the target time period.

[0076] In an exemplary embodiment, the start time of the previous sliding window can be determined as the start time of the target time period, and the end time of the next sliding window can be determined as the end time of the target time period; the target time period is determined according to the start time and the end time of the target time period.

[0077] Continue to refer Figure 3 , for example, the current sliding window t k The operation feedback data is greater than the previous sliding window t k-1 The previous line of data is the current sliding window t k The operation feedback data is greater than the next sliding window t k+1 The next line of data can be the previous sliding window t k-1 The starting time 0:25 of the target time period is taken as the starting time of the next sliding window t k+1 The end time 0:45 of the target time period is taken as the end time of the target time period, that is, the target time period is 0:25 to 0:45.

[0078] In step S240, a target video segment corresponding to a target time period is marked in the video to be processed.

[0079] In the embodiments of the present disclosure, the target video clip may be a segment with highlights in the video to be processed, such as a game highlight, a live broadcast funny moment, a film or TV drama highlight, etc.; there may be one or more target video clips in a video to be processed, and the present disclosure does not impose any restrictions on this.

[0080] In the disclosed embodiment, the target video segment corresponding to the target time period may be marked in the video to be processed. For example, if the video to be processed is 5 hours long and its target time period is 0:25 to 0:45, then 0:25 to 0:45 may be marked to facilitate subsequent editing of the video to be processed.

[0081] In the embodiment of the present disclosure, a target progress bar of a target video segment corresponding to a target time period may be marked in the progress bar of the video to be processed. For example, a color mark or a special symbol may be used to mark the target progress bar.

[0082] In the disclosed embodiment, after marking the target video segment corresponding to the target time period in the video to be processed, a clip of the video to be processed can be automatically generated based on the target video segment, that is, the highlight moments in the video to be processed can be automatically clipped out for users to watch.

[0083] The video processing method provided by the embodiment of the present disclosure obtains the current operation feedback data of the current sliding window, the previous operation feedback data of the previous sliding window and the next operation feedback data of the next sliding window of the video to be processed respectively. On the one hand, by making the current sliding window and the previous sliding window at least partially overlap, and the current sliding window and the next sliding window at least partially overlap, the operation feedback data can be re-acquired, the time complexity is reduced, and computer resources are saved; on the other hand, when the current operation feedback data is greater than the previous operation feedback data and the next operation feedback data, the target time period is determined according to the previous sliding window and the next sliding window, so that the target video segment corresponding to the target time period can be automatically marked in the video to be processed, thereby improving the accuracy of the target video segment marking and saving the time of the target video segment marking.

[0084] In addition, the marked target video clips can be used for subsequent video editing to improve the efficiency of video editing.

[0085] The following is an example in which the current operation feedback data includes the current resource data and the current interaction data of the current sliding window, the previous operation feedback data includes the previous resource data and the previous interaction data of the previous sliding window, and the next operation feedback data includes the next resource data and the next interaction data of the next sliding window, but the present disclosure is not limited to this.

[0086] In the disclosed embodiment, the interactive data is the interactive data between the user watching the live broadcast and the anchor or other users watching the live broadcast, or the interactive data is the interactive data between the user watching the video and the video publisher or other users watching the video. For example, the likes data, comment data, and bullet screen data of the user watching the live broadcast or video.

[0087] In the disclosed embodiment, the resource data is the resource data presented by the user watching the live broadcast to the anchor, or the resource data is the resource data presented by the user watching the video to the video publisher. For example, the props data, gift data, etc. presented by the user watching the live broadcast or video to the anchor or video publisher.

[0088] In the following examples, the video to be processed is a video recorded in a live broadcast, the resource data is gift data, and the interactive data is barrage data, but the present disclosure is not limited to this.

[0089] In an exemplary embodiment, the above step S230 may include: if the current resource data is greater than the previous resource data and the next resource data; or the current interaction data is greater than the previous interaction data and the next interaction data, then determining the first target time period based on the previous sliding window and the next sliding window.

[0090] In the disclosed embodiment, it is possible to judge whether the current gift data is greater than both the previous gift data and the next gift data, and whether the current barrage data is greater than both the previous barrage data and the next barrage data. If only one of the above two conditions is met, it can be considered that the time period composed of the previous sliding window and the next sliding window has a small probability of being a highlight, and the time period composed of the previous sliding window and the next sliding window can be determined as the first target time period.

[0091] The gift data may include at least one of the number of gifts and the amount of gifts.

[0092] In an exemplary embodiment, the above step S230 may also include: if the current resource data is greater than the previous resource data and the next resource data, and the current interaction data is greater than the previous interaction data and the next interaction data, then determining the second target time period according to the previous sliding window and the next sliding window.

[0093] In the disclosed embodiment, it is possible to judge whether the current gift data is greater than both the previous gift data and the next gift data, and whether the current barrage data is greater than both the previous barrage data and the next barrage data. If the above two conditions are met at the same time, it can be considered that the time period composed of the previous sliding window and the next sliding window is more likely to be a highlight, and the time period composed of the previous sliding window and the next sliding window can be determined as the second target time period.

[0094] In the disclosed embodiment, the target video segment corresponding to the second target time period has more operation feedback data than the target video segment corresponding to the first target time period, that is, the target video segment corresponding to the second target time period is more likely to be a highlight than the target video segment corresponding to the first target time period.

[0095] In an exemplary embodiment, the above-mentioned step S240 may include: marking the target video segment corresponding to the target time period in the video to be processed, including: marking the first target progress bar corresponding to the first target time period in the progress bar of the video to be processed using a first method; marking the second target progress bar corresponding to the second target time period in the progress bar of the video to be processed using a second method.

[0096] In the disclosed embodiment, different target progress bars corresponding to different target time periods may be marked in different ways.

[0097] In the embodiment of the present disclosure, the first method and the second method may, for example, use different color marks, for example, the first method uses yellow marks, and the second method uses red marks; or, the first method and the second method may, for example, use different shades of color marks, for example, the first method uses light red marks, and the second method uses dark red marks.

[0098] In the disclosed embodiment, different target progress bars corresponding to different target time periods can be marked in different ways, so that users can more intuitively distinguish target time periods of different degrees, which is convenient for users to selectively watch videos, thereby improving user experience. In addition, target video clips marked in different ways can be used for subsequent video editing, and video editors can perform video editing based on target video clips marked in different ways, thereby improving video editing efficiency.

[0099] The following explanation is that the current interaction data includes the current interaction number and the current interaction keyword number, the previous interaction data includes the previous interaction number and the previous interaction keyword number, and the next interaction data includes the next interaction number and the next interaction keyword number, but the present disclosure is not limited to this.

[0100] In the disclosed embodiment, the number of interactions refers to the number of interactions between the user watching the live broadcast and the anchor or other users watching the live broadcast, or the number of interactions refers to the number of interactions between the user watching the video and the video publisher or other users watching the video. For example, the number of likes, comments, and bullet comments of users watching the live broadcast or video.

[0101] In the disclosed embodiment, the number of interactive keywords is the number of interactive keywords between the user watching the live broadcast and the anchor or other users watching the live broadcast, or the number of interactive keywords is the number of interactive keywords between the user watching the video and the video publisher or other users watching the video. For example, the number of like keywords, comment keywords, and bullet-screen keywords of users watching the live broadcast or video.

[0102] In the disclosed embodiment, the interactive keywords can be set according to actual conditions, for example, they can be: "Haha", "233", "The anchor is awesome", etc.

[0103] In the following examples, the number of interactions is the number of barrages, and the number of interaction keywords is the number of barrage keywords, but the present disclosure is not limited to this.

[0104] In an exemplary embodiment, if the current resource data is greater than the previous resource data and the next resource data; or the current interaction data is greater than the previous interaction data and the next interaction data, then the first target time period is determined based on the previous sliding window and the next sliding window, which may include: if the current resource data is greater than the previous resource data and the next resource data; or the current number of interactions is greater than the previous number of interactions and the next number of interactions; or the current number of interaction keywords is greater than the previous number of interaction keywords and the next number of interaction keywords, then the first target time period is determined based on the previous sliding window and the next sliding window.

[0105] In the disclosed embodiment, it is possible to judge whether the current gift data is greater than both the previous gift data and the next gift data, whether the current number of barrages is greater than both the previous number of barrages and the next number of barrages, and whether the current number of barrage keywords is greater than both the previous number of barrage keywords and the next number of barrage keywords. If only one of the above three conditions is met, it can be considered that the time period composed of the previous sliding window and the next sliding window has a low probability of being a highlight, and the time period composed of the previous sliding window and the next sliding window can be determined as the first target time period.

[0106] In an exemplary embodiment, if the current resource data is greater than the previous resource data and the next resource data, and the current interaction data is greater than the previous interaction data and the next interaction data, then the second target time period is determined according to the previous sliding window and the next sliding window, which may include: if the current resource data is greater than the previous resource data and the next resource data, the current interaction number is greater than the previous interaction number and the next interaction number, and the current interaction keyword number is less than or equal to the previous interaction keyword number or the next interaction keyword number, then the first target sub-time period is determined according to the previous sliding window and the next sliding window; if the current resource data is greater than the previous resource data and the next resource data, the current interaction keyword number is greater than the previous interaction keyword number and the next interaction keyword number, and the current interaction number is less than or equal to the previous interaction number or the next interaction number, then the first target sub-time period is determined according to the previous sliding window and the next sliding window; if the current interaction number is greater than the previous interaction number and the next interaction number, the current interaction keyword number is greater than the previous interaction keyword number and the next interaction keyword number, and the current resource data is less than or equal to the previous current resource data or the next current resource data, then the first target sub-time period is determined according to the previous sliding window and the next sliding window.

[0107] In the disclosed embodiment, it is possible to judge whether the current gift data is greater than both the previous gift data and the next gift data, whether the current number of barrages is greater than both the previous number of barrages and the next number of barrages, and whether the current number of barrage keywords is greater than both the previous number of barrage keywords and the next number of barrage keywords. If only two of the above three conditions are met, it can be considered that the time period composed of the previous sliding window and the next sliding window has a medium probability of being a highlight, and the time period composed of the previous sliding window and the next sliding window can be determined as the first target sub-time period.

[0108] In an exemplary embodiment, if the current resource data is greater than the previous resource data and the next resource data, and the current interaction data is greater than the previous interaction data and the next interaction data, then the second target time period is determined based on the previous sliding window and the next sliding window. It may also include: if the current resource data is greater than the previous resource data and the next resource data; and the current number of interactions is greater than the previous number of interactions and the next number of interactions; and the current number of interaction keywords is greater than the previous number of interaction keywords and the next number of interaction keywords, then the second target sub-time period is determined based on the previous sliding window and the next sliding window.

[0109] In the disclosed embodiment, it is possible to judge whether the current gift data is greater than both the previous gift data and the next gift data, whether the current number of barrages is greater than both the previous number of barrages and the next number of barrages, and whether the current number of barrage keywords is greater than both the previous number of barrage keywords and the next number of barrage keywords. If all three conditions are met, it can be considered that the time period composed of the previous sliding window and the next sliding window is more likely to be a highlight, and the time period composed of the previous sliding window and the next sliding window can be determined as the second target sub-time period.

[0110] In the disclosed embodiment, the target video segment corresponding to the second target sub-time period has more active user behaviors than the target video segment corresponding to the first target sub-time period, that is, the target video segment corresponding to the second target sub-time period is more likely to be a highlight than the target video segment corresponding to the first target sub-time period; the target video segment corresponding to the first target sub-time period has more active user behaviors than the target video segment corresponding to the first target time period, that is, the target video segment corresponding to the first target sub-time period is more likely to be a highlight than the target video segment corresponding to the first target time period.

[0111] In an exemplary embodiment, the above-mentioned step S240 may include: marking a first target progress bar corresponding to a first target time period in the progress bar of the video to be processed using a first method; marking a second target progress bar corresponding to a first target sub-time period in the progress bar of the video to be processed using a second method; and marking a third target progress bar corresponding to a second target sub-time period in the progress bar of the video to be processed using a third method.

[0112] In the disclosed embodiment, different target progress bars corresponding to different target time periods may be marked in different ways.

[0113] In the disclosed embodiment, the first method, the second method and the third method may, for example, use different color marks, for example, the first method uses green marks, the second method uses yellow marks, and the third method uses red marks; or, the first method, the second method and the third method may, for example, use different shades of color marks, for example, the first method uses light red marks, the second method uses bright red marks, and the third method uses dark red marks.

[0114] Figure 5 The diagram is a schematic diagram of operation feedback data of a sliding window of a video to be processed according to an example.

[0115] Take the video to be processed during the live broadcast as an example. Figure 5 , showing a line graph with the horizontal axis being the live broadcast time and the vertical axis being the window content volume, the number of barrages 501, the number of barrage keywords 502, and the number of gifts 503.

[0116] from Figure 5 It can be seen that when the horizontal axis is 200s, the number of barrages 501 and the number of gifts 503 are maximum values, and the preset time period before and after 200s can be considered as the first target sub-time period; when the horizontal axis is 300s, the number of barrage keywords 502 is a maximum value, and the preset time period before and after 300s can be considered as the first target time period; when the horizontal axis is 500s, the number of barrages 501 and the number of barrage keywords 502 are maximum values, and the preset time period before and after 500s can be considered as the first target sub-time period; when the horizontal axis is 600s, the number of barrage keywords 502 is a maximum value, and the preset time period before and after 600s can be considered as the first target time period.

[0117] In the disclosed embodiment, different target progress bars corresponding to different target time periods can be marked in different ways, so that users can more intuitively distinguish target time periods of different degrees, which is convenient for users to selectively watch videos, thereby improving user experience. In addition, target video clips marked in different ways can be used for subsequent video editing, and video editors can perform video editing based on target video clips marked in different ways, thereby improving video editing efficiency.

[0118] It should be noted that the above figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0119] Figure 6 is a block diagram of a video processing device according to an exemplary embodiment. Figure 6The device 600 may include an acquisition module 610, an obtaining module 620, a determination module 630 and a marking module 640.

[0120] Among them, the acquisition module 610 is configured to execute the acquisition of the video to be processed; the acquisition module 620 is configured to execute the acquisition of the current operation feedback data of the current sliding window of the video to be processed, the previous operation feedback data of the previous sliding window and the next operation feedback data of the next sliding window, respectively, the current sliding window and the previous sliding window at least partially overlap, and the current sliding window and the next sliding window at least partially overlap; the determination module 630 is configured to execute if the current operation feedback data is greater than the previous operation feedback data and the next operation feedback data, then determine the target time period according to the previous sliding window and the next sliding window; the marking module 640 is configured to execute marking the target video segment corresponding to the target time period in the video to be processed.

[0121] In some exemplary embodiments of the present disclosure, the current operation feedback data includes the current resource data and the current interaction data of the current sliding window, the previous operation feedback data includes the previous resource data and the previous interaction data of the previous sliding window, and the next operation feedback data includes the next resource data and the next interaction data of the next sliding window; the target time period includes a first target time period; the determination module 630 is also configured to execute if the current resource data is greater than the previous resource data and the next resource data; or, the current interaction data is greater than the previous interaction data and the next interaction data, then determine the first target time period according to the previous sliding window and the next sliding window.

[0122] In some exemplary embodiments of the present disclosure, the current interaction data includes the current number of interactions and the current number of interaction keywords, the previous interaction data includes the previous number of interactions and the previous number of interaction keywords, and the next interaction data includes the next number of interactions and the next number of interaction keywords; the determination module 630 is also configured to execute if the current resource data is greater than the previous resource data and the next resource data; or, the current number of interactions is greater than the previous number of interactions and the next number of interactions; or, the current number of interaction keywords is greater than the previous number of interaction keywords and the next number of interaction keywords, then determine the first target time period according to the previous sliding window and the next sliding window.

[0123] In some exemplary embodiments of the present disclosure, the target time period also includes a second target time period; the determination module 630 is also configured to execute if the current resource data is greater than the previous resource data and the next resource data, and the current interaction data is greater than the previous interaction data and greater than the next interaction data, then determine the second target time period according to the previous sliding window and the next sliding window.

[0124] In some exemplary embodiments of the present disclosure, the marking module 640 is also configured to execute marking a first target progress bar corresponding to the first target time period in the progress bar of the video to be processed using a first method; the marking module 640 is also configured to execute marking a second target progress bar corresponding to the second target time period in the progress bar of the video to be processed using a second method.

[0125] In some exemplary embodiments of the present disclosure, the current interaction data includes the current number of interactions and the current number of interaction keywords, the previous interaction data includes the previous number of interactions and the previous number of interaction keywords, and the next interaction data includes the next number of interactions and the next number of interaction keywords; the second target time period includes a first target sub-time period; the determination module 630 is also configured to execute if the current resource data is greater than the previous resource data and the next resource data, the current number of interactions is greater than the previous number of interactions and the next number of interactions, and the current number of interaction keywords is less than or equal to the previous number of interaction keywords or the next number of interaction keywords, then determine the first target sub-time period according to the previous sliding window and the next sliding window; the determination module 630 is also configured to execute if the current resource data is greater than the previous resource data and the next resource data, the current number of interactions is greater than the previous number of interactions and the next number of interactions, and the current number of interaction keywords is less than or equal to the previous number of interaction keywords or the next number of interaction keywords. If the current resource data is greater than the previous resource data and the next resource data, the current number of interactive keywords is greater than the previous number of interactive keywords and the next number of interactive keywords, and the current number of interactions is less than or equal to the previous number of interactions or the next number of interactions, then the first target sub-time period is determined according to the previous sliding window and the next sliding window; the determination module 630 is also configured to execute if the current number of interactions is greater than the previous number of interactions and the next number of interactions, the current number of interactive keywords is greater than the previous number of interactive keywords and the next number of interactive keywords, and the current resource data is less than or equal to the previous current resource data or the next current resource data, then the first target sub-time period is determined according to the previous sliding window and the next sliding window.

[0126] In some exemplary embodiments of the present disclosure, the second target time period also includes a second target sub-time period; the determination module 630 is also configured to execute if the current resource data is greater than the previous resource data and the next resource data; and the current number of interactions is greater than the previous number of interactions and the next number of interactions; and the current number of interaction keywords is greater than the previous number of interaction keywords and the next number of interaction keywords, then determine the second target sub-time period according to the previous sliding window and the next sliding window.

[0127] In some exemplary embodiments of the present disclosure, the marking module 640 is also configured to execute marking a first target progress bar corresponding to the first target time period in the progress bar of the video to be processed using a first method; the marking module is also configured to execute marking a second target progress bar corresponding to the first target sub-time period in the progress bar of the video to be processed using a second method; the marking module is also configured to execute marking a third target progress bar corresponding to the second target sub-time period in the progress bar of the video to be processed using a third method.

[0128] In some exemplary embodiments of the present disclosure, the determination module 630 is also configured to determine the start time of the previous sliding window as the start time of the target time period, and determine the end time of the next sliding window as the end time of the target time period; determine the target time period based on the start time of the target time period and the end time of the target time period.

[0129] In some exemplary embodiments of the present disclosure, the window lengths of the current sliding window, the previous sliding window and the next sliding window are the same; the starting time of the current sliding window is the middle time of the previous sliding window, and the ending time of the current sliding window is the middle time of the next sliding window.

[0130] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0131] Refer to the following Figure 7 hereinafter describes an electronic device 700 according to such an embodiment of the present disclosure. Figure 7 The electronic device 700 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0132] like Figure 7As shown, the electronic device 700 is in the form of a general computing device. The components of the electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one storage unit 720, a bus 730 connecting different system components (including the storage unit 720 and the processing unit 710), and a display unit 740.

[0133] The storage unit stores program codes, which can be executed by the processing unit 710, so that the processing unit 710 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 710 can perform the following steps: Figure 2 The steps shown in .

[0134] For example, electronic devices can achieve Figure 2 The steps shown.

[0135] The storage unit 720 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 721 and / or a cache memory unit 722 , and may further include a read-only memory unit (ROM) 723 .

[0136] The storage unit 720 may also include a program / utility 724 having a set (at least one) of program modules 725, such program modules 725 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0137] Bus 730 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0138] The electronic device 700 may also communicate with one or more external devices 770 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 700, and / or communicate with any device that enables the electronic device 700 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 750. Furthermore, the electronic device 700 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 760. As shown, the network adapter 760 communicates with other modules of the electronic device 700 via a bus 730. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0139] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0140] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory including instructions, and the above instructions can be executed by a processor of the device to complete the above method. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0141] In an exemplary embodiment, a computer program product is also provided, including a computer program / instruction, and when the computer program / instruction is executed by a processor, the video processing method in the above embodiment is implemented.

[0142] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0143] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A video processing method, characterized in that: include: Get the video to be processed; Respectively obtaining the current operation feedback data of the current sliding window, the previous operation feedback data of the previous sliding window, and the next operation feedback data of the next sliding window of the video to be processed, wherein the current sliding window and the previous sliding window at least partially overlap, and the current sliding window and the next sliding window at least partially overlap; the current operation feedback data includes the current resource data and the current interaction data of the current sliding window, the previous operation feedback data includes the previous resource data and the previous interaction data of the previous sliding window, and the next operation feedback data includes the next resource data and the next interaction data of the next sliding window; The resource data is item data or gift data, and the gift data is at least one of the gift quantity and gift amount; The interactive data includes the number of interactions and the number of interactive keywords, wherein the number of interactions is at least one of the number of likes, the number of comments, and the number of bullet screens, and the number of interactive keywords is at least one of the number of like keywords, the number of comment keywords, and the number of bullet screen keywords; If the current resource data is greater than the previous resource data and the next resource data; or, the current interaction data is greater than the previous interaction data and the next interaction data, determining a first target time period according to the previous sliding window and the next sliding window; If the current resource data is greater than the previous resource data and the next resource data, and the current interaction data is greater than the previous interaction data and greater than the next interaction data, determining a second target time period according to the previous sliding window and the next sliding window; A target video segment corresponding to the target time period is marked in the video to be processed, where the target time period includes the first target time period and the second target time period.

2. The video processing method according to claim 1, characterized in that: The current interaction data includes the current interaction number and the current interaction keyword number, the previous interaction data includes the previous interaction number and the previous interaction keyword number, and the next interaction data includes the next interaction number and the next interaction keyword number; If the current resource data is greater than the previous resource data and the next resource data; Alternatively, if the current interaction data is greater than the previous interaction data and the next interaction data, determining a first target time period according to the previous sliding window and the next sliding window includes: If the current resource data is greater than the previous resource data and the next resource data; Alternatively, the current number of interactions is greater than the previous number of interactions and the next number of interactions; or, the current number of interaction keywords is greater than the previous number of interaction keywords and the next number of interaction keywords, then the first target time period is determined based on the previous sliding window and the next sliding window.

3. The video processing method according to claim 1, characterized in that: Marking the target video segment corresponding to the target time period in the video to be processed includes: Marking a first target progress bar corresponding to the first target time period in the progress bar of the video to be processed using a first method; In the progress bar of the video to be processed, a second target progress bar corresponding to the second target time period is marked using a second method.

4. The video processing method according to claim 1, characterized in that: The current interaction data includes the current interaction number and the current interaction keyword number, the previous interaction data includes the previous interaction number and the previous interaction keyword number, and the next interaction data includes the next interaction number and the next interaction keyword number; The second target time period includes the first target sub-time period; Wherein, if the current resource data is greater than the previous resource data and the next resource data, and the current interaction data is greater than the previous interaction data and greater than the next interaction data, determining a second target time period according to the previous sliding window and the next sliding window includes: If the current resource data is greater than the previous resource data and the next resource data, the current number of interactions is greater than the previous number of interactions and the next number of interactions, and the current number of interaction keywords is less than or equal to the previous number of interaction keywords or the next number of interaction keywords, then the first target sub-time period is determined according to the previous sliding window and the next sliding window; If the current resource data is greater than the previous resource data and the next resource data, the current number of interactive keywords is greater than the previous number of interactive keywords and the next number of interactive keywords, and the current number of interactions is less than or equal to the previous number of interactions or the next number of interactions, then the first target sub-time period is determined according to the previous sliding window and the next sliding window; If the current number of interactions is greater than the previous number of interactions and the next number of interactions, the current number of interaction keywords is greater than the previous number of interaction keywords and the next number of interaction keywords, and the current resource data is less than or equal to the previous resource data or the next resource data, then the first target sub-time period is determined based on the previous sliding window and the next sliding window.

5. The video processing method according to claim 4, characterized in that: The second target time period also includes a second target sub-time period; Wherein, if the current resource data is greater than the previous resource data and the next resource data, and the current interaction data is greater than the previous interaction data and greater than the next interaction data, then determining the second target time period according to the previous sliding window and the next sliding window also includes: If the current resource data is greater than the previous resource data and the next resource data; and the current number of interactions is greater than the previous number of interactions and the next number of interactions; and the current number of interaction keywords is greater than the previous number of interaction keywords and the next number of interaction keywords, then the second target sub-time period is determined based on the previous sliding window and the next sliding window.

6. The video processing method according to claim 5, characterized in that: Marking the target video segment corresponding to the target time period in the video to be processed includes: Marking a first target progress bar corresponding to the first target time period in the progress bar of the video to be processed using a first method; Marking a second target progress bar corresponding to the first target sub-time period in the progress bar of the video to be processed using a second method; In the progress bar of the video to be processed, a third target progress bar corresponding to the second target sub-time period is marked using a third method.

7. The video processing method according to claim 1, characterized in that: Determining a target time period according to the previous sliding window and the next sliding window includes: Determine the start time of the previous sliding window as the start time of the target time period, and determine the end time of the next sliding window as the end time of the target time period; The target time period is determined according to a start time of the target time period and an end time of the target time period.

8. The video processing method according to any one of claims 1 to 7, characterized in that: The window lengths of the current sliding window, the previous sliding window and the next sliding window are the same; the starting time of the current sliding window is the middle time of the previous sliding window, and the ending time of the current sliding window is the middle time of the next sliding window.

9. A video processing device, characterized in that: include: An acquisition module is configured to execute acquisition of a video to be processed; The obtaining module is configured to respectively obtain the current operation feedback data of the current sliding window, the previous operation feedback data of the previous sliding window and the next operation feedback data of the next sliding window of the video to be processed, wherein the current sliding window and the previous sliding window at least partially overlap, and the current sliding window and the next sliding window at least partially overlap; the current operation feedback data includes the current resource data and the current interaction data of the current sliding window, the previous operation feedback data includes the previous resource data and the previous interaction data of the previous sliding window, and the next operation feedback data includes the next resource data and the next interaction data of the next sliding window; The resource data is item data or gift data, and the gift data is at least one of the gift quantity and gift amount; The interactive data includes the number of interactions and the number of interactive keywords, wherein the number of interactions is at least one of the number of likes, the number of comments, and the number of bullet screens, and the number of interactive keywords is at least one of the number of like keywords, the number of comment keywords, and the number of bullet screen keywords; A determination module is configured to determine a first target time period according to the previous sliding window and the next sliding window if the current resource data is greater than the previous resource data and the next resource data; or if the current interaction data is greater than the previous interaction data and the next interaction data; And, if the current resource data is greater than the previous resource data and the next resource data, and the current interaction data is greater than the previous interaction data and greater than the next interaction data, then determining a second target time period according to the previous sliding window and the next sliding window; The marking module is configured to mark the target video segment corresponding to the target time period in the video to be processed, where the target time period includes the first target time period and the second target time period.

10. The video processing device according to claim 9, characterized in that: The current interaction data includes the current interaction number and the current interaction keyword number, the previous interaction data includes the previous interaction number and the previous interaction keyword number, and the next interaction data includes the next interaction number and the next interaction keyword number; The determination module is also configured to execute if the current resource data is greater than the previous resource data and the next resource data; or the current number of interactions is greater than the previous number of interactions and the next number of interactions; or the current number of interaction keywords is greater than the previous number of interaction keywords and the next number of interaction keywords, then determine the first target time period based on the previous sliding window and the next sliding window.

11. The video processing device according to claim 9, characterized in that: The marking module is further configured to execute marking a first target progress bar corresponding to the first target time period in the progress bar of the video to be processed using a first method; The marking module is further configured to execute marking a second target progress bar corresponding to the second target time period in the progress bar of the video to be processed using a second method.

12. The video processing device according to claim 9, characterized in that: The current interaction data includes the current interaction number and the current interaction keyword number, the previous interaction data includes the previous interaction number and the previous interaction keyword number, and the next interaction data includes the next interaction number and the next interaction keyword number; The second target time period includes the first target sub-time period; The determination module is further configured to determine the first target sub-time period according to the previous sliding window and the next sliding window if the current resource data is greater than the previous resource data and the next resource data, the current interaction number is greater than the previous interaction number and the next interaction number, and the current interaction keyword number is less than or equal to the previous interaction keyword number or the next interaction keyword number; The determination module is further configured to determine the first target sub-time period according to the previous sliding window and the next sliding window if the current resource data is greater than the previous resource data and the next resource data, the current number of interactive keywords is greater than the previous number of interactive keywords and the next number of interactive keywords, and the current number of interactions is less than or equal to the previous number of interactions or the next number of interactions; The determination module is also configured to execute if the current number of interactions is greater than the previous number of interactions and the next number of interactions, the current number of interaction keywords is greater than the previous number of interaction keywords and the next number of interaction keywords, and the current resource data is less than or equal to the previous resource data or the next resource data, then determine the first target sub-time period according to the previous sliding window and the next sliding window.

13. The video processing device according to claim 12, characterized in that: The second target time period also includes a second target sub-time period; The determination module is also configured to execute if the current resource data is greater than the previous resource data and the next resource data; and the current number of interactions is greater than the previous number of interactions and the next number of interactions; and the current number of interaction keywords is greater than the previous number of interaction keywords and the next number of interaction keywords, then determine the second target sub-time period according to the previous sliding window and the next sliding window.

14. The video processing device according to claim 13, characterized in that: The marking module is further configured to execute marking a first target progress bar corresponding to the first target time period in the progress bar of the video to be processed using a first method; The marking module is further configured to execute marking a second target progress bar corresponding to the first target sub-time period in the progress bar of the video to be processed using a second method; The marking module is further configured to mark a third target progress bar corresponding to the second target sub-time period in the progress bar of the video to be processed using a third method.

15. The video processing device according to claim 9, characterized in that: The determination module is further configured to determine the start time of the previous sliding window as the start time of the target time period, and determine the end time of the next sliding window as the end time of the target time period; The target time period is determined according to a start time of the target time period and an end time of the target time period.

16. The video processing device according to any one of claims 9 to 15, characterized in that: The window lengths of the current sliding window, the previous sliding window and the next sliding window are the same; the starting time of the current sliding window is the middle time of the previous sliding window, and the ending time of the current sliding window is the middle time of the next sliding window.

17. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the executable instructions to implement the video processing method according to any one of claims 1 to 8. 18 . A computer-readable storage medium, when instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the video processing method according to claim 1 .

19. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the video processing method according to any one of claims 1 to 8 is implemented.