CN110275981B - Content recommendation method and device - Google Patents

Content recommendation method and device Download PDF

Info

Publication number
CN110275981B
CN110275981B CN201910578717.7A CN201910578717A CN110275981B CN 110275981 B CN110275981 B CN 110275981B CN 201910578717 A CN201910578717 A CN 201910578717A CN 110275981 B CN110275981 B CN 110275981B
Authority
CN
China
Prior art keywords
target user
recommendation request
content
recommendation
time period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910578717.7A
Other languages
Chinese (zh)
Other versions
CN110275981A (en
Inventor
陈朝阳
张萌萌
王文明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Baidu Online Network Technology Beijing Co Ltd
Shanghai Xiaodu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Baidu Online Network Technology Beijing Co Ltd, Shanghai Xiaodu Technology Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN201910578717.7A priority Critical patent/CN110275981B/en
Publication of CN110275981A publication Critical patent/CN110275981A/en
Application granted granted Critical
Publication of CN110275981B publication Critical patent/CN110275981B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/635Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a content recommendation method and a content recommendation device, wherein the method comprises the following steps: determining a first habit of a target user based on historical data of the target user; wherein the historical data at least comprises: the content played by the target user in different historical time periods in at least one historical time period; generating a first recommendation request based on a first habit of the target user; wherein the first recommendation request is to ask a target user whether the first content will be played for a first time period as a fixed behavior; when receiving a request of the target user for playing first content in a first time period, sending the first recommendation request to the target user before playing the first content for the target user. Therefore, on the premise of meeting the user habits, the user can take the playing habits of the user as fixed behaviors, and the operation of the user is quicker and more convenient.

Description

Content recommendation method and device
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a content recommendation method and apparatus.
Background
There may be a habit of the user when the user plays the requested content through the terminal, and different users may be used differently. However, how to provide a service more meeting the requirements for users by combining the habits of different users during playing content is a problem to be solved at present.
Disclosure of Invention
Embodiments of the present invention provide a content recommendation method and apparatus, so as to solve one or more technical problems in the prior art.
In a first aspect, an embodiment of the present invention provides a content recommendation method, including:
determining a first habit of a target user based on historical data of the target user; wherein the historical data at least comprises: the content played by the target user in different historical time periods in at least one historical time period; the first habit of the target user is to play first content in a historical first time period;
generating a first recommendation request based on a first habit of the target user; wherein the first recommendation request is to ask a target user whether the first content will be played for a first time period as a fixed behavior;
when receiving a request of the target user for playing first content in a first time period, sending the first recommendation request to the target user before playing the first content for the target user.
In one embodiment, after the sending the first recommendation request to the target user, the method further comprises:
receiving first feedback information of the target user aiming at the first recommendation request;
and deleting the recommendation of playing the first content in the first time period for the target user when the first feedback information of the target user for the first recommendation request is rejection.
In one embodiment, the method further comprises:
judging whether first feedback information of the target user for the first recommendation request is received within a first preset time after the first recommendation request is sent to the target user;
and if first feedback information of the target user for the first recommendation request is not received, the first recommendation request is sent to the target user again when the target user requests to play the first content in the first time period is received again.
In one embodiment, the method further comprises:
judging whether the number of times of sending the first recommendation request to the target user reaches a preset number threshold value;
if the frequency of sending the first recommendation request to the target user does not reach a preset frequency threshold value, sending the first recommendation request to the target user; otherwise, the first recommendation request is not sent to the target user. In one embodiment of the method of the present invention,
in one embodiment, the method further comprises:
judging whether a second recommendation request is sent to the target user within a second preset time before the first recommendation request is sent to the target user; the second recommendation request is used for inquiring whether the target user plays the second content in a second time period as a fixed behavior;
and if the second recommendation request is sent to the target user, not sending the first recommendation request to the target user.
In one embodiment, the sending the first recommendation request to the target user is:
and when the first recommendation request meets the corresponding recommendation interval duration, sending the first recommendation request to the target user.
In a second aspect, an embodiment of the present invention provides a content recommendation apparatus, including:
the habit generation unit is used for determining a first habit of a target user based on historical data of the target user; wherein the historical data at least comprises: the content played by the target user in different historical time periods in at least one historical time period; the first habit of the target user is to play first content in a historical first time period;
the processing unit is used for generating a first recommendation request based on the first habit of the target user; wherein the first recommendation request is to ask a target user whether the first content will be played for a first time period as a fixed behavior; when the target user requests to play first content in a first time period is received, the first recommendation request is sent to the target user through an output unit before the first content is played for the target user;
and the output unit is used for sending the first recommendation request to the target user.
In one embodiment, the apparatus further comprises:
a receiving unit, configured to receive first feedback information of the target user for the first recommendation request.
The processing unit is configured to delete the recommendation of playing the first content in the first time period for the target user when the first feedback information of the target user for the first recommendation request is rejection.
In an embodiment, the processing unit is configured to determine whether first feedback information of the target user for the first recommendation request is received within a first preset time period after the first recommendation request is sent to the target user; and if first feedback information of the target user for the first recommendation request is not received, the first recommendation request is sent to the target user again through the output unit when the target user requests to play the first content in the first time period is received again.
In an embodiment, the processing unit is configured to determine whether the number of times of sending the first recommendation request to the target user reaches a preset number threshold; if the frequency of sending the first recommendation request to the target user does not reach a preset frequency threshold value, sending the first recommendation request to the target user; otherwise, the first recommendation request is not sent to the target user.
In one embodiment, the processing unit is configured to determine whether a second recommendation request has been sent to the target user within a second preset time period before the first recommendation request is sent to the target user; the second recommendation request is used for inquiring whether the target user plays the second content in a second time period as a fixed behavior; and if the second recommendation request is sent to the target user, not sending the first recommendation request to the target user.
In one embodiment, the processing unit is configured to send the first recommendation request to the target user through the output unit when the first recommendation request satisfies the corresponding recommendation interval duration.
In a third aspect, an embodiment of the present invention provides a content recommendation apparatus, where functions of the apparatus may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the content recommendation apparatus includes a processor and a memory, the memory is used for storing a program supporting the content recommendation apparatus to execute the content recommendation method, and the processor is configured to execute the program stored in the memory. The content recommendation apparatus may further include a communication interface for communicating with other devices or a communication network.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing computer software instructions for a content recommendation apparatus, which includes a program for executing the content recommendation method.
One of the above technical solutions has the following advantages or beneficial effects:
determining habits of the first content played by the user in combination with historical data of the user, and further determining a recommendation request; and outputting a recommendation request for the user before the user plays the first content again; therefore, the user with certain playing habits can be recommended, the user can take the playing habits of the user as fixed behaviors on the premise of meeting the user habits, the operation of the user is quicker and more convenient, and the use experience of the user is improved.
The foregoing summary is provided for the purpose of description only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present invention will be readily apparent by reference to the drawings and following detailed description.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
Fig. 1 shows a flowchart of a content recommendation method according to an embodiment of the present invention.
FIG. 2 illustrates a processing scenario diagram of an embodiment of the present invention;
FIG. 3 is a block diagram illustrating a first component of a content recommendation apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram showing a configuration of a content recommendation apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram showing a third configuration of the content recommendation apparatus according to the embodiment of the present invention.
Detailed Description
In the following, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
In one implementation, fig. 1 shows a flow diagram of a content recommendation method according to an embodiment of the invention, the method comprising:
step S11: determining a first habit of a target user based on historical data of the target user; wherein the historical data at least comprises: the content played by the target user in different historical time periods in at least one historical time period; the first habit of the target user is to play first content in a historical first time period;
step S12: generating a first recommendation request based on a first habit of the target user; wherein the first recommendation request is to ask a target user whether the first content will be played for a first time period as a fixed behavior;
step S13: when receiving a request of the target user for playing first content in a first time period, sending the first recommendation request to the target user before playing the first content for the target user.
Here, the solution provided by this embodiment may be applied to a device having a processing function, for example, a server on a network side; but of course also to terminal devices.
When the scheme is applied to the terminal device, the terminal device may collect the history data of the target user, and then perform the steps S11-S13.
When the scheme is applied to the server, the history data of a plurality of users can be obtained according to the history data of a plurality of terminal devices, the plurality of users can be sequentially used as target users respectively, the history data of the target users stored in the server side is extracted, and then the server executes the step S11 and the step S12; when step S13 is executed, it may be understood that the server first detects that the target user requests to play the first content at the corresponding terminal device side in the first time period, and sends a first recommendation request to the terminal device used by the target user.
In addition, the terminal device corresponding to the target user may be a device capable of performing voice interaction and audio and/or video output with the user.
The aforementioned played content, such as the first content, may be content played through a speaker (loudspeaker) of the terminal device, or may be content played through a screen and the speaker (loudspeaker) of the terminal device.
In step S11, the historical data of the user in the above steps may be historical data within a certain time period, for example, 1 month, or 7 days, and is set according to actual conditions.
Accordingly, the habit of the target user can be obtained, which is the habit of the target user in the certain time period, that is, the habit in 1 month, or the habit in 7 days.
Furthermore, the habit of the target user can be understood as one or more habits of the target user, for example, the target user is used to play news contents at 7-8AM each day; at night 7-9PM, the target user is used to play music content, novel content and the like. Then that is to say the target user's habits may be: each of the plurality of history time periods plays the corresponding content. For example, referring to fig. 2, based on the historical data of the target user in 1 week, it may be determined that the target user plays program 1 in 7 days of 1 week, 7-8AM each day; program 2 is played at 12-1PM at noon of 2 days; there are 5 days to play program 3 at night at 7-9 PM. According to the statistics, the playing data with the playing times exceeding the preset threshold value can be selected as the habit of the target user. For example, at least 5 times are played in 7 days as the preset threshold, in fig. 2, 7-8AM of playing program 1 and 5-9 PM of playing program 3 in five nights may be taken as two habits of the target user.
Determining a first habit of a target user in relation to the present embodiment; may be one of a plurality of habits of the target user.
Then, the first habit of the target user is selected from the multiple habits of the target user, which may be randomly selected from the multiple habits or selected from a low number of historical playing times. Similarly, with reference to fig. 2, program 3 may be played at 7-9PM at night for 5 randomly selected days as the first content of the first time period of the history; alternatively, program 1 may be selected to be played at 7-8AM every morning with the largest historical playing times as the first content of the historical first time period.
It should also be understood that, the scheme provided by this embodiment may only perform subsequent recommendation for one habit of the target user; of course, another habit of the multiple habits can be continuously selected for subsequent recommendation, that is, the habit targeted by the processing can be used as the first habit of the target user.
In step S12, the first recommendation request is generated based on the habit of the target user, and it is understood that only the first recommendation request is generated but not played.
With respect to step S13, it should be noted that the step mainly includes controlling the terminal device of the target user to play the first recommendation request at the time point when the first recommendation request is sent to the target user, that is, when the user requests to play the first content, before the first content is played for the target user.
The process of sending the first recommendation request to the target user may be performed based on at least one of the following rules:
rule 1, after the sending of the first recommendation request to the target user, the method further comprises:
receiving first feedback information of the target user aiming at the first recommendation request;
and deleting the recommendation of playing the first content in the first time period for the target user when the first feedback information of the target user for the first recommendation request is rejection.
That is, when the target user rejects the first recommendation request, the first content is not recommended to the target user later, so as to avoid disturbing the target user.
In addition, when the first feedback information of the target user for the first recommendation request is an agreement, the target user is set to play the first content in a first time period as a fixed behavior of the target user. In this case, it should be noted that, after the user agrees to request the first recommendation, the first content is automatically played to the target user at a first time period in the future without the target user making a request.
Wherein, the future first time period may be an infinite time period from the current time (which may be a date); or, the number of the N may be N days from the current time, where N is an integer greater than or equal to 1, for example, 30 days or 180 days from the current time, and the length of N may be set according to actual situations.
In addition, without a request from the target user, the first content may be automatically played for the target user, and the playing may be: the first content is played directly for the target user for a first time period. Alternatively, it may be: first a query is issued, such as the current arrival for a first time period, initiating a query: whether to play the first content; and when the answer of the target user is yes, playing the first content for the target user, otherwise, not playing.
Rule 2, judging whether first feedback information of the target user for the first recommendation request is received within a first preset time length after the first recommendation request is sent to the target user;
and if first feedback information of the target user for the first recommendation request is not received, the first recommendation request is sent to the target user again when the target user requests to play the first content in the first time period is received again.
The first preset time period may be set according to actual conditions, and may be, for example, 3 seconds.
It should be noted that, if the first feedback information is not received within the first preset time period, the first content is still kept playing according to the request of the target user. In addition, at this time, it may be recorded that the first recommendation request is not unrefed, and when the first time period is reached again and the target user requests to play the first content again, the first recommendation request is sent to the target user again.
Rule 3, judging whether the number of times of sending the first recommendation request to the target user reaches a preset number threshold value; if the frequency of sending the first recommendation request to the target user does not reach a preset frequency threshold value, sending the first recommendation request to the target user; otherwise, the first recommendation request is not sent to the target user.
That is, the accumulation may be performed each time the first recommendation request is sent to the target user; it should be noted that the accumulation principle is that the number of times of sending the first recommendation request is accumulated only when the target user does not feed back the first recommendation request.
If the target user feeds back the first recommendation request, that is, when the first feedback information is sent, processing may be performed in combination with rule 1, and at this time, no matter whether the first feedback information is an agreement or a rejection, the first recommendation request is not accumulated.
In addition, rule 3 may also be combined with rule 2, that is, when the first recommendation request is sent to the target user according to rule 2 for multiple times, the cumulative number of times reaches the threshold number of times, and recommendation may not be performed for the target user any more.
Further, the first recommendation request may be deleted when it is determined not to be sent to the target user.
Rule 4, judging whether a second recommendation request is sent to the target user within a second preset time before the first recommendation request is sent to the target user; the second recommendation request is used for inquiring whether the target user plays the second content in a second time period as a fixed behavior;
and if the second recommendation request is sent to the target user, not sending the first recommendation request to the target user.
The second preset time period may be set according to a requirement, and for example, may be 1 day or 2 days.
That is, the rule is mainly that multiple requests are not recommended to the target user for multiple times within a second preset time length; alternatively, it may be understood that, within the second preset time period, the sending of the recommendation request is performed only once for the target user.
And 5, when the first recommendation request meets the corresponding recommendation interval duration, sending the first recommendation request to the target user.
The preset recommended interval duration may be set according to actual conditions, for example, may be 2 days, or 4 days, or 1 day.
That is, a corresponding recommendation interval duration may be set for the first recommendation request, for example, 2 days, that is, the first recommendation request may be recommended to the target user once every two days.
Similarly, the present rule can also be processed in conjunction with the aforementioned rules 1-4; for example, when the first recommendation request meets the corresponding recommendation interval duration, whether the current recommendation times reach a preset time threshold value is judged, and if yes, no recommendation is made.
Of course, there may be more scenarios of rule combination, which are within the protection scope of the present embodiment, but they are not exhaustive here.
Therefore, by adopting the scheme, the habit of the played first content is determined by combining the historical data of the user, and the recommendation request is further determined; and outputting a recommendation request for the user before the user plays the first content again; therefore, the user with certain playing habits can be recommended, the user can take the playing habits of the user as fixed behaviors on the premise of meeting the user habits, the operation of the user is quicker and more convenient, and the use experience of the user is improved.
In one implementation, fig. 3 shows a schematic diagram of a content recommendation device according to an embodiment of the present invention, including:
a habit generation unit 31 for determining a first habit of a target user based on historical data of the target user; wherein the historical data at least comprises: the content played by the target user in different historical time periods in at least one historical time period; the first habit of the target user is to play first content in a historical first time period;
a processing unit 32, configured to generate a first recommendation request based on a first habit of the target user; wherein the first recommendation request is to ask a target user whether the first content will be played for a first time period as a fixed behavior; when the target user requests to play first content in a first time period is received, the first recommendation request is sent to the target user through an output unit before the first content is played for the target user;
an output unit 33, configured to send the first recommendation request to the target user.
Here, the apparatus provided in this embodiment may be a server on the network side; of course, the terminal device may be a user terminal.
When the device is a terminal device, the device can acquire the historical data of the target user through the terminal device and then execute the processing of each unit, and in addition, when the device is the terminal device, the output unit can be a player of the terminal device, such as a loudspeaker, and the like, namely, the first recommendation request is played for the target user through the loudspeaker of the terminal device.
When the apparatus is a server, the history data of a plurality of terminal devices may be received to obtain the history data of a plurality of users, the plurality of users may be sequentially used as target users, the history data of the target user stored in the server may be extracted, and the server may perform the foregoing functions.
The historical data of the user can be historical data within a certain time period. Accordingly, the habit of the target user can be obtained, which is the habit of the target user within the certain time period, that is, the habit within 1 month, or the habit within 7 days.
Still further, the habit of the target user may be understood as one or more habits of the target user. Determining a first habit of a target user in relation to the embodiment; may be one of a plurality of habits of the target user. The first habit of the target user is selected from the habits of the target user, and the first habit may be selected from the habits at random or from a low history playing frequency.
The processing of the processing unit 32 mainly includes controlling the terminal device of the target user to play the first recommendation request at the time point when the first recommendation request is sent to the target user, that is, before the first content is played for the target user when the user requests to play the first content.
The process of sending the first recommendation request to the target user may be performed based on at least one of the following rules:
rule 1, on the basis of fig. 3, see fig. 4, the apparatus further comprises:
a receiving unit 34, configured to receive first feedback information of the target user for the first recommendation request.
The processing unit 32 is configured to delete the recommendation of playing the first content in the first time period for the target user when the first feedback information of the target user for the first recommendation request is rejection.
That is, when the target user rejects the first recommendation request, the first content is not recommended to the target user later, so as to avoid disturbing the target user.
In addition, when the first feedback information of the target user for the first recommendation request is an agreement, the target user is set to play the first content in a first time period as a fixed behavior of the target user.
Rule 2, the processing unit 32 is configured to determine whether first feedback information of the target user for the first recommendation request is received within a first preset time after the first recommendation request is sent to the target user; and if first feedback information of the target user for the first recommendation request is not received, the first recommendation request is sent to the target user again when the target user requests to play the first content in the first time period is received again.
The first preset time period may be set according to actual conditions, and may be, for example, 3 seconds.
It should be noted that, if the first feedback information is not received within the first preset time period, the first content is still played according to the request of the target user. In addition, at this time, it may be recorded that the first recommendation request is not unrefed, and when the first time period is reached again and the target user requests to play the first content again, the first recommendation request is sent to the target user again.
Rule 3, the processing unit 32 is configured to determine whether the number of times of sending the first recommendation request to the target user reaches a preset number threshold; if the frequency of sending the first recommendation request to the target user does not reach a preset frequency threshold value, sending the first recommendation request to the target user; otherwise, the first recommendation request is not sent to the target user.
That is, the accumulation may be performed each time the first recommendation request is sent to the target user; it should be noted that the accumulation principle is that the number of times of sending the first recommendation request is accumulated only when the target user does not feed back the first recommendation request.
If the target user feeds back the first recommendation request, that is, when the first feedback information is sent, processing may be performed in combination with rule 1, and at this time, no matter whether the first feedback information is an agreement or a rejection, the first recommendation request is not accumulated.
In addition, the rule 3 may also be combined with the rule 2, that is, when the first recommendation request is sent to the target user according to the rule 2 for multiple times, the cumulative number of times reaches the number threshold, and recommendation may not be performed for the target user any more.
Further, when it is determined that the first recommendation request is not to be sent to the target user, the first recommendation request may be deleted.
Rule 4, the processing unit 32 is configured to determine whether a second recommendation request has been sent to the target user within a second preset time period before the first recommendation request is sent to the target user; the second recommendation request is used for inquiring whether the target user plays the second content in a second time period as a fixed behavior;
and if the second recommendation request is sent to the target user, not sending the first recommendation request to the target user.
The second preset time period may be set according to a requirement, and for example, may be 1 day or 2 days.
That is, the rule is mainly that multiple requests are not recommended to the target user for multiple times within a second preset time length; alternatively, it may be understood that, within the second preset time period, the sending of the recommendation request is performed only once for the target user.
Rule 5, the processing unit 32 is configured to send the first recommendation request to the target user when the first recommendation request satisfies the corresponding recommendation interval duration.
The preset recommended interval duration may be set according to actual conditions, for example, may be 2 days, or 4 days, or 1 day.
Similarly, the present rule can also be processed in conjunction with the aforementioned rules 1-4; for example, when the first recommendation request meets the corresponding recommendation interval duration, whether the current recommendation times reach a preset time threshold value is judged, and if yes, no recommendation is made.
Of course, there may be more scenarios of rule combination, which are within the protection scope of the present embodiment, but they are not exhaustive here.
It should be noted that, for functions of each unit in the apparatus according to the embodiment of the present invention, reference may be made to corresponding descriptions in the foregoing method, and details are not repeated here.
Therefore, by adopting the scheme, the habit of the played first content is determined by combining the historical data of the user, and the recommendation request is further determined; and outputting a recommendation request for the user before the user plays the first content again; therefore, the user with certain playing habits can be recommended, the user can take the playing habits of the user as fixed behaviors on the premise of meeting the user habits, the operation of the user is quicker and more convenient, and the use experience of the user is improved.
Fig. 5 shows a block diagram of an apparatus according to an embodiment of the invention. As shown in fig. 5, includes: a memory 910 and a processor 920, the memory 910 having stored therein computer programs operable on the processor 920. The processor 920 implements the method in the above embodiments when executing the computer program. The number of the memory 910 and the processor 920 may be one or more.
The device also includes:
and a communication interface 930 for communicating with an external device to perform data interactive transmission.
Memory 910 may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
If the memory 910, the processor 920 and the communication interface 930 are implemented independently, the memory 910, the processor 920 and the communication interface 930 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
Optionally, in an implementation, if the memory 910, the processor 920 and the communication interface 930 are integrated on a chip, the memory 910, the processor 920 and the communication interface 930 may complete communication with each other through an internal interface.
An embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, and the computer program is used for implementing the method of any one of the above embodiments when being executed by a processor.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following technologies, which are well known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried out in the method of implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present invention, and these should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (14)

1. A content recommendation method, comprising:
determining a first habit of a target user based on playing contents with playing times exceeding a preset threshold value in the historical data of the target user and corresponding playing time periods; the first habit of the target user is to play first content in a first time period;
generating a first recommendation request based on a first habit of the target user; wherein the first recommendation request is to ask a target user whether the first content will be played for a first time period as a fixed behavior;
when a first content requested to be played by the target user in a first time period is received, before the first content is played for the target user, judging whether a second recommendation request is sent to the target user within a second preset time before the first recommendation request is sent to the target user; the second recommendation request is used for inquiring whether the target user plays the second content in the second time period as a fixed behavior; and if the second recommendation request is not sent to the target user, sending the first recommendation request to the target user.
2. The method of claim 1, wherein after sending the first recommendation request to the target user, the method further comprises:
receiving first feedback information of the target user aiming at the first recommendation request;
and when the first feedback information of the target user for the first recommendation request is refused, deleting the recommendation of playing the first content for the target user in a first time period.
3. The method of claim 1, further comprising:
judging whether first feedback information of the target user for the first recommendation request is received within a first preset time after the first recommendation request is sent to the target user;
and if first feedback information of the target user for the first recommendation request is not received, the first recommendation request is sent to the target user again when the target user requests to play the first content in the first time period is received again.
4. The method according to any one of claims 1-3, further comprising:
judging whether the number of times of sending the first recommendation request to the target user reaches a preset number threshold value;
if the frequency of sending the first recommendation request to the target user does not reach a preset frequency threshold value, sending the first recommendation request to the target user; otherwise, the first recommendation request is not sent to the target user.
5. The method of claim 1, further comprising:
and if the second recommendation request is sent to the target user, not sending the first recommendation request to the target user.
6. The method of claim 1, wherein sending the first recommendation request to the target user is:
and when the first recommendation request meets the corresponding recommendation interval duration, sending the first recommendation request to the target user.
7. A content recommendation apparatus characterized by comprising:
the habit generation unit is used for determining a first habit of the target user based on the playing content of which the playing times exceed a preset threshold value in the historical data of the target user and the corresponding playing time period; the first habit of the target user is to play first content in a first time period;
the processing unit is used for generating a first recommendation request based on the first habit of the target user; wherein the first recommendation request is to ask a target user whether the first content will be played for a first time period as a fixed behavior; when a first content requested to be played by the target user in a first time period is received, before the first content is played for the target user, whether a second recommendation request is sent to the target user within a second preset time before the first recommendation request is sent to the target user is judged; the second recommendation request is used for inquiring whether the target user plays the second content in the second time period as a fixed behavior; if the second recommendation request is not sent to the target user, the first recommendation request is sent to the target user through an output unit;
and the output unit is used for sending the first recommendation request to the target user.
8. The apparatus of claim 7, further comprising:
the receiving unit is used for receiving first feedback information of the target user aiming at the first recommendation request;
the processing unit is configured to delete the recommendation of playing the first content for the target user in the first time period when the first feedback information of the target user for the first recommendation request is rejection.
9. The apparatus according to claim 7, wherein the processing unit is configured to determine whether first feedback information of the target user for the first recommendation request is received within a first preset time period after the first recommendation request is sent to the target user; and if first feedback information of the target user for the first recommendation request is not received, the first recommendation request is sent to the target user again through the output unit when the target user requests to play the first content in the first time period is received again.
10. The apparatus according to any one of claims 7 to 9, wherein the processing unit is configured to determine whether the number of times of sending the first recommendation request to the target user reaches a preset number threshold; if the frequency of sending the first recommendation request to the target user does not reach a preset frequency threshold value, sending the first recommendation request to the target user; otherwise, the first recommendation request is not sent to the target user.
11. The apparatus of claim 7, wherein the processing unit is configured to determine not to send the first recommendation request to the target user if a second recommendation request has been sent to the target user.
12. The apparatus of claim 7, wherein the processing unit is configured to send the first recommendation request to the target user through the output unit when the first recommendation request satisfies the corresponding recommendation interval duration.
13. A content recommendation apparatus characterized by comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-6.
14. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
CN201910578717.7A 2019-06-28 2019-06-28 Content recommendation method and device Active CN110275981B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910578717.7A CN110275981B (en) 2019-06-28 2019-06-28 Content recommendation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910578717.7A CN110275981B (en) 2019-06-28 2019-06-28 Content recommendation method and device

Publications (2)

Publication Number Publication Date
CN110275981A CN110275981A (en) 2019-09-24
CN110275981B true CN110275981B (en) 2022-06-03

Family

ID=67963614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910578717.7A Active CN110275981B (en) 2019-06-28 2019-06-28 Content recommendation method and device

Country Status (1)

Country Link
CN (1) CN110275981B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112541845B (en) * 2020-12-15 2023-12-01 泰康保险集团股份有限公司 Online training method and device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8302127B2 (en) * 2000-09-25 2012-10-30 Thomson Licensing System and method for personalized TV
CN104780448A (en) * 2015-03-18 2015-07-15 福建新大陆通信科技股份有限公司 A time-period-based TV serial tracking method and system
CN108736998B (en) * 2017-04-13 2020-02-18 ***通信有限公司研究院 Program playing method, device and terminal

Also Published As

Publication number Publication date
CN110275981A (en) 2019-09-24

Similar Documents

Publication Publication Date Title
CN109542361B (en) Distributed storage system file reading method, system and related device
CN110324680B (en) Video pushing method and device, server, client and storage medium
JP2000315215A (en) Device and method for distributing contents
CN106937167A (en) A kind of background audio processing method and its mobile terminal
CN111901619B (en) Message pushing method and device
CN110275981B (en) Content recommendation method and device
CN106649645B (en) Playlist processing method and device
CN111614978B (en) Multimedia material processing method and device and multimedia playing equipment
CN111064971B (en) Method for customizing broadcast notification and related equipment
CN109756616B (en) Message processing method and device, storage medium and electronic device
CN108966041A (en) A kind of audio and video playing buries point methods and device
CN113988559B (en) Disturbance-free method and device for questionnaire delivery
CN111124308A (en) Performance analysis method and device, electronic equipment and storage medium
CN110970059A (en) Multimedia information playing method and device and readable storage medium
JP5512425B2 (en) Request receiving apparatus, request receiving method, and program
CN112837694B (en) Equipment awakening method and device, storage medium and electronic device
CN111787268B (en) Audio signal processing method and device, electronic equipment and storage medium
CN111008345B (en) Method and system for accessing fixed-point access URL
CN113055784A (en) Volume adjusting method and device
CN110278488B (en) Play control method and device
JP4550723B2 (en) Data editing apparatus and its program
CN107066444B (en) Corpus generation method and apparatus based on multi-round interaction
CN111356006A (en) Video playing method, device, server and storage medium
CN114157991B (en) Recording and playing method and equipment for group call
CN115442226B (en) Log acquisition method, related device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210511

Address after: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant after: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

Applicant after: Shanghai Xiaodu Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant