Video pushing method and device, electronic equipment and computer readable medium
Through the video push method of keyword extraction and semantic matching combined with video popularity sorting, the problem of high computing resources occupancy and low push position of new video materials in the existing technology is solved, and efficient video material flow and timely push of new materials is achieved. .
Patent Information
- Application Number
- CN202411143435.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-08-20
AI Technical Summary
Existing video push methods are inefficient in computing resource occupancy, and it is difficult to push video materials that users are interested in in a timely manner, and it is difficult to capture video timing characteristics and ignore the semantics of search text, making it difficult for users to quickly find video materials that they are interested in, reducing videos. The flow efficiency of the material, and it is difficult for new video materials to accumulate high attention in a short period of time, resulting in their push position being lower.
Through keyword extraction processing and correlation analysis, potentially interested video materials are selected and semantic matching is performed, combined with video popularity information is sorted, video push results are generated, computing resource occupation and video streaming efficiency are improved, and users can preview in a timely manner. New video material of interest.
It reduces the consumption of computing resources, improves the flow efficiency of video materials, promptly pushes video materials that users are interested in, and ensures that new video materials can obtain a higher push position when ensuring that high-quality video materials rank high.
Smart Images

Figure CN119052584A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of computer technology, and in particular to a video push method, device, electronic device, and computer-readable medium. Background Art
[0002] Digital content circulation platforms are committed to providing rich video material resources for users with material needs. Therefore, how to push video material resources that users are interested in to users in a timely manner to improve the circulation efficiency of video materials has become a core issue in the field of digital content circulation. At present, when pushing videos, the usual method is: first, based on the image-language pre-training model migrated to the field of video text matching, directly select each video material that has a semantic match with the search text from the video material library. Then, the sample video clips of each selected video material are sorted according to the popularity of the video material, and pushed to the user terminal for user preview.
[0003] However, in practice, it is found that when the above method is used to push videos, the following technical problems often occur:
[0004] First, if the migrated image-language pre-trained model is used to directly semantically match the search text with all the video materials in the video material library for each search text input by the user, it will consume a lot of computing power and time, resulting in a large amount of computing resources being occupied, and it is difficult to push the video materials that the user is interested in to the user in a timely manner;
[0005] Second, the migrated image-language pre-training model usually has difficulty in capturing the temporal features of video clips, and ignores the semantics of the retrieval text when extracting video features, resulting in a large number of videos with low user interest in the selected video materials, which makes it difficult for users to quickly determine the video materials to be transferred, and reduces the efficiency of video material transfer;
[0006] Third, since it is difficult for new video materials to accumulate a high level of attention in a very short period of time when they are first released, if they are sorted and pushed according to their attention level, it is easy for the new video materials to be displayed at a relatively backward position, making it difficult for users to preview the newer video materials they are interested in in a timely manner.
[0007] The above information disclosed in this Background section is only for enhancement of understanding of the background of the present application concept and therefore it may contain information that does not form the prior art that is already known to one of ordinary skill in the art. Summary of the invention
[0008] The content of this application is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this application is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0009] Some embodiments of the present application propose a video push method, apparatus, electronic device, and computer-readable medium to solve one or more of the technical problems mentioned in the above background technology section.
[0010] In a first aspect, some embodiments of the present application provide a video push method, the method comprising: in response to receiving video retrieval text information, performing keyword extraction processing on the above video retrieval text information to obtain a retrieval keyword sequence; performing association analysis processing on a preset video tag index information set and the above retrieval keyword sequence to obtain an associated video information set; performing semantic matching processing on each video material segment corresponding to the above video retrieval text information and the above associated video information set to obtain a video information set to be displayed; determining the video heat information corresponding to each video information to be displayed in the above video information set to be displayed to obtain a video heat information set; based on the above video heat information set, sorting processing on each sample video material segment corresponding to the above video information set to be displayed to obtain a video sequence to be previewed; based on a pre-generated video preview image information set and the above video sequence to be previewed, generating a video push result for pushing to a target user for preview.
[0011] In a second aspect, some embodiments of the present application provide a video push device, the device comprising: a keyword extraction processing unit, configured to perform keyword extraction processing on the video retrieval text information in response to receiving the video retrieval text information, so as to obtain a retrieval keyword sequence; an association analysis processing unit, configured to perform association analysis processing on a preset video tag index information set and the retrieval keyword sequence, so as to obtain an associated video information set; a semantic matching processing unit, configured to perform semantic matching processing on the video retrieval text information and each video material segment corresponding to the associated video information set, so as to obtain a video information set to be displayed; a determination unit, configured to determine the video heat information corresponding to each video information to be displayed in the video information set to be displayed, so as to obtain a video heat information set; a sorting processing unit, configured to perform sorting processing on each sample video material segment corresponding to the video information set to be displayed based on the video heat information set, so as to obtain a video sequence to be previewed; a generation unit, configured to generate a video push result based on a pre-generated video preview image information set and the video sequence to be previewed, so as to push the result to a target user for previewing.
[0012] In a third aspect, some embodiments of the present application provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.
[0013] In a fourth aspect, some embodiments of the present application provide a computer-readable medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method described in any implementation of the first aspect above is implemented.
[0014] The above-mentioned embodiments of the present application have the following beneficial effects: through the video push method of some embodiments of the present application, less computing resources can be occupied, and the video materials of interest to the user can be pushed to the user in time. Specifically, the reason for occupying more resources and being difficult to push the video materials of interest to the user in time is that if the image-language pre-training model transferred is used for the search text input by each user, and the search text is directly semantically matched with all the video materials in the video material library, a large amount of computing power and time are consumed, thereby resulting in more computing resources being occupied and it is difficult to push the video materials of interest to the user in time. Based on this, the video push method of some embodiments of the present application, first, in response to receiving the video search text information, the above video search text information is subjected to keyword extraction processing to obtain a search keyword sequence. Thus, each keyword in the video search text can be obtained. Secondly, the preset video tag index information set and the above search keyword sequence are subjected to association analysis processing to obtain an associated video information set. Thus, each video material of interest to the potential user can be initially screened out according to the association relationship between the keywords and the tags marked by the video materials. Then, the video retrieval text information and the video material fragments corresponding to the above-mentioned associated video information set are semantically matched to obtain the video information set to be displayed. Thus, the video materials that the user is actually interested in can be accurately screened out from the various video materials that the potential user is interested in, so as to be pushed to the user, according to the semantic matching relationship between the retrieval text and the video material content. After that, the video heat information corresponding to each video information to be displayed in the above-mentioned video information set to be displayed is determined to obtain the video heat information set. Thus, the attention heat of each video material to be pushed to the user can be obtained. Then, based on the above-mentioned video heat information set, the sample video material fragments corresponding to the above-mentioned video information set to be displayed are sorted to obtain a video sequence to be previewed. Thus, high-quality video materials with high attention heat can be placed in front, which is convenient for users to preview in time. Finally, based on the pre-generated video preview image information set and the above-mentioned video sequence to be previewed, a video push result is generated for pushing to the target user for preview. Therefore, the video push method of some embodiments of the present application, for the user's retrieval text, first matches the video material tag and then performs semantic matching with the video material, which can reduce the number of video materials involved in semantic matching and reduce the computing power consumption and time cost of screening videos of interest. Thereby, the computing resource usage can be reduced, and the video materials that the user is interested in can be pushed to the user in a timely manner, thereby improving the flow efficiency of the video. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0016] Figure 1 is a flowchart of some embodiments of the video push method according to the present application;
[0017] Figure 2 is a schematic diagram of the structure of some embodiments of the video push device according to the present application;
[0018] Figure 3 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present application. DETAILED DESCRIPTION
[0019] Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.
[0020] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other.
[0021] It should be noted that the concepts such as "first" and "second" mentioned in this application 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.
[0022] It should be noted that the modifications of "one" and "plurality" mentioned in the present application 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".
[0023] The names of the messages or information exchanged between multiple devices in the embodiments of the present application are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0024] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments.
[0025] Figure 1The process 100 of some embodiments of the video push method according to the present application is shown. The video push method comprises the following steps:
[0026] Step 101, in response to receiving video retrieval text information, performing keyword extraction processing on the video retrieval text information to obtain a retrieval keyword sequence.
[0027] In some embodiments, the execution subject (e.g., a computing device) of the video push method may perform keyword extraction processing on the video retrieval text information in response to receiving the video retrieval text information to obtain a retrieval keyword sequence. The video retrieval text information may be text information input by a user for retrieving video materials in a video material library. The video material library may be a database for storing various video material clips. The video material clips may be various video clips used in the video production process. Each video material clip may be associated with a video material identifier. The video material identifier may be a unique identifier for the corresponding video material clip. The retrieval keyword sequence may be a set arranged in the order in which the retrieval keywords appear in the video retrieval text. The retrieval keyword may be a keyword for retrieving video material clips. The video retrieval text information may be subjected to keyword extraction processing by a preset keyword extraction method to obtain a retrieval keyword sequence. For example, the keyword extraction method may be, but is not limited to, one of the following: a keyword extraction method based on word embedding, a keyword extraction method based on an attention mechanism.
[0028] Step 102: Perform association analysis on the preset video tag index information set and the search keyword sequence to obtain an associated video information set.
[0029] In some embodiments, the execution subject may perform association analysis on a preset video tag index information set and the search keyword sequence in various ways to obtain an associated video information set. Each associated video information in the associated video information set may correspond to a video material segment one-to-one. The video tag index information in the video tag index information set may be index information consisting of tag words and video material segments corresponding to the tag words. The tag words may be obtained by manually or machine-annotating the video material segments. The tag words may characterize the attribute characteristics of the video material segments. The attribute characteristics may include, but are not limited to: objects in the video, video format, and video style. The associated video information in the associated video information set may be information about video material segments related to any search keyword.
[0030] In some optional implementations of some embodiments, each video tag index information in the above video tag index information set may include a tag word and a tagged video identifier set. The tagged video identifier in the above tagged video identifier set may be a video material identifier of a video material segment tagged with a corresponding tag word. The above execution subject may perform association analysis on the preset video tag index information set and the above search keyword sequence through the following steps to obtain an associated video information set:
[0031] In the first step, for each search keyword in the search keyword sequence, the video tag index information including the tag words matching the search keyword is selected from the video tag index information set as the target video tag index information, and the target video tag index information group is obtained. Among them, matching the search keyword may be that the tag words included in the video tag index information contain characters or character strings that are exactly the same as the search keyword. For example, when the search keyword is "flower", the tag words matching the search keyword may include "flower", "peony flower", and "spring flower".
[0032] In the second step, each annotated video identifier in each annotated video identifier set corresponding to the target video tag index information group is determined as associated video information to obtain an associated video information set.
[0033] Step 103: semantically match the video retrieval text information and each video material segment corresponding to the associated video information set to obtain the video information set to be displayed.
[0034] In some embodiments, the execution subject may perform semantic matching processing on the video search text information and each video material segment corresponding to the associated video information set in various ways to obtain the video information set to be displayed. The video information set to be displayed may be a video search result after accurate search based on video semantics.
[0035] In some optional implementations of some embodiments, the execution subject may perform semantic matching processing on the video search text information and each video material segment corresponding to the associated video information set through the following steps to obtain the video information set to be displayed:
[0036] The first step is to perform feature extraction processing on the video retrieval text information to obtain text features. The text features can be vectors that represent the video retrieval text information. Specifically, the following steps can be performed:
[0037] In the first sub-step, a text representation vector corresponding to the video retrieval text information is determined through a word embedding model.
[0038] In the second sub-step, the text representation vector is projected to a preset feature space through a feedforward neural network to obtain a projected text vector. The preset feature space may be a feature space of a preset dimension. The preset dimension may be a pre-set dimension.
[0039] In the third sub-step, the context feature representation learning of the projected text vector is performed through the multi-attention based Transformer model to obtain the text feature.
[0040] In the second step, for each video material segment corresponding to the above associated video information set, the following steps are performed:
[0041] The first sub-step is to input the above-mentioned text features and the above-mentioned video material clips into a pre-trained text-video semantic matching model to obtain a video-text matching value. Among them, the above-mentioned text-video semantic matching model may include a video spatial feature extraction module, a video temporal feature extraction module, a video spatiotemporal feature extraction module, a video-text encoding module, a video-text decoding module and a classification module. The above-mentioned video spatial feature extraction module can be used to extract the spatial features of the video clip. The above-mentioned video temporal feature extraction module can be used to extract the temporal features of the video clip. The above-mentioned video spatiotemporal feature extraction module can be used to extract the spatiotemporal features of the video clip. The above-mentioned video-text encoding module can be used to fuse the video spatiotemporal features and text features to obtain associated features. The above-mentioned video-text decoding module can be used to decode the original video spatiotemporal features according to the associated features to obtain decoded video features. The above-mentioned classification module can be used to output a label value representing whether the text and the video are semantically matched according to the decoded video features. The above-mentioned video-text matching value can be a probability value representing whether the corresponding video material clip is semantically similar to the video retrieval text.
[0042] In some optional implementations of some embodiments, the execution subject may input the text features and the video clip into a pre-trained text-video semantic matching model, and obtain a video-text matching value through the following steps:
[0043] Step 1: Input the video material clip into the video spatial feature extraction module included in the pre-trained text video semantic matching model to obtain a hierarchical extracted video feature sequence and video spatial features. The video feature extraction module may include various video feature extraction layers. For example, the video feature extraction module may include 4 video feature extraction layers. The various video feature extraction layers may be executed sequentially. Each video feature extraction layer may be composed of a single-layer Transformer encoder. The Transformer encoder may include a hierarchical normalization layer, a feedforward network layer, and a multi-head self-attention layer. Except for the video feature extraction layer of the first layer, the output of the video feature extraction layer of the previous layer may be the input of the video feature extraction layer of the next layer. The hierarchical extracted video features in the hierarchical extracted video feature sequence may correspond to the video feature extraction layer one by one. The hierarchical extracted video feature sequence may be an ordered set of hierarchical extracted video features arranged in the execution order of each video feature extraction layer. The hierarchical extracted video features may be the result of the output of the video feature extraction layer of a non-last layer. The video spatial features may be the final output of the video feature extraction module. The video spatial features may characterize the spatial information of the video material clip. Spatial information may include, but is not limited to, the layout of the scene in the video, the shape, texture, and color distribution of objects.
[0044] Step 2: Input the above text features and the above hierarchical extracted video feature sequence into the video temporal feature extraction module included in the above text video semantic matching model to obtain video temporal features. The above video temporal feature extraction module may include various temporal feature extraction layers. Each temporal feature extraction layer may be executed sequentially. Each temporal feature extraction layer may be composed of a single-layer Transformer encoder. First, input the above text features and the hierarchical extracted video features with sequence number 1 in the above hierarchical extracted video feature sequence into the temporal feature extraction layer of the first layer in the above video temporal feature extraction module to obtain the temporal feature output result corresponding to the first layer of the temporal feature extraction layer. Then, for each temporal feature extraction layer in the above video temporal feature extraction module that meets the preset number of layers, the temporal feature output result of the temporal feature extraction layer of the previous layer and the hierarchical extracted video features corresponding to the above temporal feature extraction layer may be added, and the added result may be input into the above temporal feature extraction layer. The above-mentioned temporal feature extraction layer that meets the preset number of layers may be a temporal feature extraction layer that is not the first layer in the above video temporal feature extraction module. The above-mentioned video timing features can represent the timing information of the video material clips.
[0045] Step three, input the video temporal features and the video spatial features into the video temporal and spatial feature extraction module included in the text video semantic matching model to obtain video temporal and spatial features. Among them, the video temporal and spatial features can represent the temporal and spatial information after the temporal information and spatial information of the video clip are fused. The video temporal and spatial feature extraction module can include a feature fusion layer, a fusion feature dimensionality reduction layer and a fusion feature extraction layer. The feature fusion layer can be used to splice the video temporal features and the video spatial features to obtain fusion features. The fusion feature dimensionality reduction layer can be used to reduce the dimension of the fusion features through linear mapping to obtain reduced dimension fusion features. The fusion feature extraction layer can extract features from the reduced dimension fusion features through a single-layer Transformer encoder to obtain video temporal and spatial features.
[0046] Step 4: Input the video spatiotemporal features and the text features into the video text encoding module included in the text video semantic matching model to obtain video text association features. The video text association features can characterize the association relationship between the video material segment and the video retrieval text. The video text encoding module can encode the video spatiotemporal features according to the text features through a single-layer Transformer encoder to obtain video text association features.
[0047] Step 5, input the above video text association features and the above video spatiotemporal features into the video text decoding module included in the above text video semantic matching model to obtain a decoded video feature vector. Among them, the above video text decoding module can be composed of a multi-layer Transformer encoder. The above video text decoding module can decode the above video spatiotemporal features according to the above video text association features to obtain a decoded video feature vector. The above decoded video feature vector can represent whether the corresponding video material segment is semantically similar to the video retrieval text.
[0048] Step 6: Input the decoded video feature vector into the classification module included in the text video semantic matching model to obtain the video text matching value. The classification module may include a linear layer and an activation function layer. The activation function layer may include a Sigmod activation function.
[0049] In the second sub-step, in response to determining that the video text matching value is greater than a preset matching threshold, the associated video information corresponding to the video material segment is determined as the video information to be displayed. The preset matching threshold may be a preset lower limit of the video text matching value.
[0050] Optionally, the text-video semantic matching model can be pre-trained through the following steps:
[0051] The first step is to obtain a sample text video matching information set. Each sample text video matching information in the sample text video matching information set may include sample video search text information and a sample video text matching information set. The sample video text matching information in the sample video text matching information set may include a sample video material segment and a sample video text matching tag.
[0052] The second step is to select sample text-video matching information from the above sample text-video matching information set and perform the following training steps:
[0053] The first sub-step is to perform feature extraction processing on the sample video retrieval text information included in the selected sample text video matching information to obtain sample text features.
[0054] The second sub-step is to perform the following steps for each sample video material segment in at least one sample video material segment included in the selected sample text video matching information:
[0055] Sub-step 1: Input the sample text features and the sample video clips into an initial text-video semantic matching model to obtain a video-text matching value. The initial text-video semantic matching model may be an untrained or incompletely trained text-video semantic matching model.
[0056] Sub-step 2, in response to determining that the video text matching value is greater than a preset matching threshold, determining the preset matching tag as the video text matching tag. The preset matching tag may be a preset tag that represents the semantic similarity between the sample video retrieval text information and the sample video material segment. For example, when the preset matching tag is 0, it represents the semantic dissimilarity between the sample video retrieval text information and the sample video material segment. When the preset matching tag is 1, it represents the semantic similarity between the sample video retrieval text information and the sample video material segment.
[0057] In a third sub-step, the video text matching label corresponding to each sample video material segment in the at least one sample video material segment is compared with the corresponding sample video text matching label.
[0058] The fourth sub-step is to determine whether the initial text-video semantic matching model has reached a preset optimization target based on the comparison result. The optimization target may be that the accuracy of the video-text matching tags generated by the initial text-video semantic matching model is greater than a preset accuracy threshold.
[0059] In a fifth sub-step, in response to determining that the initial text-video semantic matching model has achieved a preset optimization target, the trained initial text-video semantic matching model is determined as the text-video semantic matching model.
[0060] Optionally, the execution subject may also adjust the network parameters of the initial text-video semantic matching model in response to determining that the initial text-video semantic matching model does not achieve the optimization goal, and use the unselected sample text-video matching information and the adjusted initial text-video semantic matching model as the initial text-video semantic matching model to perform the training step again. The network parameters of the initial text-video semantic matching model may be adjusted using a back propagation algorithm and a gradient descent algorithm.
[0061] The above step 103 and its related contents, as an inventive point of the embodiment of the present application, solve the technical problem 2 mentioned in the background technology, "it is difficult for users to quickly determine the video material to be circulated, and the circulation efficiency of the video material is reduced". The reasons why it is difficult for users to quickly determine the video material to be circulated and the circulation efficiency of the video material is reduced are often as follows: the migrated image-language pre-training model is usually difficult to capture the temporal features of the video clips, and the semantics of the retrieval text is ignored when extracting video features, so that there are many materials with low user interest in the selected video materials. If the above problems are solved, the effect of enabling users to quickly determine the video material to be circulated and improving the circulation efficiency of the video material can be achieved. In order to achieve this effect, first, the text features corresponding to the video retrieval text information are determined. Then, the text features and the video material clips to be matched are input into the above text video semantic matching model to determine whether the video material clips and the video retrieval text are semantically matched. Among them, after extracting the video spatial features, the above text video semantic matching model uses the hierarchical structure of the Transformer encoder to extract the video temporal features, and performs feature fusion extraction on the video spatial features and the video temporal features to obtain the video spatiotemporal features. In addition, text features are introduced into the process of extracting video timing features. Thus, not only can the ability to extract video timing features be improved, but also more comprehensive video spatiotemporal features aligned with text features can be extracted. After extracting the video spatiotemporal features, the above-mentioned text video semantic matching model also obtains more accurate video text association features through the video text encoding module, and then decodes the video spatiotemporal features through the video text decoding module according to the above-mentioned video text association features to obtain a more accurate decoded video feature vector that characterizes whether the video material segment is similar to the video retrieval text semantics. Finally, each video material segment that matches the video retrieval text semantics is determined as each video material of interest to be displayed to the user. Thus, the push of video materials with low user interest can be reduced. Thus, it is convenient for users to more easily and quickly determine the video materials to be circulated. Furthermore, the circulation efficiency of video materials is improved.
[0062] Step 104: determine the video heat information corresponding to each piece of video information to be displayed in the video information set to be displayed, and obtain the video heat information set.
[0063] In some embodiments, the execution subject may determine the video heat information corresponding to each video information to be displayed in the video information set to be displayed in various ways to obtain the video heat information set. The video heat information in the video heat information set may be information on the degree of attention paid to the corresponding video material segment by the user.
[0064] In some optional implementations of some embodiments, the execution subject may determine the video heat information corresponding to each video information to be displayed in the video information set to be displayed through the following steps to obtain the video heat information set:
[0065] For each piece of video information to be displayed in the above-mentioned video information set to be displayed, perform the following steps:
[0066] The first step is to select user browsing behavior statistics information that matches the above-mentioned video information to be displayed from a preset user browsing behavior statistics information set. Among them, each user browsing behavior statistics information may include a browsing video identifier and a behavior classification information group. The above-mentioned browsing video identifier may be an identifier of a sample video material segment that has been browsed by the user. The above-mentioned sample video material segment may be a video segment composed of some video frames included in the corresponding video material segment. The sample video material segment has the same identifier as the corresponding video material segment. Each behavior classification information in the above-mentioned behavior classification information group may include a behavior type identifier and a behavior count value. Among them, the behavior type identifier may be a unique identifier of the user behavior type. The user behavior type may be, but is not limited to, one of the following: like, favorite, comment, order. The above-mentioned behavior count value may be the number of user browsing behaviors of the corresponding user behavior type that have occurred in the video material segment since it went online. Matching with the above-mentioned video information to be displayed may be that the browsing video identifier included in the user browsing behavior statistics information may be the same as the video material identifier corresponding to the above-mentioned video information to be displayed.
[0067] The second step is to generate user interest based on the preset behavior weight information group and the behavior classification information group included in the selected user browsing behavior statistical information. Each behavior weight information in the above behavior weight information group may include a behavior type identifier and a behavior weight value. The behavior weight value may characterize the contribution ratio of the corresponding user behavior type to the user interest. Based on the above behavior weight information group, the weighted sum of each behavior count value included in the above behavior classification information group may be performed to obtain the user interest.
[0068] The third step is to obtain the video online date corresponding to the video information to be displayed. The video online date may be the online date of the video material clip corresponding to the video information to be displayed. The online date may be the date on which the video material clip can be retrieved and displayed on the digital content circulation platform. The digital content circulation platform may be a website for digital content circulation (such as trading). The digital content may include but is not limited to videos and music. The video online date corresponding to the video information to be displayed may be obtained from a preset video attribute information database by wired connection or wireless connection. The video attribute information database may be a database for storing video attribute information. Video attribute information may include but is not limited to video material identification, video provider identification, video online date, and video format. The video provider identification may be a unique identification of the video provider.
[0069] It should be noted that the above-mentioned wireless connection methods may include but are not limited to 3G / 4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future.
[0070] The fourth step is to generate the video popularity information corresponding to the video information to be displayed based on the user interest and the video online date. The execution subject can generate the video popularity information corresponding to the video information to be displayed based on the user interest and the video online date in various ways.
[0071] In some optional implementations of some embodiments, each video provider attribute information in the above-mentioned video provider attribute information set may include a provider reputation score and a number of video works. Among them, the provider reputation score may be a reputation score of the video provider. The video provider may be the owner of the copyright of the corresponding video material clip. The above-mentioned number of video works may be the total number of video material clips uploaded by the video provider. And the above-mentioned execution subject may also perform the following steps to generate the video popularity information corresponding to the above-mentioned video information to be displayed based on the above-mentioned user interest and the above-mentioned video online date:
[0072] Step 1: Determine the video provider attribute information corresponding to the video information to be displayed as the target video provider attribute information.
[0073] Step 2: Generate a video provider work score value based on a preset single work score value and the number of video works included in the target video provider attribute information. The single work score value may be a score value corresponding to a single video material segment. The product of the single work score value and the number of video works may be determined as the video provider work score value.
[0074] Step three, based on the above-mentioned video provider work integral value and the provider reputation score included in the above-mentioned target video provider attribute information, determine the video provider heat value. Among them, the above-mentioned video provider heat value can represent the degree of attention of the video provider. According to the work weight value and the reputation weight value, the above-mentioned video provider work integral value and the provider reputation score included in the above-mentioned target video provider attribute information can be weighted and summed to obtain the video provider heat value. The above-mentioned work weight value can represent the contribution ratio of the number of video works of the video provider to the video provider heat value. The above-mentioned reputation weight value can represent the contribution ratio of the video provider's reputation score to the video provider heat value.
[0075] Step 4: Determine the sum of the user interest level and the video provider heat value as the initial video heat value.
[0076] Step 5: Generate the number of days online based on the video online date and the current date. The number of days online can be the number of days that the video clip has been available for user retrieval since it was launched on the digital content circulation platform, excluding the current date. The difference between the current date and the video online date can be determined as the number of days online.
[0077] Step 6: The sum of the online days and the preset initial days is determined as the time decay coefficient. The preset initial days may be the initial value of the preset days. Thus, the time decay coefficient of the newly online video material clip will not be too small. For example, the preset initial days may be 7 days.
[0078] Step 7: Based on the preset adjustable attenuation coefficient parameter, the time attenuation coefficient is updated to obtain an updated time attenuation coefficient. The updated time attenuation coefficient can characterize the speed at which the popularity of the video decays over time. The adjustable attenuation coefficient parameter can be a parameter for adjusting the size of the time attenuation coefficient. The result of taking the time attenuation coefficient as the base and the adjustable attenuation coefficient parameter as the exponent can be determined as the updated time attenuation coefficient.
[0079] Step 8: Update the initial video heat value according to the update time attenuation coefficient to obtain an updated video heat value. The updated video heat value may be a video heat value that decays with the number of days the video is online. The ratio of the initial video heat value to the update time attenuation coefficient may be determined as the updated video heat value.
[0080] Step nine: Generate video heat information based on the video information to be displayed and the updated video heat value. The video material identifier corresponding to the video information to be displayed and the updated video heat value may be determined as the video heat information.
[0081] The above step 104 and its related contents, as an inventive point of the embodiment of the present application, solve the technical problem 3 mentioned in the background technology, "it is difficult for users to preview the newer video materials of interest in a timely manner". The reasons why it is difficult for users to preview the newer video materials of interest in a timely manner are often as follows: since it is difficult for new video materials to accumulate high attention heat in a very short time when they are just online, if they are sorted and pushed according to the attention heat of the video materials, it is easy to make the display position of the new video materials relatively backward. If the above problems are solved, it can achieve the effect of ensuring that high-quality video materials with high attention heat are ranked at the top, and users can also preview the newer video materials of interest in a timely manner. In order to achieve this effect, first of all, considering that the video materials of video providers with high credibility and rich works are more likely to attract attention, and the historical browsing behavior of video demand users directly reflects the degree of attention of video materials, thus, the attention heat of video materials is determined from two dimensions of video providers and video demand users' historical browsing behavior. Then, considering that the attention heat of video materials will decay over time and the newly launched video materials need buffer time to accumulate attention heat, the time decay coefficient can be determined according to the number of days online and the preset initial number of days. Among them, the preset initial number of days can be the buffering time for the newly launched video material to accumulate attention. Afterwards, the time decay coefficient can be adjusted through adjustable parameters. As a result, it is convenient to slow down the impact of the passage of time on the attention of the video material when there are fewer video materials. At the same time, it is also convenient to accelerate the impact of the passage of time on the attention of the video material when there are more video materials. Finally, the attention of the video material is adjusted by the adjusted update time decay coefficient. In this way, it can be ensured that when sorting and pushing according to the quality and heat of the video, high-quality video materials with higher attention are ranked high, and newly launched video materials can also obtain a higher ranking order. As a result, users can preview the newer video materials they are interested in in time. In addition, the circulation efficiency of subsequent video materials is improved.
[0082] Step 105 , based on the video heat information set, sorting the sample video material segments corresponding to the video information set to be displayed to obtain a video sequence to be previewed.
[0083] In some embodiments, the execution subject may sort the sample video material segments corresponding to the video information set to be displayed based on the video heat information set to obtain a video sequence to be previewed. Among them, each sample video material segment in each sample video material segment may be a video segment composed of a portion of video frames included in the corresponding video material segment. First, the video heat information set is sorted in descending order according to the order of the updated video heat value from large to small by a preset sorting algorithm to obtain a video heat information sequence. For example, the sorting algorithm may be, but is not limited to, one of the following: bubble sorting, quick sorting. Then, the video material identification sequence included in the video heat information sequence is determined as a target video material identification sequence. Finally, the sample video material segments corresponding to the video information set to be displayed are sorted according to the order of the video material identification corresponding to the sample video material segment in the target video material identification sequence by the sorting algorithm, and each sample video material segment after sorting is used as a video to be previewed to obtain a video sequence to be previewed.
[0084] Step 106: Generate a video push result based on the pre-generated video preview image information set and the video sequence to be previewed, so as to push the video to the target user for preview.
[0085] In some embodiments, the execution subject may generate a video push result in various ways based on a pre-generated video preview image information set and the video sequence to be previewed, so as to push the result to the target user for preview. The target user is a user who sends the video retrieval text information through a user terminal. The video preview image information in the video preview image information set may correspond to the video material segment one by one. The video preview image information in the video preview image information set may include a video material identifier and a video frame image sequence. The video frame images in the video frame image sequence may be non-adjacent video frame images sequentially extracted from the corresponding video material segment. The video push result may be information of each video material segment of interest retrieved by the target user.
[0086] In some optional implementations of some embodiments, the execution subject may generate a video push result based on the pre-generated video preview image information set and the video sequence to be previewed through the following steps:
[0087] In the first step, for each video to be previewed in the above video sequence to be previewed, the following steps are performed:
[0088] In the first sub-step, video preview image information matching the video to be previewed is selected from the video preview image information set as target video preview image information, wherein matching the video to be previewed may be that the video material identifier included in the video preview image information is the same as the video material identifier corresponding to the video to be previewed.
[0089] In the second sub-step, the video to be previewed and the target video preview image information are determined as the video content information to be previewed.
[0090] The second step is to sort the determined video content information to be previewed to obtain a sequence of video content information to be previewed. The above-mentioned sorting algorithm can be used to sort the determined video content information to be previewed according to the order of the videos to be previewed included in the video content information to be previewed in the above-mentioned sequence of videos to be previewed to obtain a sequence of video content information to be previewed.
[0091] The third step is to obtain the historical preview mode information corresponding to the target user. The historical preview mode information may be information obtained from a user information database, which is the preview mode adopted by the user when previewing the video push results in the historical period. The user information database may be a database for storing user information. The user information may be information about the static and dynamic features of the user. Static features may be features that are not easy to change over time. For example, static features may include but are not limited to user identification and registration time. Dynamic features may be features that change over time. For example, dynamic features may include but are not limited to user behavior log information and historical preview mode information. The preview mode may characterize the display style of the video push results. The preview mode may be one of the following: classic mode, thumbnail mode and grid mode. The classic mode may be a display style with the video on top and the grid-shaped image on the bottom. The thumbnail mode may be a display style that includes only the video. The grid-shaped image mode may be a display style that includes only the grid-shaped image.
[0092] Optionally, the historical preview mode information may be information about the preview mode used by the target user when the target user last retrieved and viewed the video push result.
[0093] The fourth step is to determine the historical preview mode information and the to-be-previewed video content information sequence as the video push result.
[0094] Optionally, before generating the video push result based on the pre-generated video preview image information set and the video sequence to be previewed, the execution subject may further perform the following steps for each video material segment corresponding to the video sequence to be previewed to generate video preview image information in the video preview image information set:
[0095] Step 1, obtain the video key frame sequence and the configured grid number corresponding to the above-mentioned video material clip. Among them, the video key frames in the above-mentioned video key frame sequence can be obtained by sequentially extracting the video material clip through a preset video frame extraction interface. The above-mentioned video frame extraction interface may include a video classification method, a uniform frame extraction method based on time intervals, and a video scene extraction method. The above-mentioned video classification method can be used to determine whether the video is a video type with small background changes by segmenting and identifying the background of each video frame. The above-mentioned uniform frame extraction method based on time intervals can be used to extract frames for video types with small background changes to obtain a video key frame sequence. The above-mentioned video scene extraction method can be used to extract frames for video types with large background changes to obtain a video key frame sequence. The above-mentioned configured grid number can be the grid number of the grid diagram pre-set by the video provider for displaying video key frames.
[0096] Step 2: Determine the number of each video key frame in the above video key frame sequence as the number of key frames.
[0097] Step 3: Generate a frame extraction step length based on the number of key frames and the number of configuration grids. The frame extraction step length may be determined by rounding down the quotient of the number of key frames and the number of configuration grids.
[0098] Step 4: Determine the initial frame extraction video image sequence number. The initial frame extraction video image sequence number may be the sequence number of the starting image when extracting the video key frame sequence. A random number generator may be used to randomly extract a number from a value between 0 and the frame extraction step size as the initial frame extraction video image sequence number.
[0099] Step 5: Based on the frame extraction step and the initial frame extraction video image sequence, the video key frame sequence is subjected to frame extraction processing to obtain a video frame image sequence. The video key frame sequence can be subjected to sequential frame extraction processing starting from the video key frame corresponding to the initial frame extraction video image sequence and according to the frame extraction step to obtain a video frame image sequence.
[0100] Step 6: Generate video preview image information based on the video material segment and the video frame image sequence, wherein the video material identifier corresponding to the video material segment and the video frame image sequence can be determined as the video preview image information.
[0101] Optionally, the execution subject may send the generated video push result to a user terminal corresponding to the target user. The user terminal may display the video push result for the target user to preview and select the video material clip to be transferred for transfer (eg, purchase).
[0102] The above-mentioned embodiments of the present application have the following beneficial effects: through the video push method of some embodiments of the present application, less computing resources can be occupied, and the video materials of interest to the user can be pushed to the user in time. Specifically, the reason for occupying more resources and being difficult to push the video materials of interest to the user in time is that if the image-language pre-training model transferred is used for the search text input by each user, and the search text is directly semantically matched with all the video materials in the video material library, a large amount of computing power and time are consumed, thereby resulting in more computing resources being occupied and it is difficult to push the video materials of interest to the user in time. Based on this, the video push method of some embodiments of the present application, first, in response to receiving the video search text information, the above video search text information is subjected to keyword extraction processing to obtain a search keyword sequence. Thus, each keyword in the video search text can be obtained. Secondly, the preset video tag index information set and the above search keyword sequence are subjected to association analysis processing to obtain an associated video information set. Thus, each video material of interest to the potential user can be initially screened out according to the association relationship between the keywords and the tags marked by the video materials. Then, the video retrieval text information and the video material fragments corresponding to the above-mentioned associated video information set are semantically matched to obtain the video information set to be displayed. Thus, the video materials that the user is actually interested in can be accurately screened out from the various video materials that the potential user is interested in, so as to be pushed to the user, according to the semantic matching relationship between the retrieval text and the video material content. After that, the video heat information corresponding to each video information to be displayed in the above-mentioned video information set to be displayed is determined to obtain the video heat information set. Thus, the attention heat of each video material to be pushed to the user can be obtained. Then, based on the above-mentioned video heat information set, the sample video material fragments corresponding to the above-mentioned video information set to be displayed are sorted to obtain a video sequence to be previewed. Thus, high-quality video materials with high attention heat can be placed in front, which is convenient for users to preview in time. Finally, based on the pre-generated video preview image information set and the above-mentioned video sequence to be previewed, a video push result is generated for pushing to the target user for preview. Therefore, the video push method of some embodiments of the present application, for the user's retrieval text, first matches the video material tag and then performs semantic matching with the video material, which can reduce the number of video materials involved in semantic matching and reduce the computing power consumption and time cost of screening videos of interest. Thereby, the computing resource usage can be reduced, and the video materials that the user is interested in can be pushed to the user in a timely manner, thereby improving the flow efficiency of the video.
[0103] Further references Figure 2 As an implementation of the methods shown in the above figures, the present application provides some embodiments of a video push device, and these device embodiments are similar to Figure 1Corresponding to the method embodiments shown, the video pushing device 200 can be specifically applied to various electronic devices.
[0104] like Figure 2 As shown, the video push device 200 of some embodiments includes: a keyword extraction processing unit 201, an association analysis processing unit 202, a semantic matching processing unit 203, a determination unit 204, a sorting processing unit 205 and a generation unit 206. Among them, the keyword extraction processing unit 201 is configured to perform keyword extraction processing on the above video retrieval text information in response to receiving the video retrieval text information, so as to obtain a retrieval keyword sequence; the association analysis processing unit 202 is configured to perform association analysis processing on the preset video tag index information set and the above retrieval keyword sequence, so as to obtain an associated video information set; the semantic matching processing unit 203 is configured to perform semantic matching processing on the above video retrieval text information and each video material segment corresponding to the above associated video information set, so as to obtain a video information set to be displayed; the determination unit 204 is configured to determine the video heat information corresponding to each video information to be displayed in the above video information set to be displayed, so as to obtain a video heat information set; the sorting processing unit 205 is configured to sort each sample video material segment corresponding to the above video information set to be displayed based on the above video heat information set, so as to obtain a video sequence to be previewed; the generation unit 206 is configured to generate a video push result based on a pre-generated video preview image information set and the above video sequence to be previewed, so as to push it to the target user for previewing.
[0105] It is understandable that the units recorded in the video push device 200 are similar to those in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the video push device 200 and the units included therein, and will not be described in detail here.
[0106] Further references Figure 3 , which shows a structural schematic diagram of an electronic device 300 suitable for implementing some embodiments of the present application. Figure 3 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0107] like Figure 3As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0108] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 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. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0109] In particular, according to some embodiments of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present application are executed.
[0110] It should be noted that the computer-readable medium in some embodiments of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the 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 some embodiments of the present application, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present application, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, 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.
[0111] 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.
[0112] The computer-readable medium may be included in the device; or it may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to receiving the video retrieval text information, performs keyword extraction processing on the video retrieval text information to obtain a retrieval keyword sequence; performs association analysis processing on the preset video tag index information set and the retrieval keyword sequence to obtain an associated video information set; performs semantic matching processing on the video retrieval text information and each video material segment corresponding to the associated video information set to obtain a video information set to be displayed; determines the video heat information corresponding to each video information to be displayed in the video information set to be displayed to obtain a video heat information set; based on the video heat information set, sorts each sample video material segment corresponding to the video information set to be displayed to obtain a video sequence to be previewed; based on the pre-generated video preview image information set and the video sequence to be previewed, generates a video push result for pushing to the target user for preview.
[0113] Computer program code for performing the operations of some embodiments of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can 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 can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).
[0114] 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 application. 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 alternative implementations, 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.
[0115] The units described in some embodiments of the present application may be implemented by software or hardware. The described units may also be set in a processor, for example, it may be described as: a processor including: a keyword extraction processing unit, an association analysis processing unit, a semantic matching processing unit, a determination unit, a sorting processing unit, and a generation unit. The names of these units do not constitute limitations on the units themselves in certain cases. For example, the keyword extraction processing unit may also be described as "a unit that performs keyword extraction processing on video retrieval text information to obtain a retrieval keyword sequence."
[0116] 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.
[0117] The above description is only some preferred embodiments of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present application is not limited to the technical solutions formed by the 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 invention concept. For example, the above features are replaced with (but not limited to) the technical features with similar functions disclosed in the embodiments of the present application to form a technical solution.
Claims
1. A video push method, comprising: In response to receiving the video search text information, performing keyword extraction processing on the video search text information to obtain a search keyword sequence; Performing association analysis on a preset video tag index information set and the search keyword sequence to obtain an associated video information set, wherein each associated video information in the associated video information set corresponds to a video material segment; Performing semantic matching processing on the video retrieval text information and each video material segment corresponding to the associated video information set to obtain a video information set to be displayed; Determine the video heat information corresponding to each piece of video information to be displayed in the video information set to be displayed, and obtain the video heat information set; Based on the video heat information set, the sample video material segments corresponding to the to-be-displayed video information set are sorted to obtain a video sequence to be previewed, wherein each sample video material segment in each sample video material segment is a video segment composed of partial video frames included in the corresponding video material segment; Based on the pre-generated video preview image information set and the video sequence to be previewed, a video push result is generated for being pushed to a target user for preview, wherein the target user is a user who sends the video retrieval text information through a user terminal.
2. The method according to claim 1, wherein: Each video tag index information in the video tag index information set includes a tag word and a marked video identification set; and the association analysis process of the preset video tag index information set and the search keyword sequence is performed to obtain an associated video information set, including: For each search keyword in the search keyword sequence, select video tag index information including a tag word matching the search keyword from the video tag index information set as target video tag index information to obtain a target video tag index information group; Each annotated video identifier in each annotated video identifier set corresponding to the target video tag index information group is determined as associated video information to obtain an associated video information set.
3. The method according to claim 1, wherein: The step of determining the video heat information corresponding to each piece of video information to be displayed in the video information set to be displayed to obtain the video heat information set includes: For each piece of video information to be displayed in the set of video information to be displayed, the following steps are performed: Selecting user browsing behavior statistical information that matches the video information to be displayed from a preset user browsing behavior statistical information set, wherein each user browsing behavior statistical information includes a browsing video identifier and a behavior classification information group, and each behavior classification information in the behavior classification information group includes a behavior type identifier and a behavior count value; Generate user interest based on a preset behavior weight information group and a behavior classification information group included in the selected user browsing behavior statistical information; Obtain the video online date corresponding to the video information to be displayed; Based on the user interest and the video online date, video popularity information corresponding to the video information to be displayed is generated.
4. The method according to any one of claims 1 to 3, wherein: The generating of the video push result based on the pre-generated video preview image information set and the video sequence to be previewed includes: For each video to be previewed in the video sequence to be previewed, the following steps are performed: Selecting video preview image information matching the video to be previewed from the video preview image information set as target video preview image information; Determining the video to be previewed and the target video preview image information as the video content information to be previewed; Sorting the determined video content information to be previewed to obtain a sequence of video content information to be previewed; Obtaining historical preview mode information corresponding to the target user; The historical preview mode information and the to-be-previewed video content information sequence are determined as a video push result.
5. The method according to claim 4, wherein: The historical preview mode information is information about the preview mode used by the target user when searching and viewing the video push result last time.
6. The method according to claim 1, wherein: The performing semantic matching processing on the video retrieval text information and each video material segment corresponding to the associated video information set to obtain the video information set to be displayed includes: Performing feature extraction processing on the video retrieval text information to obtain text features; For each video material segment corresponding to the associated video information set, the following steps are performed: Inputting the text features and the video material clips into a pre-trained text-video semantic matching model to obtain a video-text matching value, wherein the text-video semantic matching model includes a video spatial feature extraction module, a video temporal feature extraction module, a video spatiotemporal feature extraction module, a video-text encoding module, a video-text decoding module and a classification module; In response to determining that the video text matching value is greater than a preset matching threshold, the associated video information corresponding to the video material segment is determined as the video information to be displayed.
7. The method according to claim 4, wherein: Before generating the video push result based on the pre-generated video preview image information set and the video sequence to be previewed, the method further includes: For each video material segment corresponding to the video sequence to be previewed, the following steps are performed to generate video preview image information in a video preview image information set: Obtaining a video key frame sequence and a configuration grid number corresponding to the video material segment; Determining the number of each video key frame in the video key frame sequence as the number of key frames; Generate a frame extraction step length based on the number of key frames and the number of configuration grids; Determine the initial frame video image sequence number; Based on the frame extraction step size and the initial frame extraction video image sequence number, the video key frame sequence is subjected to frame extraction processing to obtain a video frame image sequence; Video preview image information is generated based on the video material segment and the video frame image sequence.
8. A video push device, comprising: A keyword extraction processing unit is configured to perform keyword extraction processing on the video retrieval text information in response to receiving the video retrieval text information to obtain a retrieval keyword sequence; An association analysis processing unit is configured to perform association analysis on a preset video tag index information set and the search keyword sequence to obtain an associated video information set; A semantic matching processing unit is configured to perform semantic matching processing on the video search text information and each video material segment corresponding to the associated video information set to obtain a video information set to be displayed; A determination unit is configured to determine the video heat information corresponding to each piece of video information to be displayed in the video information set to be displayed, and obtain the video heat information set; A sorting processing unit is configured to sort the sample video material segments corresponding to the to-be-displayed video information set based on the video heat information set to obtain a to-be-previewed video sequence; The generating unit is configured to generate a video push result based on the pre-generated video preview image information set and the video sequence to be previewed, so as to push the video to the target user for preview.
9. An electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Video searching and sorting method and device and server
CN109902200A
Video pushing method and device based on video search and electronic equipment
CN110619063A
Video search system and method
CN111324768A
Information processing method and device and electronic equipment
CN112214695A
Data retrieval method and cross-modal data matching model processing method and device
CN113987119A
Cited By
Video recall method, device, equipment, computer readable medium and program product
CN120455740A
Intelligent retrieval system for film and television special effect materials
CN120492646A
