CN110555753A - recommendation-based ranking control method and device, computer equipment and storage medium - Google Patents
recommendation-based ranking control method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110555753A CN110555753A CN201910750355.5A CN201910750355A CN110555753A CN 110555753 A CN110555753 A CN 110555753A CN 201910750355 A CN201910750355 A CN 201910750355A CN 110555753 A CN110555753 A CN 110555753A
- Authority
- CN
- China
- Prior art keywords
- product
- user
- feature
- recommendation
- generate
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000006399 behavior Effects 0.000 claims abstract description 102
- 239000013598 vector Substances 0.000 claims abstract description 73
- 238000012549 training Methods 0.000 claims abstract description 25
- 238000003062 neural network model Methods 0.000 claims abstract description 24
- 239000011159 matrix material Substances 0.000 claims description 36
- 238000012545 processing Methods 0.000 claims description 23
- 230000008569 process Effects 0.000 claims description 13
- 238000012163 sequencing technique Methods 0.000 claims 12
- 230000000694 effects Effects 0.000 description 8
- 230000006854 communication Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 230000007175 bidirectional communication Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 239000002360 explosive Substances 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000009472 formulation Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 241000220324 Pyrus Species 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000007087 memory ability Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 235000021017 pears Nutrition 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0631—Item recommendations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开一种基于推荐的排序控制方法、装置、计算机设备及存储介质。方法包括:获取产品特征,其中,所述产品特征包括对产品的知识图谱进行特征学习所获得的所述产品的特征向量;将所述产品特征嵌入到推荐系统预设的神经网络模型中进行训练生成实现智能推荐的排序控制模型,其中,所述排序控制模型用于依据用户的行为数据生成与所述用户相匹配的产品排序规则;按照所述排序控制模型生成的产品排序规则对产品进行排序生成对应的产品排序列表并推荐给所述用户。本发明引入知识图谱学习到的embedding特征来训练排序控制模型,解决了产品推荐冷启动问题和用户数据稀疏性问题。
The invention discloses a ranking control method, device, computer equipment and storage medium based on recommendation. The method includes: acquiring product features, wherein the product features include a feature vector of the product obtained by performing feature learning on the knowledge map of the product; embedding the product features into a neural network model preset by the recommendation system for training Generate a sorting control model for intelligent recommendation, wherein the sorting control model is used to generate product sorting rules matching the user based on user behavior data; sort the products according to the product sorting rules generated by the sorting control model A corresponding sorted list of products is generated and recommended to the user. The invention introduces the embedding features learned from the knowledge graph to train the sorting control model, and solves the cold start problem of product recommendation and the sparsity problem of user data.
Description
技术领域technical field
本发明涉及智能推荐技术领域,具体而言,本发明涉及一种基于推荐的排序控制方法、装置、计算机设备及存储介质。The present invention relates to the technical field of intelligent recommendation, in particular, the present invention relates to a ranking control method, device, computer equipment and storage medium based on recommendation.
背景技术Background technique
近年来,云计算、物联网、移动互联网、人工智能等技术的迅速发展为人们的工作生活带来了很多便利。用户可以方便地通过网络来搜寻自己想要的信息。然而,当面对爆炸式增长的网络信息时,用户反而难以进行高效的选择。推荐系统的出现为解决信息超载提供了一条有效途径。推荐系统是信息过滤系统的一个子集,旨在根据用户的喜好、习惯、个性化需求以及商品的特性来预测用户对商品的喜好,为用户推荐最合适的商品,帮助用户快速地做出决策。In recent years, the rapid development of cloud computing, Internet of Things, mobile Internet, artificial intelligence and other technologies has brought a lot of convenience to people's work and life. Users can easily search for the information they want through the Internet. However, when faced with the explosive growth of network information, it is difficult for users to make efficient choices. The emergence of recommender systems provides an effective way to solve information overload. The recommendation system is a subset of the information filtering system, which aims to predict the user's preference for the product based on the user's preferences, habits, individual needs and product characteristics, recommend the most suitable product for the user, and help the user make a decision quickly .
传统的推荐系统多为仅依据用户历史行为序列的Attention机制建立的模型,包括基于内容的推荐系统、基于协同过滤的推荐系统、基于知识的推荐系统、基于人口统计学的推荐系统和混合型推荐系统等等。这些推荐系统使用传统的Embedding&MLP结构,存在模型泛化能力不足,推荐结果新颖度不够等问题。而针对于新用户、新产品或者新系统,则由于没有历史交互信息而存在无法进行准确的建模和推荐,以及产品推荐冷启动问题。而且,用户画像特征高维稀疏,学习效果差,模型的记忆能力低,系统难以达到用户需要的推荐效果。Traditional recommendation systems are mostly models based on the Attention mechanism of user historical behavior sequences, including content-based recommendation systems, collaborative filtering-based recommendation systems, knowledge-based recommendation systems, demographic-based recommendation systems, and hybrid recommendation systems. system and so on. These recommendation systems use the traditional Embedding&MLP structure, which has problems such as insufficient model generalization ability and insufficient novelty of recommendation results. However, for new users, new products or new systems, due to the lack of historical interaction information, accurate modeling and recommendation cannot be performed, and product recommendation cold start problems exist. Moreover, the features of user portraits are high-dimensional and sparse, the learning effect is poor, and the memory ability of the model is low, so it is difficult for the system to achieve the recommendation effect required by the user.
发明内容Contents of the invention
本发明的目的旨在至少解决上述技术缺陷之一,特别是模型泛化能力不足,推荐结果新颖度不够,以及推荐存在产品冷启动等技术缺陷。The purpose of the present invention is to solve at least one of the above technical defects, especially insufficient model generalization ability, insufficient novelty of recommendation results, and technical defects such as product cold start in recommendation.
为解决上述技术问题,本发明提供了一种基于推荐的排序控制方法,包括以下步骤:In order to solve the above-mentioned technical problems, the present invention provides a sorting control method based on recommendation, comprising the following steps:
获取产品特征,其中,所述产品特征包括对产品的知识图谱进行特征学习所获得的所述产品的特征向量;Obtaining product features, wherein the product features include a feature vector of the product obtained by performing feature learning on the knowledge map of the product;
将所述产品特征嵌入到推荐系统预设的神经网络模型中进行训练生成实现智能推荐的排序控制模型,其中,所述排序控制模型用于依据用户的行为数据生成与所述用户相匹配的产品排序规则;Embed the product features into the neural network model preset by the recommendation system for training to generate a ranking control model for intelligent recommendation, wherein the ranking control model is used to generate products that match the user based on the user's behavior data collation;
按照所述排序控制模型生成的产品排序规则对产品进行排序生成对应的产品排序列表并推荐给所述用户。The products are sorted according to the product sorting rules generated by the sorting control model to generate a corresponding product sorting list and recommended to the user.
可选地,所述获取产品特征,其中,所述产品特征包括对产品的知识图谱进行特征学习所获得的所述产品的特征向量的步骤,还包括:Optionally, the acquiring product features, wherein the product features include the step of feature vectors of the product obtained by performing feature learning on the knowledge graph of the product, further includes:
获取产品的知识图谱;Obtain the knowledge map of the product;
从所述知识图谱中提取所述产品的实体属性参数;extracting entity attribute parameters of the product from the knowledge graph;
将所述产品的实体属性参数转化为以embedding形式存在的特征向量。The entity attribute parameters of the product are converted into feature vectors in the form of embedding.
可选地,所述将所述产品的实体属性参数转化为以embedding形式存在的特征向量的步骤之后,还包括:Optionally, after the step of converting the entity attribute parameters of the product into feature vectors in the form of embeddings, it also includes:
将存储在所述推荐系统中的产品的特征向量进行汇总生成产品特征,其中,所述产品特征体现为项目嵌入矩阵。The feature vectors of the products stored in the recommendation system are summarized to generate product features, wherein the product features are embodied as an item embedding matrix.
可选地,所述将所述产品特征嵌入到推荐系统预设的神经网络模型中进行训练生成实现智能推荐的排序控制模型,其中,所述排序控制模型用于依据用户的行为数据生成与所述用户相匹配的产品排序规则的步骤之后,还包括:Optionally, embedding the product features into the neural network model preset by the recommendation system for training to generate a ranking control model for intelligent recommendation, wherein the ranking control model is used to generate and match the user’s behavior data with the user’s behavior data. After the steps described above to match the user to the product ordering rules, also include:
获取用户的行为数据;Obtain user behavior data;
根据所述行为数据分析用户的行为序列特征;Analyze the behavior sequence characteristics of the user according to the behavior data;
从所述排序控制模型的项目嵌入矩阵中查找出与所述用户的行为序列特征相匹配的第一特征向量;Finding a first feature vector matching the user's behavior sequence features from the item embedding matrix of the ranking control model;
根据所述用户的行为序列特征以及预设的加权规则对所述第一特征向量进行加权设置,以生成与该用户相匹配的产品排序规则。Weighting is set on the first feature vector according to the user's behavior sequence feature and a preset weighting rule, so as to generate a product ranking rule matching the user.
可选地,所述用户的行为序列特征为用户单一的类别特征,至少体现为如下之一:兴趣特征、消费特征。Optionally, the user's behavior sequence feature is a single category feature of the user, at least embodied as one of the following: interest feature, consumption feature.
可选地,当所述用户的行为序列特征为兴趣特征时,根据所述用户的行为序列特征以及预设的加权规则对所述第一特征向量进行加权设置,以生成与该用户相匹配的产品排序规则的步骤,还包括:Optionally, when the user's behavior sequence feature is an interest feature, the first feature vector is weighted and set according to the user's behavior sequence feature and a preset weighting rule, so as to generate a user-matched The steps for product sorting rules also include:
获取用户浏览产品过程中的操作信息;Obtain operation information during the process of browsing the product by the user;
对所述操作信息进行分析得出所述用户的兴趣特征;Analyzing the operation information to obtain the user's interest characteristics;
根据所述用户的兴趣特征从所述排序控制模型中的项目嵌入矩阵中查找出与所述兴趣特征相对应的第二特征向量,以对所述第二特征向量进行加权设置生成与该用户相匹配的产品排序规则。Find the second feature vector corresponding to the feature of interest from the item embedding matrix in the ranking control model according to the feature of interest of the user, so as to weight the second feature vector to generate Matching product collation.
可选地,当所述用户的行为序列特征为消费特征时,根据所述用户的行为序列特征以及预设的加权规则对所述第一特征向量进行加权设置,以生成与该用户相匹配的产品排序规则的步骤,还包括:Optionally, when the user's behavior sequence feature is a consumption feature, the first feature vector is weighted and set according to the user's behavior sequence feature and a preset weighting rule, so as to generate a user-matched The steps for product sorting rules also include:
获取用户预设时间段内的消费记录;Obtain the consumption records of the user within the preset time period;
对所述消费记录进行分析得出所述用户的消费特征;Analyzing the consumption records to obtain the consumption characteristics of the user;
根据所述用户的消费特征从所述排序控制模型中的项目嵌入矩阵中查找出与所述消费特征相对应的第三特征向量,以对所述第三特征向量进行加权设置生成与该用户相匹配的产品排序规则。According to the consumption characteristics of the user, the third eigenvector corresponding to the consumption characteristics is found from the item embedding matrix in the ranking control model, so as to weight the third eigenvectors to generate Matching product collation.
为解决上述技术问题,本发明还提供了一种基于推荐的排序控制装置,包括:In order to solve the above technical problems, the present invention also provides a sorting control device based on recommendation, including:
获取模块,用于获取产品特征,其中,所述产品特征包括对产品的知识图谱进行特征学习所获得的所述产品的特征向量;An acquisition module, configured to acquire product features, wherein the product features include a feature vector of the product obtained by performing feature learning on the knowledge map of the product;
处理模块,用于将所述产品特征嵌入到推荐系统预设的神经网络模型中进行训练生成实现智能推荐的排序控制模型,其中,所述排序控制模型用于依据用户的行为数据生成与所述用户相匹配的产品排序规则;The processing module is used to embed the product features into the neural network model preset by the recommendation system for training to generate a ranking control model for intelligent recommendation, wherein the ranking control model is used to generate and match the user's behavior data according to the user's behavior data. User matching product sorting rules;
执行模块,用于按照所述排序控制模型生成的产品排序规则对产品进行排序生成对应的产品排序列表并推荐给所述用户。An execution module, configured to sort the products according to the product sorting rules generated by the sorting control model to generate a corresponding product sorting list and recommend them to the user.
可选地,所述基于推荐的排序控制装置还包括:Optionally, the recommendation-based ranking control device further includes:
第一获取子模块,用于获取产品的知识图谱;The first acquisition sub-module is used to acquire the knowledge map of the product;
第一处理子模块,用于从所述知识图谱中提取所述产品的实体属性参数;The first processing submodule is used to extract the entity attribute parameters of the product from the knowledge map;
第一执行子模块,用于将所述产品的实体属性参数转化为以embedding形式存在的特征向量。The first execution sub-module is used to transform the entity attribute parameters of the product into feature vectors in the form of embedding.
可选地,所述基于推荐的排序控制装置还包括:Optionally, the recommendation-based ranking control device further includes:
第二执行子模块,用于将存储在所述推荐系统中的产品的特征向量进行汇总生成产品特征,其中,所述产品特征体现为项目嵌入矩阵。The second execution sub-module is used for summarizing the feature vectors of the products stored in the recommendation system to generate product features, wherein the product features are embodied as an item embedding matrix.
可选地,所述基于推荐的排序控制装置还包括:Optionally, the recommendation-based ranking control device further includes:
第二获取子模块,用于获取用户的行为数据;The second acquisition sub-module is used to acquire user behavior data;
第二处理子模块,用于根据所述行为数据分析用户的行为序列特征;The second processing sub-module is used to analyze the user's behavior sequence characteristics according to the behavior data;
第三处理子模块,用于从所述排序控制模型的项目嵌入矩阵中查找出与所述用户的行为序列特征相匹配的第一特征向量;The third processing submodule is used to find the first feature vector matching the user's behavior sequence features from the item embedding matrix of the ranking control model;
第三执行子模块,用于根据所述用户的行为序列特征以及预设的加权规则对所述第一特征向量进行加权设置,以生成与该用户相匹配的产品排序规则。The third execution submodule is configured to set the weight of the first feature vector according to the user's behavior sequence feature and preset weighting rules, so as to generate a product ranking rule matching the user.
可选地,所述用户的行为序列特征为用户单一的类别特征,至少体现为如下之一:兴趣特征、消费特征。Optionally, the user's behavior sequence feature is a single category feature of the user, at least embodied as one of the following: interest feature, consumption feature.
可选地,当所述用户的行为序列特征为兴趣特征时,所述基于推荐的排序控制装置还包括:Optionally, when the user's behavior sequence feature is an interest feature, the recommendation-based ranking control device further includes:
第三获取子模块,用于获取用户浏览产品过程中的操作信息;The third acquisition sub-module is used to acquire the operation information in the process of the user browsing the product;
第四处理子模块,用于对所述操作信息进行分析得出所述用户的兴趣特征;The fourth processing sub-module is used to analyze the operation information to obtain the user's interest characteristics;
第四执行子模块,用于根据所述用户的兴趣特征从所述排序控制模型中的项目嵌入矩阵中查找出与所述兴趣特征相对应的第二特征向量,以对所述第二特征向量进行加权设置生成与该用户相匹配的产品排序规则。The fourth execution submodule is used to find a second feature vector corresponding to the feature of interest from the item embedding matrix in the ranking control model according to the feature of interest of the user, so as to compare the second feature vector Perform weighting settings to generate product sorting rules that match the user.
可选地,当所述用户的行为序列特征为消费特征时,所述基于推荐的排序控制装置还包括:Optionally, when the user's behavior sequence feature is a consumption feature, the recommendation-based ranking control device further includes:
第四获取子模块,用于获取用户预设时间段内的消费记录;The fourth obtaining sub-module is used to obtain the consumption records of the user within the preset time period;
第五处理子模块,用于对所述消费记录进行分析得出所述用户的消费特征;The fifth processing sub-module is used to analyze the consumption record to obtain the consumption characteristics of the user;
第五执行子模块,用于根据所述用户的消费特征从所述排序控制模型中的项目嵌入矩阵中查找出与所述消费特征相对应的第三特征向量,以对所述第三特征向量进行加权设置生成与该用户相匹配的产品排序规则。The fifth execution submodule is used to find a third feature vector corresponding to the consumption feature from the item embedding matrix in the ranking control model according to the consumption feature of the user, so as to calculate the third feature vector Perform weighting settings to generate product sorting rules that match the user.
为解决上述技术问题,本发明还提供一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行上述基于推荐的排序控制方法的步骤。In order to solve the above-mentioned technical problems, the present invention also provides a computer device, including a memory and a processor, wherein computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the processor, the processing The controller executes the steps of the above recommendation-based ranking control method.
为解决上述技术问题,本发明还提供一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述基于推荐的排序控制方法的步骤。In order to solve the above-mentioned technical problems, the present invention also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, one or more processors execute the above recommendation-based Sequence the steps of the control method.
本发明的有益效果在于:The beneficial effects of the present invention are:
本发明通过产品的知识图谱来获取该产品对应的产品特征,然后通过将该产品特征作为一个中间参数嵌入到预设的神经网络模型中进行训练并生成实现智能推荐的排序控制模型,再通过获取用户的行为数据以及依据该用户的行为数据从所述排序控制模型中获取与该用户相匹配的产品排序规则,最后按照所述排序控制模型生成的产品排序规则对产品进行排序生成对应的产品排序列表并推荐给用户。上述方法通过引入产品的知识图谱,以将从知识图谱中获取的产品特征嵌入到神经网络模型中进行模型训练,解决了产品推荐的冷启动问题,而且,通过基于从产品的知识图谱中学习得到的实体属性类embedding向量特征查找和分析用户的行为序列特征,并依据该行为序列特征生成与该用户相匹配的产品排序规则,克服了用户画像特征高维稀疏而导致系统难以达到用户需要的推荐效果的问题。The present invention acquires the product features corresponding to the product through the knowledge map of the product, and then embeds the product features as an intermediate parameter into the preset neural network model for training and generates a sorting control model for intelligent recommendation, and then acquires The user's behavior data and the product ranking rules matching the user are obtained from the ranking control model based on the user's behavior data, and finally the products are sorted according to the product ranking rules generated by the ranking control model to generate the corresponding product ranking List and recommend to users. The above method solves the cold start problem of product recommendation by introducing the knowledge map of the product to embed the product features obtained from the knowledge map into the neural network model for model training. The entity attribute class embedding vector feature searches and analyzes the user's behavior sequence characteristics, and generates a product ranking rule that matches the user based on the behavior sequence characteristics, which overcomes the high-dimensional and sparse user portrait features that make it difficult for the system to meet the user's needs. The question of effect.
本发明附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and will become apparent from the description, or may be learned by practice of the invention.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本发明实施例提供的基于推荐的排序控制方法的基本方法流程示意图;FIG. 1 is a schematic flowchart of a basic method of a recommendation-based ranking control method provided by an embodiment of the present invention;
图2为本发明实施例提供的基于推荐的排序控制方法中获取产品特征的一种方法流程示意图;FIG. 2 is a schematic flowchart of a method for acquiring product features in a recommendation-based ranking control method provided by an embodiment of the present invention;
图3为本发明实施例提供的基于推荐的排序控制方法中所述排序控制模型依据用户的行为数据生成产品排序规则的一种方法流程示意图;3 is a schematic flowchart of a method for generating product ranking rules based on user behavior data by the ranking control model in the recommendation-based ranking control method provided by an embodiment of the present invention;
图4为本发明实施例提供的基于推荐的排序控制方法中依据用户的兴趣特征生成产品排序规则时的一种方法流程示意图;FIG. 4 is a schematic flowchart of a method for generating product ranking rules based on user interest characteristics in the recommendation-based ranking control method provided by an embodiment of the present invention;
图5为本发明实施例提供的基于推荐的排序控制方法中依据用户的消费特征生成产品排序规则时的一种方法流程示意图;5 is a schematic flowchart of a method for generating product ranking rules based on user consumption characteristics in the recommendation-based ranking control method provided by an embodiment of the present invention;
图6为本发明实施例提供的基于推荐的排序控制装置基本结构框图;FIG. 6 is a basic structural block diagram of a recommendation-based ranking control device provided by an embodiment of the present invention;
图7为本发明实施例提供的计算机设备基本结构框图。FIG. 7 is a block diagram of a basic structure of a computer device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention.
在本发明的说明书和权利要求书及上述附图中的描述的一些流程中,包含了按照特定顺序出现的多个操作,但是应该清楚了解,这些操作可以不按照其在本文中出现的顺序来执行或并行执行,且该操作的序号仅仅是用于区分开各个不同的操作,序号本身不代表任何的执行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或并行执行。需要说明的是,本文中的“第一”、“第二”等描述,是用于区分不同的消息、设备、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。In some processes described in the specification and claims of the present invention and the above-mentioned drawings, a plurality of operations appearing in a specific order are contained, but it should be clearly understood that these operations may not be performed in the order in which they appear herein Execution or parallel execution, and the sequence number of the operation is only used to distinguish different operations, and the sequence number itself does not represent any execution order. Additionally, these processes can include more or fewer operations, and these operations can be performed sequentially or in parallel. It should be noted that the descriptions of "first" and "second" in this article are used to distinguish different messages, devices, modules, etc. are different types.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.
实施例Example
本技术领域技术人员可以理解,这里所使用的“终端”、“终端设备”既包括无线信号接收器的设备,其仅具备无发射能力的无线信号接收器的设备,又包括接收和发射硬件的设备,其具有能够在双向通信链路上,执行双向通信的接收和发射硬件的设备。这种设备可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备;PCS(Personal Communications Service,个人通信系统),其可以组合语音、数据处理、传真和/或数据通信能力;PDA(Personal Digital Assistant,个人数字助理),其可以包括射频接收器、寻呼机、互联网/内联网访问、网络浏览器、记事本、日历和/或GPS(Global Positioning System,全球定位系统)接收器;常规膝上型和/或掌上型计算机或其他设备,其具有和/或包括射频接收器的常规膝上型和/或掌上型计算机或其他设备。这里所使用的“终端”、“终端设备”可以是便携式、可运输、安装在交通工具(航空、海运和/或陆地)中的,或者适合于和/或配置为在本地运行,和/或以分布形式,运行在地球和/或空间的任何其他位置运行。这里所使用的“终端”、“终端设备”还可以是通信终端、上网终端、音乐/视频播放终端,例如可以是PDA、MID(Mobile Internet Device,移动互联网设备)和/或具有音乐/视频播放功能的移动电话,也可以是智能电视、机顶盒等设备。Those skilled in the art can understand that the "terminal" and "terminal equipment" used here not only include wireless signal receiver equipment, which only has wireless signal receiver equipment without transmission capabilities, but also include receiving and transmitting hardware. A device having receiving and transmitting hardware capable of performing bi-directional communication over a bi-directional communication link. Such equipment may include: cellular or other communication equipment, which has a single-line display or a multi-line display or a cellular or other communication equipment without a multi-line display; PCS (Personal Communications Service, personal communication system), which can combine voice, data Processing, facsimile and/or data communication capabilities; PDA (Personal Digital Assistant, Personal Digital Assistant), which may include radio frequency receiver, pager, Internet/Intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal", "terminal device" may be portable, transportable, installed in a vehicle (air, sea, and/or land), or adapted and/or configured to operate locally, and/or In distributed form, the operation operates at any other location on Earth and/or in space. The "terminal" and "terminal equipment" used here can also be communication terminals, Internet terminals, music/video playback terminals, such as PDAs, MIDs (Mobile Internet Devices, mobile Internet devices) and/or with music/video playback terminals. Functional mobile phones, smart TVs, set-top boxes and other devices.
本实施例中提及的用户终端即为上述的终端。The user terminal mentioned in this embodiment is the above-mentioned terminal.
请参阅图1,图1为本发明实施例提供的基于推荐的排序控制方法的基本方法流程示意图。Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a basic method of a ranking control method based on recommendation provided by an embodiment of the present invention.
如图1所示,所述基于推荐的排序控制方法,包括以下步骤:As shown in Figure 1, the described ranking control method based on recommendation includes the following steps:
S100:获取产品特征,其中,所述产品特征包括对产品的知识图谱进行特征学习所获得的所述产品的特征向量。S100: Obtain product features, wherein the product features include a feature vector of the product obtained by performing feature learning on a product knowledge graph.
面对网络信息的爆炸式增长,本发明提供一种基于推荐的排序控制方法,该方法可以应用在推荐系统中。由于产品都具有其相对应的产品属性参数,包括但不限于产品的应用场景、分类、价格等等。本方法通过对存储于推荐系统中的产品都进行特征学习,以获取得到与所述推荐系统中每一款产品相对应的特征向量。Facing the explosive growth of network information, the present invention provides a ranking control method based on recommendation, which can be applied in recommendation systems. Because all products have their corresponding product attribute parameters, including but not limited to application scenarios, categories, prices, etc. of the products. In this method, feature learning is performed on all products stored in the recommendation system to obtain feature vectors corresponding to each product in the recommendation system.
在一些实施例中,请一并参阅图2,图2为本发明实施例提供的基于推荐的排序控制方法中获取产品特征的一种方法流程示意图。In some embodiments, please also refer to FIG. 2 . FIG. 2 is a schematic flowchart of a method for acquiring product features in the recommendation-based ranking control method provided by an embodiment of the present invention.
如图2所示,所述步骤S100包括如下步骤:S110:获取产品的知识图谱;S120:从所述知识图谱中提取所述产品的实体属性参数;S130:将所述产品的实体属性参数转化为以embedding形式存在的特征向量。As shown in Figure 2, the step S100 includes the following steps: S110: Acquire the knowledge graph of the product; S120: Extract the entity attribute parameters of the product from the knowledge graph; S130: Convert the entity attribute parameters of the product is a feature vector in the form of embedding.
在本实施例中,在对产品进行特征学习来获取产品的特征向量时,首先调用预先保存的产品的知识图谱,所述知识图谱中记录有产品相关属性参数以及各属性参数相互关系的数据。然后从该知识图谱中提取产品的各种相关属性参数,采用TransH/TransE算法对从所述产品的知识图谱中提取的各种相关属性参数进行转化,从而形成以embedding形式存在的特征向量。其中,embedding为一个向量矩阵,该向量矩阵中具体将表征产品属性的参数以向量的方式进行表达。进一步地,通过对所述推荐系统中所有产品对应的embedding向量进行汇总生成产品特征,其中,所述产品特征体现为项目嵌入矩阵(Item EmbeddingMatrix,简称M)。In this embodiment, when learning the features of the product to obtain the feature vector of the product, the pre-saved knowledge map of the product is first called, and the knowledge map records data about product-related attribute parameters and the relationship between each attribute parameter. Then extract various relevant attribute parameters of the product from the knowledge graph, and use the TransH/TransE algorithm to transform the various relevant attribute parameters extracted from the knowledge graph of the product, thereby forming a feature vector in the form of embedding. Wherein, embedding is a vector matrix, and in the vector matrix, the parameters representing the attributes of the product are expressed in the form of vectors. Further, product features are generated by summarizing embedding vectors corresponding to all products in the recommendation system, wherein the product features are embodied as an item embedding matrix (Item Embedding Matrix, M for short).
S200:将所述产品特征嵌入到预设的神经网络模型中进行训练生成用于基于推荐的排序控制模型,其中,所述排序控制模型用于依据用户的行为数据生成与所述用户相匹配的产品排序规则。S200: Embedding the product features into a preset neural network model for training to generate a recommendation-based ranking control model, wherein the ranking control model is used to generate a ranking that matches the user based on the user's behavior data. Product sorting rules.
项目嵌入矩阵(Item Embedding Matrix,简称M)原本是推荐系统中执行产品推荐的深度神经网络模型在训练过程中本身需要学习的一个中间参数。本实施例中,通过调用预先保存的产品的知识图谱,然后对该知识图谱进行特征学习获得表征产品属性的以embedding向量形式存在的特征向量,进而通过将这些特征向量进行汇总形成项目嵌入矩阵。当获得项目嵌入矩阵之后,通过将该项目嵌入矩阵嵌入到神经网络模型中进行训练,以生成可以实现智能推荐的排序控制模型。其中,所述排序控制模型具备依据用户的行为数据生成与该用户相匹配的产品排序规则的功能,以使得推荐系统在执行智能推荐产品之前依据所述产品排序规则对所述推荐系统中的全部或部分产品进行排序。具体地,所述产品排序规则可以依据用户的行为数据对用户进行行为预测分析,预测该用户选择推荐系统中每一产品的概率,进而按照该概率的大小对产品进行排序。The item embedding matrix (Item Embedding Matrix, referred to as M) is originally an intermediate parameter that the deep neural network model that performs product recommendation in the recommendation system needs to learn during the training process. In this embodiment, feature vectors in the form of embedding vectors representing product attributes are obtained by calling the pre-saved product knowledge map, and then performing feature learning on the knowledge map, and then the item embedding matrix is formed by summarizing these feature vectors. After the item embedding matrix is obtained, the item embedding matrix is embedded into the neural network model for training to generate a ranking control model that can realize intelligent recommendation. Wherein, the ranking control model has the function of generating a product ranking rule that matches the user based on the user's behavior data, so that the recommendation system can make a list of all products in the recommendation system according to the product ranking rule before performing intelligent product recommendation. or partial products to sort. Specifically, the product sorting rule can predict and analyze the user's behavior based on the user's behavior data, predict the probability that the user will choose each product in the recommendation system, and then sort the products according to the probability.
推荐系统中的神经网络模型本身需要学习产品的各种相关属性参数,本实施例通过将从产品知识图谱中学习到的embedding向量汇总形成项目嵌入矩阵并嵌入到所述神经网络模型中,以将该项目嵌入矩阵作为训练神经网络模型的一个中间参数来使用,而且同时冻结所述神经网络模型中原有对产品相关属性参数的embedding学习,使得在训练神经网络模型时无需模型自己学习该embedding向量,避免了模型自己学习到的产品聚类效果不理想的情况发生。可以理解的是,在所述项目嵌入矩阵中,还可以依据每一个特征向量对产品的影响程度或重要程度来对应设置该特征向量的权重,使得模型训练更为准确,产品聚类效果更为理想。The neural network model in the recommendation system itself needs to learn various relevant attribute parameters of the product. In this embodiment, the embedding vectors learned from the product knowledge map are summarized to form an item embedding matrix and embedded into the neural network model to integrate The embedding matrix of this project is used as an intermediate parameter for training the neural network model, and at the same time freezes the original embedding learning of product-related attribute parameters in the neural network model, so that the model does not need to learn the embedding vector by itself when training the neural network model. It avoids the situation that the product clustering effect learned by the model itself is not ideal. It can be understood that, in the item embedding matrix, the weight of each feature vector can be set correspondingly according to the degree of influence or importance of each feature vector on the product, so that the model training is more accurate and the product clustering effect is better. ideal.
S300:按照所述排序控制模型生成的产品排序规则对产品进行排序生成对应的产品排序列表并推荐给所述用户。S300: Sort the products according to the product sorting rule generated by the sorting control model to generate a corresponding product sorting list and recommend it to the user.
在本实施例中,训练生成排序控制模型之后,当推荐系统需要执行智能推荐操作时,通过将用户的行为数据输入至所述排序控制模型中,以将所述输入的行为数据与所述排序控制模型中由产品特征形成的项目嵌入矩阵进行比对,从而对用户进行行为预测分析,预测该用户选择推荐系统中每一产品的概率,进而依据用户选择每一产品的预测概率高低生成与所述用户相匹配的产品排序规则。然后按照所述产品排序规则对推荐系统中存储的产品进行排序,生成符合所述用户兴趣偏好的产品排序列表以及将所述生成的产品排序列表推荐给所述用户,以完成推荐系统的智能推荐操作。In this embodiment, after the ranking control model is trained and generated, when the recommendation system needs to perform intelligent recommendation operations, the user's behavior data is input into the ranking control model to combine the input behavior data with the ranking In the control model, the item embedding matrix formed by the product features is compared, so as to predict and analyze the user's behavior, predict the probability of the user choosing each product in the recommendation system, and then generate the corresponding value according to the predicted probability of the user choosing each product. The product sorting rules that match the user described above. Then sort the products stored in the recommendation system according to the product ranking rules, generate a product ranking list that meets the user's interests and preferences, and recommend the generated product ranking list to the user to complete the intelligent recommendation of the recommendation system operate.
在一些具体的实施例中,请参阅图3,图3为本发明实施例提供的基于推荐的排序控制方法中所述排序控制模型依据用户的行为数据生成产品排序规则的一种方法流程示意图。In some specific embodiments, please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a method for generating product ranking rules based on user behavior data by the ranking control model in the recommendation-based ranking control method provided by an embodiment of the present invention.
如图3所示,所述步骤S200之后还包括步骤S400至步骤S700。其中,S400:获取用户的行为数据;S500:根据所述行为数据分析用户的行为序列特征;S600:从所述排序控制模型的项目嵌入矩阵中查找出与所述用户的行为序列特征相匹配的第一特征向量;S700:根据所述用户的行为序列特征以及预设的加权规则对所述第一特征向量进行加权设置,以生成与该用户相匹配的产品排序规则。As shown in FIG. 3 , step S400 to step S700 are further included after step S200 . Among them, S400: Obtain the user's behavior data; S500: Analyze the user's behavior sequence characteristics according to the behavior data; S600: Find out from the item embedding matrix of the ranking control model that matches the user's behavior sequence characteristics. The first feature vector; S700: Set the weight of the first feature vector according to the user's behavior sequence feature and preset weighting rules, so as to generate a product ranking rule matching the user.
在本实施例中,当推荐系统对用户执行智能推荐操作时,获取所述用户的行为数据,所述用户的行为数据包括该用户此前预设时间段内的行为数据和/或该用户当前时间节点执行的行为数据。当获取得到用户的行为数据之后,根据所述用户的行为数据分析该用户的行为序列特征,例如对用户随时间发生的一连串行为数据进行分析,包括分析其每一个行为之间相互的特征关系。以用户购买具有时效性的产品为例,某用户针对某一类型的服务产品,第一次购买的产品时效性为1个月,在第一次购买的产品到期后,第二次购买的产品时效性为3个月,在第二次购买的产品到期后,第三次购买的产品时效性为半年,在第三次购买的产品到期后,第四次购买的产品时效性为1年。基于上述行为数据,可分析得出用户的行为序列特征为时效性逐次延长。进而,从所述排序控制模型的项目嵌入矩阵中查找出与所述用户的行为序列特征相匹配的第一特征向量。具体地,如上述用户购买具有时效性的产品的例子,通过采用诸如lookup函数等方式从所述项目嵌入矩阵(ItemEmbedding Matrix,简称M)中进行查找,获取得到与所述用户的行为序列特征相匹配的第一特征向量为“有效期”特征。基于“有效期”特征,结合用户的行为序列特征,按照预设的加权规则对所述“有效期”特征进行加权设置,如上述用户购买具有时效性的产品的例子,其用户对应的行为序列特征为时效性逐次延长,且最近一次购买的产品时效性为1年,基于这一信息,可以推测该用户更为偏好购买比1年要稍微长一点的时效性的产品,进而,若推荐系统中相关产品的时效性大致分为1个月、3个月、半年、1年、2年、5年、7年、10年等多个类别,那么,此时按照推测结果比1年稍微长一点的时效为2年,即以2年为中心,按照预设的加权规则对各个时效类别进行加权设置,所述预设的加权规则可以通过模型训练得出或者通过自定义设置得出,例如通过自定义设置时,可以以中心的权重配比为1,越远离中心,其权重配比逐级降低进行加权。具体在本实施例中,如上述用户购买具有时效性的产品的例子,以0.1幅度逐级降低,那么对于1个月、3个月、半年、1年、2年、5年、7年、10年等类别,其对应的时效性权重配比可以依次设置为0.6、0.7、0.8、0.9、1、0.9、0.8、0.7。进而,所述产品排序规则为依据权重配比由高至低对产品进行先后排序。从而实现根据用户的偏好来制定与该用户相匹配的产品排序规则,准确地反映该用户对产品的偏好程度。进一步地,所述用户的行为序列特征为用户单一的类别特征,可以从有限类别中进行取值,至少体现为如下之一:兴趣特征、消费特征。In this embodiment, when the recommendation system performs an intelligent recommendation operation on a user, the user's behavior data is obtained, and the user's behavior data includes the user's previous behavior data within a preset time period and/or the user's current time Behavior data executed by the node. After the user's behavior data is obtained, analyze the user's behavior sequence characteristics according to the user's behavior data, for example, analyze a series of behavior data of the user over time, including analyzing the mutual characteristic relationship between each behavior. Take the time-sensitive product purchased by a user as an example. For a certain type of service product, the product purchased by a user for the first time is time-sensitive for one month. After the product purchased for the first time expires, the product purchased for the second time The timeliness of the product is 3 months. After the product purchased for the second time expires, the timeliness of the product purchased for the third time is half a year. After the product purchased for the third time expires, the timeliness of the product purchased for the fourth time is 1 year. Based on the above behavior data, it can be analyzed that the user's behavior sequence is characterized by successive extension of timeliness. Furthermore, a first feature vector matching the behavior sequence features of the user is found from the item embedding matrix of the ranking control model. Specifically, as in the above-mentioned example where a user purchases a time-sensitive product, by using a method such as a lookup function to search from the item embedding matrix (ItemEmbedding Matrix, referred to as M), the user's behavior sequence features are obtained. The first feature vector that matches is the "expiry date" feature. Based on the "validity period" feature, combined with the user's behavior sequence characteristics, the "validity period" feature is weighted according to the preset weighting rules. For example, in the above-mentioned example where the user purchases a time-sensitive product, the user's corresponding behavior sequence feature is The timeliness is gradually extended, and the timeliness of the last purchased product is 1 year. Based on this information, it can be inferred that the user prefers to buy products with a slightly longer timeliness than 1 year. Furthermore, if the relevant The timeliness of the product is roughly divided into 1 month, 3 months, half a year, 1 year, 2 years, 5 years, 7 years, 10 years and other categories. Then, at this time, it is estimated that the result is slightly longer than 1 year The time limit is 2 years, that is, with 2 years as the center, each time limit category is weighted according to the preset weighting rules. The preset weighting rules can be obtained through model training or through custom settings, for example, through self-defined When defining the settings, the weight ratio of the center can be set to 1, and the farther away from the center, the weight ratio decreases step by step for weighting. Specifically in this embodiment, as in the example of the above-mentioned user purchasing a time-sensitive product, which is gradually reduced by 0.1, then for 1 month, 3 months, half a year, 1 year, 2 years, 5 years, 7 years, For categories such as 10 years, the corresponding timeliness weight ratio can be set to 0.6, 0.7, 0.8, 0.9, 1, 0.9, 0.8, 0.7 in sequence. Furthermore, the product sorting rule is to sort the products according to the weight ratio from high to low. Therefore, according to the user's preference, a product sorting rule matching the user can be formulated, which accurately reflects the user's degree of preference for the product. Further, the user's behavior sequence feature is a single category feature of the user, which can be selected from a limited number of categories, at least embodied as one of the following: interest feature, consumption feature.
在一些具体的实施例中,请参阅图4,图4为本发明实施例提供的基于推荐的排序控制方法中依据用户的兴趣特征生成产品排序规则时的一种方法流程示意图。In some specific embodiments, please refer to FIG. 4 . FIG. 4 is a schematic flowchart of a method for generating product ranking rules based on user interest characteristics in the recommendation-based ranking control method provided by an embodiment of the present invention.
如图4所示,当所述用户的行为序列特征为兴趣特征时,所述步骤S700还可以包括步骤S710至步骤S730。其中,S710:获取用户浏览产品过程中的操作信息;S720:对所述操作信息进行分析得出所述用户的兴趣特征;S730:根据所述用户的兴趣特征从所述排序控制模型中的项目嵌入矩阵中查找出与所述兴趣特征相对应的第二特征向量,以对所述第二特征向量进行加权设置生成与该用户相匹配的产品排序规则。As shown in FIG. 4 , when the user's behavior sequence feature is an interest feature, the step S700 may further include steps S710 to S730. Among them, S710: Acquire the operation information in the process of user browsing products; S720: Analyze the operation information to obtain the user's interest characteristics; S730: According to the user's interest characteristics, select the items in the ranking A second eigenvector corresponding to the interest feature is found in the embedding matrix, and weighted settings are performed on the second eigenvector to generate a product ranking rule that matches the user.
在本实施例中,若需要分析的用户行为序列特征为兴趣特征时,可以通过获取用户浏览产品过程中的操作信息,根据所述操作信息分析出表征所述用户的兴趣偏好的兴趣特征。进而,根据所述兴趣特征从所述排序控制模型中的项目嵌入矩阵中进行查找得出与所述兴趣特征相对应的第二特征向量。进而,对所述第二特征向量进行加权设置生成与该用户相匹配的产品排序规则。具体地,所述操作信息可以为用户输入的文本信息,也可以为用户执行的操作事件信息。其中,以用户输入的文本信息为例时,例如针对于用户挑选水果的行为,当用户输入的文本信息为梨时,分析得出用户的兴趣特征为性凉、清热这一类别特征,针对这一类别特征,系统可以通过采用样本数据进行模型训练的方式设置或者获取该类别特征中所包含的所有类别,也可以通过自定义设置的方式划分出该类别特征中所包含的所有类别,进而对这些类别进行加权设置得到对应的产品排序规则。此时按照所述产品排序规则即可将推荐系统中所包含的具有性凉、清热这类别特征的水果进行优先排序。以用户执行的操作事件信息为例时,可以所述用户浏览产品过程中的所有操作事件进行类别划分形成类别特征,并且对每一种操作事件进行加权设置。其中,所述操作事件对应的权重配比越大,表征该操作事件反映出用户对产品的兴趣值越高。例如将所述用户的操作事件划分为点击、分享、收藏、购买等四种类别的操作事件,若对上述四种操作事件对应设置的权重值分别为0.4、0.6、0.8、1.0,即上述四种操作事件反映出用户对产品的兴趣值高低关系为点击<分享<收藏<购买。这样一来,依据用户的操作事件可以体现出该用户在浏览产品过程中对产品所产生的兴趣值具有差异性,更好地反映用户的兴趣偏好。此时,所述产品排序规则的制定可以为按照用户对产品的兴趣值的高低对产品进行排序。In this embodiment, if the user behavior sequence feature that needs to be analyzed is the interest feature, the user's operation information during the product browsing process can be obtained, and the interest feature representing the user's interest preference can be analyzed according to the operation information. Furthermore, searching the item embedding matrix in the ranking control model according to the interest feature to obtain a second feature vector corresponding to the interest feature. Furthermore, the weighted setting is performed on the second feature vector to generate a product sorting rule matching the user. Specifically, the operation information may be text information input by the user, or operation event information performed by the user. Among them, when taking the text information input by the user as an example, for example, for the user's behavior of picking fruits, when the text information input by the user is pears, the analysis shows that the user's interest characteristics are the category characteristics of cool in nature and clearing away heat. For a category feature, the system can set or obtain all the categories contained in the category feature by using sample data for model training, and can also classify all the categories contained in the category feature through custom settings, and then These categories are weighted to get the corresponding product sorting rules. At this time, according to the product sorting rules, the fruits with the characteristics of cool nature and heat clearing included in the recommendation system can be prioritized. Taking the operation event information performed by the user as an example, all the operation events in the process of the user browsing the product can be classified into categories to form a category feature, and each operation event can be weighted and set. Wherein, the greater the weight ratio corresponding to the operation event, the higher the user's interest in the product is represented by the operation event. For example, the user's operation events are divided into four types of operation events, such as click, share, favorite, and purchase. This kind of operation event reflects that the relationship between the user's interest in the product is click<share<favorite<purchase. In this way, according to the user's operation event, it can be reflected that the user has a difference in the interest value of the product in the process of browsing the product, which better reflects the user's interest preference. At this time, the formulation of the product sorting rule may be to sort the products according to the user's interest in the products.
进一步地,在一些具体的实施例中,由于用户对产品的兴趣值会随着时间、经历、需求等外部因素的变化而发生变化,具有较大的波动性,因而在分析用户的行为序列特征时,可以引入时间特征,针对于不同时间段或时间周期的操作设置不同的权重值,例如用户近期内的操作对于兴趣特征提取的影响较大,其对应设置的权重值较大,用户较久远的操作对于兴趣特征提取的影响较小,其对应设置的权重值则较小。而且还针对用户对产品的兴趣值设置更新周期,每经过一定的时间段(例如1个月)则重新获取一次用户对产品的兴趣值,以确保记录中的用户对产品的兴趣值符合用户的实际情况。Further, in some specific embodiments, since the user's interest in the product will change with the change of external factors such as time, experience, demand, etc., and has greater volatility, so when analyzing the user's behavior sequence characteristics Time features can be introduced, and different weight values can be set for operations in different time periods or time periods. For example, the user's recent operations have a greater impact on the extraction of interest features, and the corresponding set weight value is larger, and the user is older. The operation of has less influence on the extraction of the feature of interest, and its corresponding weight value is smaller. Moreover, an update cycle is set for the user's interest value in the product, and the user's interest value in the product is reacquired every time a certain period of time (for example, 1 month) passes, so as to ensure that the user's interest value in the record conforms to the user's interest value in the product. The actual situation.
在一些具体的实施例中,请参阅图5,图5为本发明实施例提供的基于推荐的排序控制方法中依据用户的消费特征生成产品排序规则时的一种方法流程示意图。In some specific embodiments, please refer to FIG. 5 . FIG. 5 is a schematic flowchart of a method for generating product ranking rules based on user consumption characteristics in the recommendation-based ranking control method provided by an embodiment of the present invention.
如图5所示,当所述用户的行为序列特征为兴趣特征时,所述步骤S700还可以包括步骤S740至步骤S760。其中,S740:获取用户预设时间段内的消费记录;S750:对所述消费记录进行分析得出所述用户的消费特征;S760:根据所述用户的消费特征从所述排序控制模型中的项目嵌入矩阵中查找出与所述消费特征相对应的第三特征向量,以对所述第三特征向量进行加权设置生成与该用户相匹配的产品排序规则。As shown in FIG. 5 , when the user's behavior sequence feature is an interest feature, the step S700 may further include steps S740 to S760. Among them, S740: Obtain the consumption records of the user within a preset time period; S750: Analyze the consumption records to obtain the consumption characteristics of the user; A third eigenvector corresponding to the consumption feature is found from the item embedding matrix, and weighted settings are performed on the third eigenvector to generate a product ranking rule matching the user.
在本实施例中,若需要分析的用户行为序列特征为消费特征时,可以通过获取用户预设时间段内的消费记录,以根据所述消费记录分析出表征该用户的消费偏好的消费特征。通过根据所述消费特征从所述排序控制模型中的项目嵌入矩阵中进行查找得出与所述消费特征相对应的第三特征向量。进而,对所述第二特征向量进行加权设置生成与该用户相匹配的产品排序规则。当所述用户的行为序列特征为消费特征时,其对应的所述第三特征向量可以体现为消费水平和/或消费频率等单一的类别特征。其中,针对于消费水平这一类别特征,可以依据产品的价格划分消费层级,每一层级具有对应的消费金额区间,从而依据收集的用户的消费记录来判断用户的消费偏好。具体地,通过获取所述用户在预设时间段内的每一笔消费记录中的消费金额,统计所述用户在预设时间段内落入每一消费层级的消费记录数量,将统计得出的消费记录数量较多的消费层级作为该用户的消费水平特征,然后对依据产品的价格划分的消费层级预先设置对应的权重值,其中预设原则为以该用户的消费水平特征对应的消费层级为中心,越远离消费水平特征的消费层级,其设置对应的权重值越低。此时,所述产品排序规则的制定可以为按照所述用户的消费水平特征对产品进行排序,即符合所述用户的消费水平特征对应消费层级的产品优先进行排序,相邻消费层级的产品次之。所述消费频率为用户在指定时间周期内对相同或相似类别产品的消费次数。针对于消费频率这一类别特征,所述产品排序规则的制定可以为按照所述消费频率与产品的时效信息的匹配度进行排序。例如保险产品,保期包括1个月、3个月、半年、1年、5年、10年等,若用户对于某类保险产品的消费频率为半年一次,则此时所述排序控制模型会对时效性为半年的保险产品优先进行排序,3个月、1年的保险产品次之,1个月、5年、10年的保险产品再次之。In this embodiment, if the user behavior sequence feature to be analyzed is a consumption feature, the consumption record representing the user's consumption preference can be analyzed according to the consumption record by acquiring the user's consumption record within a preset time period. A third feature vector corresponding to the consumption feature is obtained by searching the item embedding matrix in the ranking control model according to the consumption feature. Furthermore, the weighted setting is performed on the second feature vector to generate a product sorting rule matching the user. When the user's behavior sequence feature is a consumption feature, the corresponding third feature vector may be embodied as a single category feature such as consumption level and/or consumption frequency. Among them, for the category characteristic of consumption level, the consumption levels can be divided according to the price of the product, and each level has a corresponding consumption amount range, so as to judge the consumption preference of the user according to the collected consumption records of the user. Specifically, by obtaining the amount of consumption in each consumption record of the user within the preset time period, and counting the number of consumption records of the user falling into each consumption level within the preset time period, the statistically obtained The consumption level with a large number of consumption records is used as the consumption level characteristic of the user, and then the corresponding weight value is preset for the consumption level divided according to the price of the product, and the preset principle is the consumption level corresponding to the consumption level characteristic of the user As the center, the farther away from the consumption level of the consumption level feature, the lower the weight value corresponding to its setting. At this time, the formulation of the product sorting rules can be to sort the products according to the consumption level characteristics of the users, that is, the products corresponding to the consumption level corresponding to the consumption level characteristics of the users are prioritized, and the products of adjacent consumption levels are ranked first. Of. The consumption frequency is the number of times the user consumes products of the same or similar category within a specified time period. For the category feature of consumption frequency, the formulating of the product sorting rule may be to sort according to the degree of matching between the consumption frequency and the timeliness information of the products. For example, for insurance products, the insurance period includes 1 month, 3 months, half a year, 1 year, 5 years, 10 years, etc., if the user’s consumption frequency for a certain type of insurance product is once every six months, then the ranking control model will be Priority is given to insurance products with a timeliness of half a year, followed by insurance products of 3 months and 1 year, and insurance products of 1 month, 5 years, and 10 years.
在一些具体的实施例中,除了用户的行为序列特征之外,训练推荐模型的样本数据还包括用户画像特征数据,本实施例还可以结合用户的画像特征以及用户的行为序列特征生成与该用户相匹配的产品排序规则。具体地,通过获取用户的个人信息来构建用户的画像特征,所述用户的画像特征也用于作为产品推荐和排序的一个判断指标。其中,所述用户画像特征可以由多个特征标签构成,例如性别、年龄、城市、教育水平、职业等。上述特征标签通过从用户信息中直接提取得到,其中,所述用户信息可以是用户注册时所填写的信息,也可以是用户关联的其他账号中所包含的信息等等。所述用户画像特征作为用户的固有属性,相对较为稳定,因而在提取到用户的用户画像特征之后可以在较长一段时间之内不用维护和更新。因此,所述用户画像特征可以从用户注册时所填写的信息或关联账号所包含的信息中直接获得,但是可能存在用户信息不全面的问题。在这种情况下,可以根据用户已有的基础信息在数据库中查找与用户已有的基础信息最为接近的一个用户的信息,用于弥补用户未填写的基础特征,从而形成完整的用户基础特征。In some specific embodiments, in addition to the user's behavior sequence features, the sample data for training the recommendation model also includes user portrait feature data. This embodiment can also combine the user's portrait features and user behavior sequence features to generate a Match the product collation. Specifically, the user's portrait features are constructed by acquiring the user's personal information, and the user's portrait features are also used as a judgment index for product recommendation and ranking. Wherein, the user profile features may be composed of multiple feature tags, such as gender, age, city, education level, occupation, and so on. The above feature tags are obtained by directly extracting from user information, wherein the user information may be information filled in by the user when registering, or information contained in other accounts associated with the user, etc. The user portrait feature is relatively stable as an inherent attribute of the user, so after extracting the user portrait feature of the user, it may not need to be maintained and updated for a long period of time. Therefore, the user portrait features can be directly obtained from the information filled in by the user when registering or the information contained in the associated account, but there may be a problem of incomplete user information. In this case, according to the user's existing basic information, the user's information that is closest to the user's existing basic information can be found in the database to make up for the basic characteristics that the user has not filled in, so as to form a complete user's basic characteristics .
上述实施例提供的基于推荐的排序控制方法通过产品的知识图谱来获取该产品对应的产品特征,然后通过将该产品特征作为一个中间参数嵌入到预设的神经网络模型中进行训练并生成实现智能推荐的排序控制模型,再通过获取用户的行为数据以及依据该用户的行为数据从所述排序控制模型中获取与该用户相匹配的产品排序规则,最后按照所述排序控制模型生成的产品排序规则对产品进行排序生成对应的产品排序列表并推荐给用户。上述方法通过引入产品的知识图谱,以将从知识图谱中获取的产品特征嵌入到神经网络模型中进行模型训练,解决了产品推荐的冷启动问题,而且,通过基于从产品的知识图谱中学习得到的实体属性类embedding向量特征查找和分析用户的行为序列特征,并依据该行为序列特征生成与该用户相匹配的产品排序规则,克服了用户画像特征高维稀疏而导致系统难以达到用户需要的推荐效果的问题。The recommendation-based ranking control method provided by the above embodiment obtains the product features corresponding to the product through the knowledge map of the product, and then embedding the product feature as an intermediate parameter into the preset neural network model for training and generating intelligent The recommended ranking control model, and then obtain the user’s behavior data and obtain the product ranking rules matching the user from the ranking control model based on the user’s behavior data, and finally generate the product ranking rules according to the ranking control model Sort the products to generate a corresponding sorted list of products and recommend them to users. The above method solves the cold start problem of product recommendation by introducing the knowledge map of the product to embed the product features obtained from the knowledge map into the neural network model for model training. The entity attribute class embedding vector feature searches and analyzes the user's behavior sequence characteristics, and generates a product ranking rule that matches the user based on the behavior sequence characteristics, which overcomes the high-dimensional and sparse user portrait features that make it difficult for the system to meet the user's needs. The question of effect.
为解决上述技术问题,本发明实施例还提供一种基于推荐的排序控制装置。具体请参阅图6,图6为本发明实施例提供的基于推荐的排序控制装置基本结构框图。In order to solve the above technical problem, an embodiment of the present invention further provides a recommendation-based sorting control device. Please refer to FIG. 6 for details. FIG. 6 is a basic structural block diagram of a recommendation-based sorting control device provided by an embodiment of the present invention.
如图6所示,一种基于推荐的排序控制装置,包括:获取模块10、处理模块20以及执行模块30。其中,所述获取模块10用于获取产品特征,其中,所述产品特征包括对产品的知识图谱进行特征学习所获得的所述产品的特征向量;所述处理模块20用于将所述产品特征嵌入到推荐系统预设的神经网络模型中进行训练生成实现智能推荐的排序控制模型,其中,所述排序控制模型依据用户的行为数据生成与所述用户相匹配的产品排序规则;所述执行模块30用于按照所述排序控制模型生成的产品排序规则对产品进行排序生成对应的产品排序列表并推荐给所述用户。As shown in FIG. 6 , a ranking control device based on recommendation includes: an acquisition module 10 , a processing module 20 and an execution module 30 . Wherein, the acquisition module 10 is used to acquire product features, wherein the product features include feature vectors of the product obtained by performing feature learning on the product knowledge map; the processing module 20 is used to use the product features Embedded in the neural network model preset by the recommendation system for training to generate a sorting control model for intelligent recommendation, wherein the sorting control model generates product sorting rules that match the user according to the user's behavior data; the execution module 30 is used to sort the products according to the product sorting rules generated by the sorting control model to generate a corresponding product sorting list and recommend them to the user.
在一些具体的实施例中,所述基于推荐的排序控制装置还包括:第一获取子模块、第一处理子模块以及第一执行子模块。其中,所述第一获取子模块用于获取产品的知识图谱;所述第一处理子模块用于从所述知识图谱中提取所述产品的实体属性参数;所述第一执行子模块用于将所述产品的实体属性参数转化为以embedding形式存在的特征向量。In some specific embodiments, the recommendation-based ranking control device further includes: a first acquisition submodule, a first processing submodule, and a first execution submodule. Wherein, the first acquisition submodule is used to acquire the knowledge map of the product; the first processing submodule is used to extract the entity attribute parameters of the product from the knowledge map; the first execution submodule is used to The entity attribute parameters of the product are converted into feature vectors in the form of embedding.
在一些具体的实施例中,所述基于推荐的排序控制装置还包括:第二执行子模块。所述第二执行子模块用于将存储在所述推荐系统中的产品的特征向量进行汇总生成产品特征,其中,所述产品特征体现为项目嵌入矩阵。In some specific embodiments, the recommendation-based ranking control device further includes: a second execution submodule. The second execution sub-module is used for summarizing the feature vectors of the products stored in the recommendation system to generate product features, wherein the product features are embodied as an item embedding matrix.
在一些具体的实施例中,所述基于推荐的排序控制装置还包括:第二获取子模块、第二处理子模块、第三处理子模块以及第三执行子模块。其中,所述第二获取子模块用于获取用户的行为数据;所述第二处理子模块用于根据所述行为数据分析用户的行为序列特征;所述第三处理子模块用于从所述排序控制模型的项目嵌入矩阵中查找出与所述用户的行为序列特征相匹配的第一特征向量;所述第三执行子模块用于根据所述用户的行为序列特征以及预设的加权规则对所述第一特征向量进行加权设置,以生成与该用户相匹配的产品排序规则。In some specific embodiments, the recommendation-based ranking control device further includes: a second acquisition submodule, a second processing submodule, a third processing submodule, and a third execution submodule. Wherein, the second acquisition submodule is used to acquire user behavior data; the second processing submodule is used to analyze user behavior sequence characteristics according to the behavior data; the third processing submodule is used to obtain user behavior data from the The item embedding matrix of the sorting control model finds out the first feature vector that matches the user's behavior sequence feature; the third execution submodule is used to A weighted setting is performed on the first feature vector to generate a product sorting rule matching the user.
在一些具体的实施例中,所述基于推荐的排序控制装置中所述的用户的行为序列特征为用户单一的类别特征,至少体现为如下之一:兴趣特征、消费特征。In some specific embodiments, the user's behavior sequence feature in the recommendation-based ranking control device is a single category feature of the user, at least embodied as one of the following: interest feature, consumption feature.
在一些具体的实施例中,当所述用户的行为序列特征为兴趣特征时,所述基于推荐的排序控制装置还包括:第二获取子模块、第四处理子模块以及第四执行子模块。其中,所述第三获取子模块用于获取用户浏览产品过程中的操作信息;所述第四处理子模块用于对所述操作信息进行分析得出所述用户的兴趣特征;所述第四执行子模块用于根据所述用户的兴趣特征从所述排序控制模型中的项目嵌入矩阵中查找出与所述兴趣特征相对应的第二特征向量,以对所述第二特征向量进行加权设置生成与该用户相匹配的产品排序规则。In some specific embodiments, when the user's behavior sequence feature is an interest feature, the recommendation-based ranking control device further includes: a second acquisition submodule, a fourth processing submodule, and a fourth execution submodule. Wherein, the third obtaining sub-module is used to obtain operation information in the process of users browsing products; the fourth processing sub-module is used to analyze the operation information to obtain the user's interest characteristics; the fourth The execution sub-module is used to find a second feature vector corresponding to the feature of interest from the item embedding matrix in the ranking control model according to the feature of interest of the user, so as to set the weight of the second feature vector Generate product collations that match this user.
在一些具体的实施例中,当所述用户的行为序列特征为消费特征时,所述基于推荐的排序控制装置还包括:第四获取子模块、第五处理子模块以及第五执行子模块。其中,所述第四获取子模块用于获取用户预设时间段内的消费记录;第五处理子模块用于对所述消费记录进行分析得出所述用户的消费特征;第五执行子模块用于根据所述用户的消费特征从所述排序控制模型中的项目嵌入矩阵中查找出与所述消费特征相对应的第三特征向量,以对所述第三特征向量进行加权设置生成与该用户相匹配的产品排序规则。In some specific embodiments, when the user's behavior sequence is characterized by consumption, the recommendation-based ranking control device further includes: a fourth acquisition submodule, a fifth processing submodule, and a fifth execution submodule. Wherein, the fourth obtaining submodule is used to obtain the consumption records of the user within a preset time period; the fifth processing submodule is used to analyze the consumption records to obtain the consumption characteristics of the user; the fifth execution submodule It is used to find out a third feature vector corresponding to the consumption feature from the item embedding matrix in the ranking control model according to the consumption feature of the user, so as to weight the third feature vector to generate a The user matches the product sorting rules.
上述实施例所述的基于推荐的排序控制装置通过产品的知识图谱来获取该产品对应的产品特征,然后通过将该产品特征作为一个中间参数嵌入到预设的神经网络模型中进行训练并生成实现智能推荐的排序控制模型,再通过获取用户的行为数据以及依据该用户的行为数据从所述排序控制模型中获取与该用户相匹配的产品排序规则,最后按照所述排序控制模型生成的产品排序规则对产品进行排序生成对应的产品排序列表并推荐给用户。上述方法通过引入产品的知识图谱,以将从知识图谱中获取的产品特征嵌入到神经网络模型中进行模型训练,解决了产品推荐的冷启动问题,而且,通过基于从产品的知识图谱中学习得到的实体属性类embedding向量特征查找和分析用户的行为序列特征,并依据该行为序列特征生成与该用户相匹配的产品排序规则,克服了用户画像特征高维稀疏而导致系统难以达到用户需要的推荐效果的问题。The recommendation-based ranking control device described in the above-mentioned embodiments obtains the product features corresponding to the product through the product knowledge map, and then uses the product feature as an intermediate parameter to embed it into the preset neural network model for training and generates a realization The ranking control model of intelligent recommendation, and then obtain the user's behavior data and the product ranking rules matching the user from the ranking control model according to the user's behavior data, and finally according to the product ranking generated by the ranking control model The rules sort the products to generate a corresponding sorted list of products and recommend them to users. The above method solves the cold start problem of product recommendation by introducing the knowledge map of the product to embed the product features obtained from the knowledge map into the neural network model for model training. The entity attribute class embedding vector feature searches and analyzes the user's behavior sequence characteristics, and generates a product ranking rule that matches the user based on the behavior sequence characteristics, which overcomes the high-dimensional and sparse user portrait features that make it difficult for the system to meet the user's needs. The question of effect.
为解决上述技术问题,本发明实施例还提供了一种计算机设备。具体请参阅图7,图7为本发明实施例提供的计算机设备基本结构框图。To solve the above technical problem, an embodiment of the present invention further provides a computer device. Please refer to FIG. 7 for details. FIG. 7 is a basic structural block diagram of a computer device provided by an embodiment of the present invention.
如图7所示,计算机设备的内部结构示意图。如图7所示,该计算机设备包括通过系统总线连接的处理器、非易失性存储介质、存储器和网络接口。其中,该计算机设备的非易失性存储介质存储有操作系统、数据库和计算机可读指令,数据库中可存储有控件信息序列,该计算机可读指令被处理器执行时,可使得处理器实现一种基于推荐的排序控制方法。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该计算机设备的存储器中可存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行一种基于推荐的排序控制方法。该计算机设备的网络接口用于与终端连接通信。本领域技术人员可以理解,图7中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。As shown in FIG. 7, a schematic diagram of the internal structure of the computer equipment. As shown in FIG. 7, the computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected through a system bus. Wherein, the non-volatile storage medium of the computer device stores an operating system, a database, and computer-readable instructions, and the database can store control information sequences, and when the computer-readable instructions are executed by the processor, the processor can realize a A recommendation-based ranking control method. The processor of the computer equipment is used to provide computing and control capabilities and support the operation of the entire computer equipment. Computer-readable instructions may be stored in the memory of the computer device, and when the computer-readable instructions are executed by the processor, the processor may execute a ranking control method based on recommendations. The network interface of the computer device is used for connecting and communicating with the terminal. Those skilled in the art can understand that the structure shown in Figure 7 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation to the computer equipment on which the solution of this application is applied. The specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
在本实施例中,所述处理器用于执行图6中获取模块10、处理模块20和执行模块30的具体功能,而所述存储器存储有执行上述模块所需的程序代码和各类数据。所述网络接口用于向用户终端或服务器之间的数据传输。本实施例中的存储器存储有基于推荐的排序控制装置中执行所有子模块所需的程序代码及数据,服务器能够调用服务器的程序代码及数据执行所有子模块的功能。In this embodiment, the processor is used to execute the specific functions of the acquisition module 10, the processing module 20 and the execution module 30 in FIG. 6, and the memory stores program codes and various data required for executing the above modules. The network interface is used for data transmission between user terminals or servers. The memory in this embodiment stores the program codes and data needed to execute all submodules in the sequence control device based on the recommendation, and the server can call the program code and data of the server to execute the functions of all submodules.
上述实施例所述的计算机设备通过产品的知识图谱来获取该产品对应的产品特征,然后通过将该产品特征作为一个中间参数嵌入到预设的神经网络模型中进行训练并生成实现智能推荐的排序控制模型,再通过获取用户的行为数据以及依据该用户的行为数据从所述排序控制模型中获取与该用户相匹配的产品排序规则,最后按照所述排序控制模型生成的产品排序规则对产品进行排序生成对应的产品排序列表并推荐给用户。上述方法通过引入产品的知识图谱,以将从知识图谱中获取的产品特征嵌入到神经网络模型中进行模型训练,解决了产品推荐的冷启动问题,而且,通过基于从产品的知识图谱中学习得到的实体属性类embedding向量特征查找和分析用户的行为序列特征,并依据该行为序列特征生成与该用户相匹配的产品排序规则,克服了用户画像特征高维稀疏而导致系统难以达到用户需要的推荐效果的问题。The computer device described in the above embodiment acquires the product features corresponding to the product through the knowledge graph of the product, and then uses the product feature as an intermediate parameter to embed it into the preset neural network model for training and generates a ranking for intelligent recommendation Control the model, and then obtain the user’s behavior data and obtain the product ranking rules matching the user from the ranking control model according to the user’s behavior data, and finally sort the products according to the product ranking rules generated by the ranking control model Sorting generates a corresponding sorted list of products and recommends them to users. The above method solves the cold start problem of product recommendation by introducing the knowledge map of the product to embed the product features obtained from the knowledge map into the neural network model for model training. The entity attribute class embedding vector feature searches and analyzes the user's behavior sequence characteristics, and generates a product ranking rule that matches the user based on the behavior sequence characteristics, which overcomes the high-dimensional and sparse user portrait features that make it difficult for the system to meet the user's needs. The question of effect.
本发明还提供一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述任一实施例所述基于推荐的排序控制方法的步骤。The present invention also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, one or more processors execute the recommendation-based Sequence the steps of the control method.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that realizing all or part of the processes in the methods of the above embodiments can be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the aforementioned storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM).
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow chart of the accompanying drawings are displayed sequentially according to the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the flowcharts of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the order of execution is also It is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
以上所述仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above descriptions are only part of the embodiments of the present invention. It should be pointed out that those skilled in the art can make some improvements and modifications without departing from the principles of the present invention. It should be regarded as the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910750355.5A CN110555753A (en) | 2019-08-14 | 2019-08-14 | recommendation-based ranking control method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910750355.5A CN110555753A (en) | 2019-08-14 | 2019-08-14 | recommendation-based ranking control method and device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110555753A true CN110555753A (en) | 2019-12-10 |
Family
ID=68737777
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910750355.5A Pending CN110555753A (en) | 2019-08-14 | 2019-08-14 | recommendation-based ranking control method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110555753A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111309230A (en) * | 2020-02-19 | 2020-06-19 | 北京声智科技有限公司 | Information display method and device, electronic equipment and computer readable storage medium |
CN111538751A (en) * | 2020-03-23 | 2020-08-14 | 重庆特斯联智慧科技股份有限公司 | Tagged user portrait generation system and method for Internet of things data |
CN112328832A (en) * | 2020-10-27 | 2021-02-05 | 内蒙古大学 | Movie recommendation method integrating labels and knowledge graph |
CN112445689A (en) * | 2020-11-27 | 2021-03-05 | 广州三七互娱科技有限公司 | User classification method and device and electronic equipment |
CN112804080A (en) * | 2020-12-24 | 2021-05-14 | 中国科学院信息工程研究所 | Intelligent recommendation method for access control initialization |
CN113361978A (en) * | 2021-08-09 | 2021-09-07 | 湖南和信安华区块链科技有限公司 | Transaction management system based on block chain |
CN113592607A (en) * | 2021-08-12 | 2021-11-02 | 脸萌有限公司 | Product recommendation method and device, storage medium and electronic equipment |
CN113742532A (en) * | 2021-03-09 | 2021-12-03 | 北京沃东天骏信息技术有限公司 | User portrait method, apparatus and computer readable storage medium |
CN114510625A (en) * | 2021-02-04 | 2022-05-17 | 深圳思为科技有限公司 | User interest value processing method and device and processing equipment |
WO2023284516A1 (en) * | 2021-07-16 | 2023-01-19 | 腾讯科技(深圳)有限公司 | Information recommendation method and apparatus based on knowledge graph, and device, medium, and product |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528610A (en) * | 2016-09-28 | 2017-03-22 | 厦门理工学院 | Knowledge graph representation learning method based on path tensor decomposition |
WO2017084362A1 (en) * | 2015-11-18 | 2017-05-26 | 百度在线网络技术(北京)有限公司 | Model generation method, recommendation method and corresponding apparatuses, device and storage medium |
CN108629665A (en) * | 2018-05-08 | 2018-10-09 | 北京邮电大学 | A kind of individual commodity recommendation method and system |
CN108875051A (en) * | 2018-06-28 | 2018-11-23 | 中译语通科技股份有限公司 | Knowledge mapping method for auto constructing and system towards magnanimity non-structured text |
CN109063188A (en) * | 2018-08-28 | 2018-12-21 | 国信优易数据有限公司 | A kind of entity recommended method and device |
CN109508419A (en) * | 2018-11-23 | 2019-03-22 | 成都品果科技有限公司 | A kind of recommended method and system of knowledge based study |
-
2019
- 2019-08-14 CN CN201910750355.5A patent/CN110555753A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017084362A1 (en) * | 2015-11-18 | 2017-05-26 | 百度在线网络技术(北京)有限公司 | Model generation method, recommendation method and corresponding apparatuses, device and storage medium |
CN106528610A (en) * | 2016-09-28 | 2017-03-22 | 厦门理工学院 | Knowledge graph representation learning method based on path tensor decomposition |
CN108629665A (en) * | 2018-05-08 | 2018-10-09 | 北京邮电大学 | A kind of individual commodity recommendation method and system |
CN108875051A (en) * | 2018-06-28 | 2018-11-23 | 中译语通科技股份有限公司 | Knowledge mapping method for auto constructing and system towards magnanimity non-structured text |
CN109063188A (en) * | 2018-08-28 | 2018-12-21 | 国信优易数据有限公司 | A kind of entity recommended method and device |
CN109508419A (en) * | 2018-11-23 | 2019-03-22 | 成都品果科技有限公司 | A kind of recommended method and system of knowledge based study |
Non-Patent Citations (3)
Title |
---|
杨晋吉等: "一种知识图谱的排序学习个性化推荐算法", 《小型微型计算机系统》, vol. 39, no. 11, 15 November 2018 (2018-11-15), pages 2419 - 2423 * |
杨晋吉等: "一种知识图谱的排序学习个性化推荐算法", 《小型微型计算机系统》, vol. 39, no. 11, pages 2419 - 2423 * |
王喜宾,文俊浩: "《基于优化支持向量机的个性化推荐研究》", 30 June 2017, 重庆大学出版社, pages: 84 - 85 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111309230B (en) * | 2020-02-19 | 2021-12-17 | 北京声智科技有限公司 | Information display method and device, electronic equipment and computer readable storage medium |
CN111309230A (en) * | 2020-02-19 | 2020-06-19 | 北京声智科技有限公司 | Information display method and device, electronic equipment and computer readable storage medium |
CN111538751A (en) * | 2020-03-23 | 2020-08-14 | 重庆特斯联智慧科技股份有限公司 | Tagged user portrait generation system and method for Internet of things data |
CN112328832A (en) * | 2020-10-27 | 2021-02-05 | 内蒙古大学 | Movie recommendation method integrating labels and knowledge graph |
CN112328832B (en) * | 2020-10-27 | 2022-08-09 | 内蒙古大学 | Movie recommendation method integrating labels and knowledge graph |
CN112445689A (en) * | 2020-11-27 | 2021-03-05 | 广州三七互娱科技有限公司 | User classification method and device and electronic equipment |
CN112445689B (en) * | 2020-11-27 | 2023-01-24 | 广州三七互娱科技有限公司 | User classification method and device and electronic equipment |
CN112804080A (en) * | 2020-12-24 | 2021-05-14 | 中国科学院信息工程研究所 | Intelligent recommendation method for access control initialization |
CN114510625A (en) * | 2021-02-04 | 2022-05-17 | 深圳思为科技有限公司 | User interest value processing method and device and processing equipment |
CN113742532A (en) * | 2021-03-09 | 2021-12-03 | 北京沃东天骏信息技术有限公司 | User portrait method, apparatus and computer readable storage medium |
WO2023284516A1 (en) * | 2021-07-16 | 2023-01-19 | 腾讯科技(深圳)有限公司 | Information recommendation method and apparatus based on knowledge graph, and device, medium, and product |
CN113361978A (en) * | 2021-08-09 | 2021-09-07 | 湖南和信安华区块链科技有限公司 | Transaction management system based on block chain |
CN113592607A (en) * | 2021-08-12 | 2021-11-02 | 脸萌有限公司 | Product recommendation method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110555753A (en) | recommendation-based ranking control method and device, computer equipment and storage medium | |
US10606883B2 (en) | Selection of initial document collection for visual interactive search | |
CN113327151B (en) | Commodity object recommendation method, commodity object recommendation device, computer equipment and storage medium | |
US20130046761A1 (en) | Method and Apparatus for Social Tagging of Media Files | |
WO2018040069A1 (en) | Information recommendation system and method | |
CN113627995B (en) | Commodity recommendation list updating method and device, equipment, medium and product thereof | |
CN110910199A (en) | Item information sorting method and device, computer equipment and storage medium | |
CN114663197A (en) | Commodity recommendation method and device, equipment, medium and product thereof | |
CN114595323B (en) | Portrait construction, recommendation, model training method, apparatus, device and storage medium | |
CN111667024B (en) | Content pushing method, device, computer equipment and storage medium | |
CN106776707A (en) | The method and apparatus of information pushing | |
CN114168843A (en) | Search word recommendation method, device and storage medium | |
CN115760315A (en) | Commodity recommendation method, commodity recommendation device, commodity recommendation equipment and commodity recommendation medium | |
CN110852785A (en) | User grading method, device and computer readable storage medium | |
CN113516524B (en) | Method and device for pushing information | |
US20240152512A1 (en) | Machine learning for dynamic information retrieval in a cold start setting | |
CN112528164A (en) | User collaborative filtering recall method and device | |
CN115168700A (en) | Information flow recommendation method, system and medium based on pre-training algorithm | |
CN119311958A (en) | User analysis method, device, equipment and medium based on big model | |
CN111831892A (en) | Information recommendation method, information recommendation device, server and storage medium | |
CN112464106B (en) | Object recommendation method and device | |
CN118626727A (en) | A personalized recommendation method based on dynamic user portrait | |
US10586163B1 (en) | Geographic locale mapping system for outcome prediction | |
CN112084406A (en) | Short message processing method and device, electronic equipment and storage medium | |
CN117350816A (en) | Independent station commodity recommendation method and device, equipment and medium thereof |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191210 |
|
RJ01 | Rejection of invention patent application after publication |