[go: up one dir, main page]

CN114936324A - News recommendation method, device, terminal device and storage medium - Google Patents

News recommendation method, device, terminal device and storage medium Download PDF

Info

Publication number
CN114936324A
CN114936324A CN202210725579.2A CN202210725579A CN114936324A CN 114936324 A CN114936324 A CN 114936324A CN 202210725579 A CN202210725579 A CN 202210725579A CN 114936324 A CN114936324 A CN 114936324A
Authority
CN
China
Prior art keywords
user
news
information
recommendation
historical behavior
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.)
Pending
Application number
CN202210725579.2A
Other languages
Chinese (zh)
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.)
China Merchants Bank Co Ltd
Original Assignee
China Merchants Bank 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 China Merchants Bank Co Ltd filed Critical China Merchants Bank Co Ltd
Priority to CN202210725579.2A priority Critical patent/CN114936324A/en
Publication of CN114936324A publication Critical patent/CN114936324A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/906Clustering; Classification
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/9536Search customisation based on social or collaborative filtering

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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a news recommendation method, a device, a terminal device and a storage medium, wherein the news recommendation method comprises the following steps: acquiring attribute information and historical behavior information of a user; acquiring the historical behavior quantity of the user according to the historical behavior information; classifying the users according to the historical behavior quantity to obtain a user classification result; and according to the user classification result, aiming at different user classifications, recommending news to the user by adopting a corresponding unsupervised clustering method based on the self attribute information or historical behavior information of the user. The method and the system provide the unsupervised clustering news recommendation scheme for the mobile device user without accumulating a large amount of user browsing data and without investing manpower to label the data, and solve the problem of high cost investment of news recommendation.

Description

新闻推荐方法、装置、终端设备以及存储介质News recommendation method, device, terminal device and storage medium

技术领域technical field

本申请涉及移动互联网技术领域,尤其涉及一种新闻推荐方法、装置、终端设备以及存储介质。The present application relates to the field of mobile Internet technologies, and in particular, to a news recommendation method, apparatus, terminal device, and storage medium.

背景技术Background technique

随着移动设备的普及和新闻读者群体人群的不断增加,移动新闻推荐已经成为移动推荐领域的热点之一。如何根据用户特点和新闻特点进行新闻推荐,以提高推荐性能和用户满意度,成为新闻推荐系统的主要任务。传统的新闻推荐方法,首先需要积累大量的用户浏览数据,投入人力对数据打标签,然后训练有监督学习的模型实现新闻推荐。在实现本申请过程中发明人发现这种方法需要投入大量的数据成本和人工成本,难以实现移动设备这种小体量用户的新闻推荐,使得投入产出比严重失调。传统的有监督新闻推荐方法已经难以适应新的业务模式。With the popularity of mobile devices and the increasing number of news readers, mobile news recommendation has become one of the hot spots in the field of mobile recommendation. How to recommend news according to user characteristics and news characteristics to improve recommendation performance and user satisfaction has become the main task of news recommendation system. Traditional news recommendation methods first need to accumulate a large amount of user browsing data, invest manpower to label the data, and then train a supervised learning model to achieve news recommendation. During the process of realizing this application, the inventor found that this method requires a lot of data cost and labor cost, and it is difficult to implement news recommendation for a small-volume user such as a mobile device, which makes the input-output ratio seriously out of balance. Traditional supervised news recommendation methods have been difficult to adapt to new business models.

因此,有必要提出一种低成本投入的新闻推荐解决方案。Therefore, it is necessary to propose a low-cost news recommendation solution.

发明内容SUMMARY OF THE INVENTION

本申请的主要目的在于提供一种新闻推荐方法、装置、终端设备以及存储介质,旨在为移动设备用户提供无需积累大量用户浏览数据,无需投入人力对数据打标签的新闻推荐方案,解决新闻推荐的高成本投入问题。The main purpose of this application is to provide a news recommendation method, device, terminal device and storage medium, which aims to provide mobile device users with a news recommendation solution that does not need to accumulate a large amount of user browsing data, and does not need to invest manpower to label the data, so as to solve the problem of news recommendation. the high cost of investment.

为实现上述目的,本申请提供一种新闻推荐方法,所述新闻推荐方法包括:In order to achieve the above purpose, the present application provides a method for recommending news, the method for recommending news includes:

获取用户自身属性信息和历史行为信息;Obtain the user's own attribute information and historical behavior information;

根据所述历史行为信息获取用户的历史行为数量;Obtain the number of historical behaviors of the user according to the historical behavior information;

根据所述历史行为数量对用户进行分类,得到用户分类结果;Classify users according to the number of historical behaviors to obtain user classification results;

根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。According to the user classification result, for different user classifications, based on the user's own attribute information or historical behavior information, a corresponding unsupervised clustering method is adopted to recommend news to the user.

可选地,所述根据所述历史行为数量对用户进行分类,得到用户分类结果的步骤包括:Optionally, the step of classifying users according to the number of historical behaviors, and obtaining a user classification result includes:

将所述历史行为数量与预设阈值进行比较;comparing the number of historical behaviors with a preset threshold;

将所述历史行为数量大于或等于所述预设阈值的用户划分为A类用户;Divide users whose number of historical behaviors is greater than or equal to the preset threshold as Class A users;

将所述历史行为数量大于零且小于所述预设阈值的用户划分为B类用户;Divide the users whose number of historical behaviors is greater than zero and less than the preset threshold into Class B users;

将所述历史行为数量等于零的用户划分为C类用户。The users whose number of historical behaviors is equal to zero are divided into C-type users.

可选地,所述根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻的步骤包括:Optionally, according to the user classification result, for different user classifications, based on the user's own attribute information or historical behavior information, the step of adopting the corresponding unsupervised clustering method to recommend news to the user includes:

若所述用户分类结果为C类用户,则根据所述用户自身属性信息,并采用基于用户信息的推荐策略,向用户推荐对应的新闻。If the user classification result is a C-type user, according to the user's own attribute information, and adopting a recommendation strategy based on user information, the corresponding news is recommended to the user.

可选地,所述根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻的步骤包括:Optionally, according to the user classification result, for different user classifications, based on the user's own attribute information or historical behavior information, the step of adopting the corresponding unsupervised clustering method to recommend news to the user includes:

若所述用户分类结果为B类用户,则根据所述用户自身属性信息或历史行为信息,并采用基于用户信息的推荐策略、基于用户关注公司的推荐策略和基于用户浏览新闻的推荐策略,向用户推荐对应的新闻。If the user classification result is a B-type user, according to the user's own attribute information or historical behavior information, and adopt the recommendation strategy based on user information, the recommendation strategy based on the user's attention to the company, and the recommendation strategy based on the user's browsing news, The user recommends the corresponding news.

可选地,所述根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻的步骤包括:Optionally, according to the user classification result, for different user classifications, based on the user's own attribute information or historical behavior information, the step of adopting the corresponding unsupervised clustering method to recommend news to the user includes:

若所述用户分类结果为A类用户,则根据用户的历史行为信息,采用预设的推荐算法并基于用户浏览新闻的推荐策略,向用户推荐对应的新闻。If the user classification result is a category A user, then according to the user's historical behavior information, a preset recommendation algorithm is adopted and a recommendation strategy based on the user's news browsing is used to recommend corresponding news to the user.

可选地,所述用户的自身属性信息包含用户地域信息和所在部门信息,所述基于用户信息的推荐策略包括:根据所述用户地域信息和/或所在部门信息,推荐对应的热门新闻的推荐策略。Optionally, the user's own attribute information includes user region information and department information, and the recommendation strategy based on user information includes: recommending corresponding popular news recommendations according to the user region information and/or department information. Strategy.

可选地,所述历史行为信息包含用户的关注公司信息,所述基于用户关注公司的推荐策略包括:根据所述关注公司信息,推荐对应公司的当天新闻的推荐策略。Optionally, the historical behavior information includes information about the user's following companies, and the recommendation strategy based on the user's following companies includes: recommending a recommendation strategy for the current day's news of the corresponding company according to the following company information.

可选地,所述历史行为信息包含用户的浏览新闻信息、收藏新闻信息、搜索新闻信息,所述基于用户浏览新闻的推荐策略包括:Optionally, the historical behavior information includes the user's browsing news information, collecting news information, and searching for news information, and the recommendation strategy based on the user's browsing news includes:

若所述用户分类结果为B类用户,则根据所述浏览新闻信息,推荐与所述浏览新闻信息强关联的其他新闻的推荐策略;If the user classification result is a B-type user, recommending a recommendation strategy for other news strongly associated with the browsing news information according to the browsing news information;

若所述用户分类结果为A类用户,则根据所述浏览新闻信息、收藏新闻信息和搜索新闻信息,采用推荐算法进行新闻推荐的推荐策略。If the user classification result is a category A user, a recommendation algorithm is used to perform a recommendation strategy for news recommendation according to the browsing news information, saving news information and searching for news information.

可选地,所述根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻的步骤还包括:Optionally, according to the user classification result, for different user classifications, based on the user's own attribute information or historical behavior information, the step of adopting the corresponding unsupervised clustering method to recommend news to the user further includes:

获取候选推荐新闻;Get candidate recommendation news;

根据所述候选推荐新闻获取对应的新闻因素;Obtain corresponding news factors according to the candidate recommended news;

根据所述新闻因素设定对应的权重,得到不同权重的新闻因素;Set corresponding weights according to the news factors to obtain news factors with different weights;

根据所述不同权重的新闻因素,依据所述权重对所述候选推荐新闻进行综合排序;According to the news factors of different weights, comprehensively sort the candidate recommended news according to the weights;

根据所述用户的历史行为信息,对所述候选推荐新闻进行去重操作,得到新闻推荐列表;Perform a deduplication operation on the candidate recommended news according to the user's historical behavior information to obtain a news recommendation list;

根据所述新闻推荐列表向用户推荐新闻。Recommend news to the user according to the news recommendation list.

可选地,所述根据所述新闻推荐列表向用户推荐新闻的步骤之后,还包括:Optionally, after the step of recommending news to the user according to the news recommendation list, the method further includes:

获取用户从所述推荐新闻入口的新闻点击比例和对应浏览时长;Obtain the news click ratio and corresponding browsing duration of the user from the recommended news portal;

根据所述新闻点击比例和对应浏览时长进行推荐质量监控。The recommendation quality is monitored according to the news click ratio and the corresponding browsing time.

可选地,所述根据所述新闻推荐列表向用户推荐新闻的步骤之后,还包括:Optionally, after the step of recommending news to the user according to the news recommendation list, the method further includes:

获取用户对所述推荐新闻列表的操作行为信息;Obtain the user's operation behavior information on the recommended news list;

根据所述操作行为信息设置惩罚机制;setting a punishment mechanism according to the operation behavior information;

根据所述惩罚机制,对所述用户的所述候选推荐新闻的新闻因素进行权重的调整。According to the penalty mechanism, the weight of the news factor of the candidate recommended news of the user is adjusted.

本申请实施例还提出一种新闻推荐装置,所述新闻推荐装置包括:The embodiment of the present application further provides a news recommendation device, and the news recommendation device includes:

信息获取模块,用于获取用户自身属性信息和历史行为信息;The information acquisition module is used to acquire the user's own attribute information and historical behavior information;

数量获取模块,用于根据所述历史行为信息获取用户的历史行为数量;A quantity acquisition module, used for acquiring the historical behavior quantity of the user according to the historical behavior information;

用户分类模块,用于根据所述历史行为数量对用户进行分类,得到用户分类结果;A user classification module, configured to classify users according to the number of historical behaviors to obtain user classification results;

新闻推荐模块,用于根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。The news recommendation module is configured to, according to the user classification result, for different user classifications, and based on the user's own attribute information or historical behavior information, adopt a corresponding unsupervised clustering method to recommend news to the user.

本申请实施例还提出一种终端设备,所述终端设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的新闻推荐程序,所述新闻推荐程序被所述处理器执行时实现如上所述的新闻推荐方法的步骤。An embodiment of the present application further provides a terminal device, the terminal device includes a memory, a processor, and a news recommendation program stored on the memory and running on the processor, where the news recommendation program is processed by the The steps of implementing the above-mentioned news recommendation method when the server is executed.

本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有新闻推荐程序,所述新闻推荐程序被处理器执行时实现如上所述的新闻推荐方法的步骤。Embodiments of the present application further provide a computer-readable storage medium, where a news recommendation program is stored on the computer-readable storage medium, and when the news recommendation program is executed by a processor, the steps of the above-mentioned news recommendation method are implemented.

本申请实施例提出的新闻推荐方法、装置、终端设备以及存储介质,通过获取用户自身属性信息和历史行为信息;根据所述历史行为信息获取用户的历史行为数量;根据所述历史行为数量对用户进行分类,得到用户分类结果;根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。通过用户分类后使用对应的无监督聚类方法进行新闻推荐,可以解决移动设备用户新闻推荐需要积累大量用户浏览数据,投入人力对数据打标签,训练有监督学习模型等高成本投入问题。基于本申请方案,通过对用户进行分类,并对不同类别的用户运用相应的无需积累大量用户浏览数据,无需投入人力对数据打标签的无监督聚类方法提供推荐新闻,最后经过本申请方案解决了移动设备用户新闻推荐高成本投入问题。The news recommendation method, device, terminal device and storage medium proposed in the embodiments of the present application obtain the user's own attribute information and historical behavior information; acquire the user's historical behavior quantity according to the historical behavior information; Classification is performed to obtain a user classification result; according to the user classification result, for different user classifications, based on the user's own attribute information or historical behavior information, a corresponding unsupervised clustering method is adopted to recommend news to the user. By using the corresponding unsupervised clustering method for news recommendation after user classification, it can solve the high-cost investment problems such as accumulating a large amount of user browsing data, investing manpower to label the data, and training a supervised learning model for mobile device user news recommendation. Based on the solution of the present application, by classifying users and applying corresponding unsupervised clustering methods for different categories of users without accumulating a large amount of user browsing data and without investing manpower to label the data, the recommended news is provided. Finally, the solution is solved by the solution of the present application. It solves the problem of high cost of news recommendation for mobile device users.

附图说明Description of drawings

图1为本申请新闻推荐装置所属终端设备的功能模块示意图;FIG. 1 is a schematic diagram of functional modules of a terminal device to which the news recommendation apparatus of the application belongs;

图2为本申请新闻推荐方法第一示例性实施例的流程示意图;FIG. 2 is a schematic flowchart of a first exemplary embodiment of a news recommendation method of the present application;

图3为本申请新闻推荐方法第二示例性实施例的流程示意图;3 is a schematic flowchart of a second exemplary embodiment of a news recommendation method of the present application;

图4为本申请新闻推荐方法第七示例性实施例的流程示意图;FIG. 4 is a schematic flowchart of a seventh exemplary embodiment of the news recommendation method of the present application;

图5为本申请新闻推荐方法第八示例性实施例的流程示意图;FIG. 5 is a schematic flowchart of an eighth exemplary embodiment of the news recommendation method of the present application;

图6为本申请新闻推荐方法第九示例性实施例的流程示意图;6 is a schematic flowchart of a ninth exemplary embodiment of a news recommendation method of the present application;

图7为本申请新闻推荐方法第十示例性实施例的整体流程示意图。FIG. 7 is a schematic overall flow diagram of a tenth exemplary embodiment of a news recommendation method of the present application.

本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the purpose of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

本申请实施例的主要解决方案是:通过获取用户自身属性信息和历史行为信息;根据所述历史行为信息获取用户的历史行为数量;根据所述历史行为数量对用户进行分类,得到用户分类结果;根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。通过用户分类后使用对应的无监督聚类方法进行新闻推荐,可以解决移动设备用户新闻推荐需要积累大量用户浏览数据,投入人力对数据打标签,训练有监督学习模型等高成本投入问题。基于本申请方案,通过对用户进行分类,并对不同类别的用户运用相应的无需积累大量用户浏览数据,无需投入人力对数据打标签的无监督聚类方法提供推荐新闻,最后经过本申请方案解决了移动设备用户新闻推荐高成本投入问题。The main solutions of the embodiments of the present application are: obtaining the user's own attribute information and historical behavior information; obtaining the user's historical behavior quantity according to the historical behavior information; classifying the user according to the historical behavior quantity, and obtaining the user classification result; According to the user classification result, for different user classifications, based on the user's own attribute information or historical behavior information, a corresponding unsupervised clustering method is adopted to recommend news to the user. By using the corresponding unsupervised clustering method for news recommendation after user classification, it can solve the high-cost investment problems such as accumulating a large amount of user browsing data, investing manpower to label the data, and training a supervised learning model for mobile device user news recommendation. Based on the solution of the present application, by classifying users and applying corresponding unsupervised clustering methods for different categories of users without accumulating a large amount of user browsing data and without investing manpower to label the data, the recommended news is provided. Finally, the solution is solved by the solution of the present application. It solves the problem of high cost of news recommendation for mobile device users.

本申请实施例涉及的技术术语:Technical terms involved in the embodiments of this application:

监督学习,Supervised Learning;Supervised learning, Supervised Learning;

无监督学习,Unsupervised Learning;Unsupervised learning, Unsupervised Learning;

关联规则算法,The Association Rules Algorithm;Association Rules Algorithm, The Association Rules Algorithm;

协同过滤推荐,Collaborative Filtering Recommendation;Collaborative Filtering Recommendation, Collaborative Filtering Recommendation;

基于内容的推荐,Content-Based Recommendations;Content-Based Recommendations;

深度学习,Deep Learning。Deep Learning, Deep Learning.

其中,监督学习(Supervised Learning),又叫有监督学习、监督训练或有教师学习,是一种从标记的训练数据来推断一个功能的机器学习任务。利用一组已知类别的样本调整分类器的参数,使其达到所要求性能的过程。根据已有的数据集,知道输入和输出结果之间的关系。根据这种已知的关系,训练得到一个最优的模型。也就是说,在监督学习中训练数据既有特征(feature)又有标签(label),通过训练,让机器可以自己找到特征和标签之间的联系,在面对只有特征没有标签的数据时,可以判断出标签。监督学习有一种应用场景,其训练模型的输出可以是一个连续的值(称为回归分析),或者是预测一个分类标签(称作分类)。而在实际应用中,分类标签的获取常常需要极大的人工工作量,有时甚至非常困难。Among them, supervised learning, also known as supervised learning, supervised training or teacher learning, is a machine learning task that infers a function from labeled training data. The process of adjusting the parameters of the classifier to achieve the required performance using a set of samples of known classes. According to the existing dataset, know the relationship between the input and output results. According to this known relationship, an optimal model is obtained by training. That is to say, in supervised learning, the training data has both features and labels. Through training, the machine can find the connection between features and labels by itself. When faced with data with only features and no labels, Labels can be determined. Supervised learning has an application scenario where the output of a trained model can be a continuous value (called regression analysis), or predict a categorical label (called classification). In practical applications, the acquisition of classification labels often requires enormous manual workload, sometimes even very difficult.

无监督学习(Unsupervised Learning)是机器学习的一种方法,没有给定事先标记过的训练示例,自动对输入的资料进行分类或分群。无监督学习的过程可以理解为:我们不知道数据集中数据、特征之间的关系,而是根据聚类(cluster)或者一定的模型得到数据之间的关系。可以说,相比起监督学习,无监督学习更像是自学,让机器学会自己做事情,是没有标签的。其中,作为无监督学习的一种重要方法,聚类的思想就是把属性相似的样本归为一类。对于每一个数据点,我们可以把它归到一个特定的类,同时每个类之间的所有数据点在某种程度上有着共性,比如空间位置接近等特性。Unsupervised learning is a method of machine learning that automatically classifies or groups input data without given pre-labeled training examples. The process of unsupervised learning can be understood as: we do not know the relationship between data and features in the data set, but obtain the relationship between data according to a cluster or a certain model. It can be said that compared to supervised learning, unsupervised learning is more like self-learning, letting machines learn to do things by themselves, without labels. Among them, as an important method of unsupervised learning, the idea of clustering is to classify samples with similar attributes into one category. For each data point, we can assign it to a specific class, and all data points between each class have some commonality, such as spatial proximity and other characteristics.

关联规则算法(The Association Rules Algorithm),关联规则就是支持度(support)和置信度(confidence)分别满足用户给定阈值的规则。所谓关联,反映的是一个事件和其他事件之间依赖或关联的知识。关联规则是形如X→Y的蕴涵式,其中,X和Y分别称为关联规则的先导(LHS,left-hand-side)和后继(RHS,right-hand-side)。关联规则的定义为:假设I是项的集合。给定一个由项目构成的集合,称为项集D,其中每个事务T(Transaction)是I的非空子集,即,每一个项目都与一个唯一的标识符TID(TransactionID)对应。关联规则在D中的支持度是D中事务同时包含X、Y的百分比,即概率;置信度是D中事务已经包含X的情况下,包含Y的百分比,即条件概率。其中支持度是个百分比,指的是X、Y组合出现的次数与总次数之间的比例,支持度越高,代表这个组合出现的频率越大。置信度是个条件概率,指的是当出现了X时,会有多大概率出现Y。Association Rules Algorithm (The Association Rules Algorithm), an association rule is a rule whose support and confidence satisfy the user's given threshold. The so-called association reflects the knowledge of dependencies or associations between an event and other events. An association rule is an implication of the form X→Y, where X and Y are called the predecessor (LHS, left-hand-side) and successor (RHS, right-hand-side) of the association rule, respectively. Association rules are defined as: Suppose I is a set of items. Given a set consisting of items, called itemset D, where each transaction T(Transaction) is a non-empty subset of I, that is, each item corresponds to a unique identifier TID(TransactionID). The support of the association rule in D is the percentage of transactions in D that contain both X and Y, that is, the probability; the confidence is the percentage of Y that is included in the transaction in D when X is already included, that is, the conditional probability. The support is a percentage, which refers to the ratio between the number of occurrences of the X and Y combinations and the total number of times. The higher the support, the greater the frequency of the combination. Confidence is a conditional probability, which refers to how likely it is that Y will occur when X occurs.

协同过滤推荐(Collaborative Filtering Recommendation)通过分析用户兴趣,在用户群中找到指定用户的相似(兴趣)用户,综合这些相似用户对某一信息的评价,形成系统对该指定用户对此信息的喜好程度预测。Collaborative filtering recommendation (Collaborative Filtering Recommendation) analyzes user interests, finds similar (interested) users of the specified user in the user group, and integrates the evaluation of these similar users for a certain information to form the system's preference for the specified user. predict.

基于内容的推荐(Content-Based Recommendations)是基于标的物相关信息、用户相关信息即用户对标的物的操作行为来构建推荐算法模型,为用户提供推荐服务。其中,标的物相关信息可以是对标的物文字描述的metadata信息、标签、用户评论、人工标注的信息等。用户相关信息是指人口统计学信息(如年龄、性别、偏好、地域、收入等等)。用户对标的物的操作行为可以是评论、收藏、点赞、浏览、点击等。基于内容的推荐算法一般只依赖于用户自身的行为为用户提供推荐,不涉及到其他用户的行为。Content-Based Recommendations (Content-Based Recommendations) is to build a recommendation algorithm model based on the target-related information and user-related information, that is, the user's operation behavior on the target, and provide recommendation services for users. The target-related information may be metadata information, tags, user comments, manually annotated information, and the like describing the text of the target. User-related information refers to demographic information (eg, age, gender, preferences, region, income, etc.). The user's operation behavior on the target object may be comments, favorites, likes, browsing, clicks, etc. Content-based recommendation algorithms generally only rely on the user's own behavior to provide recommendations for users, and do not involve the behavior of other users.

深度学习(Deep Learning)是机器学习的一个新的分支和一类重要方法,其主要思想是对多层人工神经网络进行学习获得自动特征提取和模式识别能力。深度学习通过组合低层的特征,形成更加抽象的高层表示属性或特征,以发现数据的分布式特征表示。深度学习可通过学习一种深层次非线性网络结构,表征用户和项目相关的海量数据,具有强大的从样本中学习数据集本质特征的能力,能够获取用户和项目深层次特征表示。深度学习通过从多源异构数据中进行自动特征学习,从而将不同数据映射到一个相同的隐空间,能够获得数据的统一表征。将深度学习应用于推荐系统中,可以更好地理解用户需求、项目特点以及它们之间的历史交互。Deep learning is a new branch of machine learning and an important class of methods. Its main idea is to learn multi-layer artificial neural networks to obtain automatic feature extraction and pattern recognition capabilities. Deep learning combines low-level features to form more abstract high-level representation attributes or features to discover distributed feature representations of data. Deep learning can characterize massive data related to users and items by learning a deep nonlinear network structure. Through automatic feature learning from multi-source heterogeneous data, deep learning can map different data to the same latent space, and can obtain a unified representation of the data. Applying deep learning to recommender systems can better understand user needs, item characteristics, and historical interactions between them.

具体地,参照图1,图1为本申请新闻推荐装置所属终端设备的功能模块示意图。该新闻推荐装置可以为独立于终端设备的、能够进行新闻推荐、网络模型训练的装置,其可以通过硬件或软件的形式承载于终端设备上。该终端设备可以为手机、平板电脑等具有数据处理功能的智能移动终端,还可以为具有数据处理功能的固定终端设备或服务器等。Specifically, referring to FIG. 1 , FIG. 1 is a schematic diagram of functional modules of a terminal device to which the news recommendation apparatus of the present application belongs. The news recommendation apparatus may be an apparatus independent of the terminal device, capable of performing news recommendation and network model training, and may be carried on the terminal device in the form of hardware or software. The terminal device may be an intelligent mobile terminal with a data processing function, such as a mobile phone or a tablet computer, or a fixed terminal device or a server with a data processing function.

在本实施例中,该新闻推荐装置所属终端设备至少包括输出模块110、处理器120、存储器130以及通信模块140。In this embodiment, the terminal device to which the news recommendation apparatus belongs includes at least an output module 110 , a processor 120 , a memory 130 and a communication module 140 .

存储器130中存储有操作系统以及新闻推荐程序,新闻推荐装置可以将获取的用户自身属性信息和历史行为信息,通过历史行为信息获取的用户历史行为数量,根据历史行为数量对用户进行分类所得到的用户分类结果,以及针对不同用户分类,基于用户自身属性信息或历史行为信息所采用的对应的无监督聚类算法等信息存储于该存储器130中;输出模块110可为显示屏等。通信模块140可以包括WIFI模块、移动通信模块以及蓝牙模块等,通过通信模块140与外部设备或服务器进行通信。An operating system and a news recommendation program are stored in the memory 130, and the news recommendation device can obtain the obtained user's own attribute information and historical behavior information, the user's historical behavior quantity obtained through the historical behavior information, and classify the user according to the historical behavior quantity. The user classification results and the corresponding unsupervised clustering algorithms used for different user classifications based on the user's own attribute information or historical behavior information are stored in the memory 130; the output module 110 may be a display screen or the like. The communication module 140 may include a WIFI module, a mobile communication module, a Bluetooth module, etc., and communicate with an external device or a server through the communication module 140 .

其中,存储器130中的新闻推荐程序被处理器执行时实现以下步骤:The following steps are implemented when the news recommendation program in the memory 130 is executed by the processor:

获取用户自身属性信息和历史行为信息;Obtain the user's own attribute information and historical behavior information;

根据所述历史行为信息获取用户的历史行为数量;Obtain the number of historical behaviors of the user according to the historical behavior information;

根据所述历史行为数量对用户进行分类,得到用户分类结果;Classify users according to the number of historical behaviors to obtain user classification results;

根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。According to the user classification result, for different user classifications, based on the user's own attribute information or historical behavior information, a corresponding unsupervised clustering method is adopted to recommend news to the user.

进一步地,存储器130中的新闻推荐程序被处理器执行时还实现以下步骤:Further, when the news recommendation program in the memory 130 is executed by the processor, the following steps are also implemented:

将所述历史行为数量与预设阈值进行比较;comparing the number of historical behaviors with a preset threshold;

将所述历史行为数量大于或等于所述预设阈值的用户划分为A类用户;Divide users whose number of historical behaviors is greater than or equal to the preset threshold as Class A users;

将所述历史行为数量大于零且小于所述预设阈值的用户划分为B类用户;Divide the users whose number of historical behaviors is greater than zero and less than the preset threshold into Class B users;

将所述历史行为数量等于零的用户划分为C类用户。The users whose number of historical behaviors is equal to zero are divided into C-type users.

进一步地,存储器130中的新闻推荐程序被处理器执行时还实现以下步骤:Further, when the news recommendation program in the memory 130 is executed by the processor, the following steps are also implemented:

若所述用户分类结果为C类用户,则根据所述用户自身属性信息,并采用基于用户信息的推荐策略,向用户推荐对应的新闻。If the user classification result is a C-type user, according to the user's own attribute information, and adopting a recommendation strategy based on user information, the corresponding news is recommended to the user.

进一步地,存储器130中的新闻推荐程序被处理器执行时还实现以下步骤:Further, when the news recommendation program in the memory 130 is executed by the processor, the following steps are also implemented:

若所述用户分类结果为B类用户,则根据所述用户自身属性信息或历史行为信息,并采用基于用户信息的推荐策略、基于用户关注公司的推荐策略和基于用户浏览新闻的推荐策略,向用户推荐对应的新闻。If the user classification result is a B-type user, according to the user's own attribute information or historical behavior information, and adopt the recommendation strategy based on user information, the recommendation strategy based on the user's attention to the company, and the recommendation strategy based on the user's browsing news, The user recommends the corresponding news.

进一步地,存储器130中的新闻推荐程序被处理器执行时还实现以下步骤:Further, when the news recommendation program in the memory 130 is executed by the processor, the following steps are also implemented:

若所述用户分类结果为A类用户,则根据用户的历史行为信息,采用预设的推荐算法并基于用户浏览新闻的推荐策略,向用户推荐对应的新闻。If the user classification result is a category A user, then according to the user's historical behavior information, a preset recommendation algorithm is adopted and a recommendation strategy based on the user's news browsing is used to recommend corresponding news to the user.

进一步地,存储器130中的新闻推荐程序被处理器执行时还实现以下步骤:Further, when the news recommendation program in the memory 130 is executed by the processor, the following steps are also implemented:

获取候选推荐新闻;Get candidate recommendation news;

根据所述候选推荐新闻获取对应的新闻因素;Obtain corresponding news factors according to the candidate recommended news;

根据所述新闻因素设定对应的权重,得到不同权重的新闻因素;Set corresponding weights according to the news factors to obtain news factors with different weights;

根据所述不同权重的新闻因素,依据所述权重对所述候选推荐新闻进行综合排序;According to the news factors of different weights, comprehensively sort the candidate recommended news according to the weights;

根据所述用户的历史行为信息,对所述候选推荐新闻进行去重操作,得到新闻推荐列表;Perform a deduplication operation on the candidate recommended news according to the user's historical behavior information to obtain a news recommendation list;

根据所述新闻推荐列表向用户推荐新闻。Recommend news to the user according to the news recommendation list.

进一步地,存储器130中的新闻推荐程序被处理器执行时还实现以下步骤:Further, when the news recommendation program in the memory 130 is executed by the processor, the following steps are also implemented:

获取用户从所述推荐新闻入口的新闻点击比例和对应浏览时长;Obtain the news click ratio and corresponding browsing duration of the user from the recommended news portal;

根据所述新闻点击比例和对应浏览时长进行推荐质量监控。The recommendation quality is monitored according to the news click ratio and the corresponding browsing time.

进一步地,存储器130中的新闻推荐程序被处理器执行时还实现以下步骤:Further, when the news recommendation program in the memory 130 is executed by the processor, the following steps are also implemented:

获取用户对所述推荐新闻列表的操作行为信息;Obtain the user's operation behavior information on the recommended news list;

根据所述操作行为信息设置惩罚机制;setting a punishment mechanism according to the operation behavior information;

根据所述惩罚机制,对所述用户的所述候选推荐新闻的新闻因素进行权重的调整。According to the penalty mechanism, the weight of the news factor of the candidate recommended news of the user is adjusted.

本实施例通过上述方案,具体通过获取用户自身属性信息和历史行为信息;根据所述历史行为信息获取用户的历史行为数量;根据所述历史行为数量对用户进行分类,得到用户分类结果;根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。通过用户分类后使用对应的无监督聚类方法进行新闻推荐,可以解决移动设备用户新闻推荐需要积累大量用户浏览数据,投入人力对数据打标签,训练有监督学习模型等高成本投入问题。基于本申请方案,通过对用户进行分类,并对不同类别的用户运用相应的无需积累大量用户浏览数据,无需投入人力对数据打标签的无监督聚类方法提供推荐新闻,最后经过本申请方案解决了移动设备用户新闻推荐高成本投入问题。This embodiment adopts the above solution, specifically by acquiring the user's own attribute information and historical behavior information; acquiring the user's historical behavior quantity according to the historical behavior information; classifying the users according to the historical behavior quantity, and obtaining the user classification result; According to the user classification results, for different user classifications, based on the user's own attribute information or historical behavior information, the corresponding unsupervised clustering method is used to recommend news to users. By using the corresponding unsupervised clustering method for news recommendation after user classification, it can solve the high-cost investment problems such as accumulating a large amount of user browsing data, investing manpower to label the data, and training a supervised learning model for mobile device user news recommendation. Based on the solution of the present application, by classifying users and applying corresponding unsupervised clustering methods for different categories of users without accumulating a large amount of user browsing data and without investing manpower to label the data, the recommended news is provided. Finally, the solution is solved by the solution of the present application. It solves the problem of high cost of news recommendation for mobile device users.

基于上述终端设备架构但不限于上述架构,提出本申请方法实施例。Based on the above-mentioned terminal device architecture but not limited to the above-mentioned architecture, the method embodiments of the present application are proposed.

参照图2,图2为本申请新闻推荐方法第一示例性实施例的流程示意图。所述新闻推荐方法包括:Referring to FIG. 2 , FIG. 2 is a schematic flowchart of a first exemplary embodiment of a news recommendation method of the present application. The news recommendation method includes:

步骤S101,获取用户自身属性信息和历史行为信息。Step S101, acquiring the user's own attribute information and historical behavior information.

具体地,获取用户自身属性信息和历史行为信息,其中,自身属性信息是与用户的推荐新闻相关联的信息,包括但不限于用户地域信息和所在部门信息;历史行为信息是与用户的新闻操作行为相关联的信息,包括但不限于用户的浏览新闻信息、收藏新闻信息、关注公司信息以及搜索新闻信息。在用户第一次注册登录时,为该用户生成一个用户信息表,该用户信息表可用以存储该用户的自身属性信息和历史行为信息,并可用以获取该用户的自身属性信息和历史行为信息。Specifically, obtain the user's own attribute information and historical behavior information, wherein the self-attribute information is the information associated with the user's recommended news, including but not limited to the user's regional information and department information; the historical behavior information is related to the user's news operation Behavior-related information, including but not limited to users' browsing news information, bookmarking news information, following company information, and searching for news information. When a user registers and logs in for the first time, a user information table is generated for the user. The user information table can be used to store the user's own attribute information and historical behavior information, and can be used to obtain the user's own attribute information and historical behavior information. .

步骤S102,根据所述历史行为信息获取用户的历史行为数量。Step S102: Acquire the historical behavior quantity of the user according to the historical behavior information.

具体地,根据用户的历史行为信息获取用户的历史行为数量,其中,历史行为数量是用户在过去N天内的新闻操作行为次数,包括但不限于用户的浏览新闻数量、收藏新闻数量、关注公司数量以及搜索新闻次数。历史行为数量储存在用户的用户信息表中,并可根据用户的历史行为信息统计获得。更为具体地,相较于传统的有监督新闻推荐方法基于用户浏览数据来进行新闻推荐的方式,本实施例采用基于用户的历史行为数量,为用户划分多个历史行为数量范围,针对不同历史行为数量范围的用户,根据其用户的共有特征来进行新闻推荐的方式,不仅无需投入人力对数据打标签,解决移动设备用户新闻推荐无训练数据的问题,还满足了不同用户的新闻推荐需求。Specifically, the user's historical behavior quantity is obtained according to the user's historical behavior information, wherein the historical behavior quantity is the number of news operation behaviors of the user in the past N days, including but not limited to the user's browsing news quantity, favorite news quantity, and following company quantity and the number of searches for news. The number of historical behaviors is stored in the user's user information table, and can be obtained according to the user's historical behavior information statistics. More specifically, compared with the traditional supervised news recommendation method that recommends news based on user browsing data, this embodiment uses the number of historical behaviors of users to divide multiple ranges of historical behaviors for users, and for different historical behaviors. Users with a range of behaviors can recommend news based on the shared characteristics of their users, which not only eliminates the need for manpower to label data, solves the problem of mobile device users' news recommendation without training data, but also satisfies the news recommendation needs of different users.

步骤S103,根据所述历史行为数量对用户进行分类,得到用户分类结果。Step S103: Classify users according to the number of historical behaviors to obtain a user classification result.

具体地,根据用户的历史行为数量对用户进行分类,得到用户分类结果,其中,将历史行为数量值落在同一个数量范围内的用户划分为一个类别。根据实际情况的不同需求,通过为用户的历史行为数量设定不同的预设阈值,可以将用户划分成多个类别,比如根据不同的预设阈值,可将用户分成两类、三类、四类、五类或更多。用户在经过分类后,拥有相同的数量分类特征,得到拥有相同数量特征的用户分类结果。Specifically, users are classified according to their historical behavior quantities, and a user classification result is obtained, wherein users whose historical behavior quantity values fall within the same quantity range are divided into one category. According to different needs of the actual situation, users can be divided into multiple categories by setting different preset thresholds for the number of historical behaviors of users. For example, users can be divided into two categories, three categories, and four categories according to different preset thresholds. class, five classes or more. After the users are classified, they have the same number of classification features, and the classification results of users with the same number of features are obtained.

步骤S104,根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。Step S104, according to the user classification result, for different user classifications, and based on the user's own attribute information or historical behavior information, a corresponding unsupervised clustering method is used to recommend news to the user.

具体地,根据用户分类结果,针对不同的用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻,其中,对于不同的用户分类,基于其拥有的相同数量分类特征,并基于用户的自身属性信息或历史行为信息,采用对应的无监督聚类方法为用户推荐新闻。换言之,针对不同历史行为数量的用户分类,分别根据其用户的自身属性信息,如用户地域信息和/或所在部门信息,或者根据其用户的历史行为信息,如用户的浏览新闻信息、收藏新闻信息、关注公司信息以及搜索新闻信息,采用与之对应的无监督聚类方法为属于相同用户分类内的用户进行新闻推荐。Specifically, according to the user classification results, for different user classifications, based on the user's own attribute information or historical behavior information, a corresponding unsupervised clustering method is used to recommend news to users. Quantitative classification features, and based on the user's own attribute information or historical behavior information, the corresponding unsupervised clustering method is used to recommend news to users. In other words, users with different numbers of historical behaviors are classified according to their own attribute information, such as user geographic information and/or department information, or according to their users' historical behavior information, such as users' browsing news information, favorite news information , pay attention to company information and search for news information, and use the corresponding unsupervised clustering method to recommend news for users who belong to the same user category.

本实施例方法的执行主体可以是一种新闻推荐装置,也可以是一种新闻推荐终端设备或服务器,本实施例以新闻推荐装置进行举例,该新闻推荐装置可以集成在具有数据处理功能的智能手机、平板电脑等终端设备上。The execution body of the method in this embodiment may be a news recommendation device, or a news recommendation terminal device or server. In this embodiment, a news recommendation device is used as an example, and the news recommendation device may be integrated in an intelligent device with data processing function. on terminal devices such as mobile phones and tablet computers.

本实施例通过上述方案,具体通过获取用户自身属性信息和历史行为信息;根据所述历史行为信息获取用户的历史行为数量;根据所述历史行为数量对用户进行分类,得到用户分类结果;根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。通过用户分类后使用对应的无监督聚类方法进行新闻推荐,可以解决移动设备用户新闻推荐需要积累大量用户浏览数据,投入人力对数据打标签,训练有监督学习模型等高成本投入问题。基于本申请方案,通过对用户进行分类,并对不同类别的用户运用相应的无需积累大量用户浏览数据,无需投入人力对数据打标签的无监督聚类方法提供推荐新闻,最后经过本申请方案解决了移动设备用户新闻推荐高成本投入问题。This embodiment adopts the above solution, specifically by acquiring the user's own attribute information and historical behavior information; acquiring the user's historical behavior quantity according to the historical behavior information; classifying the users according to the historical behavior quantity, and obtaining the user classification result; According to the user classification results, for different user classifications, based on the user's own attribute information or historical behavior information, the corresponding unsupervised clustering method is used to recommend news to users. By using the corresponding unsupervised clustering method for news recommendation after user classification, it can solve the high-cost investment problems such as accumulating a large amount of user browsing data, investing manpower to label the data, and training a supervised learning model for mobile device user news recommendation. Based on the solution of the present application, by classifying users and applying corresponding unsupervised clustering methods for different categories of users without accumulating a large amount of user browsing data and without investing manpower to label the data, the recommended news is provided. Finally, the solution is solved by the solution of the present application. It solves the problem of high cost of news recommendation for mobile device users.

进一步地,参照图3,图3为本申请新闻推荐方法第二示例性实施例的流程示意图。基于上述图2所示的实施例,在本实施例中,步骤S103,根据所述历史行为数量对用户进行分类,得到用户分类结果包括:Further, referring to FIG. 3 , FIG. 3 is a schematic flowchart of a second exemplary embodiment of the news recommendation method of the present application. Based on the above embodiment shown in FIG. 2, in this embodiment, step S103, classifying users according to the number of historical behaviors, and obtaining a user classification result includes:

步骤S1031,将所述历史行为数量与预设阈值进行比较;Step S1031, comparing the number of historical behaviors with a preset threshold;

步骤S1032,将所述历史行为数量大于或等于所述预设阈值的用户划分为A类用户;Step S1032, classifying users whose number of historical behaviors is greater than or equal to the preset threshold as Class A users;

步骤S1033,将所述历史行为数量大于零且小于所述预设阈值的用户划分为B类用户;Step S1033, classifying the users whose number of historical behaviors is greater than zero and less than the preset threshold as B-type users;

步骤S1034,将所述历史行为数量等于零的用户划分为C类用户。In step S1034, the users whose historical behavior quantity is equal to zero are divided into C-type users.

相比上述图2所示的实施例,本实施例提供一种根据用户历史行为数量对用户进行分类的方法。Compared with the embodiment shown in FIG. 2 above, this embodiment provides a method for classifying users according to the number of historical user behaviors.

具体地,在获取用户过去N天内的历史行为数量后,与预设阈值进行比较。基于将用户划分为新用户或老用户的实际需求出发,本实施例根据用户的历史行为数量设定两个预设阈值,并将用户划分为三类。其中,第一预设阈值为零,第二预设阈值为大于零的任一数值。当用户的历史行为数量大于或等于预设阈值的时候,则将该用户划分为A类用户;当用户的历史行为数量大于零且小于预设阈值的时候,则将该用户划分为B类用户;当用户的历史行为数量等于零时,即该用户此前未有新闻操作行为,则将该用户划分为C类用户。Specifically, after obtaining the number of historical behaviors of the user in the past N days, it is compared with a preset threshold. Based on the actual requirement of dividing users into new users or old users, this embodiment sets two preset thresholds according to the number of historical behaviors of users, and divides users into three categories. The first preset threshold is zero, and the second preset threshold is any value greater than zero. When the number of historical behaviors of the user is greater than or equal to the preset threshold, the user is classified as a class A user; when the number of historical behaviors of the user is greater than zero and less than the preset threshold, the user is classified as a class B user ; When the number of historical behaviors of the user is equal to zero, that is, the user has no news operation behavior before, the user is classified as a C-type user.

本实施例通过上述方案,具体通过获取用户自身属性信息和历史行为信息;根据所述历史行为信息获取用户的历史行为数量;根据所述历史行为数量对用户进行分类,得到用户分类结果;根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。通过用户分类后使用对应的无监督聚类方法进行新闻推荐,可以解决移动设备用户新闻推荐需要积累大量用户浏览数据,投入人力对数据打标签,训练有监督学习模型等高成本投入问题。基于本申请方案,通过对用户进行分类,并对不同类别的用户运用相应的无需积累大量用户浏览数据,无需投入人力对数据打标签的无监督聚类方法提供推荐新闻,最后经过本申请方案解决了移动设备用户新闻推荐高成本投入问题。This embodiment adopts the above solution, specifically by acquiring the user's own attribute information and historical behavior information; acquiring the user's historical behavior quantity according to the historical behavior information; classifying the users according to the historical behavior quantity, and obtaining the user classification result; According to the user classification results, for different user classifications, based on the user's own attribute information or historical behavior information, the corresponding unsupervised clustering method is used to recommend news to users. By using the corresponding unsupervised clustering method for news recommendation after user classification, it can solve the high-cost investment problems such as accumulating a large amount of user browsing data, investing manpower to label the data, and training a supervised learning model for mobile device user news recommendation. Based on the solution of the present application, by classifying users and applying corresponding unsupervised clustering methods for different categories of users without accumulating a large amount of user browsing data and without investing manpower to label the data, the recommended news is provided. Finally, the solution is solved by the solution of the present application. It solves the problem of high cost of news recommendation for mobile device users.

进一步地,基于上述图2或图3所示的实施例,提出本发明第三示例性实施例。在本实施例中,上述步骤S104,根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻可以包括:Further, based on the above-mentioned embodiment shown in FIG. 2 or FIG. 3 , a third exemplary embodiment of the present invention is proposed. In this embodiment, in the above step S104, according to the user classification result, for different user classifications, and based on the user's own attribute information or historical behavior information, recommending news to the user by using the corresponding unsupervised clustering method may include:

步骤S1041,若所述用户分类结果为C类用户,则根据所述用户自身属性信息,并采用基于用户信息的推荐策略,向用户推荐对应的新闻。Step S1041, if the user classification result is a C-type user, according to the user's own attribute information, and adopting a recommendation strategy based on user information, recommend corresponding news to the user.

具体地,根据用户历史行为数量与预设阈值的比较结果,将用户划分为A类用户、B类用户和C类用户。若该用户的分类结果为C类用户,即该C类用户此前未有新闻操作行为,则根据该C类用户的自身属性信息,包括但不限于用户地域信息或所在部门信息,采用基于用户信息的推荐策略,向用户推荐对应的新闻。其中,基于用户信息的推荐策略为可根据用户自身属性信息,并采用对应无监督聚类方法为用户推荐新闻的策略。Specifically, according to the comparison result between the user's historical behavior quantity and the preset threshold, the users are divided into A-type users, B-type users and C-type users. If the classification result of the user is a C-type user, that is, the C-type user has no news operation behavior before, then according to the C-type user's own attribute information, including but not limited to the user's geographical information or the department information, the information based on the user's information will be used. recommends the corresponding news to users. Among them, the recommendation strategy based on user information is a strategy that can recommend news to users according to the user's own attribute information and adopt the corresponding unsupervised clustering method.

步骤S1042,若所述用户分类结果为B类用户,则根据所述用户自身属性信息或历史行为信息,并采用基于用户信息的推荐策略、基于用户关注公司的推荐策略和基于用户浏览新闻的推荐策略,向用户推荐对应的新闻。Step S1042, if the user classification result is a B-type user, according to the user's own attribute information or historical behavior information, and adopt a recommendation strategy based on user information, a recommendation strategy based on a user's attention to a company, and a recommendation based on the user's browsing news strategy to recommend corresponding news to users.

具体地,若该用户的分类结果为B类用户,即该B类用户存在小于预设阈值的历史行为数量,则根据该B类用户的自身属性信息或历史行为信息,并采用基于用户信息的推荐策略、基于用户关注公司的推荐策略和基于用户浏览新闻的推荐策略,向用户推荐对应的新闻。其中,自身属性信息包括但不限于用户地域信息和所在部门信息;历史行为信息包括但不限于用户的浏览新闻信息和关注公司信息。根据用户的上述信息,采用对应的推荐策略向用户推荐对应的新闻。其中,基于用户信息的推荐策略为可根据用户自身属性信息,并采用对应无监督聚类方法为用户推荐新闻的策略;基于用户关注公司的推荐策略为可根据用户关注公司信息,并采用对应无监督聚类方法为用户推荐新闻的策略;基于用户浏览新闻的推荐策略为可根据用户浏览新闻信息,并采用对应的无监督聚类方法为用户推荐新闻的策略。Specifically, if the classification result of the user is a B-type user, that is, the B-type user has the number of historical behaviors less than the preset threshold, then according to the B-type user's own attribute information or historical behavior information, and use the user information-based Recommendation strategy, recommendation strategy based on the user's attention to the company, and recommendation strategy based on the user's browsing news, recommend the corresponding news to the user. Among them, the self attribute information includes but is not limited to the user's geographical information and the department information; historical behavior information includes but is not limited to the user's browsing news information and following company information. According to the above information of the user, a corresponding recommendation strategy is adopted to recommend corresponding news to the user. Among them, the recommendation strategy based on user information is a strategy that can recommend news to users according to the user's own attribute information and adopts the corresponding unsupervised clustering method; the recommendation strategy based on the user's attention to the company is that the user can follow the company information according to the user's own information, and use the corresponding unsupervised clustering method. The supervised clustering method is a strategy for recommending news to users; the recommendation strategy based on user browsing news is a strategy that can recommend news to users by using the corresponding unsupervised clustering method according to the news information browsed by the user.

步骤S1043,若所述用户分类结果为A类用户,则根据用户的历史行为信息,采用预设的推荐算法并基于用户浏览新闻的推荐策略,向用户推荐对应的新闻。Step S1043, if the user classification result is a category A user, according to the user's historical behavior information, using a preset recommendation algorithm and a recommendation strategy based on the user's browsing news, recommend corresponding news to the user.

具体地,若该用户的分类结果为A类用户,即该A类用户存在大于或等于预设阈值的历史行为数量,则根据该A类用户的历史行为信息,包括但不限于用户的浏览新闻信息、收藏新闻信息、关注公司信息以及搜索新闻信息,采用预设的推荐算法并基于用户浏览新闻的推荐策略,向用户推荐对应的新闻。其中,基于用户浏览新闻的推荐策略为可根据用户的历史行为信息,采用预设的无监督聚类推荐算法构建新闻推荐系统,并基于该新闻推荐系统,向用户推荐对应的新闻的策略。Specifically, if the classification result of the user is a Class A user, that is, the Class A user has a number of historical behaviors greater than or equal to the preset threshold, then according to the historical behavior information of the Class A user, including but not limited to the user's browsing news Information, collecting news information, paying attention to company information and searching for news information, using preset recommendation algorithms and recommendation strategies based on users' browsing news, recommend corresponding news to users. Among them, the recommendation strategy based on the user's browsing news is a strategy that can construct a news recommendation system by using a preset unsupervised clustering recommendation algorithm according to the user's historical behavior information, and recommend corresponding news to the user based on the news recommendation system.

本实施例通过上述方案,具体通过获取用户自身属性信息和历史行为信息;根据所述历史行为信息获取用户的历史行为数量;根据所述历史行为数量对用户进行分类,得到用户分类结果;根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。通过用户分类后使用对应的无监督聚类方法进行新闻推荐,可以解决移动设备用户新闻推荐需要积累大量用户浏览数据,投入人力对数据打标签,训练有监督学习模型等高成本投入问题。基于本申请方案,通过对用户进行分类,并对不同类别的用户运用相应的无需积累大量用户浏览数据,无需投入人力对数据打标签的无监督聚类方法提供推荐新闻,最后经过本申请方案解决了移动设备用户新闻推荐高成本投入问题。This embodiment adopts the above solution, specifically by acquiring the user's own attribute information and historical behavior information; acquiring the user's historical behavior quantity according to the historical behavior information; classifying the users according to the historical behavior quantity, and obtaining the user classification result; According to the user classification results, for different user classifications, based on the user's own attribute information or historical behavior information, the corresponding unsupervised clustering method is used to recommend news to users. By using the corresponding unsupervised clustering method for news recommendation after user classification, it can solve the high-cost investment problems such as accumulating a large amount of user browsing data, investing manpower to label the data, and training a supervised learning model for mobile device user news recommendation. Based on the solution of the present application, by classifying users and applying corresponding unsupervised clustering methods for different categories of users without accumulating a large amount of user browsing data and without investing manpower to label the data, the recommended news is provided. Finally, the solution is solved by the solution of the present application. It solves the problem of high cost of news recommendation for mobile device users.

进一步地,基于上述步骤S1041或步骤S1042,提出本发明第四示例性实施例。所述用户的自身属性信息包含用户地域信息和所在部门信息,所述基于用户信息的推荐策略包括:根据所述用户地域信息和/或所在部门信息,推荐对应的热门新闻的推荐策略。Further, based on the above step S1041 or step S1042, a fourth exemplary embodiment of the present invention is proposed. The user's own attribute information includes user region information and department information, and the recommendation strategy based on the user information includes a recommendation strategy for recommending corresponding popular news according to the user region information and/or department information.

具体地,获取该用户的用户地域信息和/或所在部门信息,根据该用户的用户地域信息和/或所在部门信息,计算相应范围内的用户热门新闻。其中,热门新闻的计算公式包括但不限于如下公式:Specifically, the user region information and/or the department information of the user is acquired, and the user's popular news within a corresponding range is calculated according to the user region information and/or the department information of the user. Among them, the calculation formula of popular news includes but is not limited to the following formula:

Figure BDA0003713099840000141
Figure BDA0003713099840000141

其中:“总浏览数”为该新闻发布以来该新闻被所有用户浏览的次数的汇总;“操作数”为该新闻被所有用户操作过的次数汇总,其中,操作包括但不限于点击、转发、收藏;“新闻发布天数”为该新闻自发布以来的天数。Among them: "Total Views" is the summary of the times the news has been viewed by all users since the news was released; "Operations" is the summary of the times the news has been manipulated by all users, including but not limited to clicking, forwarding, Favorites; "News Release Days" is the number of days since the news was released.

热门新闻的定义为计算该新闻从新闻发布以来的总浏览数和操作数的加和,然后除以新闻发布天数所得到的数值。Top news is defined as the sum of the total number of views and operations for the news since the news was published, and then divided by the number of days since the news was published.

通过计算与该用户的用户地域信息和/或所在部门信息相应范围内的用户热门新闻,获取相应热门新闻,并向用户进行新闻推荐。By calculating the user's popular news within the range corresponding to the user's user geographic information and/or the department information of the user, the corresponding popular news is acquired, and news recommendation is made to the user.

本实施例通过上述方案,利用用户的地域特点和/或所在部门特点,对不同地域和部门的用户推荐对应的热点新闻,达到热点新闻能及时推荐给用户的目的。Through the above solution, this embodiment recommends corresponding hot news to users in different regions and departments by utilizing the user's regional characteristics and/or the characteristics of the department, so that the hot news can be recommended to the user in time.

进一步地,基于上述步骤S1042,提出本发明第五示例性实施例。所述历史行为信息包含用户的关注公司信息,所述基于用户关注公司的推荐策略包括:根据所述关注公司信息,推荐对应公司的当天新闻的推荐策略。Further, based on the above step S1042, a fifth exemplary embodiment of the present invention is proposed. The historical behavior information includes the user's following company information, and the recommendation strategy based on the user's following company includes: recommending a recommendation strategy for the current day's news of the corresponding company according to the following company information.

具体地,获取该用户的关注公司信息,根据该用户的关注公司信息,通过慧眼接口,每天拉取该关注公司的当天新闻向用户做推荐。当该用户存在多个关注公司时,获取该用户对多个关注公司的关注公司信息,并计算该用户对各个公司的关注度,其中,公司关注度的计算公式包括但不限于如下公式:Specifically, the user's following company information is obtained, and according to the user's following company information, the daily news of the following company is pulled and recommended to the user through the Smart Eye interface. When the user has multiple following companies, obtain the following company information of the user on the multiple following companies, and calculate the user's attention to each company. The calculation formula of the company's attention includes but is not limited to the following formula:

func(关注,搜索次数,操作时间) (2)func(follow, search times, operation time) (2)

其中,“关注”为该用户对该公司的关注行为,即用户点击该公司的关注按键框完成关注行为;“搜索次数”为该用户对该公司以及该公司发布的新闻内容进行搜索的次数;“操作时间”为该用户对该公司以及该公司发布的新闻内容进行操作行为所持续的时间,其中,操作行为包括但不限于浏览。Among them, "Follow" is the user's following behavior about the company, that is, the user clicks the company's follow button box to complete the following behavior; "Search times" is the number of times the user has searched the company and the news content released by the company; "Operation time" is the duration of the user's operation on the company and the news content published by the company, wherein the operation includes but is not limited to browsing.

首先,为该用户对该关注公司的操作行为赋予一定的得分规则,其中,用户可通过关注、搜索次数、操作时间这三种行为获得不同的行为赋予分数,其中,不同操作行为的行为赋予分数不是一成不变的,可根据实际情况作出调整。然后,通过计算该用户对该关注公司的所有操作行为的行为赋予分数汇总,得到该用户对该关注公司的关注度。First, assign a certain scoring rule to the user's operation behavior of the company concerned, in which the user can obtain different behavior assignment points through the three behaviors of following, search times, and operation time. Among them, the behaviors of different operation behaviors are assigned points. It is not static and can be adjusted according to the actual situation. Then, the user's attention to the concerned company is obtained by calculating the sum of the scores assigned by the user to all the operation behaviors of the concerned company.

通过计算该用户对各个关注公司的关注度,并将该用户对该公司的关注度作为其对该公司新闻的关注度,根据用户对关注公司的新闻的关注度,赋予新闻对应的权重,依据权重向用户推荐关注公司的新闻。By calculating the user's degree of attention to each company, and taking the user's degree of attention to the company as his degree of attention to the company's news, according to the user's degree of attention to the company's news, the corresponding weight is given to the news, according to Weights recommend to users news about companies to follow.

本实施例通过上述方案,获取用户的关注公司信息,计算并得到用户对不同关注公司的关注度,依据关注度向用户推荐关注公司的新闻,使得推荐新闻更符合用户的兴趣偏好。This embodiment obtains the user's following company information through the above solution, calculates and obtains the user's degree of attention to different companies of interest, and recommends the news of the following companies to the user according to the degree of attention, so that the recommended news is more in line with the user's interest preference.

进一步地,基于上述步骤S1042或步骤S1043,提出本发明第六示例性实施例。所述历史行为信息包含用户的浏览新闻信息、收藏新闻信息、搜索新闻信息,所述基于用户浏览新闻的推荐策略包括:Further, based on the above step S1042 or step S1043, a sixth exemplary embodiment of the present invention is proposed. The historical behavior information includes the user's browsing news information, collecting news information, and searching for news information, and the recommendation strategy based on the user's browsing news includes:

若所述用户分类结果为B类用户,则根据所述浏览新闻信息,推荐与所述浏览新闻信息强关联的其他新闻的推荐策略;If the user classification result is a B-type user, recommending a recommendation strategy for other news strongly associated with the browsing news information according to the browsing news information;

具体地,若该用户的分类结果为B类用户,即该B类用户存在小于预设阈值的历史行为数量,则根据该用户的浏览新闻信息,采用关联规则算法,获取与该用户浏览新闻信息强关联的其他新闻,并向该用户进行新闻推荐。Specifically, if the classification result of the user is a B-type user, that is, the B-type user has a number of historical behaviors less than a preset threshold, then according to the user's browsing news information, an association rule algorithm is used to obtain the user's browsing news information. Other news that is strongly related, and recommend news to the user.

若所述用户分类结果为A类用户,则根据所述浏览新闻信息、收藏新闻信息和搜索新闻信息,采用推荐算法进行新闻推荐的推荐策略。If the user classification result is a category A user, a recommendation algorithm is used to perform a recommendation strategy for news recommendation according to the browsing news information, saving news information and searching for news information.

具体地,若该用户的分类结果为A类用户,即该A类用户存在大于或等于预设阈值的历史行为数量,则根据该A类用户的历史行为信息,包括但不限于用户的浏览新闻信息、收藏新闻信息、关注公司信息以及搜索新闻信息,并采用协同过滤推荐算法、基于内容的推荐算法以及基于深度学习的推荐算法构建多模型推荐系统,基于该多模型推荐系统,向用户推荐对应的新闻的策略。Specifically, if the classification result of the user is a Class A user, that is, the Class A user has a number of historical behaviors greater than or equal to the preset threshold, then according to the historical behavior information of the Class A user, including but not limited to the user's browsing news information, collect news information, pay attention to company information and search for news information, and use collaborative filtering recommendation algorithm, content-based recommendation algorithm and deep learning-based recommendation algorithm to build a multi-model recommendation system. news strategy.

本实施例通过上述方案,具体通过获取用户自身属性信息和历史行为信息;根据所述历史行为信息获取用户的历史行为数量;根据所述历史行为数量对用户进行分类,得到用户分类结果;根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。通过用户分类后使用对应的无监督聚类方法进行新闻推荐,可以解决移动设备用户新闻推荐需要积累大量用户浏览数据,投入人力对数据打标签,训练有监督学习模型等高成本投入问题。基于本申请方案,通过对用户进行分类,并对不同类别的用户运用相应的无需积累大量用户浏览数据,无需投入人力对数据打标签的无监督聚类方法提供推荐新闻,最后经过本申请方案解决了移动设备用户新闻推荐高成本投入问题。This embodiment adopts the above solution, specifically by acquiring the user's own attribute information and historical behavior information; acquiring the user's historical behavior quantity according to the historical behavior information; classifying the users according to the historical behavior quantity, and obtaining the user classification result; According to the user classification results, for different user classifications, based on the user's own attribute information or historical behavior information, the corresponding unsupervised clustering method is used to recommend news to users. By using the corresponding unsupervised clustering method for news recommendation after user classification, it can solve the high-cost investment problems such as accumulating a large amount of user browsing data, investing manpower to label the data, and training a supervised learning model for mobile device user news recommendation. Based on the solution of the present application, by classifying users and applying corresponding unsupervised clustering methods for different categories of users without accumulating a large amount of user browsing data and without investing manpower to label the data, the recommended news is provided. Finally, the solution is solved by the solution of the present application. It solves the problem of high cost of news recommendation for mobile device users.

进一步地,参照图4,图4为本申请新闻推荐方法第七示例性实施例的流程示意图。基于上述图2所示的实施例,在本实施例中,上述步骤S104,根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻还可以包括:Further, referring to FIG. 4 , FIG. 4 is a schematic flowchart of a seventh exemplary embodiment of a news recommendation method of the present application. Based on the embodiment shown in FIG. 2, in this embodiment, in the above step S104, according to the user classification result, for different user classifications, based on the user's own attribute information or historical behavior information, a corresponding unsupervised clustering method is adopted Recommending news to users can also include:

步骤S1044,获取候选推荐新闻。Step S1044, obtain candidate recommendation news.

具体地,根据用户分类结果,针对不同的用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法获取候选推荐新闻。至此,在向用户推荐新闻之前,对获取到的候选推荐新闻做进一步地处理。Specifically, according to the user classification results, for different user classifications, based on the user's own attribute information or historical behavior information, a corresponding unsupervised clustering method is used to obtain candidate recommended news. So far, before recommending news to the user, further processing is performed on the obtained candidate recommended news.

步骤S1045,根据所述候选推荐新闻获取对应的新闻因素。Step S1045: Acquire corresponding news factors according to the candidate recommended news.

具体地,根据所述候选推荐新闻获取对应的新闻因素,其中,新闻因素包括但不限于新闻热度、新闻来源、新闻发布天数和用户喜好信息。其中,新闻热度可通过计算得到;新闻来源包括但不限于用户所在地域相关的热门新闻、用户所在部门相关的热门新闻和用户关注公司的当日新闻;新闻发布天数为自新闻发布以来的天数;用户喜好信息为通过维护数据集来记录用户到关键词表的映射,其中,关键词表由所有关键词组成,关键词包括但不限于用户关注的公司、用户浏览新闻的所属领域,且各关键词拥有对应的权重。Specifically, the corresponding news factors are obtained according to the candidate recommended news, wherein the news factors include but are not limited to news popularity, news sources, news release days, and user preference information. Among them, news popularity can be obtained by calculation; news sources include but are not limited to popular news related to the user's region, popular news related to the user's department, and news of the day the user is following the company; the number of days since the news was released; the number of days since the news was released; The preference information is to record the mapping of the user to the keyword table by maintaining the data set, wherein the keyword table is composed of all keywords, and the keywords include but are not limited to the companies concerned by the user, the field to which the user browses the news, and each keyword have corresponding weights.

步骤S1046,根据所述新闻因素设定对应的权重,得到不同权重的新闻因素。Step S1046, setting corresponding weights according to the news factors, to obtain news factors with different weights.

具体地,根据所述新闻因素设定对应的权重,得到不同权重的新闻因素。每个新闻因素都设定了对应的权重,包括但不限于新闻热度权重、新闻来源权重、新闻发布天数权重和用户喜好信息权重。Specifically, corresponding weights are set according to the news factors to obtain news factors with different weights. A corresponding weight is set for each news factor, including but not limited to news popularity weight, news source weight, news release days weight, and user preference information weight.

步骤S1047,根据所述不同权重的新闻因素,依据所述权重对所述候选推荐新闻进行综合排序。Step S1047, according to the news factors of different weights, comprehensively sort the candidate recommended news according to the weights.

具体地,根据所述不同权重的新闻因素,依据所述权重对所述候选推荐新闻进行综合排序。综合每条候选推荐新闻的权重,依据权重大小,以此依次对候选推荐新闻进行排序。Specifically, according to the news factors of different weights, comprehensively sort the candidate recommended news according to the weights. The weight of each candidate recommendation news is integrated, and the candidate recommendation news is sorted in turn according to the weight.

步骤S1048,根据所述用户的历史行为信息,对所述候选推荐新闻进行去重操作,得到新闻推荐列表。Step S1048: Perform a deduplication operation on the candidate recommended news according to the user's historical behavior information to obtain a news recommendation list.

具体地,根据所述用户的历史行为信息,对所述候选推荐新闻进行去重操作,得到新闻推荐列表。获取该用户的历史行为信息,比如该用户浏览过的新闻信息,与经过综合排序的候选推荐新闻进行比较,过滤候选推荐新闻中该用户已经浏览过的新闻,得到未被浏览过的候选推荐新闻,依此生成最终的新闻推荐列表。Specifically, according to the historical behavior information of the user, a deduplication operation is performed on the candidate recommended news to obtain a news recommendation list. Obtain the user's historical behavior information, such as the news information that the user has browsed, compare it with the candidate recommended news that has been comprehensively sorted, filter the news that the user has browsed in the candidate recommended news, and get the candidate recommended news that has not been browsed. , and generate the final news recommendation list accordingly.

步骤S1049,根据所述新闻推荐列表向用户推荐新闻。Step S1049, recommend news to the user according to the news recommendation list.

具体地,根据所述新闻推荐列表向用户推荐新闻。将经过加权、排序和去重后的新闻推荐列表推送至用户的推荐新闻入口,完成对用户的新闻推荐。Specifically, recommend news to the user according to the news recommendation list. Push the weighted, sorted and deduplicated news recommendation list to the user's recommended news entry to complete the news recommendation to the user.

本实施例通过上述方案,具体通过获取用户自身属性信息和历史行为信息;根据所述历史行为信息获取用户的历史行为数量;根据所述历史行为数量对用户进行分类,得到用户分类结果;根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。通过用户分类后使用对应的无监督聚类方法进行新闻推荐,可以解决移动设备用户新闻推荐需要积累大量用户浏览数据,投入人力对数据打标签,训练有监督学习模型等高成本投入问题。基于本申请方案,通过对用户进行分类,并对不同类别的用户运用相应的无需积累大量用户浏览数据,无需投入人力对数据打标签的无监督聚类方法提供推荐新闻,最后经过本申请方案解决了移动设备用户新闻推荐高成本投入问题。This embodiment adopts the above solution, specifically by acquiring the user's own attribute information and historical behavior information; acquiring the user's historical behavior quantity according to the historical behavior information; classifying the users according to the historical behavior quantity, and obtaining the user classification result; According to the user classification results, for different user classifications, based on the user's own attribute information or historical behavior information, the corresponding unsupervised clustering method is used to recommend news to users. By using the corresponding unsupervised clustering method for news recommendation after user classification, it can solve the high-cost investment problems such as accumulating a large amount of user browsing data, investing manpower to label the data, and training a supervised learning model for mobile device user news recommendation. Based on the solution of the present application, by classifying users and applying corresponding unsupervised clustering methods for different categories of users without accumulating a large amount of user browsing data and without investing manpower to label the data, the recommended news is provided. Finally, the solution is solved by the solution of the present application. It solves the problem of high cost of news recommendation for mobile device users.

而且相比现有技术,本实施例在新闻推荐过程中,设计了加权机制对候选推荐新闻的各新闻因素添加权重,并依据权重对候选推荐新闻进行综合排序,并通过去重操作过滤用户已经浏览过的候选推荐新闻,实现了爆点新闻能及时推荐给用户的目的。In addition, compared with the prior art, in the process of news recommendation in this embodiment, a weighting mechanism is designed to add weights to each news factor of the candidate recommended news, comprehensively sort the candidate recommended news according to the weight, and filter the user's existing news through the deduplication operation. The browsed candidate recommended news realizes the purpose that breaking news can be recommended to users in a timely manner.

进一步地,参照图5,图5为本申请新闻推荐方法第八示例性实施例的流程示意图。基于上述图4所示的实施例,在本实施例中,上述步骤S1049,根据所述新闻推荐列表向用户推荐新闻的步骤之后,还包括:Further, referring to FIG. 5 , FIG. 5 is a schematic flowchart of an eighth exemplary embodiment of a news recommendation method of the present application. Based on the embodiment shown in FIG. 4, in this embodiment, the above step S1049, after the step of recommending news to the user according to the news recommendation list, further includes:

步骤S1050,获取用户从所述推荐新闻入口的新闻点击比例和对应浏览时长;Step S1050, obtaining the news click ratio and corresponding browsing duration of the user from the recommended news portal;

步骤S1051,根据所述新闻点击比例和对应浏览时长进行推荐质量监控。Step S1051: Perform recommendation quality monitoring according to the news click ratio and the corresponding browsing duration.

具体地,设计推荐质量监控机制,在新闻推荐列表推送至用户的推荐新闻入口后,获取用户从该推荐新闻入口的操作行为信息,其中,操作行为信息包括新闻点击比例和对应浏览时长。根据该新闻推荐列表的新闻点击比例和对应浏览时长,评估新闻推荐的质量以及用户的兴趣迁移。Specifically, a recommendation quality monitoring mechanism is designed. After the news recommendation list is pushed to the user's recommended news entry, the user's operation behavior information from the recommended news entry is obtained, wherein the operation behavior information includes the news click ratio and the corresponding browsing time. According to the news click ratio and corresponding browsing time of the news recommendation list, the quality of the news recommendation and the user's interest transfer are evaluated.

相比现有技术,本实施例通过上述方案,基于推荐质量监控机制,监控推荐新闻列表的新闻点击比例和对应浏览时长,为每个推荐新闻的评分增加了一个时间权重,以此提高了推荐系统的推荐质量,改善用户兴趣迁移问题。Compared with the prior art, the present embodiment monitors the news click ratio and the corresponding browsing time of the recommended news list based on the recommendation quality monitoring mechanism through the above solution, and adds a time weight to the score of each recommended news, thereby improving the recommendation. The recommendation quality of the system improves the problem of user interest migration.

进一步地,参照图6,图6为本申请新闻推荐方法第九示例性实施例的流程示意图。基于上述图4所示的实施例,在本实施例中,上述步骤S1049,根据所述新闻推荐列表向用户推荐新闻的步骤之后,还包括:Further, referring to FIG. 6 , FIG. 6 is a schematic flowchart of a ninth exemplary embodiment of a news recommendation method of the present application. Based on the embodiment shown in FIG. 4, in this embodiment, the above step S1049, after the step of recommending news to the user according to the news recommendation list, further includes:

步骤S1060,获取用户对所述推荐新闻列表的操作行为信息。Step S1060: Obtain the operation behavior information of the user on the recommended news list.

具体地,在新闻推荐列表推送至用户的推荐新闻入口后,若该用户有操作行为,则获取该用户从该推荐新闻入口的操作行为信息,其中,操作行为信息包括但不限于浏览新闻信息、收藏新闻信息、关注公司信息和搜索新闻信息。Specifically, after the news recommendation list is pushed to the user's recommended news entry, if the user has an operation behavior, obtain the user's operation behavior information from the recommended news entry, where the operation behavior information includes but is not limited to browsing news information, Collect news information, follow company information and search news information.

步骤S1061,根据所述操作行为信息设置惩罚机制。Step S1061, setting a punishment mechanism according to the operation behavior information.

具体地,根据所述操作行为信息设置惩罚机制。惩罚机制用以对于不同分类的用户,在检测到该用户对推荐新闻列表有操作行为后,调整该用户当前的候选推荐新闻中新闻因素所对应的权重。Specifically, a punishment mechanism is set according to the operation behavior information. The penalty mechanism is used to adjust the weights corresponding to news factors in the user's current candidate recommended news after detecting that the user operates on the recommended news list for users of different categories.

步骤S1062,根据所述惩罚机制,对所述用户的所述候选推荐新闻的新闻因素进行权重的调整。Step S1062, according to the punishment mechanism, adjust the weight of the news factor of the candidate recommended news of the user.

具体地,根据所述惩罚机制,对于B类用户和C类用户,在获取该类用户对推荐新闻入口的操作行为信息后,调整该类用户候选推荐新闻中新闻来源的权重;对于A类用户,在获取该类用户对推荐新闻入口的操作行为信息后,调整该类用户候选推荐新闻中用户喜好信息的权重,其中用户喜好信息的权重调整通过调整用户对应的关键词表中各关键词的权重来实现。Specifically, according to the punishment mechanism, for B-type users and C-type users, after obtaining the operation behavior information of this type of users on the recommended news portal, adjust the weight of news sources in the candidate recommended news for this type of user; for A-type users , after obtaining the operation behavior information of this type of user on the recommended news entry, adjust the weight of the user's preference information in the candidate recommendation news of this type of user, wherein the weight of the user's preference information is adjusted by adjusting the weight of each keyword in the keyword table corresponding to the user. weight to achieve.

本实施例通过上述方案,具体通过获取用户自身属性信息和历史行为信息;根据所述历史行为信息获取用户的历史行为数量;根据所述历史行为数量对用户进行分类,得到用户分类结果;根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。通过用户分类后使用对应的无监督聚类方法进行新闻推荐,可以解决移动设备用户新闻推荐需要积累大量用户浏览数据,投入人力对数据打标签,训练有监督学习模型等高成本投入问题。基于本申请方案,通过对用户进行分类,并对不同类别的用户运用相应的无需积累大量用户浏览数据,无需投入人力对数据打标签的无监督聚类方法提供推荐新闻,最后经过本申请方案解决了移动设备用户新闻推荐高成本投入问题。This embodiment adopts the above solution, specifically by acquiring the user's own attribute information and historical behavior information; acquiring the user's historical behavior quantity according to the historical behavior information; classifying the users according to the historical behavior quantity, and obtaining the user classification result; According to the user classification results, for different user classifications, based on the user's own attribute information or historical behavior information, the corresponding unsupervised clustering method is used to recommend news to users. By using the corresponding unsupervised clustering method for news recommendation after user classification, it can solve the high-cost investment problems such as accumulating a large amount of user browsing data, investing manpower to label the data, and training a supervised learning model for mobile device user news recommendation. Based on the solution of the present application, by classifying users and applying corresponding unsupervised clustering methods for different categories of users without accumulating a large amount of user browsing data and without investing manpower to label the data, the recommended news is provided. Finally, the solution is solved by the solution of the present application. It solves the problem of high cost of news recommendation for mobile device users.

而且相比现有技术,本实施例通过上述方案,根据用户对推荐新闻列表的操作行为信息对新闻推荐的算法进行反馈,调整推荐新闻中相关新闻因素的权重,改善了用户兴趣迁移问题和推荐不准确问题。In addition, compared with the prior art, this embodiment uses the above solution to provide feedback to the news recommendation algorithm according to the user's operation behavior information on the recommended news list, adjust the weights of relevant news factors in the recommended news, and improve the problem of user interest migration and recommendation. inaccurate question.

进一步地,参照图7,图7为本申请新闻推荐方法第十示例性实施例的整体流程示意图,本实施例的整体流程包括:Further, referring to FIG. 7, FIG. 7 is a schematic diagram of the overall flow of the tenth exemplary embodiment of the news recommendation method of the present application. The overall flow of this embodiment includes:

基于用户,获取该用户的自身属性信息和历史行为信息。根据该用户的历史行为信息获取该用户的历史行为数量。根据该用户的历史行为数量对用户进行分类,其中,将该用户的历史行为数量与预设阈值进行比较,将历史行为数量大于或等于所述预设阈值的用户划分为A类用户;将历史行为数量大于零且小于所述预设阈值的用户划分为B类用户;将历史行为数量等于零的用户划分为C类用户,得到该用户的用户分类结果。根据该用户的用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻,其中,若所述用户分类结果为C类用户,则根据所述用户自身属性信息,并采用基于用户信息的推荐策略,向用户推荐对应的新闻;若所述用户分类结果为B类用户,则根据所述用户自身属性信息或历史行为信息,并采用基于用户信息的推荐策略、基于用户关注公司的推荐策略和基于用户浏览新闻的推荐策略,向用户推荐对应的新闻;若所述用户分类结果为A类用户,则根据用户的历史行为信息,采用预设的推荐算法并基于用户浏览新闻的推荐策略,向用户推荐对应的新闻。更为具体地,基于用户信息的推荐策略包括:根据所述用户地域信息和/或所在部门信息,推荐对应的热门新闻的推荐策略;基于用户关注公司的推荐策略包括:根据所述关注公司信息,推荐对应公司的当天新闻的推荐策略;基于用户浏览新闻的推荐策略包括:若所述用户分类结果为B类用户,则根据所述浏览新闻信息,推荐与所述浏览新闻信息强关联的其他新闻的推荐策略;若所述用户分类结果为A类用户,则根据所述浏览新闻信息、收藏新闻信息和搜索新闻信息,采用推荐算法进行新闻推荐的推荐策略。进一步地,根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻的步骤还包括:获取候选推荐新闻;根据该候选推荐新闻获取对应的新闻因素;根据新闻因素设定对应的权重,得到不同权重的新闻因素;根据不同权重的新闻因素,依据权重对该候选推荐新闻进行综合排序;根据该用户的历史行为信息,对候选推荐新闻进行去重操作,得到新闻推荐列表;根据该新闻推荐列表向用户推荐新闻。进一步地,用户登录推荐新闻入口,在将新闻推荐列表向用户推荐新闻的步骤之后,还包括:获取该用户从推荐新闻入口的新闻点击比例和对应浏览时长;根据新闻点击比例和对应浏览时长进行推荐质量监控。同时,在新闻推荐列表向用户推荐新闻的步骤之后,还包括:获取该用户对推荐新闻列表的操作行为信息;根据操作行为信息设置惩罚机制;根据该惩罚机制,对该用户的候选推荐新闻的新闻因素进行权重的调整,进而调整推荐新闻的综合排序。Based on the user, obtain the user's own attribute information and historical behavior information. Obtain the user's historical behavior quantity according to the user's historical behavior information. The user is classified according to the number of historical behaviors of the user, wherein the number of historical behaviors of the user is compared with a preset threshold, and the users whose number of historical behaviors is greater than or equal to the preset threshold are classified as Class A users; Users whose behavior quantity is greater than zero and less than the preset threshold are classified as B-type users; users whose historical behavior quantity is equal to zero are classified as C-type users, and the user classification result of the user is obtained. According to the user classification result of the user, for different user classifications, based on the user's own attribute information or historical behavior information, the corresponding unsupervised clustering method is used to recommend news to the user, wherein, if the user classification result is a class C user, then According to the user's own attribute information, and adopt the recommendation strategy based on user information, recommend the corresponding news to the user; if the user classification result is a B-type user, then according to the user's own attribute information or historical behavior information, and adopt The recommendation strategy based on user information, the recommendation strategy based on the user's attention to the company, and the recommendation strategy based on the user's browsing news, recommend the corresponding news to the user; if the user classification result is a class A user, according to the user's historical behavior information, adopt The preset recommendation algorithm recommends the corresponding news to the user based on the recommendation strategy of the user browsing news. More specifically, the recommendation strategy based on user information includes: recommending a corresponding popular news recommendation strategy according to the user's regional information and/or department information; the recommendation strategy based on the user's following companies includes: according to the following company information , recommending the recommendation strategy of the news of the day corresponding to the company; the recommendation strategy based on the user's browsing news includes: if the user's classification result is a B-type user, then according to the browsing news information, recommend other news that is strongly related to the browsing news information. Recommendation strategy for news; if the user classification result is a category A user, a recommendation algorithm is used to perform a recommendation strategy for news recommendation according to the browsing news information, collecting news information and searching for news information. Further, according to the user classification result, for different user classifications, and based on the user's own attribute information or historical behavior information, the step of using the corresponding unsupervised clustering method to recommend news to the user further includes: obtaining candidate recommended news; Recommend news to obtain the corresponding news factors; set the corresponding weights according to the news factors to obtain news factors of different weights; according to the news factors of different weights, comprehensively sort the candidate recommended news according to the weights; According to the historical behavior information of the user, Perform a deduplication operation on the candidate recommended news to obtain a news recommendation list; recommend news to the user according to the news recommendation list. Further, after the user logs in to the recommended news portal, after the step of recommending news to the user with the news recommendation list, the method further includes: obtaining the news click ratio and corresponding browsing duration of the user from the recommended news portal; Quality monitoring is recommended. At the same time, after the step of recommending news to the user by the news recommendation list, the method further includes: acquiring the user's operation behavior information on the recommended news list; setting a punishment mechanism according to the operation behavior information; The weight of news factors is adjusted, and then the comprehensive ranking of recommended news is adjusted.

本实施例通过上述方案,具体通过获取用户自身属性信息和历史行为信息;根据所述历史行为信息获取用户的历史行为数量;根据所述历史行为数量对用户进行分类,得到用户分类结果;根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。通过用户分类后使用对应的无监督聚类方法进行新闻推荐,可以解决移动设备用户新闻推荐需要积累大量用户浏览数据,投入人力对数据打标签,训练有监督学习模型等高成本投入问题。基于本申请方案,通过对用户进行分类,并对不同类别的用户运用相应的无需积累大量用户浏览数据,无需投入人力对数据打标签的无监督聚类方法提供推荐新闻,最后经过本申请方案解决了移动设备用户新闻推荐高成本投入问题。This embodiment adopts the above solution, specifically by acquiring the user's own attribute information and historical behavior information; acquiring the user's historical behavior quantity according to the historical behavior information; classifying the users according to the historical behavior quantity, and obtaining the user classification result; According to the user classification results, for different user classifications, based on the user's own attribute information or historical behavior information, the corresponding unsupervised clustering method is used to recommend news to users. By using the corresponding unsupervised clustering method for news recommendation after user classification, it can solve the high-cost investment problems such as accumulating a large amount of user browsing data, investing manpower to label the data, and training a supervised learning model for mobile device user news recommendation. Based on the solution of the present application, by classifying users and applying corresponding unsupervised clustering methods for different categories of users without accumulating a large amount of user browsing data and without investing manpower to label the data, the recommended news is provided. Finally, the solution is solved by the solution of the present application. It solves the problem of high cost of news recommendation for mobile device users.

此外,本申请实施例还提出一种新闻推荐装置,所述新闻推荐装置包括:In addition, an embodiment of the present application also proposes a news recommendation device, and the news recommendation device includes:

信息获取模块,用于获取用户自身属性信息和历史行为信息;The information acquisition module is used to acquire the user's own attribute information and historical behavior information;

数量获取模块,用于根据所述历史行为信息获取用户的历史行为数量;A quantity acquisition module, used for acquiring the historical behavior quantity of the user according to the historical behavior information;

用户分类模块,用于根据所述历史行为数量对用户进行分类,得到用户分类结果;A user classification module, configured to classify users according to the number of historical behaviors to obtain user classification results;

新闻推荐模块,用于根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。The news recommendation module is configured to, according to the user classification result, for different user classifications, and based on the user's own attribute information or historical behavior information, adopt a corresponding unsupervised clustering method to recommend news to the user.

本实施例实现新闻推荐的原理及实施过程,请参照上述各实施例,在此不再赘述。For the principle and implementation process of implementing news recommendation in this embodiment, please refer to the above-mentioned embodiments, which will not be repeated here.

此外,本申请实施例还提出一种终端设备,所述终端设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的新闻推荐程序,所述新闻推荐程序被所述处理器执行时实现如上所述的新闻推荐方法的步骤。In addition, an embodiment of the present application also proposes a terminal device, the terminal device includes a memory, a processor, and a news recommendation program stored on the memory and running on the processor, the news recommendation program being The steps of implementing the above-mentioned news recommendation method when the processor is executed.

由于本新闻推荐程序被处理器执行时,采用了前述所有实施例的全部技术方案,因此至少具有前述所有实施例的全部技术方案所带来的所有有益效果,在此不再一一赘述。When the news recommendation program is executed by the processor, all the technical solutions of the foregoing embodiments are adopted, so at least all the beneficial effects brought by all the technical solutions of the foregoing embodiments are provided, which will not be repeated here.

此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有新闻推荐程序,所述新闻推荐程序被处理器执行时实现如上所述的新闻推荐方法的步骤。In addition, an embodiment of the present application also proposes a computer-readable storage medium, where a news recommendation program is stored on the computer-readable storage medium, and when the news recommendation program is executed by a processor, the steps of the above-mentioned news recommendation method are implemented .

由于本新闻推荐程序被处理器执行时,采用了前述所有实施例的全部技术方案,因此至少具有前述所有实施例的全部技术方案所带来的所有有益效果,在此不再一一赘述。When the news recommendation program is executed by the processor, all the technical solutions of the foregoing embodiments are adopted, so at least all the beneficial effects brought by all the technical solutions of the foregoing embodiments are provided, which will not be repeated here.

相比现有技术,本申请实施例提出的新闻推荐方法、装置、终端设备以及存储介质,通过获取用户自身属性信息和历史行为信息;根据所述历史行为信息获取用户的历史行为数量;根据所述历史行为数量对用户进行分类,得到用户分类结果;根据所述用户分类结果,针对不同用户分类,基于用户自身属性信息或历史行为信息,采用对应的无监督聚类方法向用户推荐新闻。通过用户分类后使用对应的无监督聚类方法进行新闻推荐,可以解决移动设备用户新闻推荐需要积累大量用户浏览数据,投入人力对数据打标签,训练有监督学习模型等高成本投入问题。基于本申请方案,通过对用户进行分类,并对不同类别的用户运用相应的无需积累大量用户浏览数据,无需投入人力对数据打标签的无监督聚类方法提供推荐新闻,最后经过本申请方案解决了移动设备用户新闻推荐高成本投入问题。Compared with the prior art, the news recommendation method, device, terminal device and storage medium proposed in the embodiments of the present application obtain the user's own attribute information and historical behavior information; obtain the user's historical behavior quantity according to the historical behavior information; According to the user classification result, for different user classifications, based on the user's own attribute information or historical behavior information, the corresponding unsupervised clustering method is adopted to recommend news to the user. By using the corresponding unsupervised clustering method for news recommendation after user classification, it can solve the high-cost investment problems such as accumulating a large amount of user browsing data, investing manpower to label the data, and training a supervised learning model for mobile device user news recommendation. Based on the solution of the present application, by classifying users and applying corresponding unsupervised clustering methods for different categories of users without accumulating a large amount of user browsing data and without investing manpower to label the data, the recommended news is provided. Finally, the solution is solved by the solution of the present application. It solves the problem of high cost of news recommendation for mobile device users.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or system comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or system. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system that includes the element.

上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,被控终端,或者网络设备等)执行本申请每个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on such understanding, the technical solutions of the present application can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in the above storage medium (such as ROM/RAM, magnetic CD, CD), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present application.

以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied in other related technical fields , are similarly included within the scope of patent protection of this application.

Claims (14)

1. A news recommendation method is characterized by comprising the following steps:
acquiring self attribute information and historical behavior information of a user;
acquiring the historical behavior quantity of the user according to the historical behavior information;
classifying the users according to the historical behavior quantity to obtain a user classification result;
and according to the user classification result, aiming at different user classifications, recommending news to the user by adopting a corresponding unsupervised clustering method based on the self attribute information or historical behavior information of the user.
2. A news recommendation method according to claim 1, wherein said step of classifying the users according to the number of the historical behaviors to obtain the user classification result comprises:
comparing the historical behavior quantity with a preset threshold value;
dividing the users with the historical behavior number larger than or equal to the preset threshold value into A-type users;
dividing the users with the historical behavior quantity larger than zero and smaller than the preset threshold value into B-type users;
and dividing the users with the historical behavior quantity equal to zero into C-type users.
3. The news recommendation method according to claim 2, wherein the step of recommending news to the user by using a corresponding unsupervised clustering method based on user attribute information or historical behavior information for different user classifications according to the user classification results comprises:
and if the user classification result is a C-type user, recommending corresponding news to the user according to the attribute information of the user and by adopting a recommendation strategy based on the user information.
4. The news recommendation method according to claim 2, wherein the step of recommending news to the user by using a corresponding unsupervised clustering method based on user attribute information or historical behavior information for different user classifications according to the user classification results comprises:
and if the user classification result is a B-type user, recommending corresponding news to the user according to the attribute information or the historical behavior information of the user and by adopting a recommendation strategy based on user information, a recommendation strategy based on a user attention company and a recommendation strategy based on news browsing of the user.
5. The news recommendation method according to claim 2, wherein the step of recommending news to the user by adopting a corresponding unsupervised clustering method based on user attribute information or historical behavior information for different user classifications according to the user classification results comprises:
and if the user classification result is the class A user, recommending the corresponding news to the user by adopting a preset recommendation algorithm and based on a recommendation strategy for browsing the news by the user according to the historical behavior information of the user.
6. The news recommendation method according to claim 3 or 4, wherein the user's own attribute information includes user region information and department information, and the recommendation policy based on the user information includes: and recommending a corresponding hot news recommending strategy according to the user region information and/or the department information.
7. A news recommendation method according to claim 4, wherein the historical behavior information includes information about companies interested by the user, and the recommendation policy based on companies interested by the user includes: and recommending a recommendation strategy of the news of the corresponding company on the same day according to the concerned company information.
8. The news recommendation method according to claim 4 or 5, wherein the historical behavior information includes browsing news information, favorite news information, and search news information of the user, and the recommendation strategy based on browsing news of the user includes:
if the user classification result is a B-type user, recommending a recommendation strategy of other news strongly associated with the browsing news information according to the browsing news information;
and if the user classification result is the A-type user, adopting a recommendation algorithm to carry out a recommendation strategy of news recommendation according to the browsing news information, the collected news information and the searched news information.
9. The news recommendation method according to any one of claims 3, 4 or 5, wherein the step of recommending news to users by using corresponding unsupervised clustering methods based on user attribute information or historical behavior information according to the user classification results and for different user classifications further comprises:
acquiring candidate recommended news;
acquiring corresponding news factors according to the candidate recommended news;
setting corresponding weights according to the news factors to obtain news factors with different weights;
according to the news factors with different weights, comprehensively sequencing the candidate recommended news according to the weights;
according to the historical behavior information of the user, performing duplicate removal operation on the candidate recommended news to obtain a news recommendation list;
and recommending news to the user according to the news recommending list.
10. The news recommendation method of claim 9, wherein after the step of recommending news to a user according to the news recommendation list, further comprising:
acquiring a news click ratio and corresponding browsing duration of the user from the recommended news entry;
and monitoring the recommendation quality according to the news click ratio and the corresponding browsing duration.
11. The news recommendation method of claim 9, wherein after the step of recommending news to a user according to the news recommendation list, further comprising:
acquiring operation behavior information of the user on the recommended news list;
setting a punishment mechanism according to the operation behavior information;
and according to the punishment mechanism, carrying out weight adjustment on news factors of the candidate recommended news of the user.
12. A news recommender, the news recommender comprising:
the information acquisition module is used for acquiring the attribute information and the historical behavior information of the user;
the quantity obtaining module is used for obtaining the historical behavior quantity of the user according to the historical behavior information;
the user classification module is used for classifying the users according to the historical behavior quantity to obtain a user classification result;
and the news recommending module is used for recommending news to the user by adopting a corresponding unsupervised clustering method based on the attribute information or the historical behavior information of the user according to the user classification result and aiming at different user classifications.
13. A terminal device, characterized in that the terminal device comprises a memory, a processor and a news recommender stored on the memory and operable on the processor, which when executed by the processor implements the steps of the news recommendation method as claimed in any one of claims 1 to 11.
14. A computer-readable storage medium, having stored thereon a news recommender, which when executed by a processor implements the steps of the news recommendation method as claimed in any one of claims 1-11.
CN202210725579.2A 2022-06-24 2022-06-24 News recommendation method, device, terminal device and storage medium Pending CN114936324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210725579.2A CN114936324A (en) 2022-06-24 2022-06-24 News recommendation method, device, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210725579.2A CN114936324A (en) 2022-06-24 2022-06-24 News recommendation method, device, terminal device and storage medium

Publications (1)

Publication Number Publication Date
CN114936324A true CN114936324A (en) 2022-08-23

Family

ID=82868742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210725579.2A Pending CN114936324A (en) 2022-06-24 2022-06-24 News recommendation method, device, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN114936324A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115391659A (en) * 2022-09-02 2022-11-25 中国第一汽车股份有限公司 News recommendation method, device, electronic device, and computer-readable storage medium
CN117290608A (en) * 2023-11-23 2023-12-26 深圳数拓科技有限公司 Marketing scheme intelligent pushing method, system and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080243638A1 (en) * 2007-03-30 2008-10-02 Chan James D Cluster-based categorization and presentation of item recommendations
CN101968802A (en) * 2010-09-30 2011-02-09 百度在线网络技术(北京)有限公司 Method and equipment for recommending content of Internet based on user browse behavior
CN110781376A (en) * 2019-08-30 2020-02-11 腾讯科技(深圳)有限公司 Information recommendation method, device, equipment and storage medium
CN111259259A (en) * 2020-03-11 2020-06-09 郑州工程技术学院 University student news recommendation method, device, equipment and storage medium
CN112148973A (en) * 2020-09-04 2020-12-29 京东数字科技控股股份有限公司 Data processing method and device for information push
CN113407729A (en) * 2021-05-11 2021-09-17 银江股份有限公司 Judicial-oriented personalized case recommendation method and system
CN113886701A (en) * 2021-10-13 2022-01-04 万达信息股份有限公司 An Intelligent Recommendation Method for Urban Services Based on Hybrid Algorithm

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080243638A1 (en) * 2007-03-30 2008-10-02 Chan James D Cluster-based categorization and presentation of item recommendations
CN101968802A (en) * 2010-09-30 2011-02-09 百度在线网络技术(北京)有限公司 Method and equipment for recommending content of Internet based on user browse behavior
CN110781376A (en) * 2019-08-30 2020-02-11 腾讯科技(深圳)有限公司 Information recommendation method, device, equipment and storage medium
CN111259259A (en) * 2020-03-11 2020-06-09 郑州工程技术学院 University student news recommendation method, device, equipment and storage medium
CN112148973A (en) * 2020-09-04 2020-12-29 京东数字科技控股股份有限公司 Data processing method and device for information push
CN113407729A (en) * 2021-05-11 2021-09-17 银江股份有限公司 Judicial-oriented personalized case recommendation method and system
CN113886701A (en) * 2021-10-13 2022-01-04 万达信息股份有限公司 An Intelligent Recommendation Method for Urban Services Based on Hybrid Algorithm

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115391659A (en) * 2022-09-02 2022-11-25 中国第一汽车股份有限公司 News recommendation method, device, electronic device, and computer-readable storage medium
CN117290608A (en) * 2023-11-23 2023-12-26 深圳数拓科技有限公司 Marketing scheme intelligent pushing method, system and storage medium

Similar Documents

Publication Publication Date Title
US11393036B2 (en) Deep learning-based two-phase clustering algorithm
CN118467851B (en) Artificial intelligent data searching and distributing method and system
US11663254B2 (en) System and engine for seeded clustering of news events
CN109165975B (en) Label recommending method, device, computer equipment and storage medium
CN112632405B (en) Recommendation method, recommendation device, recommendation equipment and storage medium
CN111859149A (en) Information recommendation method, device, electronic device and storage medium
US20120054040A1 (en) Adaptive Targeting for Finding Look-Alike Users
US20090265325A1 (en) Adaptive multi-channel content selection with behavior-aware query analysis
CN101111837A (en) Search processing with automatic categorization of queries
EP2316065A1 (en) Personalization engine for classifying unstructured documents
CN114936324A (en) News recommendation method, device, terminal device and storage medium
CN118691350B (en) A method for managing advertising value based on intelligent delivery
CN119003891B (en) Method, device and equipment for generating employee search recommended content
CN116401459A (en) Internet information processing method, system and recording medium
CN119850272A (en) Media popularization and orientation precise delivery system and method based on big data
CN110472016A (en) Article recommended method, device, electronic equipment and storage medium
CN116823410A (en) Data processing method, object processing method, recommending method and computing device
Wasilewski et al. Clustering methods for adaptive e-commerce user interfaces
CN114443671A (en) Updating method, apparatus, computer equipment and storage medium of recommended model
CN116070024A (en) Article Recommendation Method and Device Based on New Energy Cloud and User Behavior
CN110083766B (en) Query recommendation method and device based on meta-path guiding embedding
CN119939032A (en) A content recommendation method based on cross-device behavior pattern analysis and dynamic profiling
Zhang et al. Discovering consumers’ purchase intentions based on mobile search behaviors
Jorge et al. Scalable online top-n recommender systems
CN111353052B (en) Multimedia object recommendation method and device, electronic equipment 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