System and method for avoiding content repeated recommendation

文档序号:7824 发布日期:2021-09-17 浏览:26次 中文

1. A system for avoiding content re-recommendation, comprising: the system comprises a server side and at least one client side, wherein the client side is used by at least one user;

the server side comprises a communication device and a memory, the memory is used for storing at least one content to be recommended, and the communication device is used for sending the content to be recommended to the client side;

the client comprises a first cache, a second cache and a processor, wherein the first cache is used for receiving the content to be recommended, the second cache is used for recording historical recommended content, and the processor is used for matching the content to be recommended with the historical recommended content and executing recommendation operation on the content to be recommended which does not belong to the historical recommended content.

2. The system of claim 1, wherein the historical recommendation content comprises a first historical recommendation content that was read by the user and a second historical recommendation content that was not read by the user;

the processor is further configured to match the content to be recommended with the first historical recommended content and the second historical recommended content, and perform a recommendation operation on the content to be recommended that does not belong to the first historical recommended content and that belongs to the second historical recommended content.

3. The system of claim 2, wherein the processor is further configured to obtain a content recommendation condition of the user, and perform a recommendation operation on the content to be recommended, which is not the first historical recommended content and belongs to the second historical recommended content, if the content to be recommended satisfies the content recommendation condition.

4. A method for avoiding content re-recommendation, the method being applied to a client, the client being used by at least one user, and the method comprising:

receiving content to be recommended sent by a server;

and matching the content to be recommended with historical recommended content, and performing recommendation operation on the content to be recommended which does not belong to the historical recommended content.

5. The method of claim 4, wherein the historical recommendation content comprises a first historical recommendation content read by the user and a second historical recommendation content not read by the user;

correspondingly, matching the content to be recommended with the historical recommended content, and performing a recommendation operation on the content to be recommended which does not belong to the historical recommended content, including:

and matching the content to be recommended with the first historical recommended content and the second historical recommended content respectively, and performing recommendation operation on the content to be recommended which does not belong to the first historical recommended content and belongs to the second historical recommended content.

6. The method according to claim 5, wherein performing a recommendation operation on the content to be recommended that does not belong to the first history recommended content and belongs to the second history recommended content comprises:

acquiring content recommendation conditions of the user;

and under the condition that the content to be recommended, which does not belong to the first historical recommended content and belongs to the second historical recommended content, meets the content recommendation condition, performing recommendation operation on the content to be recommended.

7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of the method for avoiding content re-recommendation according to any of claims 4 to 6.

8. A non-transitory computer readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for avoiding content re-recommendation according to any one of claims 4 to 6.

Background

At present, internet products are continuously developed, and a lot of products for recommending resources to users appear, for example, a jittering video can be used for pertinently recommending short videos to users, and a news item can be used for pertinently recommending news to users at present. Due to the huge amount of content, the same content may be recommended to the user multiple times, which may result in a poor user experience.

Disclosure of Invention

To solve the above problems, embodiments of the present invention provide a system and method for avoiding content duplicate recommendation that overcomes or at least partially solves the above problems.

According to a first aspect of embodiments of the present invention, there is provided a system for avoiding content duplicate recommendation, including: the system comprises a server side and at least one client side, wherein the client side is used by at least one user; the server side comprises a communication device and a memory, the memory is used for storing at least one content to be recommended, and the communication device is used for sending the content to be recommended to the client side; the client comprises a first cache, a second cache and a processor, wherein the first cache is used for receiving the content to be recommended, the second cache is used for recording historical recommended content, and the processor is used for matching the content to be recommended with the historical recommended content and executing recommendation operation on the content to be recommended which does not belong to the historical recommended content.

Optionally, the historical recommended content includes a first historical recommended content read by the user and a second historical recommended content not read by the user; the processor is further configured to match the content to be recommended with the first historical recommended content and the second historical recommended content, and perform a recommendation operation on the content to be recommended that does not belong to the first historical recommended content and that belongs to the second historical recommended content.

Optionally, the processor is further configured to obtain a content recommendation condition of the user, and perform a recommendation operation on the content to be recommended when the content to be recommended, which does not belong to the first historical recommended content and belongs to the second historical recommended content, meets the content recommendation condition.

According to a second aspect of the embodiments of the present invention, there is provided a method for avoiding content duplicate recommendation, including: applied to a client, said client being used by at least one user, comprising: receiving content to be recommended sent by a server; and matching the content to be recommended with historical recommended content, and performing recommendation operation on the content to be recommended which does not belong to the historical recommended content.

Optionally, the historical recommended content includes a first historical recommended content read by the user and a second historical recommended content not read by the user;

correspondingly, matching the content to be recommended with the historical recommended content, and performing a recommendation operation on the content to be recommended which does not belong to the historical recommended content, including: and matching the content to be recommended with the first historical recommended content and the second historical recommended content respectively, and performing recommendation operation on the content to be recommended which does not belong to the first historical recommended content and belongs to the second historical recommended content.

Optionally, the performing, by the content to be recommended that does not belong to the first historical recommended content and belongs to the second historical recommended content, a recommendation operation includes: acquiring content recommendation conditions of the user; and under the condition that the content to be recommended, which does not belong to the first historical recommended content and belongs to the second historical recommended content, meets the content recommendation condition, performing recommendation operation on the content to be recommended.

According to a third aspect of the embodiments of the present invention, there is provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the method for avoiding content duplicate recommendation provided in any one of the various possible implementations of the first aspect.

According to a fourth aspect of embodiments of the present invention, there is provided a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of avoiding content duplicate recommendations as provided by any of the various possible implementations of the first aspect.

According to the system for avoiding content repeated recommendation, which is provided by the embodiment of the invention, the content to be recommended is matched with the historical recommended content, and the recommendation operation is performed on the content to be recommended which does not belong to the historical recommended content, so that the content repeated recommendation is avoided, and the user experience of a user is not influenced.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from these without inventive effort.

Fig. 1 is a schematic structural diagram of a system for avoiding content re-recommendation according to an embodiment of the present invention;

FIG. 2 is a flowchart illustrating a method for avoiding content re-recommendation according to an embodiment of the present invention;

fig. 3 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

In view of the above problems in the prior art, an embodiment of the present invention provides a system for avoiding content re-recommendation, which is shown in fig. 1 and includes: a server 201, at least one client 202, wherein the client 202 is used by at least one user; the server 201 comprises a communication device and a memory, wherein the memory is used for storing at least one content to be recommended, and the communication device is used for sending the content to be recommended to the client; the client comprises a first cache, a second cache and a processor, wherein the first cache is used for receiving the content to be recommended, the second cache is used for recording historical recommended content, and the processor is used for matching the content to be recommended with the historical recommended content and executing recommendation operation on the content to be recommended which does not belong to the historical recommended content.

The server 201 may be a remote server or a cloud, and the client 202 may be an intelligent device installed with a content recommendation APP, such as a mobile phone, a tablet computer, or a smart watch, and the specific type of the device is not limited in the embodiment of the present invention. The content recommendation APP can recommend at least one type of content, such as video content, text content, game content, and the like.

The server 201 further includes a communication device and a memory, and the server 201 performs network communication with the client 202 through the communication device, so as to implement data transmission, that is, content to be recommended can be transmitted to the client. The memory is used for storing contents to be recommended, wherein a corresponding ID can be set for each content. When determining the content to be recommended, the corresponding ID may be obtained first, and the corresponding content may be transmitted to the client according to the ID.

The client 202 may include at least one communication receiving device, and receives the instruction and the content to be recommended from the server 201. The content to be recommended, which is received currently or in real time, is stored in a first cache instead of being directly recommended to the user for viewing. The client 202 is then further provided with a second cache in which the historical recommendation content previously issued by the server is stored. That is, the server 201 will issue n times of contents to be recommended, the first cache stores the nth time of contents to be recommended, and the second cache stores the 1 st to n-1 st times of contents to be recommended. In order to avoid repeated recommendation of content, firstly, the processor matches the content to be recommended with historical recommended content, determines whether the content to be recommended is recommended before, and if so, does not recommend at present; if not previously recommended, it may be recommended.

According to the system for avoiding content repeated recommendation, which is provided by the embodiment of the invention, the content to be recommended is matched with the historical recommended content, and the recommendation operation is performed on the content to be recommended which does not belong to the historical recommended content, so that the content repeated recommendation is avoided, and the user experience of a user is not influenced.

Based on the content of the above embodiment, as an optional embodiment, the history recommended content includes a first history recommended content read by the user and a second history recommended content not read by the user; the processor is further configured to match the content to be recommended with the first historical recommended content and the second historical recommended content, and perform a recommendation operation on the content to be recommended that does not belong to the first historical recommended content and that belongs to the second historical recommended content.

Specifically, in the use process of the personalized recommended APP, the speed of reading the content by the user is high, and the APP may not feed back whether the user has read or not to the server in time, so that the embodiment of the invention executes the judgment on whether the user has read or not at the client, and avoids recommending the content which is read by the user but is not fed back to the server to the user again, which causes poor experience.

That is, in the embodiment of the present invention, the read content and the unread but previously recommended content are further stored. Therefore, the content which is recommended before but not read by the user can be recommended to the user again, so that the waste of the content is avoided, namely the content which is recommended but not read by the user is wasted.

Based on the content of the foregoing embodiment, as an optional embodiment, the processor is further configured to obtain a content recommendation condition of the user, and perform a recommendation operation on the content to be recommended, where the content to be recommended that does not belong to the first history recommended content and belongs to the second history recommended content satisfies the content recommendation condition.

Specifically, in the using process of the APP, the user may already judge that the user does not want to read by seeing the video cover or name or screenshot of the content, and then the content may also be recommended unread content. In order to avoid recommending unread recommended content which the user does not want to read to the user again, a determination operation is also performed before recommendation, namely, whether the content of the subject is the content preferred by the user is determined, and if the content is not the content which the user clearly marks the preference, the content is not recommended any more even if the content is unread before.

Based on the system provided by the above embodiment, an embodiment of the present invention further provides a method for avoiding content re-recommendation, which is applied to a client, where the client is used by at least one user, and referring to fig. 2, the method includes:

step 101, receiving a content to be recommended sent by a server;

and 102, matching the content to be recommended with historical recommended content, and performing recommendation operation on the content to be recommended which does not belong to the historical recommended content.

The server can be a remote server or a cloud, and the client can be an intelligent device provided with a content recommendation APP, such as a mobile phone, a tablet computer or a smart watch. The content recommendation APP can recommend at least one type of content, such as video content, text content, game content, and the like.

The server further comprises a communication device and a memory, and the server is in network communication connection with the client through the communication device, so that data transmission is realized, namely, the content needing to be recommended can be transmitted to the client. The memory is used for storing contents to be recommended, wherein a corresponding ID can be set for each content. When determining the content to be recommended, the corresponding ID may be obtained first, and the corresponding content may be transmitted to the client according to the ID.

The client side can comprise at least one communication receiving device for receiving the instruction and the content to be recommended sent by the server side. The content to be recommended, which is received currently or in real time, is stored in a first cache instead of being directly recommended to the user for viewing. Then the client is also provided with a second cache, and the cache stores the historical recommended content issued by the server. Namely, the server issues the content to be recommended for n times, the first cache stores the content to be recommended for the n time, and the second cache stores the content to be recommended from 1 st to n-1 st. In order to avoid repeated recommendation of content, firstly, the processor matches the content to be recommended with historical recommended content, determines whether the content to be recommended is recommended before, and if so, does not recommend at present; if not previously recommended, it may be recommended.

According to the method for avoiding content repeated recommendation, provided by the embodiment of the invention, the content to be recommended is matched with the historical recommended content, and the recommendation operation is performed on the content to be recommended which does not belong to the historical recommended content, so that the content repeated recommendation is avoided, and the user experience of a user is not influenced.

Based on the content of the above embodiment, as an optional embodiment, the history recommended content includes a first history recommended content read by the user and a second history recommended content not read by the user; correspondingly, matching the content to be recommended with the historical recommended content, and performing a recommendation operation on the content to be recommended which does not belong to the historical recommended content, including: and matching the content to be recommended with the first historical recommended content and the second historical recommended content respectively, and performing recommendation operation on the content to be recommended which does not belong to the first historical recommended content and belongs to the second historical recommended content.

Specifically, in the use process of the personalized recommended APP, the speed of reading the content by the user is high, and the APP may not feed back whether the user has read or not to the server in time, so that the embodiment of the invention executes the judgment on whether the user has read or not at the client, and avoids recommending the content which is read by the user but is not fed back to the server to the user again, which causes poor experience.

That is, in the embodiment of the present invention, the read content and the unread but previously recommended content are further stored. Therefore, the content which is recommended before but not read by the user can be recommended to the user again, so that the waste of the content is avoided, namely the content which is recommended but not read by the user is wasted.

Based on the content of the foregoing embodiment, as an optional embodiment, performing a recommendation operation on the content to be recommended that does not belong to the first history recommended content and belongs to the second history recommended content includes: and acquiring content recommendation conditions of the user, and executing recommendation operation on the content to be recommended under the condition that the content to be recommended, which does not belong to the first history recommended content and belongs to the second history recommended content, meets the content recommendation conditions.

Specifically, in the using process of the APP, the user may already judge that the user does not want to read by seeing the video cover or name or screenshot of the content, and then the content may also be recommended unread content. In order to avoid recommending unread recommended content which the user does not want to read to the user again, a determination operation is also performed before recommendation, namely, whether the content of the subject is the content preferred by the user is determined, and if the content is not the content which the user clearly marks the preference, the content is not recommended any more even if the content is unread before.

An embodiment of the present invention provides an electronic device, as shown in fig. 3, the electronic device includes: a processor (processor)301, a communication Interface (communication Interface)302, a memory (memory)303 and a communication bus 304, wherein the processor 301, the communication Interface 302 and the memory 303 complete communication with each other through the communication bus 304. The processor 301 may call a computer program running on the memory 303 and operable on the processor 301 to perform the method for avoiding content duplicate recommendation provided by the above embodiments, for example, including: receiving content to be recommended sent by a server; and matching the content to be recommended with historical recommended content, and performing recommendation operation on the content to be recommended which does not belong to the historical recommended content.

In addition, the logic instructions in the memory 303 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Embodiments of the present invention further provide a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the method for avoiding content duplicate recommendation provided in the foregoing embodiments when executed by a processor, for example, the method includes: receiving content to be recommended sent by a server; and matching the content to be recommended with historical recommended content, and performing recommendation operation on the content to be recommended which does not belong to the historical recommended content.

The above-described embodiments of the electronic device and the like are merely illustrative, and units illustrated as separate components may or may not be physically separate, and components displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.

Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the various embodiments or some parts of the methods of the embodiments.

Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:一种IOS消息推送方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!