Video playback completion rate prediction method, device, medium and electronic device

Predicting the playback completion rate by extracting characteristic information of video clips solves the problem of difficulty in predicting the video playback rate in the existing technology, and improves video quality evaluation and delivery effects.

CN114339402BActive Publication Date: 2024-10-11DOUYIN VISION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111670078.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-10-11
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively predict the completion rate of preset duration video clips in promotional videos, which affects video exposure and media conversion rate.

Method used

By obtaining the video to be predicted and the duration to be predicted, it is determined that the feature extraction duration is greater than the duration to be predicted, the feature information of the video clip is extracted, and the playback completion rate is predicted based on this information to improve prediction efficiency and accuracy.

Benefits of technology

It improves the prediction accuracy and efficiency of video playback completion rate, can effectively measure video quality, and ensure the exposure and conversion rate of video delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114339402B_ABST
    Figure CN114339402B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method, device, medium and electronic device for predicting the completion rate of video playback. The method includes: obtaining a video to be predicted and a duration to be predicted; determining a feature extraction duration based on the duration to be predicted; extracting feature information of a target video segment of the video to be predicted that has passed the feature extraction duration from an initial moment; and predicting the playback completion rate of the target video segment based on the feature information. Predicting the playback completion rate based on the feature information of the target video segment of the feature extraction duration, rather than based on the feature information of the entire video to be predicted, can improve the efficiency of feature extraction and playback completion rate prediction. In addition, by extracting features from a target video segment that is slightly longer than the duration to be predicted, richer feature information can be extracted, improving the accuracy of playback completion rate prediction, thereby effectively measuring the quality of the video based on the playback completion rate, and then determining whether to deliver it based on the measurement results, so as to ensure the subsequent exposure of the delivered video and improve the media conversion rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of multimedia technology, and in particular to a method, device, medium and electronic device for predicting a video playback completion rate. Background Art

[0002] With the rapid development of Internet technology, there are more and more software applications. In order to attract users to download, it is usually necessary to use promotional videos to promote the target application. Among them, the quality of the promotional video directly affects the exposure of the video, and then affects the media conversion rate (that is, the download volume of the target application). Among them, the completion rate of the preset length of video clips in the promotional video is an important indicator for evaluating the quality of the video. Therefore, before the release, how to predict the completion rate of the preset length of video clips in the promotional video is a problem worthy of attention. Summary of the invention

[0003] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0004] In a first aspect, the present disclosure provides a method for predicting a video playback completion rate, comprising:

[0005] Obtain a video to be predicted and a duration to be predicted, wherein the duration to be predicted is the duration of the completion of the playback of the video to be predicted, and the duration to be predicted is less than or equal to the duration of the video to be predicted;

[0006] Determining a feature extraction duration based on the duration to be predicted, wherein the feature extraction duration is greater than the duration to be predicted;

[0007] Extract feature information of a target video segment of the video to be predicted from an initial moment through the feature extraction time length;

[0008] The playback completion rate of the target video segment in the video to be predicted is predicted according to the feature information.

[0009] In a second aspect, the present disclosure provides a video playback completion rate prediction device, comprising:

[0010] An acquisition module, used to acquire a video to be predicted and a duration to be predicted, wherein the duration to be predicted is the duration of the completion of the playback of the video to be predicted, and the duration to be predicted is less than or equal to the duration of the video to be predicted;

[0011] A first determining module, configured to determine a feature extraction duration based on the duration to be predicted acquired by the acquiring module, wherein the feature extraction duration is greater than the duration to be predicted;

[0012] An extraction module, configured to extract feature information of a target video segment of the to-be-predicted video acquired by the acquisition module from an initial moment through the feature extraction duration determined by the first determination module;

[0013] The prediction module is used to predict the playback completion rate of the target video segment in the video to be predicted according to the feature information extracted by the extraction module.

[0014] In a third aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the method provided in the first aspect of the present disclosure.

[0015] In a fourth aspect, the present disclosure provides an electronic device, including:

[0016] a storage device having a computer program stored thereon;

[0017] A processing device is used to execute the computer program in the storage device to implement the steps of the method provided in the first aspect of the present disclosure.

[0018] In the above technical solution, after obtaining the video to be predicted and the duration to be predicted, the feature extraction duration is determined based on the duration to be predicted; then, the feature information of the target video segment of the video to be predicted that has passed the feature extraction duration from the initial moment is extracted; next, the play completion rate of the target video segment in the video to be predicted is predicted based on the feature information. The play completion rate prediction is performed based on the feature information of the target video segment of the feature extraction duration in the video to be predicted, rather than the play completion rate prediction based on the feature information of the entire video to be predicted, which can improve the efficiency of feature extraction and the efficiency of play completion rate prediction. In addition, since the user has prior knowledge, when watching a video, he can usually predict the subsequent short-term plot, and then he may close the currently playing video, that is, the user implicitly watches the content of the watched part and the subsequent predicted short-term plot. In this way, by intercepting the target video segment slightly longer than the duration to be predicted for feature extraction, richer feature information can be extracted, and the prediction accuracy of the play completion rate can be improved, so that the quality of the video to be predicted can be effectively measured based on the play completion rate, and then it can be determined whether to release it based on the measurement results to ensure the subsequent exposure of the released video and improve the media conversion rate.

[0019] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale. In the drawings:

[0021] Figure 1 The figure is a flowchart of a method for predicting a video playback completion rate according to an exemplary embodiment.

[0022] Figure 2 is a flowchart of a method for predicting a video playback completion rate according to another exemplary embodiment.

[0023] Figure 3 is a flowchart of a method for predicting a video playback completion rate according to another exemplary embodiment.

[0024] Figure 4 is a flowchart of a method for predicting a video playback completion rate according to another exemplary embodiment.

[0025] Figure 5 The figure is a block diagram of a device for predicting a video playback completion rate according to an exemplary embodiment.

[0026] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0027] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0028] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0029] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0030] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0031] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0032] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0033] Figure 1 FIG. 1 is a flow chart of a method for predicting a video playback completion rate according to an exemplary embodiment. Figure 1 As shown, the method includes S101 to S104.

[0034] In S101, the video to be predicted and the duration to be predicted are obtained.

[0035] In the present disclosure, the video to be predicted can be a long video or a short video. The duration to be predicted is the duration of the video to be predicted to be played, and the duration to be predicted is less than or equal to the duration of the video to be predicted. For example, the duration to be predicted is 3 seconds.

[0036] In S102, the feature extraction duration is determined based on the duration to be predicted.

[0037] In the present disclosure, the feature extraction time length is greater than the time length to be predicted.

[0038] For example, feature extraction duration = duration to be predicted + N seconds, where N is a preset duration, for example, 2 seconds.

[0039] In S103, feature information of a target video segment of the video to be predicted that has passed through a feature extraction time from an initial moment is extracted.

[0040] In S104, the playback completion rate of the target video segment in the video to be predicted is predicted based on the feature information.

[0041] In the present disclosure, the playback completion rate of the target video segment in the video to be predicted is the probability that the user has finished watching the first segment of the video to be predicted, that is, the playback completion rate of the target video segment in the video to be predicted = the number of completed playbacks of the target video segment in the video to be predicted / the total number of playbacks of the video to be predicted. For example, if the duration to be predicted is 3 seconds, the playback completion rate of the target video segment is the 3s completion rate, that is, the probability that the user has finished watching the first 3 seconds of the video to be predicted.

[0042] In the above technical solution, after obtaining the video to be predicted and the duration to be predicted, the feature extraction duration is determined based on the duration to be predicted; then, the feature information of the target video segment of the video to be predicted that has passed the feature extraction duration from the initial moment is extracted; next, the play completion rate of the target video segment in the video to be predicted is predicted based on the feature information. The play completion rate prediction is performed based on the feature information of the target video segment of the feature extraction duration in the video to be predicted, rather than the play completion rate prediction based on the feature information of the entire video to be predicted, which can improve the efficiency of feature extraction and the efficiency of play completion rate prediction. In addition, since the user has prior knowledge, when watching a video, he can usually predict the subsequent short-term plot, and then he may close the currently playing video, that is, the user implicitly watches the content of the watched part and the subsequent predicted short-term plot. In this way, by intercepting the target video segment slightly longer than the duration to be predicted for feature extraction, richer feature information can be extracted, and the prediction accuracy of the play completion rate can be improved, so that the quality of the video to be predicted can be effectively measured based on the play completion rate, and then it can be determined whether to release it based on the measurement results to ensure the subsequent exposure of the released video and improve the media conversion rate.

[0043] The specific implementation method of extracting the feature information of the target video segment of the to-be-predicted video from the initial moment through the feature extraction duration in S103 is described in detail below.

[0044] In the present disclosure, a feature extraction model may be used to extract feature information of a target video segment of a video to be predicted that has passed through a feature extraction duration from an initial moment.

[0045] Since the feature extraction model usually has requirements for the frame rate and size of the input image frame, before using the feature extraction model to extract the feature information of the target video segment from the initial moment of the video to be predicted and the feature extraction duration, it is necessary to perform corresponding processing on the video frame rate and image frame of the target video segment. Specifically, the following steps (1) to (3) can be used to extract the feature information of the target video segment from the initial moment of the video to be predicted and the feature extraction duration:

[0046] (1) Downsampling the target video segment to reduce the frame rate of the target video segment to a preset frame rate (e.g., 2 frames, 3 frames, 4 frames, etc.) so as to meet the frame rate requirement of the feature extraction model for the input data.

[0047] The downsampling may be random downsampling or uniform downsampling. Since adjacent video frames are usually similar, uniform downsampling can preserve the characteristic information of the target video segment as much as possible, thereby improving the prediction accuracy of the subsequent playback completion rate. Therefore, preferably, the target video segment is sampled by uniform downsampling.

[0048] (2) Scaling the image frames of the downsampled target video segment so that the size of each image frame in the scaled target video segment meets a preset size, thereby meeting the size requirement of the feature extraction model for input data.

[0049] (3) The image frames of the target video clip obtained after scaling are input into a pre-trained feature extraction model to obtain feature information.

[0050] In one embodiment, the feature extraction model may include a slow channel and a fast channel. The slow channel is used to extract the spatial features of the image frames of the target video segment obtained after scaling; the fast channel is used to extract the temporal motion features of the image frames of the target video segment obtained after scaling; the spatial features and motion features are used as feature information of the target video segment. The feature extraction model has a stronger ability to capture temporal features and understand videos, thereby further improving the prediction accuracy of the subsequent playback completion rate.

[0051] In addition, in order to make the above-mentioned feature extraction model including slow channel and fast channel more in line with the data characteristics of the video to be predicted, so as to further improve the prediction accuracy of the subsequent playback completion rate, a grid search method based on cross-validation can be used to determine the target speed ratio of the slow channel and fast channel of the feature extraction model.

[0052] Specifically, the target speed ratio of the slow channel and the fast channel can be determined by:

[0053] Firstly, a plurality of candidate speed ratios of a slow channel and a fast channel are obtained, wherein the plurality of candidate speed ratios are a plurality of speed ratio empirical values; then, a cross entropy loss function is used as an objective function, and a grid search method is adopted to determine a target speed ratio of a slow channel and a fast channel from the plurality of candidate speed ratios.

[0054] In addition, in order to reduce the difficulty of fitting the feature extraction model, in addition to using the image frame of the target video segment obtained after scaling as the input of the feature extraction model, other dimensional information of the target video segment obtained after scaling can also be input into the feature extraction model to provide more information to reduce the difficulty of fitting the feature extraction model. Specifically, before the above step (3), the step of extracting the feature information of the target video segment of the video to be predicted from the initial moment through the feature extraction time also includes the following step (4).

[0055] (4) Obtain the video type of the video to be predicted.

[0056] In the present disclosure, the types may include movies, games, dances, etc. For example, the video type of the video to be predicted may be obtained by inputting the video to be predicted into a deep learning network.

[0057] At this time, in the above step (3), the image frame and video type of the target video segment obtained after scaling can be input into a pre-trained feature extraction model to obtain feature information.

[0058] The specific implementation of predicting the playback completion rate of the target video segment in the video to be predicted according to the feature information in the above S104 is described in detail below.

[0059] Specifically, the extracted feature information of the target video segment can be input into a multi-layer perceptron to obtain the playback completion rate of the target video segment in the video to be predicted. The specific structure of the multi-layer perceptron is a stacked matrix multiplication module with an activation function.

[0060] In order to make the multilayer perceptron more suitable for video playback completion rate prediction, the number of layers and neurons of the multilayer perceptron can be adjusted to improve the fitting and generalization capabilities of the multilayer perceptron.

[0061] In addition, in order to further improve the prediction accuracy of the playback completion rate, the Dropout layer before the output layer at the tail of the multilayer perceptron can be removed to improve the fitting ability of the multilayer perceptron, thereby improving the accuracy of the playback completion rate prediction.

[0062] Since users usually focus on the central picture of a video when watching it, when extracting feature information in S103, only feature information of the central picture of the target video segment of the video to be predicted that has passed the feature extraction time from the initial moment can be extracted to quickly extract features and further improve the prediction efficiency of the playback completion rate. Specifically, Figure 2 As shown, before the above S103, the above method also includes the following S105.

[0063] In S105 , for each image frame of the target video segment that has passed the feature extraction time from the initial moment in the video to be predicted, the boundary picture of the image frame is cropped.

[0064] For example, the border area of ​​the image frame may be cropped to retain 85% of the center area.

[0065] At this time, the above S103 can extract the characteristic information of the target video segment obtained after cutting. Then, the above S104 can predict the playback completion rate of the target video segment in the video to be predicted based on the characteristic information of the target video segment obtained after cutting.

[0066] Figure 3 FIG. 1 is a flowchart of a method for predicting a video playback completion rate according to another exemplary embodiment. Figure 3 As shown, the above method also includes S106.

[0067] In S106, the video quality of the video to be predicted is determined according to the playback completion rate.

[0068] In one implementation, if the playback completion rate is greater than a preset playback completion rate threshold, the video quality of the video to be predicted is determined to be excellent; if the playback completion rate is less than or equal to the preset playback completion rate threshold, the video quality of the video to be predicted is determined to be poor.

[0069] In another implementation, the evaluation value of the video to be predicted may be determined according to the playback completion rate; and then, the video quality of the video to be predicted may be determined according to the evaluation value.

[0070] In the present disclosure, the evaluation value corresponding to the current playback completion rate can be determined according to the pre-established correspondence between the playback completion rate and the evaluation value. If the evaluation value is greater than a preset evaluation threshold, the video quality of the video to be predicted is determined to be excellent; if the evaluation value is less than or equal to the preset evaluation threshold, the video quality of the video to be predicted is determined to be poor.

[0071] Figure 4 FIG. 1 is a flowchart of a method for predicting a video playback completion rate according to another exemplary embodiment. Figure 4 As shown, the above method also includes S107 and S108.

[0072] In S107, it is determined whether to broadcast the video to be predicted according to the video quality.

[0073] In S108, if it is determined to deliver the video to be predicted, the video to be predicted is delivered.

[0074] In the present disclosure, if the video quality is excellent, it is determined to release the video to be predicted. At this time, the video to be predicted can be released to the corresponding promotion platform; if the video quality is poor, it is determined not to release the video to be predicted. At this time, the user can be reminded to adjust the video to be predicted to increase subsequent exposure.

[0075] Based on the same inventive concept, the present disclosure also provides a video playback completion rate prediction device. Figure 5 As shown, the device 500 includes: an acquisition module 501, used to acquire a video to be predicted and a duration to be predicted, wherein the duration to be predicted is the duration of the video to be predicted to complete playback, and the duration to be predicted is less than or equal to the duration of the video to be predicted; a first determination module 502, used to determine a feature extraction duration based on the duration to be predicted acquired by the acquisition module 501, wherein the feature extraction duration is greater than the duration to be predicted; an extraction module 503, used to extract feature information of a target video segment of the video to be predicted acquired by the acquisition module 501 from an initial moment through the feature extraction duration determined by the first determination module 502; a prediction module 504, used to predict the playback completion rate of the target video segment in the video to be predicted based on the feature information extracted by the extraction module 503.

[0076] In the above technical solution, after obtaining the video to be predicted and the duration to be predicted, the feature extraction duration is determined based on the duration to be predicted; then, the feature information of the target video segment of the video to be predicted that has passed the feature extraction duration from the initial moment is extracted; next, the play completion rate of the target video segment in the video to be predicted is predicted based on the feature information. The play completion rate prediction is performed based on the feature information of the target video segment of the feature extraction duration in the video to be predicted, rather than the play completion rate prediction based on the feature information of the entire video to be predicted, which can improve the efficiency of feature extraction and the efficiency of play completion rate prediction. In addition, since the user has prior knowledge, when watching a video, he can usually predict the subsequent short-term plot, and then he may close the currently playing video, that is, the user implicitly watches the content of the watched part and the subsequent predicted short-term plot. In this way, by intercepting the target video segment slightly longer than the duration to be predicted for feature extraction, richer feature information can be extracted, and the prediction accuracy of the play completion rate can be improved, so that the quality of the video to be predicted can be effectively measured based on the play completion rate, and then it can be determined whether to release it based on the measurement results to ensure the subsequent exposure of the released video and improve the media conversion rate.

[0077] Optionally, the extraction module 503 includes: a downsampling submodule, used to downsample the target video segment to reduce the frame rate of the target video segment to a preset frame rate; a scaling submodule, used to scale the image frames of the downsampled target video segment so that the size of each image frame in the target video segment obtained after scaling meets the preset size; and an input submodule, used to input the image frames of the target video segment obtained after scaling into a pre-trained feature extraction model to obtain feature information.

[0078] Optionally, the feature extraction model includes a slow channel and a fast channel; wherein the slow channel is used to extract spatial features of the image frames of the target video segment obtained after scaling; the fast channel is used to extract temporal motion features of the image frames of the target video segment obtained after scaling; the spatial features and the motion features serve as feature information of the target video segment.

[0079] Optionally, the target speed ratio of the slow channel and the fast channel is determined by a speed ratio determination device, wherein the speed ratio determination device includes: a speed ratio acquisition module, used to obtain multiple candidate speed ratios of the slow channel and the fast channel; a speed ratio determination module, used to determine the target speed ratio of the slow channel and the fast channel from the multiple candidate speed ratios by grid search using a cross entropy loss function as an objective function.

[0080] Optionally, the extraction module 503 also includes: an acquisition submodule, which is used to input the image frame of the target video segment obtained after scaling into a pre-trained feature extraction model in the input submodule to obtain the video type of the video to be predicted before obtaining the feature information; the input submodule is used to input the image frame of the target video segment obtained after scaling and the video type into a pre-trained feature extraction model to obtain the feature information.

[0081] Optionally, the device 500 also includes: a cropping module, which is used to crop the boundary screen of the image frame for each image frame of the target video segment before the extraction module 503 extracts the feature information of the target video segment of the video to be predicted from the initial moment through the feature extraction time; the extraction module 503 is used to extract the feature information of the target video segment obtained after cropping.

[0082] Optionally, the device 500 further includes: a second determination module, configured to determine the video quality of the video to be predicted according to the playback completion rate.

[0083] Optionally, the device 500 further includes: a third determination module, used to determine whether to deliver the video to be predicted according to the video quality; and a delivery module, used to deliver the video to be predicted if it is determined to deliver the video to be predicted.

[0084] In addition, it should be noted that the speed ratio determination device can be integrated into the video playback completion rate prediction device 500, or can be independent of the video playback completion rate prediction device, which is not specifically limited in the present disclosure.

[0085] Reference below Figure 6 , which shows a schematic diagram of the structure of an electronic device (such as a terminal device or a server) 700 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0086] like Figure 6 As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0087] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 700 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0088] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 709, or installed from a storage device 708, or installed from a ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0089] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0090] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0091] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0092] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains the video to be predicted and the duration to be predicted, wherein the duration to be predicted is the duration of the video to be predicted to complete playback, and the duration to be predicted is less than or equal to the duration of the video to be predicted; determines the feature extraction duration based on the duration to be predicted, wherein the feature extraction duration is greater than the duration to be predicted; extracts feature information of a target video segment of the video to be predicted that has passed the feature extraction duration from an initial moment; and predicts the playback completion rate of the target video segment in the video to be predicted based on the feature information.

[0093] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0094] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0095] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a module does not limit the module itself in some cases. For example, an acquisition module may also be described as a "module for acquiring a video to be predicted and a duration to be predicted".

[0096] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0097] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0098] According to one or more embodiments of the present disclosure, Example 1 provides a method for predicting a video playback completion rate, comprising: obtaining a video to be predicted and a duration to be predicted, wherein the duration to be predicted is the duration of the video to be predicted to complete playback, and the duration to be predicted is less than or equal to the duration of the video to be predicted; based on the duration to be predicted, determining a feature extraction duration, wherein the feature extraction duration is greater than the duration to be predicted; extracting feature information of a target video segment of the video to be predicted that has passed the feature extraction duration from an initial moment; and predicting the playback completion rate of the target video segment in the video to be predicted based on the feature information.

[0099] According to one or more embodiments of the present disclosure, Example 2 provides the method of Example 1, which extracts feature information of a target video segment of the video to be predicted from an initial moment through the feature extraction duration, including: downsampling the target video segment to reduce the frame rate of the target video segment to a preset frame rate; scaling the image frames of the downsampled target video segment so that the size of each image frame in the target video segment obtained after scaling meets the preset size; and inputting the image frames of the target video segment obtained after scaling into a pre-trained feature extraction model to obtain feature information.

[0100] According to one or more embodiments of the present disclosure, Example 3 provides the method of Example 2, wherein the feature extraction model includes a slow channel and a fast channel; wherein the slow channel is used to extract spatial features of the image frames of the target video clip obtained after scaling; the fast channel is used to extract temporal motion features of the image frames of the target video clip obtained after scaling; the spatial features and the motion features serve as feature information of the target video clip.

[0101] According to one or more embodiments of the present disclosure, Example 4 provides the method of Example 3, and the target speed ratio of the slow channel and the fast channel is determined by: obtaining multiple candidate speed ratios of the slow channel and the fast channel; using the cross entropy loss function as the objective function, and determining the target speed ratio of the slow channel and the fast channel from the multiple candidate speed ratios by grid search.

[0102] According to one or more embodiments of the present disclosure, Example 5 provides the method of Example 2, before the step of inputting the image frame of the target video segment obtained after scaling into a pre-trained feature extraction model to obtain feature information, the step of extracting the feature information of the target video segment of the video to be predicted from the initial moment through the feature extraction duration also includes: obtaining the video type of the video to be predicted; the step of inputting the image frame of the target video segment obtained after scaling into a pre-trained feature extraction model to obtain feature information includes: inputting the image frame of the target video segment obtained after scaling and the video type into the pre-trained feature extraction model to obtain feature information.

[0103] According to one or more embodiments of the present disclosure, Example 6 provides the method of Example 1, and before the step of extracting feature information of a target video segment of the video to be predicted from an initial moment through the feature extraction duration, the method further includes: for each image frame of the target video segment, cropping the boundary screen of the image frame; and extracting feature information of the target video segment of the video to be predicted from an initial moment through the feature extraction duration includes: extracting feature information of the target video segment obtained after cropping.

[0104] According to one or more embodiments of the present disclosure, Example 7 provides the method of Examples 1 to 6, which further includes: determining the video quality of the video to be predicted based on the playback completion rate.

[0105] According to one or more embodiments of the present disclosure, Example 8 provides the method of Example 7, which further includes: determining whether to deliver the video to be predicted based on the video quality; if it is determined to deliver the video to be predicted, delivering the video to be predicted.

[0106] According to one or more embodiments of the present disclosure, Example 9 provides a video playback completion rate prediction device, including: an acquisition module, used to acquire a video to be predicted and a duration to be predicted, wherein the duration to be predicted is the duration of the video to be predicted to complete playback, and the duration to be predicted is less than or equal to the duration of the video to be predicted; a first determination module, used to determine a feature extraction duration based on the duration to be predicted acquired by the acquisition module, wherein the feature extraction duration is greater than the duration to be predicted; an extraction module, used to extract feature information of a target video segment of the video to be predicted acquired by the acquisition module from an initial moment through the feature extraction duration determined by the first determination module; a prediction module, used to predict the playback completion rate of the target video segment in the video to be predicted based on the feature information extracted by the extraction module.

[0107] According to one or more embodiments of the present disclosure, Example 10 provides a computer-readable medium having a computer program stored thereon, which implements the steps of any of the methods described in Examples 1-8 when executed by a processing device.

[0108] According to one or more embodiments of the present disclosure, Example 11 provides an electronic device, comprising: a storage device on which a computer program is stored; and a processing device for executing the computer program in the storage device to implement the steps of any one of the methods described in Examples 1-8.

[0109] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0110] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0111] Although the subject matter has been described in language specific to structural features and / or method logic actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims. Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims

1. A method for predicting video playback completion rate, characterized in that: include: Obtain a video to be predicted and a duration to be predicted, wherein the duration to be predicted is the duration of the completion of the playback of the video to be predicted, and the duration to be predicted is less than or equal to the duration of the video to be predicted; Determining a feature extraction duration based on the duration to be predicted, wherein the feature extraction duration is greater than the duration to be predicted; Extract feature information of a target video segment of the video to be predicted from an initial moment through the feature extraction time length; The playback completion rate of the target video segment in the video to be predicted is predicted according to the feature information, wherein the playback completion rate is equal to the ratio of the number of completed playbacks of the target video segment to the total number of playbacks of the video to be predicted.

2. The method according to claim 1, characterized in that The step of extracting feature information of a target video segment of the video to be predicted that has passed through the feature extraction time from the initial moment includes: Downsampling the target video segment to reduce the frame rate of the target video segment to a preset frame rate; Scaling the downsampled image frames of the target video segment so that the size of each image frame in the target video segment obtained after scaling meets a preset size; The image frame of the target video segment obtained after scaling is input into a pre-trained feature extraction model to obtain feature information.

3. The method according to claim 2, characterized in that The feature extraction model includes a slow channel and a fast channel; Wherein, the slow channel is used to extract the spatial features of the image frame of the target video segment obtained after scaling; The fast channel is used to extract the temporal motion features of the image frames of the target video segment obtained after the scaling; The spatial feature and the motion feature serve as feature information of the target video segment.

4. The method according to claim 3, characterized in that The target speed ratio of the slow channel and the fast channel is determined by: Acquire a plurality of candidate speed ratios of the slow channel and the fast channel; A cross entropy loss function is used as an objective function, and a grid search method is adopted to determine a target speed ratio between the slow channel and the fast channel from the multiple candidate speed ratios.

5. The method according to claim 2, characterized in that: Before the step of inputting the image frame of the target video segment obtained after scaling into a pre-trained feature extraction model to obtain feature information, the step of extracting feature information of the target video segment of the video to be predicted from the initial moment through the feature extraction time length further includes: Obtaining the video type of the video to be predicted; The step of inputting the image frame of the target video segment obtained after scaling into a pre-trained feature extraction model to obtain feature information includes: The image frame of the target video segment obtained after scaling and the video type are input into a pre-trained feature extraction model to obtain feature information.

6. The method according to claim 1, characterized in that Before the step of extracting feature information of a target video segment of the video to be predicted that has passed through the feature extraction time from the initial moment, the method further includes: For each image frame of the target video segment, cropping a boundary picture of the image frame; The step of extracting feature information of a target video segment of the video to be predicted that has passed through the feature extraction time from the initial moment includes: Extract feature information of the cropped target video segment.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: The video quality of the video to be predicted is determined according to the playback completion rate.

8. The method according to claim 7, characterized in that The method further comprises: Determining whether to broadcast the video to be predicted according to the video quality; If it is determined to deliver the video to be predicted, the video to be predicted is delivered.

9. A video playback completion rate prediction device, characterized in that: include: An acquisition module, used to acquire a video to be predicted and a duration to be predicted, wherein the duration to be predicted is the duration of the completion of the playback of the video to be predicted, and the duration to be predicted is less than or equal to the duration of the video to be predicted; A first determining module, configured to determine a feature extraction duration based on the duration to be predicted acquired by the acquiring module, wherein the feature extraction duration is greater than the duration to be predicted; An extraction module, configured to extract feature information of a target video segment of the to-be-predicted video acquired by the acquisition module from an initial moment through the feature extraction duration determined by the first determination module; A prediction module is used to predict the playback completion rate of the target video segment in the video to be predicted based on the feature information extracted by the extraction module, wherein the playback completion rate is equal to the ratio of the number of completed playbacks of the target video segment to the total number of playbacks of the video to be predicted.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processing device, the steps of the method described in any one of claims 1 to 8 are implemented.

11. An electronic device, characterized in that: include: a storage device having a computer program stored thereon; A processing device, configured to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1 to 8.