Method and device for automatically generating advance notice data page
By crawling and filtering the meta information of preview videos in the video website industry, and automatically creating a complete content data page, the problem of incomplete content of the data page caused by limited editing manpower is solved, and the quality and efficiency of the data page are improved.
Patent Information
- Application Number
- CN202510242708.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-05-30
AI Technical Summary
In the video website industry, the detailed data of preview videos needs to be improved and supplemented by website editors, but due to limited editing manpower, the detailed data cannot be supplemented or improved in time, making it difficult to create a complete information page.
By crawling the meta-information set of target trailer videos in other media platforms, filtering the meta-information sets that meet the conditions, dividing them into collection groups of the same videos, and fusing them to obtain the third meta-information set, and automatically creating a relatively complete meta-information data page.
Automatically creates a relatively complete meta-information data page, avoiding the problem of incomplete content caused by limited editing manpower, and improving the quality and efficiency of the data page.
Smart Images

Figure CN120075554A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular, to a method and device for generating a preview data page. Background Art
[0002] In the video website industry, in addition to having playable feature video resources, there is also a type of preview video without a feature video playback source. The detail data of this type of preview video is also an important data asset and has a wide range of functions. On the one hand, this detail data can be used to create a data page to directly display relevant information about the video to users; on the other hand, it can also provide support for the algorithm team as signal data for tasks such as identifying and aggregating relevant short videos.
[0003] However, the detail data of these preview videos needs to be supplemented and improved by website editors. Since the manpower of website editors is limited, it is difficult to pay attention to each preview video, resulting in the inability to supplement or improve its detail data in a timely manner, and thus it is difficult to create a data page with complete content. Therefore, there is an urgent need for a method for generating a preview data page. Summary of the Invention
[0004] This application provides a method and device for generating a preview data page. This method can automatically create a data page with relatively complete meta-information, effectively avoiding the problem that it is difficult to create a data page with complete content due to limited editing manpower.
[0005] In a first aspect, this application provides a method for generating a preview data page, and the method includes:
[0006] In other media platforms, determine a first meta-information set for each target preview video;
[0007] In the first meta-information set, screen out a second meta-information set that meets the conditions;
[0008] According to whether the second meta-information sets correspond to the same video, divide all the second meta-information sets into at least one set group, and the second meta-information sets in the set group all correspond to the same video;
[0009] According to the set group, obtain a third meta-information set;
[0010] When a data page display instruction for the target preview video is received, in the third meta-information set, obtain a target meta-information set corresponding to the target preview video, and according to the target meta-information set, display a data page of the target preview video in the current media platform.
[0011] Optionally, the method further includes:
[0012] In all the second meta-information sets, determine the similarity score between any two second meta-information sets;
[0013] When the similarity score between any two second meta - information sets is greater than a preset threshold, it is determined that the any two second meta - information sets correspond to the same video;
[0014] When the similarity score between any two second meta - information sets is not greater than the preset threshold, it is determined that the any two second meta - information sets correspond to different videos.
[0015] Optionally, the second meta - information set includes multiple types of meta - information. The determining the similarity score between any two second meta - information sets includes:
[0016] For any two second meta - information sets, obtain the target meta - information corresponding to the same target type, and obtain the similarity sub - score corresponding to the target type according to the similarity sub - scores between the target meta - information;
[0017] Determine the similarity score between any two second meta - information sets according to the similarity sub - score corresponding to the target type.
[0018] Optionally, when the set group includes multiple second meta - information sets, the obtaining at least one third meta - information set according to the set group includes:
[0019] For the set group, detect whether the second meta - information sets in the set group are the same;
[0020] When the second meta - information sets in the set group are different, determine the different meta - information as reference meta - information. For the reference meta - information of the same type, determine the source of each reference meta - information, and determine the reference meta - information with the highest source priority as the target meta - information. Combine the same meta - information and the target meta - information to obtain the third meta - information set;
[0021] When the second meta - information sets in the set group are all the same, determine any one of the second meta - information sets in the set group as the third meta - information set.
[0022] Optionally, in the other media platform, the determining the first meta - information set of each target preview video includes:
[0023] Crawl the reference meta - information sets of each reference preview video in the other media platform;
[0024] In the current media platform, obtain the exclusive meta - information sets of at least one exclusive preview video;
[0025] In all the reference meta - information sets, determine the reference meta - information sets that are not similar to the exclusive meta - information set as the first meta - information set.
[0026] Optionally, in the other media platforms, determining a first set of meta-information for each target preview video includes:
[0027] Crawling a set of reference meta-information for each reference preview video and a set of full-length video meta-information for each full-length video in the other media platforms;
[0028] In all the sets of reference meta-information, determining the set of reference meta-information that is not similar to the set of full-length video meta-information as the first set of meta-information.
[0029] Optionally, screening a qualified second set of meta-information from the first set of meta-information includes:
[0030] Obtaining the meta-information to be tested in the first set of meta-information;
[0031] Detecting whether the meta-information to be tested meets a preset condition;
[0032] When the meta-information to be tested meets the preset condition, determining the first set of meta-information as the qualified second set of meta-information.
[0033] In a second aspect, the present application provides a device for generating a preview material page. The device includes:
[0034] A first determination unit for determining a first set of meta-information for each target preview video in other media platforms;
[0035] A screening unit for screening a qualified second set of meta-information from the first set of meta-information;
[0036] A partitioning unit for partitioning all the second sets of meta-information into at least one set group according to whether the second sets of meta-information correspond to the same video, and the second sets of meta-information in the set group all correspond to the same video;
[0037] An obtaining unit for obtaining a third set of meta-information according to the set group;
[0038] A display unit for, when receiving a material page display instruction for the target preview video, obtaining a target set of meta-information corresponding to the target preview video from the third set of meta-information, and displaying a material page of the target preview video on the current media platform according to the target set of meta-information.
[0039] Optionally, the device further includes a second determination unit, and the second determination unit is used for:
[0040] Determining a similarity score between any two second sets of meta-information in all the second sets of meta-information;
[0041] When the similarity score between any two second meta - information sets is greater than a preset threshold, it is determined that the any two second meta - information sets correspond to the same video;
[0042] When the similarity score between any two second meta - information sets is not greater than the preset threshold, it is determined that the any two second meta - information sets correspond to different videos.
[0043] Optionally, the second meta - information set includes multiple types of meta - information, and the second determination unit includes:
[0044] For any two second meta - information sets, obtain the target meta - information corresponding to the same target type, and obtain the similarity sub - score corresponding to the target type according to the similarity sub - scores between the target meta - information;
[0045] Determine the similarity score between any two second meta - information sets according to the similarity sub - score corresponding to the target type.
[0046] Optionally, when the set group includes multiple second meta - information sets, the obtaining unit is used for:
[0047] For the set group, detect whether the second meta - information sets in the set group are the same;
[0048] When the second meta - information sets in the set group are not the same, determine the different meta - information as reference meta - information. For the reference meta - information of the same type, determine the source of each reference meta - information, and determine the reference meta - information with the highest source priority as the target meta - information. Combine the same meta - information and the target meta - information to obtain the third meta - information set;
[0049] When the second meta - information sets in the set group are all the same, determine any one of the second meta - information sets in the set group as the third meta - information set.
[0050] Optionally, the first determination unit is used for:
[0051] Crawl the reference meta - information set of each reference preview video on the other media platform;
[0052] In the current media platform, obtain the exclusive meta - information set of at least one exclusive preview video;
[0053] Among all the reference meta - information sets, determine the reference meta - information sets that are not similar to the exclusive meta - information set as the first meta - information set.
[0054] Optionally, the first determination unit is used for:
[0055] Crawl the reference meta - information set of each reference preview video and the feature - film meta - information set of each feature - film video on the other media platforms;
[0056] Among all the reference meta - information sets, determine the reference meta - information sets that are not similar to the feature - film meta - information set as the first meta - information set.
[0057] Optionally, the screening unit is configured to:
[0058] Obtain the meta - information to be measured in the first meta - information set;
[0059] Detect whether the meta - information to be measured meets the preset conditions;
[0060] When the meta - information to be measured meets the preset conditions, determine the first meta - information set as the second meta - information set that meets the conditions.
[0061] In a third aspect, the present application provides a device for generating a preview material page, including: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; at least one memory connected to the at least one bus, wherein the processor is configured to:
[0062] Determine the first meta - information set of each target preview video in other media platforms;
[0063] Screen the second meta - information set that meets the conditions in the first meta - information set;
[0064] Divide all the second meta - information sets into at least one set group according to whether the second meta - information sets correspond to the same video, and the second meta - information sets in the set group all correspond to the same video;
[0065] Obtain the third meta - information set according to the set group;
[0066] When receiving a material - page display instruction for the target preview video, obtain the target meta - information set corresponding to the target preview video in the third meta - information set, and display the material page of the target preview video on the current media platform according to the target meta - information set.
[0067] In a fourth aspect, the present application provides a computer - readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above - mentioned album recommendation method is implemented.
[0068] The above technical solution provided by the embodiments of the present application has the following advantages compared with the prior art: In the embodiments of the present application, in other media platforms, a first set of meta-information of each target preview video is determined; in the first set of meta-information, a second set of meta-information that meets the conditions is screened; according to whether the second set of meta-information corresponds to the same video, all the second sets of meta-information are divided into at least one set group, and the second sets of meta-information in the set group all correspond to the same video; according to the set group, a third set of meta-information is obtained; when a display instruction for the material page of the target preview video is received, in the third set of meta-information, a target set of meta-information corresponding to the target preview video is obtained, and according to the target set of meta-information, the material page of the target preview video is displayed in the current media platform. It can be seen that the present application can crawl the meta-information of the target preview video on other media platforms, fuse this information to obtain complete meta-information, and then create a corresponding material page based on the improved meta-information, effectively avoiding the problem that it is difficult to create a material page with complete content due to limited editing manpower. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present invention and, together with the specification, are used to explain the principles of the present invention.
[0070] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0071] One or more embodiments are illustrated by way of example in the accompanying drawings, and these exemplary illustrations do not limit the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements, unless otherwise stated, and the drawings in the figures do not constitute a proportional limitation.
[0072] Figure 1 It is a schematic flowchart of a method for generating a preview material page provided by an embodiment of the present application;
[0073] Figure 2 It is a schematic flowchart of a method for detecting meta-information provided by an embodiment of the present application;
[0074] Figure 3 It is a schematic flowchart of a method for determining a similarity score provided by an embodiment of the present application;
[0075] Figure 4 It is a schematic flowchart of a method for determining a third set of meta-information provided by an embodiment of the present application;
[0076] Figure 5 A flowchart of a method for determining a first set of meta-information provided by an embodiment of the present application;
[0077] Figure 6 A flowchart of another method for determining a first set of meta-information provided by an embodiment of the present application;
[0078] Figure 7 A flowchart of data processing provided by an embodiment of the present application;
[0079] Figure 8 A flowchart of a device for generating a preview data page provided by an embodiment of the present application;
[0080] Figure 9 A schematic diagram of a device for generating a preview data page provided by an embodiment of the present application. Detailed implementation manners
[0081] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0082] The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, components and settings of specific examples are described below. Of course, they are only examples and are not intended to limit the present invention. In addition, the present invention may repeat reference numerals and / or letters in different examples. Such repetition is for the purpose of simplification and clarity and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0083] In the video website industry, in addition to having playable feature film video resources, there is also a type of preview video without a feature film playback source. The detail data of such preview videos is also important data assets and has a wide range of functions. On the one hand, this detail data can be used to create a data page to directly display relevant information of the video to users; on the other hand, it can also provide support for the algorithm team as signal data for tasks such as identifying and aggregating relevant short videos. However, the detail data of these preview videos needs to be supplemented and improved by website editors, and the manpower of website editors is limited and it is difficult to pay attention to each preview video, resulting in the inability to supplement or improve its detail data in a timely manner, and thus it is difficult to create a data page with complete content. Therefore, there is an urgent need for a method for generating a preview data page.
[0084] The above technical solution provided by the embodiments of the present application has the following advantages compared with the prior art: In the embodiments of the present application, in other media platforms, a first set of meta-information for each target preview video is determined; in the first set of meta-information, a second set of meta-information that meets the conditions is screened; according to whether the second set of meta-information corresponds to the same video, all the second sets of meta-information are divided into at least one set group, and the second sets of meta-information in the set group all correspond to the same video; according to the set group, a third set of meta-information is obtained; when a display instruction for the material page of the target preview video is received, in the third set of meta-information, the target set of meta-information corresponding to the target preview video is obtained, and according to the target set of meta-information, the material page of the target preview video is displayed in the current media platform. It can be seen that the present application can crawl the meta-information of the target preview video in other media platforms, fuse this information to obtain complete meta-information, and then create a corresponding material page based on the improved meta-information, effectively avoiding the problem that it is difficult to create a material page with complete content due to limited editing manpower.
[0085] In summary, the embodiments of the present application provide a method for generating a preview material page. This method can automatically create a material page with relatively complete meta-information, effectively avoiding the problem that it is difficult to create a material page with complete content due to limited editing manpower, as Figure 1 shown. The specific steps include:
[0086] Step 101, in other media platforms, determine a first set of meta-information for each target preview video.
[0087] Among them, the first set of meta-information is a set composed of meta-information related to the target preview video, which may include meta-information such as title, cover image, actor, role, release time, tag, introduction, popularity value, etc. The media platform is used to play videos such as TV dramas and movies. These videos include preview videos and full-length videos. The full-length video refers to a complete and official video such as a movie, TV drama, variety show, documentary, or game plot. The preview video is a short video made to promote and publicize movies, TV dramas, variety shows, games, etc. that are about to be released or launched. Currently, each media platform has some exclusive preview videos, and the platform itself has detailed data on these preview videos, so there is no need to obtain the corresponding meta-information from other media platforms. Therefore, the target preview video mentioned in this step refers to other preview videos on other media platforms except the above exclusive preview videos.
[0088] In this step, on other media platforms, the meta-information of each video is crawled to obtain the first meta-information set corresponding to each video. Some of these sets correspond to preview videos, and some correspond to feature videos. In order to obtain the first meta-information set corresponding to the target preview video, it is necessary to delete the first meta-information sets corresponding to the feature videos and the exclusive preview videos of the current media platform respectively.
[0089] Furthermore, the first meta-information set includes video tags and covers. When the video tags corresponding to a certain video are tags such as "coming soon" or "coming online soon", this video is a preview video. Or when the cover corner mark corresponding to a certain video contains words such as "preview" or "reservation", this video is also a preview video. In summary, it is possible to detect whether each video is a preview video according to the meta-information corresponding to each video. When a certain video is not a preview video, the first meta-information set corresponding to this video is deleted.
[0090] Furthermore, in the current media platform, the meta-information set of the exclusive preview video is obtained, and this set is compared with the first meta-information sets crawled from other platforms to determine whether it corresponds to a video. When they match, the matching first meta-information set is deleted.
[0091] Step 102: Screen the second meta-information sets that meet the conditions from the first meta-information sets.
[0092] Among them, the conditions in this step are that the first meta-information set must include one or more types of meta-information and these meta-information meet the corresponding conditions. For example, the above conditions are that the heat value is greater than a preset value. Or the condition can be that the heat value is greater than a preset value, or the title text does not contain garbled characters.
[0093] In this step, after obtaining the meta-information set of a certain preview video, it is also necessary to detect whether this meta-information set has collection value. For example, a meta-information set that only includes the video name has no collection value and can be discarded. Or a meta-information set corresponding to a preview video has a very low popularity on a certain platform, which also indicates that this meta-information set has no collection value and can be discarded. Therefore, in this step, it is possible to determine whether the first meta-information set has collection value by detecting whether the first meta-information set meets the conditions, and the first meta-information set that meets the conditions is called the second meta-information set.
[0094] Step 103: Divide all the second meta-information sets into at least one set group according to whether they correspond to the same video.
[0095] Among them, the second meta-information sets in the set group all correspond to the same video.
[0096] In this step, in the second set of meta-information, it is detected whether there is a second set of meta-information corresponding to the same target preview video. If there is, these second sets of meta-information corresponding to the same video are combined to obtain a set group. Otherwise, the remaining second sets of meta-information are used as a set group respectively.
[0097] Furthermore, it is possible to determine whether two sets of meta-information correspond to the same video by judging whether the title texts in the two sets of meta-information are the same, or calculate the similarity score of the two sets of meta-information to judge whether the two sets of meta-information correspond to the same video. Of course, other methods can also be used to determine whether two sets of meta-information correspond to the same video, which is not limited here.
[0098] Step 104, obtain the third set of meta-information according to the set group.
[0099] In this step, when the set group only includes one second set of meta-information, this second set of meta-information is determined as the third set of meta-information. When the set group includes multiple second sets of meta-information, these second sets of meta-information are merged to obtain the third set of meta-information.
[0100] Step 105, when receiving a data page display instruction for the target preview video, in the third set of meta-information, obtain the target set of meta-information corresponding to the target preview video, and create a data page corresponding to the target preview video in the current media platform according to the target set of meta-information.
[0101] Among them, the data page includes the meta-information corresponding to the video, and these meta-information are obtained from the third set of meta-information.
[0102] In practice, some partial meta-information such as the cover image and title text in each third set of meta-information can be obtained to display the display item corresponding to the video. When the user clicks on this display item, it means that the user wants to further understand the specific information of the video, and the data page of the video needs to be displayed according to the corresponding set of meta-information. Specifically, when receiving a data page display instruction for a certain target preview video, obtain the title text of the target preview video, and according to this title text, search for the third set of meta-information including this title text in the third set of meta-information, which is the target set of meta-information corresponding to the target preview video. Create a data page corresponding to the target preview video in the current media platform according to the meta-information in the target set of meta-information, so that the user can understand the specific situation of the target preview video through this data page.
[0103] In an embodiment of the present application, in other media platforms, a first set of meta-information of each target preview video is determined; in the first set of meta-information, a second set of meta-information that meets the conditions is screened; according to whether the second set of meta-information corresponds to the same video, all the second sets of meta-information are divided into at least one set group, and the second sets of meta-information in the set group all correspond to the same video; according to the set group, a third set of meta-information is obtained; when a data page display instruction of the target preview video is received, in the third set of meta-information, a target set of meta-information corresponding to the target preview video is obtained, and according to the target set of meta-information, the data page of the target preview video is displayed in the current media platform. It can be seen that the present application can crawl the meta-information of the target preview video in other media platforms, fuse this information to obtain complete meta-information, and then create a corresponding data page based on the improved meta-information, effectively avoiding the problem that it is difficult to create a data page with complete content due to limited editing manpower.
[0104] In an embodiment of the present application, for all the second sets of meta-information, the similarity score between any two sets is calculated. The corresponding relationship is judged based on the comparison result of the similarity score and the preset threshold, that is, when the similarity score is greater than the preset threshold, it is determined that the two sets correspond to the same video; when the similarity score is not greater than the preset threshold, it is determined that the two sets correspond to different videos. Therefore, the embodiment of the present application provides a method for detecting meta-information, and this method is as Figure 2 shown, which is a further limitation on determining whether the second set of meta-information corresponds to the same video in step 103. The specific steps include:
[0105] Step 201, in all the second sets of meta-information, determine the similarity score between any two second sets of meta-information.
[0106] In this step, for any two second sets of meta-information, all the meta-information in these two sets can be compared to obtain the corresponding similarity score, or partial meta-information in these two sets can be compared to obtain the corresponding similarity score. Other methods can also be used to calculate the similarity score, which is not limited here.
[0107] Further, when all the meta-information in these two sets is compared, since the set includes various types of meta-information, therefore, the meta-information of the same type needs to be compared textually to obtain the similarity corresponding to this type. Then, this similarity is used as the similarity sub-score, or the similarity is normalized to obtain the similarity sub-score. Based on the above method, the similarity sub-score corresponding to each type is obtained. According to the similarity sub-score corresponding to each type, the similarity score between these two sets is obtained.
[0108] Further, when a certain set does not include a certain type of meta - information, the meta - information of this type can be set as default data for subsequent calculations.
[0109] Step 202: When the similarity score between any two second meta - information sets is greater than a preset threshold, it is determined that the two second meta - information sets correspond to the same video.
[0110] Among them, the preset threshold is set by technicians according to experience.
[0111] In this step, when the similarity score between two second meta - information sets is greater than the preset threshold, it indicates that these two second meta - information sets are relatively similar. And only the meta - information sets corresponding to the same video will be similar. Therefore, it is determined that these two second meta - information sets correspond to the same video.
[0112] Step 203: When the similarity score between any two second meta - information sets is not greater than the preset threshold, it is determined that the two second meta - information sets correspond to different videos.
[0113] In this step, when the similarity score between any two second meta - information sets is not greater than the preset threshold, it indicates that these two second meta - information sets are relatively similar, and it is determined that these two second meta - information sets correspond to different videos.
[0114] It should be noted that for the set group divided based on the similarity score, when the set group includes multiple second meta - information sets, the similarity score between any two second meta - information sets in the set group is greater than the preset threshold.
[0115] In this step, since the second meta - information set includes various meta - information, in order to calculate the similarity between two second meta - information sets, it is necessary to calculate the similarity sub - scores between the meta - information of the same target type, and then obtain the similarity score based on the similarity sub - scores. Therefore, the embodiment of the present application provides a method for determining the similarity score, which further limits the determination of the similarity score between any two second meta - information sets in step 201. As Figure 3 shown, the specific steps include:
[0116] Step 301: For any two second meta - information sets, obtain the target meta - information of the same target type, and obtain the similarity sub - score corresponding to this target type according to the similarity sub - scores between the target meta - information.
[0117] Among them, the target type is the content type that is essential for the display of the data page. Categories such as title, introduction, role, actor, etc. all belong to this category.
[0118] In this step, for any two second meta-information sets, the following steps are performed: First, obtain the target meta-information corresponding to the target type, and then calculate the similarity between the target meta-information corresponding to the same target type to obtain the corresponding similarity sub-score. In this way, the similarity sub-score corresponding to each target type is obtained.
[0119] In practice, since the target meta-information is often text, usually the text similarity between the target meta-information is calculated, and then the text similarity is normalized, and the normalized result is determined as the corresponding similarity sub-score.
[0120] Step 302: Determine the similarity score between any two second meta-information sets according to the similarity sub-score corresponding to the target type.
[0121] In this step, the similarity sub-scores corresponding to each target type can be directly added to obtain the similarity score between these two second meta-information sets. Since different types have different degrees of influence on the similarity score, the weight corresponding to each target type can also be determined, and then the similarity sub-score corresponding to each target type is multiplied by the corresponding weight to obtain the value corresponding to each target type. Finally, the values corresponding to each target type are added to obtain the similarity score between these two second meta-information sets.
[0122] In the embodiments of the present application, when the set group includes multiple second meta-information sets, these sets need to be merged to obtain a third meta-information set. Therefore, the embodiments of the present application provide a method for determining a third meta-information set, which is a further limitation on step 104, as Figure 4 shown, and the specific steps include:
[0123] Step 401: For each set group, detect whether the second meta-information sets in the set group are the same.
[0124] In this step, for each set group, it is detected whether the second meta-information sets in the set group are the same. If they are the same, a certain second meta-information set can be directly determined as the third meta-information set. If they are not the same, further processing is required to obtain the third meta-information set.
[0125] Further, in all the second meta-information sets in the set group, obtain the meta-information corresponding to the same type, and detect whether these meta-information are the same. When the meta-information of all types are the same, it is determined that the second meta-information sets in the set group are the same. When there is a type of meta-information that is different, it is determined that the second meta-information sets in the set group are different.
[0126] Step 402: When the second meta-information sets in the set group are different, determine the different meta-information as reference meta-information. For reference meta-information of the same type, determine the source of each reference meta-information, and determine the reference meta-information with the highest source priority as the target meta-information. Combine the identical meta-information and the target meta-information to obtain the third meta-information set.
[0127] Among them, the source is used to indicate the platform to which the collected meta-information belongs. The higher the priority of a certain source, the more reliable the meta-information collected from that source. The priority of the source is set by technicians based on experience.
[0128] In this step, when the second meta-information sets in the set group are different, obtain all the different meta-information and determine it as reference meta-information. Classify these reference meta-information according to the type of each reference meta-information to obtain at least one reference meta-information group. For each reference meta-information group, obtain the source of each reference meta-information group in the group and the corresponding priority of the source respectively, and determine the reference meta-information with the highest source priority as the target meta-information. Finally, combine the identical meta-information and the target meta-information to obtain the third meta-information set.
[0129] For example, the set group includes the second meta-information set 1 and the second meta-information set 2. The second meta-information set 1 includes the meta-information XXX1 corresponding to the title type, the meta-information MM1 corresponding to the role type, and the meta-information MM2. The second meta-information set 2 includes the meta-information XXX2 corresponding to the title type, the meta-information MM3 corresponding to the role type, and the meta-information MM2. It can be seen that the different meta-information are XXX1, XXX2, MM1, and MM3. Since XXX1 and XXX2 both correspond to the title type, they are grouped together. Similarly, MM1 and MM3 are grouped together. Since the source of XXX1 is media platform 1 and the source of XXX2 is media platform 2, and the priority of media platform 1 is higher than that of media platform 2, XXX1 is taken as the target meta-information. Similarly, MM1 is taken as the target meta-information.
[0130] In addition, when the second meta-information sets in the set group are different, in order to reduce the amount of calculation, the set can also be de-duplicated first, and then it is detected whether there are multiple meta-information corresponding to the same type. If so, the target meta-information is determined according to the sources of these meta-information.
[0131] Step 403: When the second meta-information sets in the set group are all the same, determine any one of the second meta-information sets in the set group as the third meta-information set.
[0132] In this step, when the second meta-information sets in the set group are all the same, determine a certain second meta-information set in the set group as the third meta-information set, and discard the other second meta-information sets in the group.
[0133] In the embodiments of the present application, multiple reference metadata sets are crawled from other media platforms, and at least one exclusive metadata set is obtained from the current media platform. Among all the reference metadata sets, the reference metadata sets similar to the exclusive metadata set are deleted to obtain the first metadata set of at least one target preview video. Therefore, the embodiments of the present application provide a method for determining the first metadata set, and this method is as Figure 5 shown, and the specific steps include:
[0134] Step 501, crawl the reference metadata set of each reference preview video from other media platforms.
[0135] Among them, the reference preview video is a preview video on other media platforms, and the metadata set corresponding to the reference preview video is called the reference metadata set.
[0136] Step 502, obtain the exclusive metadata set of at least one exclusive preview video in the current media platform.
[0137] Among them, the exclusive preview video is a preview video specially launched by the current media platform, and the metadata set corresponding to the exclusive preview video is called the exclusive metadata set.
[0138] In this step, in the current media platform, obtain the exclusive metadata set of at least one exclusive preview video.
[0139] Step 503, among all the reference metadata sets, determine the reference metadata sets that are not similar to the exclusive metadata set as the first metadata set.
[0140] In this step, for each reference metadata set, use the Figure 3 shown method to calculate the similarity score between this reference metadata set and the exclusive metadata set. When the similarity score between this reference metadata set and a certain exclusive metadata set is greater than the preset threshold, it means that this reference metadata set is similar to a certain exclusive metadata set, and this reference metadata set is deleted. When the similarity score between this reference metadata set and a certain exclusive metadata set is not greater than the preset threshold, it means that this reference metadata set is not similar to a certain exclusive metadata set, and this reference metadata set is determined as the first metadata set.
[0141] In the embodiments of the present application, the reference metadata set of each reference preview video and the feature film metadata set of each feature film are crawled from other media platforms. Among all the reference metadata sets, the reference metadata sets similar to the feature film metadata set are deleted to obtain the first metadata set of at least one target preview video. Therefore, the embodiments of the present application provide a method for determining the first metadata set, and this method is as Figure 6As shown below, the specific steps include:
[0142] Step 601: Crawl the reference meta - information set of each reference preview video and the feature - film meta - information set of each feature - film video on other media platforms.
[0143] Among them, the feature - film videos are the feature - film videos on other media platforms and the current media platform, and the meta - information set corresponding to the feature - film video is called the feature - film meta - information set.
[0144] In this step, the feature - film meta - information set of some feature - film videos can be crawled on other media platforms first, and the feature - film meta - information set of another part of feature - film videos can be obtained from the database of the current media platform. Then, the reference meta - information set of each reference preview video is crawled from other media platforms. Of course, the reference meta - information set can also be obtained first, and then the feature - film meta - information set can be obtained. There is no limitation here.
[0145] Step 602: In all reference meta - information sets, the reference meta - information sets that are not similar to the feature - film meta - information set are determined as the first meta - information set.
[0146] In this step, for each reference meta - information set, the method shown in Figure 3 is used to calculate the similarity score between the reference meta - information set and the feature - film meta - information set. When the similarity score between the reference meta - information set and a certain feature - film meta - information set is greater than the preset threshold, it means that the reference meta - information set is similar to a certain feature - film meta - information set, and the reference meta - information set is deleted. When the similarity score between the reference meta - information set and a certain feature - film meta - information set is not greater than the preset threshold, it means that the reference meta - information set is not similar to a certain feature - film meta - information set, and the reference meta - information set is determined as the first meta - information set.
[0147] In the embodiments of the present application, after the reference meta - information set is crawled on other media platforms, the reference meta - information set can also be detected to delete the reference meta - information sets that do not meet the conditions. Therefore, the embodiments of the present application provide a method for detecting a reference meta - information set. The specific steps include: obtaining the meta - information to be tested in the first meta - information set; detecting whether the meta - information to be tested meets the preset conditions; when the meta - information to be tested meets the preset conditions, determining the first meta - information set as the second meta - information set that meets the conditions.
[0148] Among them, the first meta - information set includes various types of meta - information. The meta - information to be tested in this step is a certain type of meta - information, or multiple specific types of meta - information. These types can be types such as title, actor, role, etc. For example, the preset conditions can be that the heat value is greater than the heat threshold and there are corresponding values for types such as title and actor.
[0149] In addition, after obtaining the third set of meta-information, it can be stored in a data pool for algorithm use, or stored in a search index library to be exposed in search results, or other processing can be performed using the third set of meta-information, which is not limited here.
[0150] After obtaining the third set of meta-information, it can be directly put online for subsequent use of the second set of meta-information. It can also be manually edited and corrected, and the corrected third set of meta-information can be put online. Moreover, after crawling the feature film video corresponding to the third set of meta-information, the link to the feature film video can be added to the third set of meta-information.
[0151] It should be noted that when manually editing and correcting the third set of meta-information, the terminal operated by the technician can display an editing and correction page. When the page includes a text input box corresponding to each type, the current meta-information of the corresponding type is displayed on the text input box. When the technician clicks on a certain text input box, multiple alternative options corresponding to the type are displayed. These alternative options are reference meta-data of the corresponding type, or can also be other reference meta-data other than the target meta-data. For example, the alternative options corresponding to the title are XXX1 and XXX2, or the alternative options corresponding to the title are XXX2.
[0152] Based on the above embodiments, an embodiment of the present application provides a flowchart of data processing. The flowchart is as Figure 7 shown, including multiple sites, namely Site 1, Site 2, Site 3... Site n. There is a set of meta-information of a certain preview video on these sites. On these platforms, the set of meta-information of the preview video is crawled, and these sets of meta-information are de-duplicated and merged to obtain a processed result. Then, the processed result is imported into a database. For this database, the data it contains can be verified manually, and the data that has not been manually verified is taken offline, and the data that has been manually verified is imported into a search engine, an algorithm database, and other modules for subsequent use of these modules.
[0153] At the same time, the set of meta-information corresponding to the feature film video can also be crawled on these platforms, processed based on the above method, and the processed result is imported into the database.
[0154] As Figure 8 shown, an embodiment of the present application provides a preview material page generation device, which corresponds to the method embodiment and specifically includes:
[0155] A first determination unit 801, configured to determine a first set of meta-information of each target preview video in other media platforms;
[0156] A screening unit 802, configured to screen a second set of meta-information that meets the conditions from the first set of meta-information;
[0157] A dividing unit 803, configured to divide all the second meta-information sets into at least one set group according to whether the second meta-information sets correspond to the same video, and the second meta-information sets in the set group all correspond to the same video;
[0158] An obtaining unit 804, configured to obtain a third meta-information set according to the set group;
[0159] A display unit 805, configured to, when receiving a material page display instruction for the target preview video, obtain a target meta-information set corresponding to the target preview video from the third meta-information set, and display a material page of the target preview video on the current media platform according to the target meta-information set.
[0160] Optionally, the apparatus further includes a second determining unit 806, and the second determining unit 806 is configured to:
[0161] Determine a similarity score between any two second meta-information sets among all the second meta-information sets;
[0162] When the similarity score between any two second meta-information sets is greater than a preset threshold, determine that the any two second meta-information sets correspond to the same video;
[0163] When the similarity score between any two second meta-information sets is not greater than the preset threshold, determine that the any two second meta-information sets correspond to different videos.
[0164] Optionally, the second meta-information set includes multiple types of meta-information, and the second determining unit 806 is configured to:
[0165] For any two second meta-information sets, obtain target meta-information corresponding to the same target type, and obtain a similarity sub-score corresponding to the target type according to the similarity sub-score between the target meta-information;
[0166] Determine a similarity score between any two second meta-information sets according to the similarity sub-score corresponding to the target type.
[0167] Optionally, when the set group includes multiple second meta-information sets, the obtaining unit 804 is configured to:
[0168] Detect whether the second meta-information sets in the set group are the same for the set group;
[0169] When the second meta - information sets in the set group are different, determine different meta - information as reference meta - information. For reference meta - information of the same type, determine the source of each reference meta - information, and determine the reference meta - information with the highest source priority as the target meta - information. Combine the same meta - information and the target meta - information to obtain the third meta - information set;
[0170] When the second meta - information sets in the set group are all the same, determine any one of the second meta - information sets in the set group as the third meta - information set.
[0171] Optionally, the first determination unit 801 is used for:
[0172] Crawl the reference meta - information set of each reference preview video on the other media platform;
[0173] In the current media platform, obtain the exclusive meta - information set of at least one exclusive preview video;
[0174] Among all the reference meta - information sets, determine the reference meta - information set that is not similar to the exclusive meta - information set as the first meta - information set.
[0175] Optionally, the first determination unit 801 is used for:
[0176] Crawl the reference meta - information set of each reference preview video and the full - length video meta - information set of each full - length video on the other media platform;
[0177] Among all the reference meta - information sets, determine the reference meta - information set that is not similar to the full - length video meta - information set as the first meta - information set.
[0178] Optionally, the screening unit 802 is used for:
[0179] Obtain the meta - information to be tested in the first meta - information set;
[0180] Detect whether the meta - information to be tested meets the preset conditions;
[0181] When the meta - information to be tested meets the preset conditions, determine the first meta - information set as the second meta - information set that meets the conditions.
[0182] As Figure 9 shown, an embodiment of the present application provides a device for generating a preview data page, including a processor 901, a communication interface 902, a memory 903, and a communication bus 904. Among them, the processor 901, the communication interface 902, and the memory 903 communicate with each other through the communication bus 904,
[0183] The memory 903 is used to store a computer program;
[0184] In an embodiment of the present application, when the processor 901 executes the program stored on the memory 903, it implements the preview material page generation method provided in any of the foregoing method embodiments, including:
[0185] In other media platforms, determine a first set of meta-information for each target preview video;
[0186] In the first set of meta-information, screen out a second set of meta-information that meets the conditions;
[0187] According to whether the second set of meta-information corresponds to the same video, divide all the second sets of meta-information into at least one set group, and the second sets of meta-information in the set group all correspond to the same video;
[0188] Obtain a third set of meta-information according to the set group;
[0189] When a material page display instruction for the target preview video is received, in the third set of meta-information, obtain the target set of meta-information corresponding to the target preview video, and according to the target set of meta-information, display the material page of the target preview video on the current media platform.
[0190] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of the preview material page generation method provided in any of the foregoing method embodiments.
[0191] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0192] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution or the part that contributes to the related technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0193] It should be understood that the terms used herein are for the purpose of describing particular example embodiments only and are not intended to be limiting. Unless the context clearly dictates otherwise, the singular forms "a", "an", and "the" as used herein may also include the plural forms. The terms "comprising", "including", "containing", and "having" are inclusive and thus specify the presence of stated features, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring them to be performed in the particular order described or illustrated, unless an execution order is explicitly stated. It should also be understood that additional or alternative steps may be used.
[0194] The above are only specific embodiments of the present invention, enabling those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to these embodiments shown herein, but rather to the broadest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for generating a preview data page, characterized in that: The method comprises: In other media platforms, determining a first metadata set of each target trailer video; Selecting a second metadata set that meets the conditions from the first metadata set; According to whether the second metadata sets correspond to the same video, all the second metadata sets are divided into at least one set group, and the second metadata sets in the set group all correspond to the same video; According to the set group, a third metadata set is obtained; When an instruction to display the information page of the target preview video is received, the target meta information set corresponding to the target preview video is obtained in the third meta information set, and the information page of the target preview video is displayed in the current media platform according to the target meta information set.
2. The method according to claim 1, characterized in that: The method further comprises: Among all the second metadata sets, determining the similarity scores between any two second metadata sets; When the similarity score between any two second metadata sets is greater than a preset threshold, determining that the any two second metadata sets correspond to the same video; When the similarity scores between any two second meta information sets are not greater than a preset threshold, it is determined that the any two second meta information sets correspond to different videos.
3. The method according to claim 2, characterized in that: The second metadata set includes multiple metadata, and the determining of the similarity score between any two second metadata sets includes: For any two second metadata sets, target metadata corresponding to the same target type is obtained, and based on the similarity sub-scores between the target metadata, similarity sub-scores corresponding to the target type are obtained; A similarity score between any two second metadata sets is determined according to the similarity sub-scores corresponding to the target types.
4. The method according to claim 1, characterized in that: When the set group includes multiple second metadata sets, obtaining at least one third metadata set according to the set group includes: For the set group, detecting whether the second metadata sets in the set group are the same; When the second metadata sets in the set group are different, different metadata are determined as reference metadata, and for reference metadata of the same type, the source of each reference metadata is determined, the reference metadata with the highest source priority is determined as target metadata, and the same metadata is combined with the target metadata to obtain the third metadata set; When the second meta information sets in the set group are all the same, any second meta information set in the set group is determined as the third meta information set.
5. The method according to claim 1, characterized in that: The step of determining the first metadata set of each target preview video in the other media platform includes: crawling a reference meta information set of each reference trailer video on the other media platform; In the current media platform, obtaining an exclusive meta information set of at least one exclusive preview video; Among all reference meta information sets, a reference meta information set that is not similar to the unique meta information set is determined as the first meta information set.
6. The method according to claim 1, characterized in that: The step of determining the first metadata set of each target preview video in the other media platform includes: Crawling a reference meta information set of each reference trailer video and a feature meta information set of each feature video on the other media platform; Among all reference meta information sets, a reference meta information set that is dissimilar to the positive film meta information set is determined as the first meta information set.
7. The method according to claim 1, characterized in that: The selecting, from the first metadata set, a second metadata set that meets a condition comprises: In the first metadata set, obtaining the metadata to be tested; Detecting whether the meta information to be tested meets a preset condition; When the meta information to be tested meets a preset condition, the first meta information set is determined as a second meta information set that meets the condition.
8. A device for generating a preview data page, characterized in that: The device comprises: A first determining unit, configured to determine a first meta information set of each target preview video in other media platforms; A screening unit, used for screening the first metadata set to meet the conditions of the second metadata set; A division unit, configured to divide all second meta information sets into at least one set group according to whether the second meta information sets correspond to the same video, wherein the second meta information sets in the set group all correspond to the same video; An obtaining unit, used for obtaining a third metadata set according to the set group; A display unit is used to obtain a target meta information set corresponding to the target preview video in the third meta information set when receiving a data page display instruction for the target preview video, and display the data page of the target preview video in the current media platform according to the target meta information set.
9. A preview data page generating device, characterized in that: include: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; at least one memory connected to the at least one bus, wherein the processor is configured to: In other media platforms, determining a first metadata set of each target trailer video; Selecting a second metadata set that meets the conditions from the first metadata set; According to whether the second metadata sets correspond to the same video, all the second metadata sets are divided into at least one set group, and the second metadata sets in the set group all correspond to the same video; According to the set group, a third metadata set is obtained; When an instruction to display the information page of the target preview video is received, the target meta information set corresponding to the target preview video is obtained in the third meta information set, and the information page of the target preview video is displayed in the current media platform according to the target meta information set.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating a preview material page according to any one of claims 1 to 7 is implemented.