Content recommendation method, device, electronic device and medium

By obtaining video comment data, identifying video clips with high attention and recommending related content, the problem in the existing technology that the recommended content is not related to the video is solved, and the relevance of the recommended content and user satisfaction are improved.

CN113127683BActive Publication Date: 2024-09-17BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110439617.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-22
Publication Date
2024-09-17
Estimated Expiration
2041-04-22

AI Technical Summary

Technical Problem

In the video content recommendation in the existing technology, the recommended content is not related to the video content, and the recommendation is not based on the user's concerns, making it difficult for the recommended content to meet the user's needs.

Method used

By obtaining the comment data of the target video, the video clips with high attention are determined, and the content to be recommended associated with the comment data is selected from the candidate content, and recommendations are made in response to the target video playing to the video clip.

Benefits of technology

The degree of correlation between the recommended content and the video content is improved, making the recommended content more in line with the user's focus and needs, and enhancing the attention of the recommended content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113127683B
    Figure CN113127683B
Patent Text Reader

Abstract

The present disclosure discloses a content recommendation method, device, equipment, medium and product, which relates to the fields of big data, intelligent recommendation, etc. The content recommendation method includes: obtaining comment data for a target video, wherein the comment data is used to characterize the attention of the target video; determining a target video segment from the target video based on the comment data, wherein the attention of the target video segment meets a preset attention condition; determining a to-be-recommended content associated with the comment data from at least one candidate content; and recommending the to-be-recommended content in response to detecting that the target video is played to the target video segment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, in particular to the fields of big data, intelligent recommendation, and more specifically to a content recommendation method, a content recommendation device, an electronic device, a medium, and a program product. Background Art

[0002] In the related art, when a user is watching a video, related content can be recommended to the user, such as an advertisement. However, when the related art recommends content, the recommended content is not related to the content of the video, resulting in the recommended content being rather abrupt. In addition, when the related art recommends content, the recommendation is not based on the user's focus, making it difficult for the recommended content to meet the user's needs. Summary of the invention

[0003] The present disclosure provides a content recommendation method, device, electronic device, storage medium and program product.

[0004] According to one aspect of the present disclosure, a content recommendation method is provided, comprising: obtaining comment data for a target video, wherein the comment data is used to characterize the attention of the target video; determining a target video segment from the target video based on the comment data, wherein the attention of the target video segment satisfies a preset attention condition; determining a to-be-recommended content associated with the comment data from at least one candidate content; and recommending the to-be-recommended content in response to detecting that the target video is played to the target video segment.

[0005] According to another aspect of the present disclosure, a content recommendation device is provided, comprising: an acquisition module, a first determination module, a second determination module, and a recommendation module. The acquisition module is used to acquire comment data for a target video, wherein the comment data is used to characterize the attention of the target video; the first determination module is used to determine a target video segment from the target video based on the comment data, wherein the attention of the target video segment meets a preset attention condition; the second determination module is used to determine a content to be recommended associated with the comment data from at least one candidate content; and the recommendation module is used to recommend the content to be recommended in response to detecting that the target video is played to the target video segment.

[0006] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor and a memory in communication with the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the above-mentioned content recommendation method.

[0007] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the above-mentioned content recommendation method.

[0008] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein the computer program implements the above-mentioned content recommendation method when executed by a processor.

[0009] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0011] Figure 1 The application scenario of the content recommendation method and device according to an embodiment of the present disclosure is schematically shown;

[0012] Figure 2 A flowchart of a content recommendation method according to an embodiment of the present disclosure is schematically shown;

[0013] Figure 3 A flowchart of a content recommendation method according to another embodiment of the present disclosure is schematically shown;

[0014] Figure 4 A schematic diagram schematically shows a content recommendation method according to an embodiment of the present disclosure;

[0015] Figure 5 A block diagram schematically shows a content recommendation device according to an embodiment of the present disclosure; and

[0016] Figure 6 The block diagram is a block diagram of an electronic device for performing content recommendation for implementing an embodiment of the present disclosure. DETAILED DESCRIPTION

[0017] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0018] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0019] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0020] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0021] The embodiment of the present disclosure provides a content recommendation method, comprising: obtaining comment data for a target video, the comment data being used to characterize the attention of the target video. Then, based on the comment data, determining a target video segment from the target video, the attention of the target video segment meeting a preset attention condition. Next, determining a to-be-recommended content associated with the comment data from at least one candidate content, and recommending the to-be-recommended content in response to detecting that the target video is played to the target video segment.

[0022] Figure 1 The application scenario of the content recommendation method and device according to an embodiment of the present disclosure is schematically shown. It should be noted that: Figure 1 What is shown are merely examples of application scenarios to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.

[0023] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a server 100A, a client 100B and a network 100C. The network 100C is used to provide a medium for a communication link between the server 100A and the client 100B. The network 100C may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0024] The user can use the client 100B to interact with the server 100A through the network 100C to receive or send messages, etc. Various communication client applications can be installed on the client 100B, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0025] For example, the client 100B may be any electronic device having a display screen and supporting web browsing, including but not limited to a smart phone, a tablet computer, a laptop computer, a desktop computer, etc. The client 100B of the embodiment of the present disclosure may, for example, play a video.

[0026] The server 100A may be a server that provides various services, such as a backend management server that provides support for websites browsed by the user using the client 100B (for example only). The backend management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the client. In addition, the server 100A may also be a cloud server, that is, the server 100A has a cloud computing function.

[0027] For example, when watching the target video 101 played by the client 100B, the user can comment on the target video 101. The client 100B can store the user's comment data. The comment data can include, for example, first-category comment data 102 and second-category comment data 103.

[0028] The first type of comment data 102 is, for example, data displayed in the comment area. The first type of comment data 102 generally requires users to actively browse the comment area. The second type of comment data 103 is, for example, comment data sent in the form of bullet screens. The second type of comment data 103 is, for example, actively displayed in the display area of ​​the target video 101. Users who watch the target video 101 can passively receive the second type of comment data 103. The second comment data 103 is strongly associated with the target video 101.

[0029] The server 100A may obtain the user's comment data from at least one client, the at least one client including the client 100B. Then, the server 100A processes the comment data to determine the to-be-recommended content 104 associated with the comment data. The comment data obtained by the server 100A is, for example, historical data, that is, the comment data is data sent by multiple users when they previously watched the target video 101.

[0030] For example, after the server 100A obtains the comment data, it can select the content 104 to be recommended that is associated with the comment data from the database. For example, the content 104 to be recommended can be advertising content. When the server 100A subsequently detects that the client 100B plays the target video 101 again, the server 100A can recommend the content 104 to the client 100B so that the client 100B can display the content 104 to be recommended, thereby recommending the content 104 to the user.

[0031] It should be noted that the content recommendation method provided in the embodiment of the present disclosure can be executed by the server 100A. Accordingly, the content recommendation device provided in the embodiment of the present disclosure can be set in the server 100A. The content recommendation method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 100A and can communicate with the client 100B and / or the server 100A. Accordingly, the content recommendation device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 100A and can communicate with the client 100B and / or the server 100A.

[0032] It should be understood that Figure 1 The number of clients, networks and servers in the embodiment is only for illustration. Any number of clients, networks and servers may be provided as required.

[0033] The present disclosure provides a content recommendation method. Figure 1 For application scenarios, refer to Figure 2 to Figure 4 The content recommendation method according to the exemplary embodiment of the present disclosure is described as follows. The content recommendation method of the embodiment of the present disclosure can be, for example, Figure 1 The server 100A shown is used for execution.

[0034] Figure 2 The flowchart of the content recommendation method according to an embodiment of the present disclosure is schematically shown.

[0035] like Figure 2 As shown, the content recommendation method 200 of the embodiment of the present disclosure may include, for example, operations S210 to S240.

[0036] In operation S210 , comment data for a target video is acquired.

[0037] In operation S220, a target video segment is determined from the target video based on the comment data.

[0038] In operation S230 , content to be recommended that is associated with the comment data is determined from at least one candidate content.

[0039] In operation S240 , in response to detecting that the target video is played to the target video segment, the to-be-recommended content is recommended.

[0040] For example, the comment data for the target video can be used to characterize the attention of the target video. The more the number of comment data for the target video, the higher the attention of the target video. After obtaining the comment data for the target video, the target video segment whose attention meets the preset attention condition can be determined from the target video based on the comment data, and the attention of the determined target video segment is, for example, high.

[0041] Next, the content to be recommended associated with the comment data may be determined from the plurality of candidate contents stored in the database. For example, the subject of the content to be recommended is consistent with the subject of the comment data, or the content to be recommended contains relevant information of the comment data.

[0042] Since the target video segment has a high degree of attention, when the target video is played again subsequently, when it is detected that the target video segment is played, the content to be recommended can be recommended, so that the content to be recommended has a high degree of attention.

[0043] According to an embodiment of the present disclosure, comment data for a target video is obtained, and a target video segment with high attention is determined based on the comment data. When the target video is subsequently played again, when it is detected that the target video segment is played, the content to be recommended associated with the comment data is recommended. It can be understood that since the comment data reflects the content of the target video to a certain extent, recommending the content to be recommended associated with the comment data improves the degree of association between the content to be recommended and the content of the target video. In addition, since the target video segment has a high degree of attention, the content to be recommended is recommended when the target video segment is played, so that the content to be recommended has a higher degree of attention.

[0044] Figure 3 The following schematically shows a flow chart of a content recommendation method according to another embodiment of the present disclosure.

[0045] like Figure 3 As shown, the content recommendation method 300 of the embodiment of the present disclosure may include, for example, operations S301 to S309.

[0046] In operation S301, comment data for a target video is acquired.

[0047] In operation S302, a plurality of video segments are determined from a target video.

[0048] In operation S303 , a target video segment is determined from a plurality of video segments for the target video based on the comment data.

[0049] In one embodiment, the target video may be divided into a plurality of non-overlapping video segments. For example, when the target video has a duration of 10 minutes, the target video may be divided into 20 video segments, each having a duration of 30 seconds, and the contents of each video segment do not overlap.

[0050] In another example, multiple video clips can be extracted from the target video, and any two of the multiple video clips may or may not have overlapping content. For example, when the target video is 10 minutes long, the first 30 seconds of the video clip are extracted as the first video clip, the video clip from the 6th to the 35th seconds are extracted as the second video clip, the video clip from the 11th to the 40th seconds are extracted as the third video clip, and so on to obtain multiple video clips. Among them, any two of the multiple video clips may have overlapping content, for example, the overlapping content of the second video clip and the third video clip is the video content from the 11th to the 35th second.

[0051] After a plurality of video segments are determined from the target video, a video segment whose attention level meets a preset attention level condition may be determined from the plurality of video segments as the target video segment.

[0052] In one embodiment, the target video segment whose attention degree satisfies the preset attention degree condition includes, for example, that the number of comment data for the target video segment is greater than a preset number. That is, the acquired comment data is for the target video, and each video segment corresponds to a corresponding number of comment data. Based on the number of comment data corresponding to each video segment, one or more video segments whose number of comment data is greater than a preset number can be determined from multiple video segments as target video segments.

[0053] In another embodiment, the number of comment data for the target video segment is greater than the number of comment data for the remaining video segments, and the remaining video segments are video segments other than the target video segment among the multiple video segments. That is, one or more video segments with the largest number of comment data among the multiple video segments are determined as the target video segments.

[0054] In operation S304 , candidate comment data for the target video segment is determined from the plurality of comment data.

[0055] In operation S305 , the plurality of candidate comment data are classified to obtain a plurality of categories.

[0056] In operation S306 , a target category is determined from among the plurality of categories based on the number of candidate review data in each category.

[0057] In operation S307 , content to be recommended is determined from at least one candidate content based on the target category.

[0058] The comment data for the target video includes, for example, a plurality of comment data. Each comment data includes, for example, a comment time. According to the comment time of each comment data, it can be determined which video segment each comment data is for. The comment time includes, for example, the comment time. When the comment time of a certain comment data is within the duration range of a certain video segment, it indicates that the comment data is for the video segment.

[0059] Based on the comment time of each comment data and the duration information of each video segment, multiple candidate comment data for the target video segment are extracted from the multiple comment data. Then, according to the content of each candidate comment data, the multiple candidate comment data are classified into multiple categories. For example, a classification model can be used to classify the multiple candidate comment data.

[0060] Each category includes at least one candidate review data, and the candidate review data belonging to the same category are similar to each other. For example, multiple candidate review data belonging to a certain category are all data related to food.

[0061] Next, the category containing the largest number of candidate comment data among the multiple categories is taken as the target category. For the candidate comment data included in the target category, based on the fuzzy matching algorithm, the to-be-recommended content associated with the candidate comment data is determined from the multiple candidate contents.

[0062] For example, the plurality of candidate contents include a first candidate content related to food, a second candidate content related to sports, and a third candidate content related to travel. When the candidate review data in the target category are all data related to food, the first candidate content associated with the target category is determined as the content to be recommended based on the fuzzy matching algorithm.

[0063] In another example, key information may also be extracted from the candidate comment data of the target category, and the key information may be, for example, keywords. For example, when the candidate comment data in the target category are all data related to food, the extracted key information may be, for example, "XX beverage". Next, candidate content containing the key information is selected from at least one candidate content as content to be recommended. For example, candidate content including "XX beverage" is selected from multiple candidate contents as content to be recommended.

[0064] In the embodiment of the present disclosure, after obtaining multiple candidate comment data for the target video segment, the candidate comment data are further divided into categories to determine the target category with the largest number of candidate comment data. Since the target video segment has a high degree of attention, and the candidate comment data in the target category represent the main focus of the target video segment, the associated content to be recommended is determined based on the candidate comment data in the target category, which can improve the attention of the content to be recommended.

[0065] In operation S308, it is detected whether the target video is played to the target video segment. If yes, operation S309 is performed. If no, the process returns to operation S308.

[0066] In operation S309 , in response to detecting that the target video is played to the target video segment, the to-be-recommended content is recommended.

[0067] After determining the target video segment and the content to be recommended, when the target video is played again, it is detected in real time whether the target video is played to the target video segment. If the target video is played to the target video segment, the content to be recommended is recommended.

[0068] According to an embodiment of the present disclosure, comment data for a target video is obtained, and a target video segment with high attention is determined based on the comment data. Then, based on the candidate comment data for the target video segment, the content to be recommended associated with the target video segment is determined. When the target video is played again subsequently, when it is detected that the target video segment is played, the content to be recommended associated with the comment data is recommended. It can be understood that since the comment data reflects the content of the target video to a certain extent, for a target video segment with high attention, the content to be recommended is determined based on the candidate comment data for the target video segment, which improves the association between the content to be recommended and the target video segment, making the attention of the content to be recommended higher. In addition, since the attention of the target video segment is high, the content to be recommended is recommended when the target video segment is played, which further improves the attention of the content to be recommended, so that the content to be recommended better meets the needs of users.

[0069] Figure 4 The following is a schematic diagram of a content recommendation method according to an embodiment of the present disclosure.

[0070] like Figure 4As shown, the target video 401, for example, has multiple video segments, and video segments 401A, 401B, and 401C are used as examples for description. The comment data for the target video, for example, includes comment data for each video segment. For example, the comment data for the target video includes multiple comment data 402A for video segment 401A, multiple comment data 402B for video segment 401B, and multiple comment data 402C for video segment 401C.

[0071] Based on the number of comment data, a target video segment is determined from the multiple video segments 401A, 401B, and 401C. For example, if the number of multiple comment data 402B is greater than the number of multiple comment data 402A, and the number of multiple comment data 402B is greater than the number of multiple comment data 402C, the video segment 401B corresponding to the multiple comment data 402B can be determined as the target video segment.

[0072] Next, the multiple comment data 402B for the video segment 401B (target video segment) are divided as candidate comment data to obtain multiple categories 403A, 403B, and 403C, each of which includes at least one candidate comment data. One or more categories with the most candidate comment data are used as target categories, for example, category 403B is used as the target category. Then, based on the candidate comment data in category 403B (target category), the content 405 to be recommended is determined from the multiple candidate contents 404. The content 405 to be recommended is associated with the candidate comment data in category 403B (target category).

[0073] Exemplarily, the candidate content is, for example, advertising content, which includes, for example, videos, pictures, icons, texts, etc. Advertising content associated with the candidate comment data in the target category is selected from the plurality of advertising content to recommend the advertising content.

[0074] For example, taking the target video as a food video, when the protagonist in the food video starts to eat, the protagonist starts to take off his glasses, and the action of taking off glasses to prepare for eating is the characteristic of the protagonist. When the video is played to the video clip of taking off glasses to prepare for eating (target video clip), many users who watch it will initiate a large number of comments to make fun of it. By obtaining the comment data, it can be known that the number of user comments on the video clip of taking off glasses to prepare for eating is very large. At this time, the comment data on the video clip of taking off glasses to prepare for eating can be used as candidate comment data. Then, the candidate comment data is classified to obtain multiple categories, and it is found that there are more comment data about "glasses" in multiple categories, and the category for "glasses" is used as the target category. Then, based on the target category, the content to be recommended associated with "glasses" is determined from multiple candidate contents for recommendation. The content to be recommended includes, for example, advertising content, and the advertising content includes, for example, videos, pictures, icons, texts, etc. related to "glasses". For example, "glasses + take off" is extracted from the candidate comment data in the target category as key information, and the key information is matched with the candidate content stored in the database to obtain the content to be recommended, such as "XXX laser treatment for myopia", "Taking off glasses is not a dream", etc. When the food video is played again later, when the video plays to the video clip of taking off glasses to prepare for eating, "XXX laser treatment for myopia", "Taking off glasses is not a dream", etc. can be recommended.

[0075] It can be understood that compared to recommending pre-roll ads, pause ads, and post-roll ads during video playback, the content recommendation scheme of the disclosed embodiment fully considers the content of the video and the user's comment data, so that the recommended content (advertisement) is associated with the video content and meets the needs of the user.

[0076] Exemplarily, a pre-roll advertisement is, for example, an advertisement recommended before a video is played, a pause advertisement is, for example, an advertisement recommended when a video is paused, and a post-roll advertisement is, for example, an advertisement recommended after a video is played.

[0077] Figure 5 The block diagram schematically shows a content recommendation device according to an embodiment of the present disclosure.

[0078] like Figure 5 As shown, the content recommendation device 500 of the embodiment of the present disclosure includes, for example, an acquisition module 510 , a first determination module 520 , a second determination module 530 and a recommendation module 540 .

[0079] The acquisition module 510 may be used to acquire comment data for a target video, wherein the comment data is used to characterize the attention level of the target video. Figure 2 The operation S210 described above will not be described in detail here.

[0080] The first determination module 520 may be used to determine a target video segment from a target video based on the comment data, wherein the attention level of the target video segment satisfies a preset attention level condition. Figure 2 The operation S220 described above will not be described in detail here.

[0081] The second determination module 530 may be used to determine the content to be recommended associated with the comment data from at least one candidate content. Figure 2 The operation S230 described above will not be described in detail here.

[0082] The recommendation module 540 may be used to recommend the content to be recommended in response to detecting that the target video is played to the target video segment. Figure 2 The operation S240 described above will not be described in detail here.

[0083] According to an embodiment of the present disclosure, the comment data includes multiple comment data; the second determination module 530 includes a first determination submodule and a second determination submodule. The first determination submodule is used to determine candidate comment data from the multiple comment data, wherein the candidate comment data is data for the target video segment. The second determination submodule is used to determine the content to be recommended associated with the candidate comment data from at least one candidate content.

[0084] According to an embodiment of the present disclosure, the candidate comment data includes a plurality of candidate comment data; the second determination submodule includes a classification unit, a first determination unit, and a second determination unit. The classification unit is used to classify the plurality of candidate comment data to obtain a plurality of categories. The first determination unit is used to determine a target category from the plurality of categories based on the number of candidate comment data in each category. The second determination unit is used to determine the content to be recommended from at least one candidate content based on the target category, wherein the content to be recommended is associated with the candidate comment data in the target category.

[0085] According to an embodiment of the present disclosure, the second determination unit includes: an extraction subunit and a selection subunit. The extraction subunit is used to extract key information from the candidate comment data of the target category. The selection subunit is used to select candidate content containing key information from at least one candidate content as the content to be recommended.

[0086] According to an embodiment of the present disclosure, the attention level of the target video segment satisfies a preset attention level condition including at least one of the following: the number of comment data for the target video segment is greater than a preset number; and the number of comment data for the target video segment is greater than the number of comment data for the remaining video segments, wherein the remaining video segments are video segments in the target video other than the target video segment.

[0087] According to an embodiment of the present disclosure, the content to be recommended includes advertising content.

[0088] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0089] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0090] Figure 6 The block diagram is a block diagram of an electronic device for performing content recommendation for implementing an embodiment of the present disclosure.

[0091] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device 600 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0092] like Figure 6 As shown, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0093] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0094] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as the content recommendation method. For example, in some embodiments, the content recommendation method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the content recommendation method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the content recommendation method in any other appropriate manner (e.g., by means of firmware).

[0095] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0096] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

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

[0098] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0099] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by 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), and the Internet.

[0100] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0101] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0102] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A content recommendation method, comprising: Acquire comment data for a target video, wherein the comment data is used to characterize the attention level of the target video; Divide the target video into multiple video segments, and determine a video frequency segment with the largest amount of comment data from the multiple video segments as the target video segment; Determining multiple comment data for the target video segment as candidate comment data; Classify multiple candidate comment data to obtain multiple categories; The category with the largest number of candidate comment data in the multiple categories is taken as the target category, and the target category corresponds to the most important focus; Based on the target category, determining, from at least one candidate content, content to be recommended that is associated with candidate comment data in the target category; and In response to detecting that the target video is played to the target video segment, the to-be-recommended content is recommended.

2. The method according to claim 1, wherein: The determining, based on the target category, from at least one candidate content, a content to be recommended that is associated with the candidate comment data in the target category comprises: Extracting key information from the candidate review data of the target category; and A candidate content including the key information is selected from the at least one candidate content as the content to be recommended.

3. The method according to claim 1 or 2, wherein: The content to be recommended includes advertisement content.

4. A content recommendation device, comprising: An acquisition module, used to acquire comment data for a target video, wherein the comment data is used to characterize the attention level of the target video; A target video segment determination module, used for dividing a target video into a plurality of video segments, and determining a video frequency segment having the largest number of comment data from the plurality of video segments as the target video segment; A candidate comment data determination module, used to determine a plurality of comment data for the target video segment as candidate comment data; A classification module is used to classify multiple candidate comment data into multiple categories; A target category determination module, configured to determine the category containing the largest number of candidate comment data among the multiple categories as the target category, wherein the target category corresponds to the most important focus; a to-be-recommended content determination module, configured to determine, based on the target category, from at least one candidate content, a to-be-recommended content associated with the candidate comment data of the target category; and The recommendation module is configured to recommend the content to be recommended in response to detecting that the target video is played to the target video segment.

5. The device according to claim 4, wherein: The module for determining content to be recommended includes: an extraction unit, configured to extract key information from the candidate comment data of the target category; and The selection unit is configured to select candidate content containing the key information from the at least one candidate content as the content to be recommended.

6. The device according to claim 4 or 5, wherein: The content to be recommended includes advertisement content.

7. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 3.

8. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 3.

9. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 3.