CN114998042A - Product recommendation processing method, device and equipment and computer-readable storage medium - Google Patents

Product recommendation processing method, device and equipment and computer-readable storage medium Download PDF

Info

Publication number
CN114998042A
CN114998042A CN202210744778.8A CN202210744778A CN114998042A CN 114998042 A CN114998042 A CN 114998042A CN 202210744778 A CN202210744778 A CN 202210744778A CN 114998042 A CN114998042 A CN 114998042A
Authority
CN
China
Prior art keywords
user
layer
recommendation
probability
nodes
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
CN202210744778.8A
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.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China 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 Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN202210744778.8A priority Critical patent/CN114998042A/en
Publication of CN114998042A publication Critical patent/CN114998042A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请属于数据处理技术领域,提供了一种产品推荐的处理方法、装置、计算机设备及计算机可读存储介质,为了解决产品推荐的处理效率低的问题,通过根据用户标识,获取预设产品推荐多层图模型,预设产品推荐多层图模型包含至少三个图层,每个图层包含若干个节点,相邻图层之间存在业务上的关联关系,其中包含一个用户层,且用户层仅包含一个节点,然后根据所有节点,基于PersonalRank的推荐算法,获取每个节点的推荐概率,再根据推荐概率,并基于预设概率使用方式,使用不同类型的节点各自对应的推荐概率进行产品推荐,能够提高搜索效率,且基于多个图层的节点实现了多层实体的推荐,提升了产品推荐的推荐效率、多样性与准确性。

Figure 202210744778

The present application belongs to the technical field of data processing, and provides a product recommendation processing method, device, computer equipment and computer-readable storage medium. Multi-layer graph model, preset product recommendation The multi-layer graph model contains at least three layers, each layer contains several nodes, and there is a business relationship between adjacent layers, including a user layer, and the user layer The layer contains only one node, and then according to all nodes, based on the recommendation algorithm of PersonalRank, the recommendation probability of each node is obtained, and then according to the recommendation probability, and based on the preset probability usage method, use the corresponding recommendation probability of different types of nodes to produce products. Recommendation can improve search efficiency, and implement multi-layer entity recommendation based on nodes of multiple layers, which improves the recommendation efficiency, diversity and accuracy of product recommendation.

Figure 202210744778

Description

产品推荐的处理方法、装置、设备及计算机可读存储介质Product recommendation processing method, apparatus, device and computer-readable storage medium

技术领域technical field

本申请涉及数据处理技术领域,尤其涉及一种产品推荐的处理方法、装置、计算机设备及计算机可读存储介质。The present application relates to the technical field of data processing, and in particular, to a product recommendation processing method, apparatus, computer device, and computer-readable storage medium.

背景技术Background technique

随着信息技术与互联网的发展,保险业迎来了新的机遇与挑战,保险产品的营销渠道多样化的同时,对保险产品的营销进行数字化转型也需要紧跟时代的变革。传统技术中,保险行业利用数字化渠道进行保险产品营销时,一般是采用机器学习技术来支持保险产品的推荐,但是这种保险产品推荐方式只能实现保险产品的一种实体的推荐,例如,对于保险产品、销售渠道或者保险大类等实体的推荐,若要进行保险产品的多种实体的推荐,需要采用多种实体各自对应的模型进行运算,降低了保险实体推荐的效率。With the development of information technology and the Internet, the insurance industry has ushered in new opportunities and challenges. While the marketing channels of insurance products are diversified, the digital transformation of insurance product marketing also needs to keep up with the changes of the times. In traditional technology, when the insurance industry uses digital channels to market insurance products, it generally uses machine learning technology to support insurance product recommendation, but this insurance product recommendation method can only implement the recommendation of one entity of insurance products. For example, for For the recommendation of entities such as insurance products, sales channels or insurance categories, if you want to recommend multiple entities of insurance products, you need to use models corresponding to multiple entities to perform calculations, which reduces the efficiency of insurance entity recommendation.

发明内容SUMMARY OF THE INVENTION

本申请提供了一种产品推荐的处理方法、装置、计算机设备及计算机可读存储介质,能够解决传统技术中产品推荐的处理效率较低的技术问题。The present application provides a product recommendation processing method, apparatus, computer equipment and computer-readable storage medium, which can solve the technical problem of low processing efficiency of product recommendation in the traditional technology.

第一方面,本申请提供了一种产品推荐的处理方法,包括:获取目标用户的用户标识,并根据所述用户标识,获取所述用户标识所对应的预设产品推荐多层图模型,所述预设产品推荐多层图模型包含至少三个图层,每个图层包含若干个节点,相邻图层之间存在业务上的关联关系,其中包含一个用户层,且所述用户层仅包含一个节点作为用户节点,所述用户节点用于描述所述用户标识;根据所有所述节点,基于PersonalRank的推荐算法,获取每个所述节点的推荐概率;根据所述推荐概率,并基于预设概率使用方式,使用不同类型的节点各自对应的推荐概率进行产品推荐。In a first aspect, the present application provides a product recommendation processing method, including: acquiring a user ID of a target user, and obtaining a preset product recommendation multi-layer graph model corresponding to the user ID according to the user ID, The preset product recommendation multi-layer graph model includes at least three layers, each layer includes several nodes, and there is a business relationship between adjacent layers, including a user layer, and the user layer only A node is included as a user node, and the user node is used to describe the user identifier; according to all the nodes, a recommendation algorithm based on PersonalRank is used to obtain the recommendation probability of each of the nodes; Set the probability usage mode, and use the recommendation probability corresponding to different types of nodes to recommend products.

第二方面,本申请还提供了一种产品推荐的处理装置,包括:第一获取单元,用于获取目标用户的用户标识,并根据所述用户标识,获取所述用户标识所对应的预设产品推荐多层图模型,所述预设产品推荐多层图模型包含至少三个图层,每个图层包含若干个节点,相邻图层之间存在业务上的关联关系,其中包含一个用户层,且所述用户层仅包含一个节点作为用户节点,所述用户节点用于描述所述用户标识;第二获取单元,用于根据所有所述节点,基于PersonalRank的推荐算法,获取每个所述节点的推荐概率;概率使用单元,用于根据所述推荐概率,并基于预设概率使用方式,使用不同类型的节点各自对应的推荐概率进行产品推荐。In a second aspect, the present application further provides a product recommendation processing device, including: a first acquiring unit, configured to acquire a user identifier of a target user, and acquire a preset corresponding to the user identifier according to the user identifier Product recommendation multi-layer graph model, the preset product recommendation multi-layer graph model includes at least three layers, each layer includes several nodes, and there is a business relationship between adjacent layers, which includes a user layer, and the user layer only includes one node as a user node, and the user node is used to describe the user identifier; the second obtaining unit is used to obtain each The recommendation probability of the node; the probability using unit is used for recommending products using the recommendation probability corresponding to different types of nodes according to the recommendation probability and based on the preset probability usage mode.

第三方面,本申请还提供了一种计算机设备,其包括存储器及处理器,所述存储器上存储有计算机程序,所述处理器执行所述计算机程序时实现所述产品推荐的处理方法的步骤。In a third aspect, the present application also provides a computer device, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the product recommendation processing method when the processor executes the computer program .

第四方面,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器执行所述产品推荐的处理方法的步骤。In a fourth aspect, the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the processing of the product recommendation steps of the method.

本申请提供了一种产品推荐的处理方法、装置、计算机设备及计算机可读存储介质。所述处理方法通过获取目标用户的用户标识,并根据用户标识,获取用户标识对应的预设产品推荐多层图模型,预设产品推荐多层图模型包含至少三个图层,每个图层包含若干个节点,相邻图层之间存在业务上的关联关系,其中包含一个用户层,且用户层仅包含一个节点,然后根据所有节点,基于PersonalRank的推荐算法,获取每个节点的推荐概率,再根据所述推荐概率,并基于预设概率使用方式,使用不同类型的节点各自对应的推荐概率进行产品推荐,由于预设产品推荐多层图模型,相对于PersonalRank模型的结构减小而使模型占用的存储空间较小,能够提高搜索效率,而且由于能够基于多个图层的节点实现了多层实体的推荐,进而提升了产品推荐的多样性、准确性与推荐效率。The present application provides a product recommendation processing method, apparatus, computer device, and computer-readable storage medium. The processing method obtains the user ID of the target user, and according to the user ID, obtains a preset product recommendation multi-layer graph model corresponding to the user ID, and the preset product recommendation multi-layer graph model includes at least three layers, each layer. It contains several nodes, and there is a business relationship between adjacent layers, including a user layer, and the user layer contains only one node, and then according to all nodes, the recommendation algorithm based on PersonalRank is used to obtain the recommendation probability of each node , and then according to the recommendation probability and based on the preset probability usage mode, use the respective recommendation probability corresponding to different types of nodes to perform product recommendation, because the preset product recommendation multi-layer graph model, compared with the PersonalRank model, the structure is reduced. The storage space occupied by the model is small, which can improve the search efficiency, and the multi-layer entity recommendation can be realized based on the nodes of multiple layers, thereby improving the diversity, accuracy and recommendation efficiency of product recommendation.

附图说明Description of drawings

为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.

图1为本申请实施例提供的产品推荐的处理方法的一个流程示意图;1 is a schematic flowchart of a processing method for product recommendation provided by an embodiment of the present application;

图2为本申请实施例提供的在非车险的保险产品中运用产品推荐的处理方法时涉及的预设产品推荐多层图模型的模型结构示例;FIG. 2 is an example of a model structure of a multi-layer graph model of preset product recommendation involved when the processing method for product recommendation is used in an insurance product other than auto insurance provided by an embodiment of the present application;

图3为本申请实施例提供的产品推荐的处理方法的第一个子流程示意图;3 is a schematic diagram of the first sub-flow of the processing method for product recommendation provided by the embodiment of the present application;

图4为本申请实施例提供的产品推荐的处理方法的第二个子流程示意图;FIG. 4 is a second sub-flow schematic diagram of the processing method for product recommendation provided by the embodiment of the present application;

图5为本申请实施例提供的产品推荐的处理方法的第三个子流程示意图;5 is a schematic diagram of a third sub-flow of the processing method for product recommendation provided by the embodiment of the present application;

图6为本申请实施例提供的产品推荐的处理方法的第四个子流程示意图;6 is a schematic diagram of the fourth sub-flow of the processing method for product recommendation provided by the embodiment of the present application;

图7为本申请实施例提供的产品推荐的处理装置的一个示意性框图;FIG. 7 is a schematic block diagram of a processing device for product recommendation provided by an embodiment of the present application;

图8为本申请实施例提供的计算机设备的示意性框图。FIG. 8 is a schematic block diagram of a computer device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It is to be understood that, when used in this specification and the appended claims, the terms "comprising" and "comprising" indicate the presence of the described features, integers, steps, operations, elements and/or components, but do not exclude one or The presence or addition of a number of other features, integers, steps, operations, elements, components, and/or sets thereof.

本申请实施例提供了一种产品推荐的处理方法,所述处理方法可以应用于服务器等计算机设备中,并用于保险行业中的非车险的保险产品、在线影票或者电商购物等业务场景中具备多层业务节点的产品推荐。请参阅图1,图1为本申请实施例提供的产品推荐的处理方法的流程示意图。如图1所示,该方法包括以下步骤S11-S13:The embodiment of the present application provides a processing method for product recommendation. The processing method can be applied to computer equipment such as servers, and used in business scenarios such as non-auto insurance products, online movie tickets, or e-commerce shopping in the insurance industry. Product recommendation with multi-layer business nodes. Please refer to FIG. 1 , which is a schematic flowchart of a processing method for product recommendation provided by an embodiment of the present application. As shown in Figure 1, the method includes the following steps S11-S13:

S11、获取目标用户的用户标识,并根据所述用户标识,获取所述用户标识所对应的预设产品推荐多层图模型,所述预设产品推荐多层图模型包含至少三个图层,每个图层包含若干个节点,相邻图层之间存在业务上的关联关系,其中包含一个用户层,且所述用户层仅包含一个节点作为用户节点,所述用户节点用于描述所述用户标识。S11. Acquire a user ID of a target user, and according to the user ID, obtain a preset product recommendation multi-layer graph model corresponding to the user ID, where the preset product recommendation multi-layer graph model includes at least three layers, Each layer contains several nodes, and there is a business relationship between adjacent layers, including a user layer, and the user layer only contains one node as a user node, and the user node is used to describe the User ID.

具体地,在保险行业中的非车险的保险产品(简称为非车产品)、在线影票销售或者电商购物等应用场景中,例如,若检测到老用户登录在线网站或者APP时,所述老用户可以认为是目标用户,或者保险代理人通过点击预设评测按钮以了解对某一目标投保用户的产品推荐方式时,可以将该目标投保用户作为目标用户,同时认为启动了对产品推荐进行启动的指令,响应于进行产品推荐的启动指令,获取目标用户的用户标识,所述用户标识可以为用户的登录账号、用户姓名、身份证号或者手机号等唯一辨认用户的内容。Specifically, in application scenarios such as non-auto insurance products (referred to as non-car products), online movie ticket sales, or e-commerce shopping in the insurance industry, for example, if it is detected that an old user logs in to an online website or APP, the The old user can be regarded as the target user, or when the insurance agent clicks the preset evaluation button to know the product recommendation method for a certain target insured user, the target insured user can be regarded as the target user, and it is considered that the product recommendation has been activated. The activation instruction, in response to the activation instruction for product recommendation, obtains the user ID of the target user, and the user ID can be the content that uniquely identifies the user, such as the user's login account, user name, ID number or mobile phone number.

对于具备多层业务节点的产品进行推荐,预先根据业务需要,构建该产品推荐所适用的预设产品推荐多层图模型,所述预设产品推荐多层图模型可以为基于图(算法)的模型(英文为Graph-Based Model),所述预设产品推荐多层图模型包含至少三个图层,每个图层用于描述同一类实体,每个图层包含若干个节点,每个节点描述一个实体,每个图层的不同节点描述属于同一种类的不同实体,所述实体用于描述业务中存在的离散对象,例如,在非车险产品中,实体可以为用户名称、保险产品名称、保险大类名称、销售渠道名称等对象,相邻图层之间存在业务上的关联关系,所述关联关系为节点对应的实体间的相关性,例如,可以为用户对某产品产生过购买行为,或者某产品可以基于某销售渠道进行销售等业务上的相关性,所述预设产品推荐多层图模型包含一个用户层,且所述用户层仅包含一个节点作为用户节点,所述用户节点用于描述用户标识。尤其对于基于历史交易数据进行产品推荐的应用场景,所述预设产品推荐多层图模型还可以包括历史交易数据层,所述历史交易数据层的节点用于描述历史交易数据,所述历史交易数据可以包含目标用户已购买的产品或者服务所对应的标识,所述产品可以为书籍、智能手机等有形商品,所述服务可以为保险服务、金融服务、通信服务等无形商品,例如在保险服务中,可以涉及保险产品的产品名称、产品种类、APP或者网站等线上渠道或者线下渠道等相关实体,基于用户已购买的产品或者服务等历史交易数据,对用户进行产品推荐的统计,可以较为准确的预测用户的偏好,从而提高产品推荐的准确性,提高营销资源的有效性。例如,请参阅图2,图2为本申请实施例提供的在非车险的保险产品中运用产品推荐的处理方法时涉及的预设产品推荐多层图模型的模型结构示例,如图2所示,在该非车险产品示例中,构建的预设产品推荐多层图模型可以包括4个图层,且相邻图层之间存在业务上的关联关系,所述关联关系可以为业务节点的前后顺序的关联关系,或者为业务中涉及的产品元素的相关性,分别为:To recommend products with multi-layer business nodes, build a preset product recommendation multi-layer graph model applicable to the product recommendation in advance according to business needs. The preset product recommendation multi-layer graph model may be a graph (algorithm)-based model Model (Graph-Based Model in English), the preset product recommended multi-layer graph model contains at least three layers, each layer is used to describe the same type of entity, each layer contains several nodes, each node Describes an entity, and different nodes of each layer describe different entities belonging to the same category. The entities are used to describe discrete objects existing in the business. For example, in non-auto insurance products, entities can be user names, insurance product names, Objects such as insurance category name, sales channel name, etc., there is a business relationship between adjacent layers, and the relationship is the correlation between the entities corresponding to the nodes. For example, it can be that a user has purchased a product. , or a product can be sold based on a certain sales channel and other business dependencies, the preset product recommendation multi-layer graph model includes a user layer, and the user layer only includes one node as a user node, and the user node Used to describe the user ID. Especially for the application scenario of product recommendation based on historical transaction data, the preset multi-layer graph model for product recommendation may also include a historical transaction data layer, and the nodes of the historical transaction data layer are used to describe historical transaction data. The data can include the identifiers corresponding to the products or services that the target user has purchased. The products can be tangible commodities such as books and smartphones, and the services can be intangible commodities such as insurance services, financial services, and communication services. , which can involve the product name, product type, APP or website and other related entities such as online channels or offline channels of insurance products. Based on historical transaction data such as products or services that users have purchased, statistics on product recommendations can be made to users. It can more accurately predict user preferences, thereby improving the accuracy of product recommendations and the effectiveness of marketing resources. For example, please refer to FIG. 2 . FIG. 2 is an example of a model structure of a multi-layer graph model for preset product recommendation involved in applying a processing method for product recommendation in an insurance product other than auto insurance provided by an embodiment of the present application, as shown in FIG. 2 . , in this non-auto insurance product example, the built preset product recommendation multi-layer graph model may include 4 layers, and there is a business relationship between adjacent layers, and the relationship may be the front and back of the business node. The sequential relationship, or the correlation of the product elements involved in the business, are:

1)第一个图层(即图结构的起始层)一般为用户层,所述用户层的节点用于描述被推荐用户(即目标用户),且用户层仅包含一个节点作为用户节点,所述用户节点采取用户标识描述被推荐产品的目标用户;1) The first layer (that is, the starting layer of the graph structure) is generally the user layer. The nodes of the user layer are used to describe the recommended user (ie the target user), and the user layer only contains one node as the user node, The user node adopts the user ID to describe the target user of the recommended product;

2)第二个图层为已购保险产品图层,用于描述该推荐用户已经购买的保险产品,每个节点描述一个该推荐用户已经购买的保险产品,已购保险产品1所对应的节点描述该推荐用户已经购买的保险产品1,已购保险产品2所对应的节点描述该推荐用户已经购买的保险产品2;2) The second layer is the purchased insurance product layer, which is used to describe the insurance products that the recommended user has purchased. Each node describes an insurance product that the recommended user has purchased, and the node corresponding to the purchased insurance product 1. Describe the insurance product 1 that the recommended user has purchased, and the node corresponding to the purchased insurance product 2 describes the insurance product 2 that the recommended user has purchased;

3)第三个图层为销售渠道图层,用于描述第二个图层中各个已购保险产品的销售渠道,由此,第二个图层与第三个图层作为相邻图层之间存在业务上的关联关系;3) The third layer is the sales channel layer, which is used to describe the sales channels of each purchased insurance product in the second layer. Therefore, the second layer and the third layer are adjacent layers. There is a business relationship between them;

4)第四个图层为保险大类图层,用于描述第三个图层中各个销售渠道所销售的保险大类集合,由此,第三个图层与第四个图层作为相邻图层之间存在业务上的关联关系。4) The fourth layer is the insurance category layer, which is used to describe the set of insurance categories sold by each sales channel in the third layer. Therefore, the third layer and the fourth layer are related to each other. There is a business relationship between adjacent layers.

其中,第三个图层与第四个图层是可以用来进行产品推荐的,第三个图层用于筛选出向用户1进行保险产品推荐的销售渠道,第四个图层用于筛选出向用户1进行保险产品推荐的保险大类,进而还可以根据第四个图层筛选出的保险大类,再筛选出该保险大类包含的具体保险产品作为推荐的保险产品,在图2所示的示例中,若该用户相关的所有销售渠道中创展渠道对其最重要,可以认为该用户可能比较偏爱创展渠道这一销售渠道,后续可以多在创展渠道对其进行保险产品的营销与推荐,从而提升销售渠道推荐的准确性与有效性,进而提升保险产品对于目标用户推荐的准确性与适应性,以提高保险产品的营销效果。同时,如图2所示,在第四个图层之后,还可以再构建第五个图层,第五个图层可以为保险产品层,用于描述每个保险大类包含的保险产品的集合,可以根据第五个图层,筛选出该保险大类包含的具体保险产品作为推荐的保险产品,其中,所述图2中的节点之间的边连接可以为无向连线,也可以为有向连线,采取有向连线用于描述节点之间的有向相关性。Among them, the third layer and the fourth layer can be used for product recommendation, the third layer is used to filter out the sales channels for recommending insurance products to user 1, and the fourth layer is used to filter out the User 1 selects the insurance categories recommended by insurance products, and then can filter out the insurance categories based on the fourth layer, and then filter out the specific insurance products included in this insurance category as the recommended insurance products, as shown in Figure 2 In the example of , if the Chuangzhan channel is the most important among all the sales channels related to the user, it can be considered that the user may prefer the Chuangzhan channel as a sales channel, and he can use the Chuangzhan channel for insurance product marketing in the future. In order to improve the accuracy and effectiveness of sales channel recommendations, and then improve the accuracy and adaptability of insurance products to target users, so as to improve the marketing effect of insurance products. At the same time, as shown in Figure 2, after the fourth layer, a fifth layer can be constructed. The fifth layer can be an insurance product layer, which is used to describe the insurance products included in each insurance category. Set, according to the fifth layer, the specific insurance products included in the insurance category can be filtered out as the recommended insurance products, wherein the edge connections between the nodes in the Figure 2 can be undirected connections, or For the directed connection, the directed connection is used to describe the directed correlation between nodes.

基于上述预设产品推荐多层图模型,对于每个目标用户,可以结合用户目标数据,所述用户目标数据可以包含用户历史数据,所述用户历史数据可以包含历史交易数据与历史搜索数据等不同行为的数据,还可以包括原始历史数据及增量数据等不同过程产生的数据,其中,历史搜索数据为用户在过去的时间内进行搜索的行为数据,例如用户在电商APP中搜索某一款产品而未进行购买的搜索数据,所述历史交易数据可以包含目标用户已购买的产品或者服务所对应的标识及销售渠道、历史交易时间,从而可以结合用户目标数据,例如结合历史交易数据,将用户目标数据在需要时进行填充或者将用户目标数据在数据产生时及时填充至所述预设产品推荐多层图模型包含的各个节点,从而构建该目标用户的预设产品推荐多层图模型,可得到具体用户的预设产品推荐多层图模型。请继续参阅图2,如图2所示,在该示例中,对于用户1,可以通过图2的图的结构,描述用户1购买产品的历史数据如下:Based on the above-mentioned preset product recommendation multi-layer graph model, for each target user, user target data can be combined, the user target data can include user historical data, and the user historical data can include historical transaction data and historical search data. Behavioral data can also include data generated by different processes such as original historical data and incremental data. Among them, historical search data is the behavioral data that users searched for in the past, such as when a user searches for a certain product in an e-commerce APP The search data for products but not purchased, the historical transaction data may include the identification and sales channels corresponding to the products or services purchased by the target user, and the historical transaction time, so that it can be combined with user target data, such as historical transaction data. The user target data is filled when needed, or the user target data is filled into each node included in the preset product recommendation multi-layer graph model in time when the data is generated, so as to construct the target user's preset product recommendation multi-layer graph model, A multi-layer graph model of preset product recommendations for specific users can be obtained. Please continue to refer to FIG. 2. As shown in FIG. 2, in this example, for user 1, the historical data of the product purchased by user 1 can be described as follows through the structure of the diagram in FIG. 2:

1)用户已经购买了的保险产品,包括已购保险产品1与已购保险产品2;1) The insurance products that the user has purchased, including the purchased insurance product 1 and the purchased insurance product 2;

2)已购保险产品1可以通过销售渠道1进行销售,已购保险产品2可以通过销售渠道1与销售渠道2进行销售;2) Purchased insurance product 1 can be sold through sales channel 1, and purchased insurance product 2 can be sold through sales channel 1 and sales channel 2;

3)销售渠道1销售的保险大类包括保险大类1与保险大类3,销售渠道2销售的保险大类包括保险大类2与保险大类3。3) The insurance categories sold by sales channel 1 include insurance category 1 and insurance category 3, and the insurance categories sold by sales channel 2 include insurance category 2 and insurance category 3.

同时,可选地,保险大类1包含的保险产品的集合可以为保险产品集合1,保险产品集合1属于保险大类1的若干个保险产品,保险大类2包含的保险产品的集合可以为保险产品集合2,保险产品集合2属于保险大类2的若干个保险产品,保险大类3包含的保险产品的集合可以为保险产品集合3,保险产品集合3包含属于保险大类3的若干个保险产品。Meanwhile, optionally, the set of insurance products included in insurance category 1 may be insurance product set 1, insurance product set 1 belongs to several insurance products of insurance category 1, and the set of insurance products included in insurance category 2 may be Insurance product set 2. Insurance product set 2 belongs to several insurance products of insurance category 2. The set of insurance products included in insurance category 3 can be insurance product set 3. Insurance product set 3 includes several insurance products belonging to insurance category 3. Insurance Products.

基于构建的上述预设产品推荐多层图模型,获取到目标用户的用户标识后,根据所述用户标识,获取所述用户标识所对应的预设产品推荐多层图模型,基于所述预设产品推荐多层图模型包含的节点,所述预设产品推荐多层图模型描述了用户目标数据包含的相关实体及关联关系,且多个实体涉及到了多层业务节点及/或业务因素,后续根据所述预设产品推荐多层图模型,统计所述预设产品推荐多层图模型中每个实体的推荐概率,并基于每个实体的推荐概率,对该目标用户进行产品推荐。Based on the above-mentioned preset product recommendation multi-layer graph model constructed, after obtaining the user ID of the target user, according to the user ID, obtain the preset product recommendation multi-layer graph model corresponding to the user ID, based on the preset product recommendation multi-layer graph model. Nodes included in the product recommendation multi-layer graph model, the preset product recommendation multi-layer graph model describes the relevant entities and associations included in the user target data, and multiple entities involve multi-layer business nodes and/or business factors. According to the preset product recommendation multi-layer graph model, the recommendation probability of each entity in the preset product recommendation multi-layer graph model is counted, and based on the recommendation probability of each entity, a product recommendation is made to the target user.

S12、根据所有所述节点,基于PersonalRank的推荐算法,获取每个所述节点的推荐概率。S12. According to all the nodes, the recommendation algorithm based on PersonalRank is used to obtain the recommendation probability of each of the nodes.

具体地,对于上述的预设产品推荐多层图模型,基于PersonalRank的推荐算法,即根据所述预设产品推荐多层图模型的节点,若不同节点之间存在相关性,则将关联的节点连通,若用户对某商品产生过购买行为(即用户与商品之间存在购买的相关性),将所述用户与所述商品各自的节点进行连通。例如,请继续参阅图2,如图2所示,对于用户1而言,根据其购买保险产品产生的已购买保险产品节点,基于相邻图层之间存在的业务逻辑关系,由已购买保险产品节点可以关联出销售渠道节点及保险大类节点,并将存在业务上的关联关系的多个节点进行连通,从而可以得到路径:用户1-已购保险产品1-销售渠道1-保险大类1;用户1-已购保险产品1-销售渠道1-保险大类3;用户2-已购保险产品2-销售渠道1-保险大类3;用户1-已购保险产品2-销售渠道2-保险大类2等路径,之后根据连通的路径,通过游走的方式从第一层的用户节点最远可以走到最后一层的节点,多次迭代后所有的节点对于该用户的重要程度就会收敛到某个值,该值用于描述每个节点的重要程度,再根据每个节点的重要程度进行排序即可得到进行产品推荐所需的节点集合。其中,图中顶点(即节点)的相关度主要取决与以下因素:1)两个顶点之间路径数;2)两个顶点之间路径长度;3)两个顶点之间路径经过的顶点。而相关性高的顶点一般有如下特性:1)两个顶点有很多路径相连;2)连接两个顶点之间的路径长度比较短;3)连接两个顶点之间的路径不会经过出度较大的顶点。Specifically, for the above-mentioned preset product recommendation multi-layer graph model, a recommendation algorithm based on PersonalRank, that is, recommending nodes of the multi-layer graph model according to the preset product, if there is a correlation between different nodes, the associated node Connecting, if the user has purchased a certain product (that is, there is a purchase correlation between the user and the product), the user and the respective nodes of the product are connected. For example, please continue to refer to Figure 2. As shown in Figure 2, for user 1, according to the purchased insurance product node generated by the purchase of insurance products, based on the business logic relationship between adjacent layers, the purchased insurance The product node can be associated with the sales channel node and the insurance category node, and connect multiple nodes with business associations, so that the path can be obtained: user 1 - purchased insurance product 1 - sales channel 1 - insurance category 1; User 1 - Purchased insurance product 1 - Sales channel 1 - Insurance category 3; User 2 - Purchased insurance product 2 - Sales channel 1 - Insurance category 3; User 1 - Purchased insurance product 2 - Sales channel 2 -Insurance category 2 and other paths, and then according to the connected paths, the user node in the first layer can go farthest to the node in the last layer by walking, and the importance of all nodes to the user after multiple iterations It will converge to a certain value, which is used to describe the importance of each node, and then sort according to the importance of each node to obtain the node set required for product recommendation. Among them, the correlation degree of the vertices (ie nodes) in the graph mainly depends on the following factors: 1) the number of paths between two vertices; 2) the length of the path between the two vertices; 3) the vertices that the path between the two vertices passes through. Vertices with high correlation generally have the following characteristics: 1) There are many paths connecting the two vertices; 2) The length of the path connecting the two vertices is relatively short; 3) The path connecting the two vertices does not pass the out-degree larger vertices.

请继续参阅图2,如图2所示,对于给用户1进行个性化推荐,从图中用户1对应的节点开始游走,游走到一个节点时,首先按照预设概率决定是否继续游走,还是停止这次游走并从用户1对应的节点开始重新游走。如果决定继续游走,那么就从当前节点指向的节点中按照均匀分布随机选择一个节点作为下次经过的节点,这样经过很多次的游走后,每个节点被访问到的概率就会收敛到一个数,最终推荐列表中每个节点的权重就是节点的访问概率,即每个节点的推荐概率,从而得到用户1节点与其它所有节点之间的相关性,然后尤其可以取与用户1没有直接边相连的产品,按照相关性的高低生成推荐列表。本申请实施例针对每个用户构建独属于自己的预设产品推荐多层图模型,且用户层仅保留一个节点,使得在进行产品推荐时的每次搜索与迭代仅在必要的节点间进行,相比于传统的PersonalRank算法结构包含多个用户节点且在所有用户节点间运行,本申请实施例能够降低模型整体运行的时间复杂度和内存使用率,提升搜索效率,同时又将预设产品推荐多层图模型包含的图层扩展为至少包含三个图层,通过相邻图层之间的关联关系,确定下一层节点,以此类推,直至预设产品推荐多层图模型构建与搜索完成,能够利用多个图层之间的关联关系,可以处理复杂多样的实体间的关联分析,实现多层的推荐效果,相比于传统的PersonalRank算法结构仅包含两层而只能实现一种实体的推荐,本申请实施例提供的产品推荐的处理方法能够实现多层实体的推荐,从而更能适用于多层实体推荐的业务场景,从而不但实现了预设产品推荐多层图模型的结构较小而使存储空间较小,能够提高产品推荐的搜索效率,而且实现了多层实体的推荐,能够提升产品推荐的多样性与准确性。Please continue to refer to Figure 2. As shown in Figure 2, for personalized recommendation for user 1, start walking from the node corresponding to user 1 in the figure. When walking to a node, first decide whether to continue walking according to a preset probability , or stop the walk and start the walk again from the node corresponding to user 1. If you decide to continue to walk, then randomly select a node from the nodes pointed to by the current node as the next node according to a uniform distribution, so that after many walks, the probability of each node being visited will converge to A number, the weight of each node in the final recommendation list is the access probability of the node, that is, the recommendation probability of each node, so as to obtain the correlation between the user 1 node and all other nodes. For products with connected edges, a recommendation list is generated according to the level of relevance. In the embodiment of the present application, a multi-layer graph model of preset product recommendation unique to each user is constructed, and only one node is reserved in the user layer, so that each search and iteration during product recommendation are performed only between necessary nodes. Compared with the traditional PersonalRank algorithm structure that includes multiple user nodes and runs among all user nodes, the embodiment of the present application can reduce the overall running time complexity and memory usage of the model, improve search efficiency, and at the same time recommend preset products. The layers contained in the multi-layer graph model are expanded to include at least three layers, and the next layer nodes are determined through the association relationship between adjacent layers, and so on, until the preset product recommends multi-layer graph model construction and search Completed, can use the association relationship between multiple layers, can handle the association analysis between complex and diverse entities, and achieve multi-layer recommendation effects. Compared with the traditional PersonalRank algorithm structure, which only contains two layers, only one can be achieved. Entity recommendation, the processing method for product recommendation provided by the embodiment of the present application can realize the recommendation of multi-layer entities, and thus is more applicable to the business scenario of multi-layer entity recommendation, thereby not only realizing the structure of the multi-layer graph model for preset product recommendation Smaller and smaller storage space can improve the search efficiency of product recommendation, and realize the recommendation of multi-layer entities, which can improve the diversity and accuracy of product recommendation.

S13、根据所述推荐概率,并基于预设概率使用方式,使用不同类型的节点各自对应的推荐概率进行产品推荐。S13. According to the recommendation probability and based on the preset probability usage mode, use the recommendation probability corresponding to each node of different types to perform product recommendation.

具体地,根据所述推荐概率,可以获取满足预设概率条件的多个推荐概率作为目标概率,且多个目标概率分别为不同类型节点各自对应的推荐概率,并基于预设概率使用方式使用所述目标概率以进行产品推荐。Specifically, according to the recommendation probability, multiple recommendation probabilities that satisfy the preset probability conditions can be obtained as target probabilities, and the multiple target probabilities are respectively the recommendation probabilities corresponding to different types of nodes, and the preset probability is used based on the usage mode of the preset probability. describe the target probability for product recommendation.

进一步地,所述基于预设概率使用方式,使用不同类型的节点各自对应的推荐概率进行产品推荐,包括:Further, based on the preset probability usage mode, the recommendation probabilities corresponding to different types of nodes are used for product recommendation, including:

基于预设概率筛选条件,筛选不同类型节点各自的推荐概率作为目标概率,将所述目标概率对应的节点作为目标节点,并根据所述目标节点,将推荐产品显示在预设终端;Based on the preset probability screening conditions, the respective recommended probabilities of different types of nodes are selected as the target probability, the node corresponding to the target probability is taken as the target node, and the recommended product is displayed on the preset terminal according to the target node;

或者,基于预设概率筛选条件,筛选不同类型节点各自的推荐概率作为目标概率,将目标概率显示至预设终端,以使相关人员根据所述推荐概率进行产品推荐。Alternatively, based on preset probability screening conditions, the respective recommendation probabilities of different types of nodes are screened as target probabilities, and the target probabilities are displayed on the preset terminal, so that relevant personnel can recommend products according to the recommended probabilities.

具体地,得到每个节点的推荐概率后,基于预设概率筛选条件,筛选不同类型的节点各自的推荐概率作为目标概率,例如,针对每类图层的节点,可以获取满足预设概率条件的推荐概率作为目标概率,例如按照推荐概率由高到低的相关性,确定相关性高的推荐概率作为目标概率,从而筛选出不同类型的节点各自的推荐概率作为目标概率,从而实现多个实体的推荐,在产品推荐中,一般会将每个图层中最大的推荐概率作为目标概率。比如在保险领域,对非车险产品进行营销时,对于将推荐概率用于作为保险代理人进行线下营销的应用场景,可以将非车险产品涉及的多个实体及对应的目标概率显示至终端,以便保险代理人根据所述目标概率采取各个节点的实体,确定最优的非车险产品营销方式进行非车险产品的线下营销。例如,请继续参阅图2,对于用户1,可以将若干个销售渠道及每个保险大类各自所描述的具体内容及其推荐概率进行显示,以便保险代理人根据推荐概率选择适合该用户1的销售渠道及保险大类里的产品作为非车险产品的营销手段。而在电商或者电影票等线上销售应用场景,基于预设概率筛选条件,筛选不同类型的节点各自的推荐概率作为目标概率,将所述目标概率对应的节点作为目标节点,尤其将产品图层中用户未购买过的产品(即图结构中未与该用户有直接边相连的产品),按照相关性的高低(即推荐概率由大到小)生成推荐产品列表,生成与用户已购买产品相同或者相似的推荐产品列表,并将推荐产品显示在预设终端,从而将推荐产品推荐给用户,也可以实现多个实体的推荐。Specifically, after obtaining the recommendation probability of each node, based on the preset probability screening conditions, the respective recommendation probabilities of different types of nodes are screened as the target probability. The recommendation probability is used as the target probability. For example, according to the correlation of the recommendation probability from high to low, the recommendation probability with high correlation is determined as the target probability, so as to screen out the respective recommendation probability of different types of nodes as the target probability, so as to realize the multi-entities. Recommendation. In product recommendation, the maximum recommendation probability in each layer is generally used as the target probability. For example, in the insurance field, when marketing non-auto insurance products, for the application scenario where the recommendation probability is used for offline marketing as an insurance agent, multiple entities involved in non-auto insurance products and the corresponding target probability can be displayed to the terminal. In order for the insurance agent to take the entities of each node according to the target probability, determine the optimal non-auto insurance product marketing method for offline marketing of non-auto insurance products. For example, please continue to refer to Fig. 2, for user 1, the specific content described by several sales channels and each insurance category and their recommendation probability can be displayed, so that the insurance agent can choose a suitable product for user 1 according to the recommendation probability. Sales channels and products in the insurance category are used as marketing tools for non-auto insurance products. In the application scenarios of online sales such as e-commerce or movie tickets, based on the preset probability screening conditions, the recommendation probability of different types of nodes is selected as the target probability, and the node corresponding to the target probability is used as the target node, especially the product map. For the products in the layer that the user has not purchased (that is, the products that are not directly connected to the user in the graph structure), the recommended product list is generated according to the level of correlation (that is, the recommendation probability is from large to small), and the products that have been purchased by the user are generated. The same or similar recommended product list is displayed, and the recommended product is displayed on the preset terminal, so that the recommended product is recommended to the user, and the recommendation of multiple entities can also be implemented.

本申请实施例,通过将描述所述用户标识的用户层仅保留一个节点,且将图层扩展至包含至少三个图层,从而针对每个用户构建对应的预设产品推荐多层图模型,相比于传统的PersonalRank算法结构包含多个用户节点,将所有用户产生的行为只用一个复杂的图结构进行存储,每次迭代都必须对整个图结构进行迭代,耗时较长,且内存使用率较高,本申请实施例提供的预设产品推荐多层图模型的图结构降低了复杂度而使模型占用的存储空间较小,使得在进行产品推荐时的每次搜索与迭代仅在相关的节点范围内进行,降低了模型整体运行的时间复杂度和内存使用率,提升了搜索效率,同时又由于将预设产品推荐多层图模型包含的图层扩展为至少包含三个图层,且多个图层之间存在关联关系,从而可以基于PersonalRank的推荐算法,统计每个节点的推荐概率,从而实现多层的推荐效果,相比于传统的PersonalRank算法结构仅包含两层而只能实现一种实体的推荐,本申请实施例提供的产品推荐的处理方法能够实现多层实体的推荐,更适用于多层实体推荐的业务场景,从而不但实现了预设产品推荐多层图模型的结构较简单而使存储空间较小,从而提高了产品推荐的搜索效率,而且由于能够基于多个图层的节点实现了多层实体的推荐,进而提升了产品推荐的多样性、准确性与推荐效率。In this embodiment of the present application, by retaining only one node in the user layer describing the user ID, and extending the layer to include at least three layers, a corresponding preset product recommendation multi-layer graph model is constructed for each user, Compared with the traditional PersonalRank algorithm structure, which contains multiple user nodes, the behavior generated by all users is stored in only one complex graph structure. Each iteration must iterate the entire graph structure, which takes a long time and requires memory usage. The graph structure of the multi-layer graph model for preset product recommendation provided by the embodiment of the present application reduces the complexity, so that the storage space occupied by the model is smaller, so that each search and iteration during product recommendation is only relevant to It reduces the overall running time complexity and memory usage of the model, and improves the search efficiency. At the same time, because the layers included in the multi-layer graph model recommended by the preset product are expanded to include at least three layers, And there is an association relationship between multiple layers, so that the recommendation algorithm based on PersonalRank can count the recommendation probability of each node, so as to achieve a multi-layer recommendation effect. Compared with the traditional PersonalRank algorithm structure, it only contains two layers and can only To implement a recommendation of an entity, the processing method for product recommendation provided by the embodiment of the present application can implement the recommendation of multiple layers of entities, and is more suitable for the business scenario of recommendation of multiple layers of entities, thereby not only realizing the multi-layer graph model of preset product recommendation. The structure is simple and the storage space is small, thus improving the search efficiency of product recommendation, and because it can implement multi-layer entity recommendation based on nodes of multiple layers, thus improving the diversity, accuracy and recommendation of product recommendations. efficiency.

请参阅图3,图3为本申请实施例提供的产品推荐的处理方法的第一个子流程示意图,如图3所示,在该实施例中,所述获取目标用户的用户标识之前,还包括:Please refer to FIG. 3. FIG. 3 is a schematic diagram of the first sub-flow of the processing method for product recommendation provided by the embodiment of the present application. As shown in FIG. 3, in this embodiment, before acquiring the user ID of the target user, a include:

S111、响应进行产品推荐的启动指令,获取产品推荐的初始用户对象;S111. Acquire an initial user object for product recommendation in response to a start-up instruction for product recommendation;

S112、判断是否存在所述初始用户对象的历史交易数据;S112, judging whether there is historical transaction data of the initial user object;

S113、若存在所述历史交易数据,将所述初始用户对象作为目标用户;S113, if the historical transaction data exists, use the initial user object as a target user;

S114、若不存在所述历史交易数据,不将所述初始用户对象作为目标用户。S114. If the historical transaction data does not exist, do not use the initial user object as a target user.

具体地,若监测到用户登录在线网站或者APP时,或者若接收到保险代理人通过点击预设评测按钮以了解对某一目标投保用户的产品推荐方式时,可以将登录用户或者目标投保用户作为进行产品推荐的初始用户对象,响应用户登录在线网站或者APP,或者接收到保险代理人点击预设评测按钮,获取进行产品推荐的初始用户对象,并根据所述初始用户对象,可以去数据库中查询所述初始用户对象是否存在历史交易数据,若存在所述历史交易数据,判定所述初始用户对象为老用户,将所述初始用户对象作为目标用户,并获取所述目标用户的用户标识,若不存在所述历史交易数据,不将所述初始用户对象作为目标用户,可以判定所述初始用户对象为新用户,对于基于历史交易数据,尤其所述历史交易数据为已购产品进行产品推荐的应用场景,若不存在所述历史交易数据,就无法根据本申请实施例提供的产品推荐的处理方法进行产品推荐,针对此种情形,需要另外设置处置方式,例如随机推荐或者推荐比较热门的、销量较大的产品等。Specifically, if it is monitored that a user logs into an online website or APP, or if an insurance agent clicks the preset evaluation button to learn about the product recommendation method for a target insured user, the logged-in user or the target insured user can be used as the The initial user object for product recommendation, in response to the user logging in to the online website or APP, or receiving the insurance agent clicking the preset evaluation button, to obtain the initial user object for product recommendation, and according to the initial user object, you can go to the database to query Whether the initial user object has historical transaction data, if there is the historical transaction data, determine that the initial user object is an old user, take the initial user object as the target user, and obtain the user ID of the target user, if If the historical transaction data does not exist, and the initial user object is not used as the target user, it can be determined that the initial user object is a new user. In the application scenario, if the historical transaction data does not exist, product recommendation cannot be performed according to the processing method for product recommendation provided in the embodiment of the present application. Products with larger sales.

请参阅图4,图4为本申请实施例提供的产品推荐的处理方法的第二个子流程示意图,如图4所示,在该实施例中,所述根据所述用户标识,获取所述用户标识所对应的预设产品推荐多层图模型,包括:Please refer to FIG. 4. FIG. 4 is a schematic diagram of the second sub-flow of the product recommendation processing method provided by the embodiment of the present application. As shown in FIG. 4, in this embodiment, the user is obtained according to the user identifier. The preset product recommended multi-layer graph model corresponding to the logo, including:

S114、根据所述用户标识,获取所述用户标识对应的用户目标数据,并获取初始预设产品推荐多层图模型;S114, obtaining user target data corresponding to the user ID according to the user ID, and obtaining an initial preset product recommendation multi-layer graph model;

S115、将所述用户目标数据填充至所述初始预设产品推荐多层图模型,得到所述用户标识所对应的预设产品推荐多层图模型。S115. Fill the user target data into the initial preset product recommendation multi-layer graph model, and obtain the preset product recommendation multi-layer graph model corresponding to the user ID.

具体地,对某个用户进行产品推荐时,基于该用户所对应的数据,构建该用户所对应的预设产品推荐多层图模型,即预先构建基于图的初始预设产品推荐多层图模型,所述初始预设产品推荐多层图模型可以限定为空的或者赋予了初始值的模型框架结构,所述初始预设产品推荐多层图模型可以仅仅限定包含多少个图层,及根据具体业务确定相邻图层之间存在业务上的哪些关联关系,从而确定每个图层用于存放用户的哪些数据,获取到所述用户标识对应的用户目标数据,并获取基于图的初始预设产品推荐多层图模型后,将所述用户目标数据填充至所述初始预设产品推荐多层图模型,即将所述用户目标数据包含的具体实体(具体数据)填充至所述初始预设产品推荐多层图模型包含的每个图层的对应节点,从而得到所述用户标识所对应的预设产品推荐多层图模型,例如,对于张三所对应的预设产品推荐多层图模型,若张三已购产品为3种,该预设产品推荐多层图模型包含的已购保险产品图层会构建3个节点用于存放3种实体,对于李四所对应的预设产品推荐多层图模型,若李四已购产品为5种,该预设产品推荐多层图模型包含的已购保险产品图层会构建5个节点用于存放5种实体,由于只需要在确定对用户进行产品推荐时,才去构建所述用户标识所对应的预设产品推荐多层图模型,可以根据所需而构建,相比于每个用户预先构建好对应的预设产品推荐多层图模型或者采用固定结构的预设产品推荐多层图模型,能够减少预设产品推荐多层图模型对存储资源的使用空间,节省存储资源的使用率。Specifically, when recommending products to a certain user, based on the data corresponding to the user, construct a multi-layer graph model of preset product recommendation corresponding to the user, that is, pre-build a graph-based initial preset product recommendation multi-layer graph model , the initial preset product recommendation multi-layer graph model can be limited to an empty or a model frame structure with an initial value, and the initial preset product recommended multi-layer graph model can only limit how many layers it contains, and according to the specific The business determines which business associations exist between adjacent layers, thereby determining which data each layer is used to store the user, obtains the user target data corresponding to the user ID, and obtains the initial preset based on the graph After the product recommendation multi-layer graph model, the user target data is filled into the initial preset product recommendation multi-layer graph model, that is, the specific entities (specific data) contained in the user target data are filled into the initial preset product The corresponding nodes of each layer included in the multi-layer graph model are recommended, so as to obtain the preset product recommended multi-layer graph model corresponding to the user ID. For example, for the preset product recommended multi-layer graph model corresponding to Zhang San, If there are 3 kinds of products that Zhang San has purchased, the purchased insurance product layer included in the recommended multi-layer graph model for this preset product will build 3 nodes to store 3 kinds of entities. Layer graph model, if Li Si has purchased 5 kinds of products, this preset product recommends that the purchased insurance product layer included in the multi-layer graph model will build 5 nodes to store 5 kinds of entities, because it is only necessary to confirm the user When product recommendation is performed, the preset product recommendation multi-layer graph model corresponding to the user ID is constructed. Or adopting a preset product recommendation multi-layer graph model with a fixed structure can reduce the space used by the preset product recommended multi-layer graph model for storage resources and save the usage rate of storage resources.

在一实施例中,所述预设产品推荐多层图模型的第1个图层为用户层,第2个图层为所述用户层描述的用户已经购买的产品所对应的产品标识,且第2个图层至第n个图层为相邻图层之间存在业务上的关联关系的产品元素层,其中,n≥3,请参阅图5,图5为本申请实施例提供的产品推荐的处理方法的第三个子流程示意图,如图5所示,在该实施例中,所述根据所有所述节点,基于PersonalRank的推荐算法,获取每个所述节点的推荐概率,包括:In one embodiment, the first layer of the preset product recommendation multi-layer graph model is the user layer, and the second layer is the product identifier corresponding to the product described by the user layer that the user has purchased, and The second layer to the nth layer are product element layers with business associations between adjacent layers, where n≥3, please refer to FIG. 5 , which is a product provided by this embodiment of the application The third sub-flow schematic diagram of the recommended processing method is shown in Figure 5. In this embodiment, according to all the nodes, the recommendation algorithm based on PersonalRank is used to obtain the recommendation probability of each of the nodes, including:

S51、将所述用户层包含的用户节点与第2个图层所包含的每个节点进行边连接,并将第2个图层至第n个图层中具备业务上的关联关系的节点进行边连接,得到第1个图层至第n个图层各自节点之间的若干路径;S51. Connect the user nodes included in the user layer with each node included in the second layer, and connect the nodes with business associations from the second layer to the nth layer. Edge connection to obtain several paths between the respective nodes of the first layer to the nth layer;

S52、根据每条所述路径,从所述路径的一端开始游走,直至走完所述路径的另一端,并统计每个所述节点被访问的概率,且经多轮游走,直至每个所述节点被访问到的概率收敛趋于稳定,得到每个所述节点相对于所述用户节点的推荐概率。S52. According to each of the paths, start walking from one end of the path until the other end of the path is completed, and count the probability of each node being visited, and walk through multiple rounds until each node is visited. The probability that each of the nodes is visited tends to be stable, and the recommendation probability of each of the nodes relative to the user node is obtained.

具体地,在基于用户已购产品对用户进行产品推荐时,设置所述预设产品推荐多层图模型的第1个图层为用户层,第2个图层为所述用户层描述的用户已经购买的产品所对应的产品标识,且第2个图层至第n个图层为相邻图层之间存在业务上的相关性的产品元素层,其中,n≥3,例如,请继续参阅图2,在图2中,所述第一层的用户层的节点用于描述用户1,第2个图层描述用户1已购买的保险产品,包括已购保险产品1与已购保险产品2,第3个图层用于描述已购保险产品1可以通过销售渠道1进行销售,已购保险产品2可以通过销售渠道1及销售渠道2进行销售,第4个图层用于描述销售渠道1可以销售保险大类1与保险大类3的保险产品,从而第2个图层至第4个图层为相邻图层之间存在业务上的相关性的产品元素层。Specifically, when recommending products to the user based on the products that the user has purchased, the first layer of the multi-layer graph model for preset product recommendation is set as the user layer, and the second layer is the user described by the user layer. The product identifier corresponding to the purchased product, and the second to nth layers are product element layers with business correlations between adjacent layers, where n≥3, for example, please continue Referring to FIG. 2, in FIG. 2, the nodes of the user layer of the first layer are used to describe the user 1, and the second layer describes the insurance products that the user 1 has purchased, including the purchased insurance product 1 and the purchased insurance product 2. The third layer is used to describe the purchased insurance product 1 can be sold through sales channel 1, the purchased insurance product 2 can be sold through sales channel 1 and sales channel 2, and the fourth layer is used to describe the sales channel 1. Insurance products of insurance category 1 and insurance category 3 can be sold, so the second to fourth layers are product element layers with business correlations between adjacent layers.

基于已购产品进行多层实体的产品推荐时,由于第2个图层为用户已购产品,即用户节点与第2个图层的每个节点产生过行为,第2个图层的每个节点均与用户节点存在相关性,首先将所述用户层包含的用户节点与第2个图层所包含的每个节点进行边连接,所述边连接可以为无向边,例如将图2中的用户1与已购保险产品1进行边连接,并将图2中的用户1与已购保险产品2进行边连接,并将第2个图层至第n个图层中具备业务上的关联关系的节点进行边连接,得到第1个图层至第n个图层各自节点之间的若干路径,例如,将图2中的已购保险产品1与销售渠道1进行边连接,将图2中的已购保险产品2与销售渠道1进行边连接,且将图2中的已购保险产品2与销售渠道2进行边连接,再将图2中的销售渠道1分别与保险大类1与保险大类3进行边连接,并将销售渠道2分别与保险大类2与保险大类3进行边连接,形成路径:用户1-已购保险产品1-销售渠道1-保险大类1;用户1-已购保险产品1-销售渠道1-保险大类3;用户2-已购保险产品2-销售渠道1-保险大类3;用户1-已购保险产品2-销售渠道2-保险大类2等路径,之后根据连通的路径,然后根据每条所述路径,从所述路径的一端开始游走,例如,可以从路径的用户节点开始游走,直至走完所述路径的另一端第4个图层的节点,并统计每个所述节点被访问的概率,且经多轮游走,直至每个所述节点被访问到的概率收敛趋于稳定,节点对于该用户的重要程度就会收敛到某个值,该值用于描述每个节点的重要程度,得到每个所述节点相对于所述用户节点的推荐概率,能够提高搜索效率,而且由于能够基于多个图层的节点实现了多层实体的推荐,进而提升了产品推荐的多样性、准确性与推荐效率。When the product recommendation of multi-layer entities is carried out based on purchased products, since the second layer is the product purchased by the user, that is, the user node and each node of the second layer have interacted with each other. All nodes are correlated with user nodes. First, connect the user nodes included in the user layer with each node included in the second layer. The edge connections can be undirected edges. For example, in Figure 2 The user 1 in Figure 2 is edge-connected with the purchased insurance product 1, and the user 1 in Figure 2 is edge-connected with the purchased insurance product 2, and the second layer to the nth layer has business associations The nodes of the relationship are edge-connected to obtain several paths between the respective nodes of the first layer to the nth layer. For example, the purchased insurance product 1 in Figure 2 is connected with the sales channel 1, and The purchased insurance product 2 in Figure 2 is edge-connected with the sales channel 1, and the purchased insurance product 2 in Figure 2 is edge-connected with the sales channel 2, and then the sales channel 1 in Figure 2 is connected to the insurance categories 1 and 2 respectively. Insurance category 3 is edge-connected, and sales channel 2 is edge-connected with insurance category 2 and insurance category 3 to form a path: user 1 - purchased insurance product 1 - sales channel 1 - insurance category 1; user 1-Purchased insurance product 1-Sales channel 1-Insurance category 3; User 2-Purchased insurance product 2-Sales channel 1-Insurance category 3; User 1-Purchased insurance product 2-Sales channel 2-Insurance category Class 2 and other paths, then according to the connected paths, and then according to each of the paths, start walking from one end of the path, for example, you can start walking from the user node of the path until the other end of the path is completed. The node of the fourth layer, and count the probability of each node being visited, and after multiple rounds of walking, until the probability of each node being visited converges and tends to be stable, the importance of the node to the user will converge to a certain value, which is used to describe the importance of each node, and obtain the recommendation probability of each node relative to the user node, which can improve the search efficiency, and because it can be based on multiple layers The node implements the recommendation of multi-layer entities, thereby improving the diversity, accuracy and recommendation efficiency of product recommendations.

请参阅图6,图6为本申请实施例提供的产品推荐的处理方法的第四个子流程示意图,如图6所示,在该实施例中,所述基于预设概率筛选条件,筛选不同类型节点各自的推荐概率作为目标概率,包括:Please refer to FIG. 6 . FIG. 6 is a schematic diagram of the fourth sub-flow of the processing method for product recommendation provided by the embodiment of the present application. As shown in FIG. 6 , in this embodiment, different types of The respective recommendation probability of the node is used as the target probability, including:

S61、根据不同图层对应的节点在业务中的先后关联关系,将业务上的起始节点对应的图层作为起始图层,并将所述起始图层包含的推荐概率按照由大到小的顺序进行排序,得到起始图层概率序列,且获取所述起始图层概率序列中居前的若干个推荐概率作为起始目标概率;S61. According to the successive association relationships of nodes corresponding to different layers in the business, the layer corresponding to the starting node on the business is used as the starting layer, and the recommended probabilities contained in the starting layer are arranged in ascending order. Sorting in the smallest order to obtain the starting layer probability sequence, and obtaining several recommended probabilities at the top of the starting layer probability sequence as the starting target probability;

S62、根据所述起始目标概率,确定其它每层中与所述起始目标概率的节点存在路径的若干最高的推荐概率作为对应的关联目标概率,并将所述起始目标概率与所述关联目标概率作为筛选出的不同类型节点各自的目标概率。S62. According to the initial target probability, determine a number of the highest recommended probabilities of the node existing paths with the initial target probability in each other layer as the corresponding associated target probability, and compare the initial target probability with the The associated target probability is used as the target probability of different types of nodes filtered out.

具体地,由于不同的节点在业务中存在确定与被确定关系、前后顺序的逻辑关系等先后关联关系,例如,请继续参阅图2,销售渠道1仅能销售保险大类1与保险大类3,销售渠道2仅能销售保险大类2与保险大类3,基于销售渠道作为前序节点时,能够确定后续对应的保险大类节点等,从而根据不同图层对应的节点在业务中的先后关联关系,将业务上的起始节点对应的图层作为起始图层,并将所述起始图层包含的推荐概率按照由大到小的顺序进行排序,得到起始图层概率序列,且获取所述起始图层概率序列中居前的若干个推荐概率作为起始目标概率,例如,可以获取所述起始图层概率序列中最高的一个推荐概率作为起始目标概率,也可以获取所述起始图层概率序列中最高的前三推荐概率作为起始目标概率,进行三个产品的推荐,然后根据所述起始目标概率,确定其它每层中与所述起始目标概率的节点存在路径的至少一个最高的推荐概率作为对应的关联目标概率,并将所述起始目标概率与所述关联目标概率作为筛选出的不同类型节点各自的目标概率。例如,请继续参阅图2,在进行销售渠道及销售渠道对应的保险大类的推荐时,若销售渠道1为最高的推荐概率,可以获取销售渠道1的推荐概率作为起始目标概率,并获取与销售渠道1存在路径的保险大类1的推荐概率作为关联目标概率,并将销售渠道1的推荐概率作为销售渠道节点的目标概率,且将保险大类1的推荐概率作为保险大类节点的目标概率,或者获取与销售渠道1存在路径的保险大类1与保险大类3各自的推荐概率作为关联目标概率,并将销售渠道1的推荐概率作为销售渠道节点的目标概率,且将保险大类1与保险大类3各自的推荐概率作为保险大类节点的目标概率,从而实现相关联的多实体节点的推荐,能够产品推荐的多样性、准确性与推荐效率。Specifically, since different nodes have successive association relationships in the business, such as the relationship between determination and determination, and the logical relationship of the order before and after, for example, please continue to refer to Figure 2, sales channel 1 can only sell insurance category 1 and insurance category 3 , sales channel 2 can only sell insurance category 2 and insurance category 3. When the sales channel is used as the pre-order node, the subsequent corresponding insurance category nodes can be determined, so that according to the order of the nodes corresponding to different layers in the business association relationship, take the layer corresponding to the starting node on the business as the starting layer, and sort the recommended probabilities contained in the starting layer in descending order to obtain the starting layer probability sequence, And obtain the first several recommendation probabilities in the starting layer probability sequence as the starting target probability. For example, you can obtain the highest recommendation probability in the starting layer probability sequence as the starting target probability, or you can obtain The top three recommended probabilities in the probability sequence of the initial layer are used as the initial target probability to recommend three products, and then according to the initial target probability, determine the difference between the initial target probability and the initial target probability in each other layer. At least one highest recommendation probability of the node existence path is used as the corresponding associated target probability, and the initial target probability and the associated target probability are used as the respective target probability of the selected nodes of different types. For example, please continue to refer to Figure 2. When recommending sales channels and insurance categories corresponding to sales channels, if sales channel 1 is the highest recommendation probability, the recommendation probability of sales channel 1 can be obtained as the initial target probability, and the The recommendation probability of insurance category 1 that has a path with sales channel 1 is taken as the associated target probability, the recommendation probability of sales channel 1 is taken as the target probability of the sales channel node, and the recommended probability of insurance category 1 is taken as the insurance category node. Target probability, or obtain the respective recommendation probability of insurance category 1 and insurance category 3 that have a path with sales channel 1 as the associated target probability, and use the recommended probability of sales channel 1 as the target probability of the sales channel node, and take the insurance category as the target probability. The respective recommendation probabilities of category 1 and insurance category 3 are used as the target probability of insurance category nodes, so as to realize the recommendation of associated multi-entity nodes, and to achieve the diversity, accuracy and recommendation efficiency of product recommendations.

需要说明的是,上述各个实施例所述的产品推荐的处理方法,可以根据需要将不同实施例中包含的技术特征重新进行组合,以获取组合后的实施方案,但都在本申请要求的保护范围之内。It should be noted that, for the recommended processing methods for products described in the above embodiments, the technical features contained in different embodiments can be recombined as required to obtain a combined embodiment, but all of them are within the protection claimed in this application. within the range.

请参阅图7,图7为本申请实施例提供的产品推荐的处理装置的一个示意性框图。对应于上述所述产品推荐的处理方法,本申请实施例还提供一种产品推荐的处理装置。如图7所示,该产品推荐的处理装置包括用于执行上述所述产品推荐的处理方法的单元,该产品推荐的处理装置可以被配置于计算机设备中。具体地,请参阅图7,该产品推荐的处理装置70包括第一获取单元71、第二获取单元72及概率使用单元73。Please refer to FIG. 7 , which is a schematic block diagram of a processing apparatus for product recommendation provided by an embodiment of the present application. Corresponding to the above-mentioned processing method for product recommendation, an embodiment of the present application further provides a processing device for product recommendation. As shown in FIG. 7 , the product recommendation processing apparatus includes a unit for executing the above-mentioned product recommendation processing method, and the product recommendation processing apparatus may be configured in a computer device. Specifically, please refer to FIG. 7 , the product recommendation processing device 70 includes a first obtaining unit 71 , a second obtaining unit 72 and a probability using unit 73 .

其中,第一获取单元71,用于获取目标用户的用户标识,并根据所述用户标识,获取所述用户标识所对应的预设产品推荐多层图模型,所述预设产品推荐多层图模型包含至少三个图层,每个图层包含若干个节点,相邻图层之间存在业务上的关联关系,其中包含一个用户层,且所述用户层仅包含一个节点作为用户节点,所述用户节点用于描述所述用户标识;The first obtaining unit 71 is configured to obtain the user ID of the target user, and according to the user ID, obtain a preset product recommendation multi-layer graph model corresponding to the user ID, and the preset product recommendation multi-layer graph The model includes at least three layers, each layer includes several nodes, and there is a business relationship between adjacent layers, including a user layer, and the user layer only includes one node as a user node, so The user node is used to describe the user identifier;

第二获取单元72,用于根据所有所述节点,基于PersonalRank的推荐算法,获取每个所述节点的推荐概率;The second obtaining unit 72 is configured to obtain the recommendation probability of each of the nodes according to the recommendation algorithm based on PersonalRank according to all the nodes;

概率使用单元73,用于根据所述推荐概率,并基于预设概率使用方式,使用不同类型的节点各自对应的推荐概率进行产品推荐。The probability using unit 73 is configured to, according to the recommendation probability and based on the preset probability usage mode, use the recommendation probability corresponding to each node of different types to perform product recommendation.

在一实施例中,所述产品推荐的处理装置70还包括:In one embodiment, the product recommendation processing device 70 further includes:

响应单元,用于响应进行产品推荐的启动指令,获取产品推荐的初始用户对象;The response unit is used to respond to the start-up instruction for product recommendation, and obtain the initial user object of product recommendation;

判断单元,用于判断是否存在所述初始用户对象的历史交易数据;a judging unit for judging whether there is historical transaction data of the initial user object;

确定单元,用于若存在所述历史交易数据,将所述初始用户对象作为目标用户。A determining unit, configured to use the initial user object as a target user if the historical transaction data exists.

在一实施例中,所述第一获取单元71包括:In one embodiment, the first obtaining unit 71 includes:

第一获取子单元,用于根据所述用户标识,获取所述用户标识对应的用户目标数据,并获取基于图的初始预设产品推荐多层图模型;a first obtaining subunit, configured to obtain user target data corresponding to the user ID according to the user ID, and obtain a graph-based initial preset product recommendation multi-layer graph model;

填充子单元,用于将所述用户目标数据填充至所述初始预设产品推荐多层图模型,得到所述用户标识所对应的预设产品推荐多层图模型。The filling subunit is used for filling the user target data into the initial preset product recommendation multi-layer graph model to obtain the preset product recommendation multi-layer graph model corresponding to the user ID.

在一实施例中,所述预设产品推荐多层图模型的第1个图层为用户层,第2个图层为所述用户层描述的用户已经购买的产品所对应的产品标识,且第2个图层至第n个图层为相邻图层之间存在业务上的关联关系的产品元素层,其中,n≥3,所述第二获取单元72包括:In one embodiment, the first layer of the preset product recommendation multi-layer graph model is the user layer, and the second layer is the product identifier corresponding to the product described by the user layer that the user has purchased, and The second layer to the nth layer are product element layers with business associations between adjacent layers, where n≥3, the second obtaining unit 72 includes:

第一连接子单元,用于将所述用户层包含的用户节点与第2个图层所包含的每个节点进行边连接,并将第2个图层至第n个图层中具备业务上的关联关系的节点进行边连接,得到第1个图层至第n个图层各自节点之间的若干路径;The first connection sub-unit is used to connect the user node included in the user layer with each node included in the second layer, and connect the second layer to the nth layer with business information. The nodes of the associated relationship are connected by edges, and several paths between the respective nodes of the first layer to the nth layer are obtained;

第二连接子单元,用于根据每条所述路径,从所述路径的一端开始游走,直至走完所述路径的另一端,并统计每个所述节点被访问的概率,且经多轮游走,直至每个所述节点被访问到的概率收敛趋于稳定,得到每个所述节点相对于所述用户节点的推荐概率。The second connection sub-unit is used to walk from one end of the path until the other end of the path is completed according to each path, and count the probability of each node being visited, and after a number of Walk in turns until the probability that each of the nodes is visited converges and tends to be stable, and the recommendation probability of each of the nodes relative to the user node is obtained.

在一实施例中,所述概率使用单元73包括:In one embodiment, the probability using unit 73 includes:

第一筛选子单元,用于基于预设概率筛选条件,筛选不同类型节点各自的推荐概率作为目标概率;a first screening subunit, configured to screen respective recommended probabilities of different types of nodes as target probabilities based on preset probability screening conditions;

第一显示子单元,用于将所述目标概率对应的节点作为目标节点,并根据所述目标节点,将推荐产品显示在预设终端。The first display subunit is configured to use the node corresponding to the target probability as the target node, and display the recommended product on the preset terminal according to the target node.

在一实施例中,所述概率使用单元73包括:In one embodiment, the probability using unit 73 includes:

第一筛选子单元,用于基于预设概率筛选条件,筛选不同类型节点各自的推荐概率作为目标概率;a first screening subunit, configured to screen respective recommended probabilities of different types of nodes as target probabilities based on preset probability screening conditions;

第二显示子单元,用于将目标概率显示至预设终端,以使相关人员根据所述推荐概率进行产品推荐。The second display subunit is used to display the target probability on the preset terminal, so that the relevant personnel can recommend the product according to the recommendation probability.

在一实施例中,所述第一筛选子单元包括:In one embodiment, the first screening subunit includes:

第二获取子单元,用于根据不同图层对应的节点在业务中的先后关联关系,将业务上的起始节点对应的图层作为起始图层,并将所述起始图层包含的推荐概率按照由大到小的顺序进行排序,得到起始图层概率序列,且获取所述起始图层概率序列中居前的若干个推荐概率作为起始目标概率;The second acquisition sub-unit is used for taking the layer corresponding to the starting node on the business as the starting layer according to the successive associations of the nodes corresponding to different layers in the business, and taking the starting layer containing the The recommendation probabilities are sorted in descending order to obtain a starting layer probability sequence, and several top recommended probabilities in the starting layer probability sequence are obtained as starting target probabilities;

确定子单元,用于根据所述起始目标概率,确定其它每层中与所述起始目标概率的节点存在路径的若干最高的推荐概率作为对应的关联目标概率,并将所述起始目标概率与所述关联目标概率作为筛选出的不同类型节点各自的目标概率。The determining subunit is configured to determine, according to the initial target probability, several highest recommended probabilities of the existence paths of the nodes with the initial target probability in each other layer as the corresponding associated target probability, and use the initial target probability as the corresponding associated target probability. The probability and the associated target probability are taken as the respective target probability of the selected nodes of different types.

需要说明的是,所属领域的技术人员可以清楚地了解到,上述产品推荐的处理装置和各单元的具体实现过程,可以参考前述方法实施例中的相应描述,为了描述的方便和简洁,在此不再赘述。It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned product recommendation processing device and each unit may refer to the corresponding description in the foregoing method embodiments. For the convenience and brevity of the description, here No longer.

同时,上述产品推荐的处理装置中各个单元的划分和连接方式仅用于举例说明,在其他实施例中,可将产品推荐的处理装置按照需要划分为不同的单元,也可将产品推荐的处理装置中各单元采取不同的连接顺序和方式,以完成上述产品推荐的处理装置的全部或部分功能。Meanwhile, the division and connection method of each unit in the above-mentioned product recommendation processing device are only used for illustration. In other embodiments, the product recommendation processing device can be divided into different units according to needs, and the product recommendation processing device Each unit in the device adopts different connection sequences and methods to complete all or part of the functions of the processing device recommended by the above product.

上述产品推荐的处理装置可以实现为一种计算机程序的形式,该计算机程序可以在如图8所示的计算机设备上运行。The above-mentioned processing apparatus for product recommendation can be implemented in the form of a computer program, and the computer program can be executed on a computer device as shown in FIG. 8 .

请参阅图8,图8是本申请实施例提供的一种计算机设备的示意性框图。该计算机设备500可以是台式机电脑或者服务器等计算机设备,也可以是其他设备中的组件或者部件。Please refer to FIG. 8 , which is a schematic block diagram of a computer device provided by an embodiment of the present application. The computer device 500 may be a computer device such as a desktop computer or a server, or may be a component or component in other devices.

参阅图8,该计算机设备500包括通过系统总线501连接的处理器502、存储器和网络接口505,其中,存储器可以包括非易失性存储介质503和内存储器504,所述存储器也可以为易失性存储介质。Referring to FIG. 8, the computer device 500 includes a processor 502, a memory and a network interface 505 connected through a system bus 501, wherein the memory may include a non-volatile storage medium 503 and an internal memory 504, and the memory may also be volatile Sexual storage medium.

该非易失性存储介质503可存储操作系统5031和计算机程序5032。该计算机程序5032被执行时,可使得处理器502执行一种上述产品推荐的处理方法。The nonvolatile storage medium 503 can store an operating system 5031 and a computer program 5032 . When the computer program 5032 is executed, it can cause the processor 502 to execute an above-mentioned processing method for product recommendation.

该处理器502用于提供计算和控制能力,以支撑整个计算机设备500的运行。The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .

该内存储器504为非易失性存储介质503中的计算机程序5032的运行提供环境,该计算机程序5032被处理器502执行时,可使得处理器502执行一种上述产品推荐的处理方法。The internal memory 504 provides an environment for running the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a processing method recommended by the product.

该网络接口505用于与其它设备进行网络通信。本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备500的限定,具体的计算机设备500可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。例如,在一些实施例中,计算机设备可以仅包括存储器及处理器,在这样的实施例中,存储器及处理器的结构及功能与图8所示实施例一致,在此不再赘述。The network interface 505 is used for network communication with other devices. Those skilled in the art can understand that the structure shown in FIG. 8 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than shown, or combine certain components, or have a different arrangement of components. For example, in some embodiments, the computer device may only include a memory and a processor. In such an embodiment, the structures and functions of the memory and the processor are the same as those of the embodiment shown in FIG. 8 , which will not be repeated here.

其中,所述处理器502用于运行存储在存储器中的计算机程序5032,以实现如下步骤:获取目标用户的用户标识,并根据所述用户标识,获取所述用户标识所对应的预设产品推荐多层图模型,所述预设产品推荐多层图模型包含至少三个图层,每个图层包含若干个节点,相邻图层之间存在业务上的关联关系,其中包含一个用户层,且所述用户层仅包含一个节点作为用户节点,所述用户节点用于描述所述用户标识;根据所有所述节点,基于PersonalRank的推荐算法,获取每个所述节点的推荐概率;根据所述推荐概率,并基于预设概率使用方式,使用不同类型的节点各自对应的推荐概率进行产品推荐。Wherein, the processor 502 is configured to run the computer program 5032 stored in the memory, so as to realize the following steps: obtaining the user ID of the target user, and obtaining the preset product recommendation corresponding to the user ID according to the user ID A multi-layer graph model, the preset product recommendation multi-layer graph model includes at least three layers, each layer includes several nodes, and there is a business relationship between adjacent layers, including a user layer, And the user layer only includes one node as a user node, and the user node is used to describe the user identification; according to all the nodes, based on the recommendation algorithm of PersonalRank, obtain the recommendation probability of each of the nodes; according to the Recommendation probability, and based on the preset probability usage method, use the recommendation probability corresponding to different types of nodes to recommend products.

在一实施例中,所述处理器502在实现所述获取目标用户的用户标识之前,还实现以下步骤:In one embodiment, the processor 502 further implements the following steps before acquiring the user identity of the target user:

响应进行产品推荐的启动指令,获取产品推荐的初始用户对象;In response to the start-up instruction for product recommendation, obtain the initial user object for product recommendation;

判断是否存在所述初始用户对象的历史交易数据;Determine whether there is historical transaction data of the initial user object;

若存在所述历史交易数据,将所述初始用户对象作为目标用户。If the historical transaction data exists, the initial user object is used as the target user.

在一实施例中,所述处理器502在实现所述根据所述用户标识,获取所述用户标识所对应的预设产品推荐多层图模型时,具体实现以下步骤:In one embodiment, the processor 502 specifically implements the following steps when implementing the obtaining of the preset product recommendation multi-layer graph model corresponding to the user ID according to the user ID:

根据所述用户标识,获取所述用户标识对应的用户目标数据,并获取初始预设产品推荐多层图模型;According to the user ID, obtain user target data corresponding to the user ID, and obtain an initial preset product recommendation multi-layer graph model;

将所述用户目标数据填充至所述初始预设产品推荐多层图模型,得到所述用户标识所对应的预设产品推荐多层图模型。Filling the user target data into the initial preset product recommendation multi-layer graph model to obtain the preset product recommendation multi-layer graph model corresponding to the user ID.

在一实施例中,所述预设产品推荐多层图模型的第1个图层为用户层,第2个图层为所述用户层描述的用户已经购买的产品所对应的产品标识,且第2个图层至第n个图层为相邻图层之间存在业务上的关联关系的产品元素层,其中,n≥3,所述处理器502在实现所述根据所有所述节点,基于PersonalRank的推荐算法,获取每个所述节点的推荐概率时,具体实现以下步骤:In one embodiment, the first layer of the preset product recommendation multi-layer graph model is the user layer, and the second layer is the product identifier corresponding to the product described by the user layer that the user has purchased, and The second layer to the nth layer are product element layers with business associations between adjacent layers, where n≥3, the processor 502 is implementing the above according to all the nodes, In the recommendation algorithm based on PersonalRank, when obtaining the recommendation probability of each node, the following steps are specifically implemented:

将所述用户层包含的用户节点与第2个图层所包含的每个节点进行边连接,并将第2个图层至第n个图层中具备业务上的关联关系的节点进行边连接,得到第1个图层至第n个图层各自节点之间的若干路径;Connect the user nodes included in the user layer with each node included in the second layer, and connect the nodes with business associations in the second layer to the nth layer. , get several paths between the respective nodes of the first layer to the nth layer;

根据每条所述路径,从所述路径的一端开始游走,直至走完所述路径的另一端,并统计每个所述节点被访问的概率,且经多轮游走,直至每个所述节点被访问到的概率收敛趋于稳定,得到每个所述节点相对于所述用户节点的推荐概率。According to each of the paths, walk from one end of the path until the other end of the path is completed, and count the probability of each node being visited, and walk through multiple rounds until each node is visited. The probability that the node is visited tends to be stable, and the recommendation probability of each node relative to the user node is obtained.

在一实施例中,所述处理器502在实现所述基于预设概率使用方式,使用不同类型的节点各自对应的推荐概率进行产品推荐时,具体实现以下步骤:In one embodiment, the processor 502 specifically implements the following steps when implementing the preset probability-based usage mode and using the recommendation probabilities corresponding to different types of nodes to perform product recommendation:

基于预设概率筛选条件,筛选不同类型节点各自的推荐概率作为目标概率;Based on the preset probability screening conditions, the respective recommended probabilities of different types of nodes are screened as the target probability;

将所述目标概率对应的节点作为目标节点,并根据所述目标节点,将推荐产品显示在预设终端。The node corresponding to the target probability is used as the target node, and the recommended product is displayed on the preset terminal according to the target node.

在一实施例中,所述处理器502在实现所述基于预设概率使用方式,使用不同类型的节点各自对应的推荐概率进行产品推荐时,具体实现以下步骤:In one embodiment, the processor 502 specifically implements the following steps when implementing the preset probability-based usage mode and using the recommendation probabilities corresponding to different types of nodes to perform product recommendation:

基于预设概率筛选条件,筛选不同类型的节点各自的推荐概率作为目标概率;Based on the preset probability screening conditions, the respective recommended probabilities of different types of nodes are screened as the target probability;

将目标概率显示至预设终端,以使相关人员根据所述推荐概率进行产品推荐。The target probability is displayed on the preset terminal, so that the relevant personnel can recommend the product according to the recommendation probability.

在一实施例中,所述处理器502在实现所述基于预设概率筛选条件,筛选不同类型节点各自的推荐概率作为目标概率时,具体实现以下步骤:In one embodiment, the processor 502 specifically implements the following steps when implementing the preset probability-based screening conditions to select the respective recommended probabilities of different types of nodes as target probabilities:

根据不同图层对应的节点在业务中的先后关联关系,将业务上的起始节点对应的图层作为起始图层,并将所述起始图层包含的推荐概率按照由大到小的顺序进行排序,得到起始图层概率序列,且获取所述起始图层概率序列中居前的若干个推荐概率作为起始目标概率;According to the successive associations of nodes corresponding to different layers in the business, the layer corresponding to the starting node on the business is taken as the starting layer, and the recommended probabilities contained in the starting layer are arranged in descending order. Sort the sequence in order to obtain a starting layer probability sequence, and obtain a number of recommended probabilities at the top of the starting layer probability sequence as starting target probabilities;

根据所述起始目标概率,确定其它每层中与所述起始目标概率的节点存在路径的若干最高的推荐概率作为对应的关联目标概率,并将所述起始目标概率与所述关联目标概率作为筛选出的不同类型节点各自的目标概率。According to the initial target probability, determine some of the highest recommended probabilities of the node existing paths with the initial target probability in each other layer as the corresponding associated target probability, and compare the initial target probability with the associated target The probability is used as the target probability of the different types of nodes screened out.

应当理解,在本申请实施例中,处理器502可以是中央处理单元(CentralProcessing Unit,CPU),该处理器502还可以是其他通用处理器、数字信号处理器(DigitalSignal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in this embodiment of the present application, the processor 502 may be a central processing unit (Central Processing Unit, CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), off-the-shelf Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. Wherein, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor or the like.

本领域普通技术人员可以理解的是实现上述实施例的方法中的全部或部分流程,是可以通过计算机程序来完成,该计算机程序可存储于一计算机可读存储介质。该计算机程序被该计算机系统中的至少一个处理器执行,以实现上述方法的实施例的流程步骤。It can be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program, and the computer program can be stored in a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the above-described method embodiments.

因此,本申请还提供一种计算机可读存储介质。该计算机可读存储介质可以为非易失性的计算机可读存储介质,也可以为易失性的计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时使处理器执行如下步骤:Therefore, the present application also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium, or a volatile computer-readable storage medium, and the computer-readable storage medium stores a computer program, and the computer program is executed by the processor causes the processor to perform the following steps:

一种计算机程序产品,当其在计算机上运行时,使得计算机执行以上各实施例中所描述的所述产品推荐的处理方法的步骤。A computer program product, when run on a computer, causes the computer to execute the steps of the product recommendation processing method described in the above embodiments.

所述计算机可读存储介质可以是前述设备的内部存储单元,例如设备的硬盘或内存。所述计算机可读存储介质也可以是所述设备的外部存储设备,例如所述设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述设备的内部存储单元也包括外部存储设备。The computer-readable storage medium may be an internal storage unit of the aforementioned device, such as a hard disk or a memory of the device. The computer-readable storage medium may also be an external storage device of the device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card equipped on the device , Flash Card (Flash Card) and so on. Further, the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的设备、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described devices, devices and units, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

所述存储介质为实体的、非瞬时性的存储介质,例如可以是U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、磁碟或者光盘等各种可以存储计算机程序的实体存储介质。The storage medium is a physical, non-transitory storage medium, such as a U disk, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a magnetic disk or an optical disk and other physical storage that can store computer programs. medium.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. Interchangeability, the above description has generally described the components and steps of each example in terms of function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的。例如,各个单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is only a logical function division, and other division methods may be used in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.

本申请实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。本申请实施例装置中的单元可以根据实际需要进行合并、划分和删减。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。The steps in the method of the embodiment of the present application may be adjusted, combined and deleted in sequence according to actual needs. Units in the apparatus of the embodiment of the present application may be combined, divided, and deleted according to actual needs. In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台电子设备(可以是个人计算机,终端,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a storage medium. Based on this understanding, the technical solutions of the present application are essentially or part of contributions to the prior art, or all or part of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage medium , including several instructions to cause an electronic device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.

以上所述,仅为本申请的具体实施方式,但本申请明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of the present application, but the scope of protection disclosed in the present application is not limited to this. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in the present application. Modifications or substitutions of the present application shall be included within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1.一种产品推荐的处理方法,其特征在于,包括:1. a processing method of product recommendation, is characterized in that, comprises: 获取目标用户的用户标识,并根据所述用户标识,获取所述用户标识所对应的预设产品推荐多层图模型,所述预设产品推荐多层图模型包含至少三个图层,每个图层包含若干个节点,相邻图层之间存在业务上的关联关系,其中包含一个用户层,且所述用户层仅包含一个节点作为用户节点,所述用户节点用于描述所述用户标识;Obtain the user ID of the target user, and according to the user ID, obtain a preset product recommendation multi-layer graph model corresponding to the user ID, the preset product recommendation multi-layer graph model includes at least three layers, each A layer includes several nodes, and there is a business relationship between adjacent layers, including a user layer, and the user layer only includes one node as a user node, and the user node is used to describe the user ID ; 根据所有所述节点,基于PersonalRank的推荐算法,获取每个所述节点的推荐概率;According to all the nodes, the recommendation algorithm based on PersonalRank is used to obtain the recommendation probability of each of the nodes; 根据所述推荐概率,并基于预设概率使用方式,使用不同类型的节点各自对应的推荐概率进行产品推荐。According to the recommendation probability and based on the preset probability usage mode, the recommendation probability corresponding to different types of nodes is used to perform product recommendation. 2.根据权利要求1所述产品推荐的处理方法,其特征在于,所述获取目标用户的用户标识之前,还包括:2. The processing method for product recommendation according to claim 1, wherein before the acquiring the user identification of the target user, further comprising: 响应进行产品推荐的启动指令,获取产品推荐的初始用户对象;In response to the start-up instruction for product recommendation, obtain the initial user object for product recommendation; 判断是否存在所述初始用户对象的历史交易数据;Determine whether there is historical transaction data of the initial user object; 若存在所述历史交易数据,将所述初始用户对象作为目标用户。If the historical transaction data exists, the initial user object is used as the target user. 3.根据权利要求1所述产品推荐的处理方法,其特征在于,所述根据所述用户标识,获取所述用户标识所对应的预设产品推荐多层图模型,包括:3 . The processing method for product recommendation according to claim 1 , wherein, acquiring the preset product recommendation multi-layer graph model corresponding to the user ID according to the user ID comprises: 3 . 根据所述用户标识,获取所述用户标识对应的用户目标数据,并获取初始预设产品推荐多层图模型;According to the user ID, obtain user target data corresponding to the user ID, and obtain an initial preset product recommendation multi-layer graph model; 将所述用户目标数据填充至所述初始预设产品推荐多层图模型,得到所述用户标识所对应的预设产品推荐多层图模型。Filling the user target data into the initial preset product recommendation multi-layer graph model to obtain the preset product recommendation multi-layer graph model corresponding to the user ID. 4.根据权利要求1所述产品推荐的处理方法,其特征在于,所述预设产品推荐多层图模型的第1个图层为用户层,第2个图层为所述用户层描述的用户已经购买的产品所对应的产品标识,且第2个图层至第n个图层为相邻图层之间存在业务上的关联关系的产品元素层,其中,n≥3,所述根据所有所述节点,基于PersonalRank的推荐算法,获取每个所述节点的推荐概率,包括:4. The processing method for product recommendation according to claim 1, wherein the first layer of the preset product recommendation multi-layer graph model is a user layer, and the second layer is described by the user layer. The product identifier corresponding to the product that the user has purchased, and the second layer to the nth layer are product element layers with business associations between adjacent layers, where n≥3, according to All the nodes, based on the recommendation algorithm of PersonalRank, obtain the recommendation probability of each of the nodes, including: 将所述用户层包含的用户节点与第2个图层所包含的每个节点进行边连接,并将第2个图层至第n个图层中具备业务上的关联关系的节点进行边连接,得到第1个图层至第n个图层各自节点之间的若干路径;Connect the user nodes included in the user layer with each node included in the second layer, and connect the nodes with business associations in the second layer to the nth layer. , get several paths between the respective nodes of the first layer to the nth layer; 根据每条所述路径,从所述路径的一端开始游走,直至走完所述路径的另一端,并统计每个所述节点被访问的概率,且经多轮游走,直至每个所述节点被访问到的概率收敛趋于稳定,得到每个所述节点相对于所述用户节点的推荐概率。According to each of the paths, walk from one end of the path until the other end of the path is completed, and count the probability of each node being visited, and walk through multiple rounds until each node is visited. The probability that the node is visited tends to be stable, and the recommendation probability of each node relative to the user node is obtained. 5.根据权利要求1所述产品推荐的处理方法,其特征在于,所述基于预设概率使用方式,使用不同类型的节点各自对应的推荐概率进行产品推荐,包括:5. The processing method for product recommendation according to claim 1, wherein the product recommendation is performed based on the preset probability usage mode using the respective recommendation probabilities corresponding to different types of nodes, comprising: 基于预设概率筛选条件,筛选不同类型节点各自的推荐概率作为目标概率;Based on the preset probability screening conditions, the respective recommended probabilities of different types of nodes are screened as the target probability; 将所述目标概率对应的节点作为目标节点,并根据所述目标节点,将推荐产品显示在预设终端。The node corresponding to the target probability is used as the target node, and the recommended product is displayed on the preset terminal according to the target node. 6.根据权利要求1所述产品推荐的处理方法,其特征在于,所述基于预设概率使用方式,使用不同类型的节点各自对应的推荐概率进行产品推荐,包括:6 . The processing method for product recommendation according to claim 1 , wherein the product recommendation is performed based on the preset probability usage mode using the respective recommendation probabilities corresponding to different types of nodes, comprising: 6 . 基于预设概率筛选条件,筛选不同类型节点各自的推荐概率作为目标概率;Based on the preset probability screening conditions, the respective recommended probabilities of different types of nodes are screened as the target probability; 将目标概率显示至预设终端,以使相关人员根据所述推荐概率进行产品推荐。The target probability is displayed on the preset terminal, so that the relevant personnel can recommend the product according to the recommendation probability. 7.根据权利要求5或者6所述产品推荐的处理方法,其特征在于,所述基于预设概率筛选条件,筛选不同类型节点各自的推荐概率作为目标概率,包括:7. The processing method for product recommendation according to claim 5 or 6, characterized in that, based on a preset probability screening condition, screening the respective recommendation probabilities of different types of nodes as target probabilities, comprising: 根据不同图层对应的节点在业务中的先后关联关系,将业务上的起始节点对应的图层作为起始图层,并将所述起始图层包含的推荐概率按照由大到小的顺序进行排序,得到起始图层概率序列,且获取所述起始图层概率序列中居前的若干个推荐概率作为起始目标概率;According to the successive associations of nodes corresponding to different layers in the business, the layer corresponding to the starting node on the business is taken as the starting layer, and the recommended probabilities contained in the starting layer are arranged in descending order. Sort the sequence in order to obtain a starting layer probability sequence, and obtain a number of recommended probabilities at the top of the starting layer probability sequence as starting target probabilities; 根据所述起始目标概率,确定其它每层中与所述起始目标概率的节点存在路径的若干最高的推荐概率作为对应的关联目标概率,并将所述起始目标概率与所述关联目标概率作为筛选出的不同类型节点各自的目标概率。According to the initial target probability, determine some of the highest recommended probabilities of the node existing paths with the initial target probability in each other layer as the corresponding associated target probability, and compare the initial target probability with the associated target The probability is used as the target probability of the different types of nodes screened out. 8.一种产品推荐的处理装置,其特征在于,包括:8. A processing device for product recommendation, comprising: 第一获取单元,用于获取目标用户的用户标识,并根据所述用户标识,获取所述用户标识所对应的预设产品推荐多层图模型,所述预设产品推荐多层图模型包含至少三个图层,每个图层包含若干个节点,相邻图层之间存在业务上的关联关系,其中包含一个用户层,且所述用户层仅包含一个节点作为用户节点,所述用户节点用于描述所述用户标识;The first obtaining unit is configured to obtain the user ID of the target user, and according to the user ID, obtain a preset product recommendation multi-layer graph model corresponding to the user ID, and the preset product recommendation multi-layer graph model includes at least Three layers, each layer contains several nodes, there is a business relationship between adjacent layers, including a user layer, and the user layer only includes one node as a user node, the user node used to describe the user ID; 第二获取单元,用于根据所有所述节点,基于PersonalRank的推荐算法,获取每个所述节点的推荐概率;A second obtaining unit, configured to obtain the recommendation probability of each of the nodes according to the recommendation algorithm based on PersonalRank according to all the nodes; 概率使用单元,用于根据所述推荐概率,并基于预设概率使用方式,使用不同类型的节点各自对应的推荐概率进行产品推荐。The probability usage unit is configured to use the recommendation probability corresponding to different types of nodes to perform product recommendation according to the recommendation probability and based on the preset probability usage mode. 9.一种计算机设备,其特征在于,所述计算机设备包括存储器以及与所述存储器相连的处理器;所述存储器用于存储计算机程序;所述处理器用于运行所述计算机程序,以执行如权利要求1-7任一项所述方法的步骤。9. A computer device, characterized in that the computer device comprises a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program to execute the The steps of the method of any one of claims 1-7. 10.一种计算机可读存储介质,其特征在于,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时可实现如权利要求1-7中任一项所述方法的步骤。10. A computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1-7 can be implemented.
CN202210744778.8A 2022-06-28 2022-06-28 Product recommendation processing method, device and equipment and computer-readable storage medium Pending CN114998042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210744778.8A CN114998042A (en) 2022-06-28 2022-06-28 Product recommendation processing method, device and equipment and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210744778.8A CN114998042A (en) 2022-06-28 2022-06-28 Product recommendation processing method, device and equipment and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN114998042A true CN114998042A (en) 2022-09-02

Family

ID=83037145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210744778.8A Pending CN114998042A (en) 2022-06-28 2022-06-28 Product recommendation processing method, device and equipment and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN114998042A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105913296A (en) * 2016-04-01 2016-08-31 北京理工大学 Customized recommendation method based on graphs
CN112131480A (en) * 2020-09-30 2020-12-25 中国海洋大学 Personalized product recommendation method and system based on multi-layer heterogeneous attribute network representation learning
CN113129156A (en) * 2021-05-13 2021-07-16 中国建设银行股份有限公司 Human pulse recommendation method and device
CN113409121A (en) * 2021-06-29 2021-09-17 南京财经大学 Cross-border e-commerce recommendation method based on heterogeneous graph expression learning

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105913296A (en) * 2016-04-01 2016-08-31 北京理工大学 Customized recommendation method based on graphs
CN112131480A (en) * 2020-09-30 2020-12-25 中国海洋大学 Personalized product recommendation method and system based on multi-layer heterogeneous attribute network representation learning
CN113129156A (en) * 2021-05-13 2021-07-16 中国建设银行股份有限公司 Human pulse recommendation method and device
CN113409121A (en) * 2021-06-29 2021-09-17 南京财经大学 Cross-border e-commerce recommendation method based on heterogeneous graph expression learning

Similar Documents

Publication Publication Date Title
US12131112B2 (en) Deployable tag management in computer data networks
US12079829B2 (en) Online behavioral predictor
KR102408476B1 (en) Method for predicing purchase probability based on behavior sequence of user and apparatus therefor
US20220067115A1 (en) Information processing method, apparatus, electrical device and readable storage medium
CN102365637A (en) Characterizing user information
US8793236B2 (en) Method and apparatus using historical influence for success attribution in network site activity
CN118551128B (en) Page resource loading method and device, storage medium and electronic equipment
CN114357292A (en) Model training method, device and storage medium
CN106817296B (en) Information on recommended test methods, apparatus and electronic equipment
US10885565B1 (en) Network-based data discovery and consumption coordination service
CN111865753B (en) Method and device for determining parameters of media information, storage medium and electronic device
US11710137B2 (en) Method and system for identifying electronic devices of genuine customers of organizations
US10474688B2 (en) System and method to recommend a bundle of items based on item/user tagging and co-install graph
US11521094B2 (en) Rule engine system and method for human-machine interaction
US11328036B2 (en) Using embedded elements for online content verification
CN110704726B (en) Data pushing method based on neural network and related equipment thereof
CN113780328A (en) Information pushing method and device and storage medium
CN114998042A (en) Product recommendation processing method, device and equipment and computer-readable storage medium
Suchacka et al. Practical aspects of log file analysis for e-commerce
CN106897208A (en) A kind of quantization method and device of application software Consumer's Experience
CN116501979A (en) Information recommendation method, information recommendation device, computer equipment and computer readable storage medium
KR20220002224A (en) Method and system for analyzing advertising synergy
US20210110456A1 (en) Email Content Selection System And Method
CN118760466B (en) Data processing method and related equipment based on federal learning model
CN111105301A (en) Information processing method, terminal, server 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