CN110472145B - Content recommendation method and electronic equipment - Google Patents
Content recommendation method and electronic equipment Download PDFInfo
- Publication number
- CN110472145B CN110472145B CN201910677414.0A CN201910677414A CN110472145B CN 110472145 B CN110472145 B CN 110472145B CN 201910677414 A CN201910677414 A CN 201910677414A CN 110472145 B CN110472145 B CN 110472145B
- Authority
- CN
- China
- Prior art keywords
- target user
- target
- content
- recommended
- portraits
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
技术领域technical field
本发明涉及互联网技术领域,尤其涉及一种内容推荐方法和电子设备。The invention relates to the technical field of the Internet, in particular to a content recommendation method and electronic equipment.
背景技术Background technique
随着互联网技术的飞速发展,用户从互联网中获取内容的需求也越来越趋于领域广泛化,这也就促使很多软件产品以原有的单一领域产品为核心,扩展大量周边领域的产品,以满足用户跨领域的内容获取需求。With the rapid development of Internet technology, users' demand for content from the Internet is becoming more and more extensive, which also prompts many software products to focus on the original single-field products and expand products in a large number of peripheral fields. To meet the cross-domain content acquisition needs of users.
然而,在实际应用中,用户在获取内容时,通常还存在个性化的内容推荐需求,而很多软件产品无法在新增领域对不同用户分别进行个性化的内容推荐。However, in practical applications, when users acquire content, there is usually a need for personalized content recommendation, and many software products cannot provide personalized content recommendation for different users in new areas.
发明内容Contents of the invention
本发明提供一种内容推荐方法和电子设备,以解决跨领域的推荐内容无法满足用户个性化需求的问题。The present invention provides a content recommendation method and an electronic device to solve the problem that cross-field recommended content cannot meet the personalized needs of users.
为了解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:
第一方面,本发明实施例提供了一种内容推荐的方法,应用于电子设备,包括:In the first aspect, the embodiment of the present invention provides a content recommendation method applied to electronic devices, including:
获取待推荐内容,以及目标用户对应的至少两个目标用户画像;其中,不同的所述目标用户画像分别具有不同的领域属性;Obtaining the content to be recommended, and at least two target user portraits corresponding to the target user; wherein, the different target user portraits have different domain attributes;
分别确定所述至少两个目标用户画像对应的目标权重系数,以及所述至少两个目标用户画像与所述待推荐内容之间的匹配系数;Respectively determining target weight coefficients corresponding to the at least two target user portraits, and matching coefficients between the at least two target user portraits and the content to be recommended;
根据每个所述目标用户画像对应的匹配系数和目标权重系数,确定所述目标用户对应的推荐指数;determining the recommendation index corresponding to the target user according to the matching coefficient and the target weight coefficient corresponding to each target user portrait;
当所述推荐指数满足预设推荐条件时,向所述目标用户推送所述待推荐内容。When the recommendation index satisfies a preset recommendation condition, the content to be recommended is pushed to the target user.
第二方面,本发明实施例还提供了一种电子设备,包括:In a second aspect, an embodiment of the present invention also provides an electronic device, including:
获取模块,用于获取待推荐内容,以及目标用户对应的至少两个目标用户画像;其中,不同的所述目标用户画像分别具有不同的领域属性;An acquisition module, configured to acquire content to be recommended and at least two target user portraits corresponding to the target user; wherein, different target user portraits have different domain attributes;
第一确定模块,用于分别确定所述至少两个目标用户画像对应的目标权重系数,以及所述至少两个目标用户画像与所述待推荐内容之间的匹配系数;A first determination module, configured to respectively determine target weight coefficients corresponding to the at least two target user portraits, and a matching coefficient between the at least two target user portraits and the content to be recommended;
第二确定模块,用于根据每个所述目标用户画像对应的匹配系数和目标权重系数,确定所述目标用户对应的推荐指数;The second determination module is used to determine the recommendation index corresponding to the target user according to the matching coefficient and target weight coefficient corresponding to each target user portrait;
推送模块,用于当所述推荐指数满足预设推荐条件时,向所述目标用户推送所述待推荐内容。A push module, configured to push the content to be recommended to the target user when the recommendation index satisfies a preset recommendation condition.
第三方面,本发明实施例还提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现本发明所述的内容推荐方法的步骤。In the third aspect, the embodiment of the present invention also provides an electronic device, the electronic device includes a processor, a memory, and a computer program stored in the memory and operable on the processor, the computer program is controlled by the The steps for implementing the content recommendation method of the present invention are implemented when the processor executes.
第四方面,本发明实施例还提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,计算机程序被处理器执行时实现本发明所述的内容推荐方法的步骤。In a fourth aspect, the embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the content recommendation method described in the present invention are implemented.
在本发明实施例中,电子设备首先可以获取待推荐内容以及目标用户对应的至少两个目标用户画像,其中,不同的目标用户画像分别具有不同的领域属性,且目标用户画像的领域属性与待推荐内容的领域属性相关联。然后电子设备可以分别确定至少两个目标用户画像中的每个目标用户画像对应的目标权重系数,以及至少两个目标用户画像中的每个目标用户画像与待推荐内容之间的匹配系数,并根据每个目标用户画像对应的匹配系数和目标权重系数,确定目标用户对应的推荐指数,当推荐指数满足预设推荐条件时,可以向目标用户推送待推荐内容。在本发明实施例中,电子设备可以确定目标用户对应不同领域的目标用户画像,并基于不同目标用户画像对应的目标权重系数,以及各目标用户画像与待推荐内容之间的匹配程度,确定是否向目标用户推送跨领域、但与各目标用户画像所属领域相关联的待推荐内容,从而可以在新的领域对目标用户进行个性化的内容推荐。In the embodiment of the present invention, the electronic device can first obtain the content to be recommended and at least two target user portraits corresponding to the target user, wherein different target user portraits have different domain attributes, and the domain attributes of the target user portraits are the same as the domain attributes to be recommended. The domain attribute of the recommended content is associated. Then the electronic device may respectively determine a target weight coefficient corresponding to each of the at least two target user portraits, and a matching coefficient between each of the at least two target user portraits and the content to be recommended, and According to the matching coefficient and target weight coefficient corresponding to each target user portrait, the recommendation index corresponding to the target user is determined. When the recommendation index meets the preset recommendation conditions, the content to be recommended can be pushed to the target user. In the embodiment of the present invention, the electronic device can determine target user portraits corresponding to different fields, and based on the target weight coefficients corresponding to different target user portraits, and the matching degree between each target user portrait and the content to be recommended, determine whether to Push cross-domain but related content to be recommended to target users, so that personalized content recommendations can be made to target users in new areas.
附图说明Description of drawings
图1示出了本发明实施例一中的一种内容推荐方法的流程图;FIG. 1 shows a flowchart of a content recommendation method in
图2示出了本发明实施例二中的一种内容推荐方法的流程图;FIG. 2 shows a flow chart of a content recommendation method in Embodiment 2 of the present invention;
图3示出了本发明实施例三中的一种电子设备的结构框图;FIG. 3 shows a structural block diagram of an electronic device in Embodiment 3 of the present invention;
图4示出了本发明实施例三中的另一种电子设备的结构框图;FIG. 4 shows a structural block diagram of another electronic device in Embodiment 3 of the present invention;
图5示出了本发明各个实施例中的一种电子设备的硬件结构示意图。Fig. 5 shows a schematic diagram of a hardware structure of an electronic device in various embodiments of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
实施例一Embodiment one
参照图1,示出了本发明实施例一的内容推荐方法的流程图,具体可以包括如下步骤:Referring to FIG. 1 , it shows a flowchart of a content recommendation method in
步骤101,获取待推荐内容,以及目标用户对应的至少两个目标用户画像;其中,不同的目标用户画像分别具有不同的领域属性。
在本发明实施例中,目标用户画像的领域属性与待推荐内容的领域属性相关联,待推荐内容可以是软件产品方根据自身业务需求或客户业务需求配置在电子设备中的内容,其中,电子设备可以是该软件产品对应的服务器、服务器群组等,本发明实施例对此不作具体限定。待推荐内容具体可以包括广告、功能、产品、UGC(User-generated Content,用户原创内容)和PGC(Professionally-generated Content,专业生产内容)等方面的内容,本发明实施例对此不作具体限定。In the embodiment of the present invention, the domain attribute of the target user portrait is associated with the domain attribute of the content to be recommended, and the content to be recommended may be the content configured in the electronic device by the software product party according to its own business needs or customer business needs. The device may be a server or a server group corresponding to the software product, which is not specifically limited in this embodiment of the present invention. The content to be recommended may specifically include advertisements, functions, products, UGC (User-generated Content, user-generated content) and PGC (Professionally-generated Content, professionally produced content), etc., which are not specifically limited in this embodiment of the present invention.
目标用户也即待判断是否需要推送该待推荐内容的潜在用户之一。目标用户可以是在该软件产品或其关联产品中注册有账号的任一用户,其中,该软件产品的关联产品可以与该软件产品通过同一账号进行登录和使用的软件产品,例如手机号、微信号等,从而电子设备可以根据同一账号,识别出同一用户分别在不同的软件中积累的用户画像。当然,目标用户还可以是电子设备基于预设的策略选择出的用户中的一者,例如可以是会员用户中的一者,本发明实施例对此不作具体限定。The target user is also one of the potential users to be judged whether to push the content to be recommended. The target user can be any user who has an account registered in the software product or its associated products, where the associated product of the software product can log in and use the software product through the same account as the software product, such as mobile phone number, WeChat Signals, etc., so that the electronic device can identify the user portraits accumulated by the same user in different software according to the same account. Of course, the target user may also be one of the users selected by the electronic device based on a preset policy, for example, one of the member users, which is not specifically limited in this embodiment of the present invention.
在实际应用中,该电子设备还可以为该软件产品的关联产品对应的服务器设备,或者,该电子设备可以接收其他关联产品对应的服务器设备发送的用户数据,相应的,目标用户对应的至少两个目标用户画像可以是该电子设备从自身收集存储的用户数据中选择出,或者,还可以是由其他服务器设备发送至该电子设备的,本发明实施例对此不作具体限定。In practical applications, the electronic device may also be a server device corresponding to an associated product of the software product, or the electronic device may receive user data sent by a server device corresponding to another associated product. Correspondingly, at least two A target user portrait may be selected by the electronic device from user data collected and stored by itself, or may be sent to the electronic device by other server devices, which is not specifically limited in this embodiment of the present invention.
其中,目标用户对应的任一目标用户画像也即目标用户的在某一领域的个人信息、习惯、偏好等数据,例如可以是用户在工作领域、休闲领域、出行领域、驾驶领域、居家领域、健康领域、运动领域、咨询领域、理财领域、教育领域、消费领域等不同领域的习惯、偏好数据,本发明实施例对此不作具体限定。Among them, any target user portrait corresponding to the target user is the personal information, habits, preferences and other data of the target user in a certain field, for example, it can be the user's work field, leisure field, travel field, driving field, home field, etc. Habits and preference data in different fields such as health, sports, consulting, financial management, education, and consumption are not specifically limited in this embodiment of the present invention.
目标用户对应的不同的目标用户画像分别具有不同的领域属性,且每个用户画像的领域属性与待推荐内容的领域属性相关联。例如,目标用户对应的第一目标用户画像的领域属性可以为听歌,也即是第一目标用户画像为目标用户在听歌领域的习惯、偏好数据,目标用户对应的第二目标用户画像的领域属性可以为娱乐消费,也即是第二目标用户画像为目标用户在娱乐消费领域的习惯、偏好数据,待推荐内容的领域属性则可以为音乐/演唱会。从而电子设备可以基于目标用户对应不同领域的目标用户画像,确定是否向目标用户推送跨领域、但与各个目标用户画像所属领域相关联的待推荐内容。Different target user portraits corresponding to the target user have different domain attributes, and the domain attributes of each user portrait are associated with the domain attributes of the content to be recommended. For example, the domain attribute of the first target user portrait corresponding to the target user may be listening to songs, that is, the first target user portrait is the habit and preference data of the target user in the field of listening to music, and the second target user portrait corresponding to the target user is The domain attribute can be entertainment consumption, that is, the second target user profile is the habit and preference data of the target user in the entertainment consumption field, and the domain attribute of the content to be recommended can be music/concert. Therefore, the electronic device can determine whether to push to the target user, based on the target user portraits of the target user corresponding to different fields, content to be recommended that crosses fields but is associated with the field to which each target user portrait belongs.
需要说明的是,本发明实施例对于待推荐内容和目标用户对应的至少两个目标用户画像的获取顺序不作具体限定。It should be noted that the embodiment of the present invention does not specifically limit the acquisition order of at least two target user portraits corresponding to the content to be recommended and the target user.
步骤102,分别确定至少两个目标用户画像对应的目标权重系数,以及至少两个目标用户画像与待推荐内容之间的匹配系数。
在本发明实施例中,由于不同领域的目标用户画像与待推荐内容的关联程度,以及对待推荐内容的影响程度不同,因此,可以事先设定每个目标用户画像对应的目标权重系数,并存储在电子设备中,或者,还可以基于少数用户反馈的结果,设定每个目标用户画像对应的目标权重系数,本发明实施例对此不作具体限定。电子设备在获取到目标用户对应的至少两个目标用户画像之后,可以确定出为每个目标用户画像设定的目标权重系数。In the embodiment of the present invention, since target user portraits in different fields have different degrees of association with the content to be recommended and different degrees of influence on the content to be recommended, the target weight coefficient corresponding to each target user portrait can be set in advance and stored Alternatively, in the electronic device, a target weight coefficient corresponding to each target user profile may be set based on feedback results from a small number of users, which is not specifically limited in this embodiment of the present invention. After acquiring at least two target user portraits corresponding to the target user, the electronic device may determine a target weight coefficient set for each target user portrait.
另外,目标用户画像与待推荐内容之间的匹配系数可以表征目标用户画像与待推荐内容之间的相关程度,例如,若目标用户画像中包括目标用户的常驻地信息,而待推荐内容涉及地点,则当目标用户的常驻地信息与待推荐内容中的地点相同时,目标用户画像与待推荐内容之间的匹配系数较大,而当目标用户的常驻地信息与待推荐内容中的地点位于同省时,目标用户画像与待推荐内容之间的匹配系数较上述第一种情况次之,当目标用户的常驻地信息与待推荐内容中的地点位于国内不同省时,目标用户画像与待推荐内容之间的匹配系数较上述第二种情况次之。In addition, the matching coefficient between the target user portrait and the content to be recommended can represent the degree of correlation between the target user portrait and the content to be recommended. For example, if the target user portrait includes the residence information of the target user, and the content to be recommended involves location, when the target user’s residence information is the same as the location in the content to be recommended, the matching coefficient between the target user portrait and the content to be recommended is relatively large, and when the target user’s residence information is consistent with the location in the content to be recommended When the location of the target user is located in the same province, the matching coefficient between the target user portrait and the content to be recommended is second compared to the first case above. The matching coefficient between the portrait and the content to be recommended is next to that of the second case above.
需要说明的是,本发明实施例对于目标权重系数和匹配系数的确定顺序不作具体限定。It should be noted that, the embodiment of the present invention does not specifically limit the order of determining the target weight coefficient and the matching coefficient.
步骤103,根据每个目标用户画像对应的匹配系数和目标权重系数,确定目标用户对应的推荐指数。Step 103: Determine the recommendation index corresponding to the target user according to the matching coefficient and target weight coefficient corresponding to each target user profile.
在本发明实施例中,电子设备可以根据目标用户的每个目标用户画像对应的目标权重系数,对各个目标用户画像对应的匹配系数进行加权求和,从而可以得到目标用户对应的推荐指数。当目标用户对应的推荐指数较大时,则该目标用户即为可推送待推荐内容的有力推荐对象。In the embodiment of the present invention, the electronic device may weight and sum the matching coefficients corresponding to each target user portrait according to the target weight coefficient corresponding to each target user portrait of the target user, so as to obtain the recommendation index corresponding to the target user. When the recommendation index corresponding to the target user is large, the target user is a powerful recommendation object that can push the content to be recommended.
步骤104,当推荐指数满足预设推荐条件时,向目标用户推送待推荐内容。
在本发明实施例中,可以事先在电子设备中设定预设推荐条件,当目标用户对应的推荐指数满足该预设推荐条件时,则可以向目标用户推送待推荐内容。In the embodiment of the present invention, a preset recommendation condition can be set in the electronic device in advance, and when the recommendation index corresponding to the target user meets the preset recommendation condition, the content to be recommended can be pushed to the target user.
在本发明实施例中,电子设备首先可以获取待推荐内容以及目标用户对应的至少两个目标用户画像,其中,不同的目标用户画像分别具有不同的领域属性,且目标用户画像的领域属性与待推荐内容的领域属性相关联。然后电子设备可以分别确定至少两个目标用户画像中的每个目标用户画像对应的目标权重系数,以及至少两个目标用户画像中的每个目标用户画像与待推荐内容之间的匹配系数,并根据每个目标用户画像对应的匹配系数和目标权重系数,确定目标用户对应的推荐指数,当推荐指数满足预设推荐条件时,可以向目标用户推送待推荐内容。在本发明实施例中,电子设备可以确定目标用户对应不同领域的目标用户画像,并基于不同目标用户画像对应的目标权重系数,以及各目标用户画像与待推荐内容之间的匹配程度,确定是否向目标用户推送跨领域、但与各目标用户画像所属领域相关联的待推荐内容,从而可以在新的领域对目标用户进行个性化的内容推荐。In the embodiment of the present invention, the electronic device can first obtain the content to be recommended and at least two target user portraits corresponding to the target user, wherein different target user portraits have different domain attributes, and the domain attributes of the target user portraits are the same as the domain attributes to be recommended. The domain attribute of the recommended content is associated. Then the electronic device may respectively determine a target weight coefficient corresponding to each of the at least two target user portraits, and a matching coefficient between each of the at least two target user portraits and the content to be recommended, and According to the matching coefficient and target weight coefficient corresponding to each target user portrait, the recommendation index corresponding to the target user is determined. When the recommendation index meets the preset recommendation conditions, the content to be recommended can be pushed to the target user. In the embodiment of the present invention, the electronic device can determine target user portraits corresponding to different fields, and based on the target weight coefficients corresponding to different target user portraits, and the matching degree between each target user portrait and the content to be recommended, determine whether to Push cross-domain but related content to be recommended to target users, so that personalized content recommendations can be made to target users in new areas.
实施例二Embodiment two
参照图2,示出了本发明实施例二的内容推荐方法的流程图,具体可以包括如下步骤:Referring to FIG. 2 , it shows a flowchart of a content recommendation method in Embodiment 2 of the present invention, which may specifically include the following steps:
步骤201,获取待推荐内容,以及目标用户对应的至少两个目标用户画像;不同的目标用户画像分别具有不同的领域属性,且目标用户画像的领域属性与待推荐内容的领域属性相关联。
此步骤与上述步骤101的实现过程类似,在此不再详述。This step is similar to the implementation process of
例如,某传统在线音乐软件,原本只有听歌领域的相关功能,现引入了一个新的功能,即演唱会,音乐会的门票销售功能,该音乐软件原有的用户画像对用户在音乐上的喜好有一定了解。现在,有一跨领域的待推荐内容“X日-上海-歌手张某-价格为Y的演唱会门票销售”想要推荐给用户,该待推荐内容的领域属性为“演唱/音乐会门票”。对于目标用户,该音乐软件原先便可收集到目标用户对应的基本信息用户画像和音乐用户画像,而该音乐软件可以通过另一支付软件的账号进行登录,因此,该音乐软件还可以通过该支付软件收集到目标用户对应的消费能力画像。该应用软件对应的电子设备,也即服务器,可以获取到待推荐内容“X日-上海-歌手张某-价格为Y的演唱会门票销售”,以及目标用户对应的基本信息用户画像、音乐用户画像和消费能力画像这三个目标用户画像。参照如下表1,示出了各个目标用户画像中包括的用户信息、对应的领域属性,以及与待推荐内容的关联性。For example, a traditional online music software originally only had related functions in the field of listening to songs, but now a new function has been introduced, that is, concerts and concert ticket sales functions. There is a certain understanding of preferences. Now, there is a cross-domain content to be recommended "X day-Shanghai-singer Zhang-sales of concert tickets at a price of Y" that you want to recommend to users. The domain attribute of the content to be recommended is "concert/concert tickets". For the target user, the music software can already collect the basic information user portrait and music user portrait corresponding to the target user, and the music software can log in through the account of another payment software. Therefore, the music software can also use the payment software The software collects the consumption ability portrait corresponding to the target user. The electronic device corresponding to the application software, that is, the server, can obtain the content to be recommended "X day-Shanghai-singer Zhang-sales of concert tickets at price Y", as well as the basic information corresponding to the target user User portrait, music user There are three target user portraits: portrait and consumption ability portrait. Referring to Table 1 below, it shows the user information included in each target user portrait, the corresponding field attributes, and the relevance to the content to be recommended.
表1Table 1
需要说明的是,本发明实施例仅以如上表1所示的各种目标用户画像、用户信息等数据为例进行说明,如上表1所示的各个数据并不对本发明构成限定。It should be noted that the embodiment of the present invention is only described by taking various target user portraits, user information and other data shown in Table 1 as an example, and each data shown in Table 1 does not limit the present invention.
步骤202,基于预存的用户画像与权重系数的对应关系,分别确定每个目标用户画像对应的目标权重系数。
在本发明实施例中,在本步骤之前,电子设备还可以执行下述步骤,具体包括:确定每个目标用户画像对应的至少两个初始权重系数;根据A/B测试策略,对该至少两个初始权重系数进行调整,获得目标权重系数;将每个目标用户画像与每个目标权重系数的对应关系进行存储。In the embodiment of the present invention, before this step, the electronic device may also perform the following steps, specifically including: determining at least two initial weight coefficients corresponding to each target user portrait; Adjust the initial weight coefficients to obtain the target weight coefficients; store the corresponding relationship between each target user portrait and each target weight coefficient.
具体地,对于目标用户对应的任一目标用户画像,电子设备可以首先对该目标用户画像赋予至少两个初始权重系数,一个初始权重系数即可作为一种权重测试策略,从而可以获得至少两种权重测试策略。然后电子设备可以从所有待推荐的候选用户中,随机选择预设比例的用户,之后可以对选择出的用户进行分组,每组分别按照不同的权重测试策略执行本方法,以向每个选择出的用户推送待推荐内容,进而可以根据用户对推荐界面的点击情况、对推荐界面的浏览时长等反馈结果,从至少两种权重测试策略中选择用户反馈最佳的权重测试策略。Specifically, for any target user portrait corresponding to the target user, the electronic device can first assign at least two initial weight coefficients to the target user portrait, and one initial weight coefficient can be used as a weight test strategy, so that at least two Weight testing strategy. Then the electronic device can randomly select users with a preset ratio from all candidate users to be recommended, and then group the selected users, and each group executes this method according to different weight test strategies to provide each selected user The user pushes the content to be recommended, and then according to the feedback results such as the user's click on the recommendation interface and the browsing time of the recommendation interface, the weight test strategy with the best user feedback can be selected from at least two weight test strategies.
接下来,电子设备可以对用户反馈最佳的权重测试策略中的权重系数进行调整,调整原则可以是:对推荐有利的目标用户画像对应的权重系数可以调高,对推荐无明显影响的目标用户画像对应的权重系数可以调低。通过不同程度的调整,可以再次获得至少两种新的权重系数,进而电子设备可以从剩余的候选用户中,再随机选择预设比例的用户,然后再继续重复上述过程,直至从至少两种新的权重测试策略中再次选择出用户反馈最佳的权重测试策略。该过程可以重复预设次数,对于最后一次选择出的用户反馈最佳的权重测试策略,电子设备可以将该权重测试策略中的各个权重系数确定为每个目标用户画像对应的目标权重系数,并可以将每个目标用户画像与每个目标权重系数的对应关系进行存储。Next, the electronic device can adjust the weight coefficient in the weight test strategy with the best user feedback. The adjustment principle can be: the weight coefficient corresponding to the target user portrait that is beneficial to the recommendation can be increased, and the target user that has no obvious impact on the recommendation The weight coefficient corresponding to the portrait can be adjusted down. Through different degrees of adjustment, at least two new weight coefficients can be obtained again, and then the electronic device can randomly select users with a preset ratio from the remaining candidate users, and then continue to repeat the above process until at least two new weight coefficients are selected. The weight test strategy with the best user feedback is selected again from the weight test strategy. This process can be repeated a preset number of times, and for the last selected user feedback optimal weight test strategy, the electronic device can determine each weight coefficient in the weight test strategy as the target weight coefficient corresponding to each target user portrait, and The corresponding relationship between each target user portrait and each target weight coefficient may be stored.
例如,电子设备可以为每个目标用户画像对应确定4个初始权重系数,从而可以获得A、B、C、D四种权重测试策略,然后电子设备可以从所有待推荐的候选用户中,随机选择10%的用户进行推送,其中,每种权重测试策略可以针对2.5%的用户。根据用户反馈结果,电子设备可以选择出用户反馈最好的权重测试策略A,进而电子设备可以在权重测试策略A的基础上,将对推荐有利的目标用户画像权重系数调高,将对推荐无影响的目标用户画像权重系数调低,通过不同程度的调整,可以再次获得4个新的权重测试策略E、F、G、H,并继续向剩余候选用户中10%的用户推送,得到用户反馈结果后,电子设备可以选择出最佳的权重测试策略F,并将基本信息用户画像,和权重测试策略F中与基本信息用户画像对应的目标权重系数0.20对应存储,将音乐用户画像,和权重测试策略F中与音乐用户画像对应的目标权重系数0.55对应存储,将消费能力用户画像,和权重测试策略F中与消费能力用户画像对应的目标权重系数0.25对应存储。For example, the electronic device can determine four initial weight coefficients for each target user portrait, so that four weight test strategies of A, B, C, and D can be obtained, and then the electronic device can randomly select from all candidate users to be recommended 10% of users push, and each weight testing strategy can target 2.5% of users. According to the user feedback results, the electronic device can select the weight test strategy A with the best user feedback, and then on the basis of the weight test strategy A, the electronic device can increase the weight coefficient of the target user portrait that is beneficial to the recommendation, and will have no impact on the recommendation. The weight coefficient of the affected target user portrait is lowered. Through different degrees of adjustment, 4 new weight test strategies E, F, G, and H can be obtained again, and continue to be pushed to 10% of the remaining candidate users to obtain user feedback After the result, the electronic device can select the best weight test strategy F, and store the basic information user portrait and the target weight coefficient 0.20 corresponding to the basic information user portrait in the weight test strategy F, and store the music user portrait and weight The target weight coefficient 0.55 corresponding to the music user portrait in the test strategy F is stored correspondingly, and the consumption ability user portrait is correspondingly stored with the target weight coefficient 0.25 corresponding to the consumption ability user portrait in the weight test strategy F.
当然,在实际应用中,每个目标用户画像对应的目标权重系数也可以手动进行设定,并将目标用户画像与设定的目标权重系数的对应关系存储在电子设备中,本发明实施例对此不作具体限定。Of course, in practical applications, the target weight coefficient corresponding to each target user portrait can also be manually set, and the corresponding relationship between the target user portrait and the set target weight coefficient is stored in the electronic device. This is not specifically limited.
相应的,电子设备可以从预先存储的用户画像与权重系数的对应关系中,确定出当前的目标用户画像对应的目标权重系数。Correspondingly, the electronic device may determine the target weight coefficient corresponding to the current target user portrait from the pre-stored correspondence between the user portrait and the weight coefficient.
例如,电子设备预先存储的用户画像与权重系数的对应关系可以如下表2所示,电子设备可以从表2所示的对应关系中,分别确定出基本信息用户画像对应的目标权重系数为0.20,音乐用户画像对应的目标权重系数为0.55,消费能力用户画像对应的目标权重系数为0.25。For example, the correspondence between the user profile and the weight coefficient pre-stored by the electronic device may be shown in Table 2 below, and the electronic device may respectively determine that the target weight coefficient corresponding to the basic information user profile is 0.20 from the correspondence shown in Table 2, The target weight coefficient corresponding to the music user portrait is 0.55, and the target weight coefficient corresponding to the consumption power user portrait is 0.25.
表2Table 2
需要说明的是,本发明实施例仅以如上表2所示的用户画像与权重系数的对应关系为例进行说明,如上表2并不对本发明构成限定。It should be noted that the embodiment of the present invention is only described by taking the correspondence between user portraits and weight coefficients shown in Table 2 above as an example, and Table 2 above does not limit the present invention.
步骤203,每个目标用户画像均包括至少一个维度的用户信息;对于每个维度,从该维度对应的至少一个预设条件中,确定该维度下的用户信息所符合的目标预设条件;其中,每个预设条件基于对应维度下的用户信息和待推荐内容设定。
在本发明实施例中,每个目标用户画像中均可以包括至少一个维度的用户信息,例如,基本信息用户画像可以包括性别、年龄、常驻地等维度的用户信息。可以事先根据待推荐内容和每个维度下的用户信息,对每个维度分别设定至少两个预设条件。相应的,对于任一维度,电子设备可以从该维度对应的各个预设条件中,确定该维度下的用户信息所符合的目标预设条件。In the embodiment of the present invention, each target user profile may include user information in at least one dimension, for example, the basic information user profile may include user information in dimensions such as gender, age, and residence. At least two preset conditions may be set for each dimension in advance according to the content to be recommended and user information in each dimension. Correspondingly, for any dimension, the electronic device may determine the target preset condition that the user information in this dimension meets from the preset conditions corresponding to the dimension.
例如,参照下述表3,以基本信息用户画像对应的常驻地维度的用户信息为例,该常驻地维度对应设定有4个预设条件,该常驻地维度的用户信息可以为上海,也即是目标用户的常驻地为上海,当演唱会地点位于上海时,电子设备可以确定第1个预设条件“目标用户常驻地与演唱会地点位于同一城市”即为该常驻地维度下的用户信息所符合的目标预设条件。For example, referring to the following Table 3, taking the user information of the residence dimension corresponding to the basic information user portrait as an example, the residence dimension is correspondingly set with 4 preset conditions, and the user information of the residence dimension can be Shanghai, that is, the target user's permanent residence is Shanghai. When the concert venue is located in Shanghai, the electronic device can determine the first preset condition "the target user's permanent residence and the concert venue are located in the same city". The target preset condition that the user information under the resident dimension meets.
表3table 3
需要说明的是,本发明实施例仅以如上表3所示的预设条件和匹配分值为例进行说明,如上表3并不对本发明构成限定。It should be noted that the embodiment of the present invention is only described by taking the preset conditions and matching scores shown in Table 3 as an example, and the above Table 3 does not limit the present invention.
步骤204,分别确定每个目标预设条件对应的匹配分值。
在本发明实施例中,电子设备可以从预设条件与匹配分值的对应关系中,分别确定每个目标预设条件对应的匹配分值。In the embodiment of the present invention, the electronic device may respectively determine the matching score corresponding to each target preset condition from the correspondence relationship between the preset condition and the matching score.
例如,电子设备可以从如上表3所示的预设条件与匹配分值的对应关系中,确定目标预设条件“目标用户常驻地与演唱会地点位于同一城市”对应的匹配分值为3。For example, the electronic device may determine that the matching score corresponding to the target preset condition "the target user's permanent residence and the concert venue are located in the same city" is 3 from the correspondence between preset conditions and matching scores shown in Table 3 above. .
步骤205,将同一目标用户画像中的每个目标预设条件对应的匹配分值相加,获得每个目标用户画像与待推荐内容之间的匹配系数。Step 205: Add the matching scores corresponding to each target preset condition in the same target user portrait to obtain the matching coefficient between each target user portrait and the content to be recommended.
在本发明实施例中,电子设备可以将同一目标用户画像中的每个目标预设条件对应的匹配分值相加,从而可以分别获得每个目标用户画像与待推荐内容之间的匹配系数。In the embodiment of the present invention, the electronic device may add the matching scores corresponding to each target preset condition in the same target user portrait, so as to obtain the matching coefficient between each target user portrait and the content to be recommended.
例如,电子设备可以基本信息用户画像中每个目标预设条件对应的匹配分值相加,从而可以获得基本信息用户画像与待推荐内容之间的匹配系数为6。电子设备可以音乐用户画像中每个目标预设条件对应的匹配分值相加,从而可以获得音乐用户画像与待推荐内容之间的匹配系数为8。电子设备可以消费能力用户画像中每个目标预设条件对应的匹配分值相加,从而可以获得消费能力用户画像与待推荐内容之间的匹配系数为2。For example, the electronic device may add the matching scores corresponding to each target preset condition in the basic information user profile, so as to obtain a matching coefficient of 6 between the basic information user profile and the content to be recommended. The electronic device can add the matching scores corresponding to each target preset condition in the music user portrait, so as to obtain a matching coefficient of 8 between the music user portrait and the content to be recommended. The electronic device can add the matching scores corresponding to each target preset condition in the consumption ability user portrait, so as to obtain a matching coefficient of 2 between the consumption ability user portrait and the content to be recommended.
步骤206,根据每个目标用户画像对应的匹配系数和目标权重系数,确定目标用户对应的推荐指数。Step 206: Determine the recommendation index corresponding to the target user according to the matching coefficient and target weight coefficient corresponding to each target user portrait.
在本发明实施例,本步骤具体可以通过下述方式实现,包括:将对应同一目标用户画像的匹配系数和目标权重系数相乘,获得每个目标用户画像对应的推荐值;将每个目标用户画像对应的推荐值相加,获得目标用户对应的推荐指数。In the embodiment of the present invention, this step can be specifically implemented in the following manner, including: multiplying the matching coefficient corresponding to the same target user portrait by the target weight coefficient to obtain the recommended value corresponding to each target user portrait; The recommendation values corresponding to the portraits are added to obtain the recommendation index corresponding to the target user.
其中,电子设备可以根据目标用户的每个目标用户画像对应的目标权重系数,对各个目标用户画像对应的匹配系数进行加权求和,从而可以得到目标用户对应的推荐指数。当目标用户对应的推荐指数较大时,则该目标用户即为可推送待推荐内容的有力推荐对象。当目标用户对应的推荐指数较小时,则该目标用户作为待推荐内容的推荐对象的可能性较小。Wherein, the electronic device may weight and sum the matching coefficients corresponding to each target user portrait according to the target weight coefficient corresponding to each target user portrait of the target user, so as to obtain the recommendation index corresponding to the target user. When the recommendation index corresponding to the target user is large, the target user is a powerful recommendation object that can push the content to be recommended. When the recommendation index corresponding to the target user is small, the possibility of the target user being the recommendation object of the content to be recommended is low.
在另一种实现方式中,电子设备还可以将每个目标用户画像中每个目标预设条件对应的匹配分值,分别与对应的目标用户画像的目标权重系数相乘,获得各个乘积,然后可以将各个乘积相加,获得目标用户对应的推荐指数。本发明实施例对于确定目标用户对应的推荐指数的具体实现方式不作具体限定。In another implementation, the electronic device may also multiply the matching score corresponding to each target preset condition in each target user portrait by the target weight coefficient of the corresponding target user portrait to obtain each product, and then The products can be added together to obtain the recommendation index corresponding to the target user. The embodiment of the present invention does not specifically limit the specific implementation manner of determining the recommendation index corresponding to the target user.
例如,电子设备可以将对应基本信息用户画像的匹配系数6和目标权重系数0.20相乘,获得基本信息用户画像对应的推荐值为1.2;电子设备可以将对应音乐用户画像的匹配系数8和目标权重系数0.55相乘,获得音乐用户画像对应的推荐值为4.4;电子设备可以将对应消费能力用户画像的匹配系数2和目标权重系数0.25相乘,获得消费能力用户画像对应的推荐值为0.5。然后,电子设备可以将基本信息用户画像对应的推荐值1.2、音乐用户画像对应的推荐值4.4,以及消费能力用户画像对应的推荐值0.5相加,获得目标用户对应的推荐指数为6.1。For example, the electronic device can multiply the matching coefficient 6 corresponding to the basic information user portrait by the target weight coefficient 0.20 to obtain the recommended value corresponding to the basic information user portrait 1.2; the electronic device can multiply the matching coefficient 8 corresponding to the music user portrait and the target weight coefficient Multiply the coefficient 0.55 to obtain the recommended value corresponding to the music user portrait as 4.4; the electronic device can multiply the matching coefficient 2 corresponding to the consumption ability user portrait with the target weight coefficient 0.25 to obtain the recommended value corresponding to the consumption ability user portrait 0.5. Then, the electronic device can add the recommended value 1.2 corresponding to the basic information user profile, the recommended value 4.4 corresponding to the music user profile, and the recommended value 0.5 corresponding to the consumption ability user profile, to obtain the recommendation index corresponding to the target user as 6.1.
步骤207,当推荐指数满足预设推荐条件时,向目标用户推送待推荐内容。
在本发明实施例中,当目标用户对应的推荐指数满足预设推荐条件时,电子设备可以向目标用户通过软件账号登录的终端发送该待推荐内容对应的推荐信息。在具体应用中,该推荐信息可以为文字、图像、视频、语音等形式的信息,本发明实施例对此不作具体限定。进而目标用户对应的终端可以显示该推荐信息,从而目标用户可以进行查看。In the embodiment of the present invention, when the recommendation index corresponding to the target user satisfies the preset recommendation condition, the electronic device may send the recommendation information corresponding to the content to be recommended to the terminal where the target user logs in through the software account. In a specific application, the recommendation information may be information in the form of text, image, video, voice, etc., which is not specifically limited in this embodiment of the present invention. Furthermore, the terminal corresponding to the target user can display the recommendation information, so that the target user can view it.
可选地,本步骤具体可以通过下述方式实现,包括:当推荐指数大于或等于预设值时,向目标用户推送待推荐内容;和/或,当推荐指数在各个预选用户对应的推荐指数中的排序名次小于或等于预设名次,向目标用户推送待推荐内容;各个预选用户对应的推荐指数按照从大到小的顺序排列。Optionally, this step can be specifically implemented in the following ways, including: when the recommendation index is greater than or equal to the preset value, pushing the content to be recommended to the target user; and/or, when the recommendation index is in the corresponding recommendation index of each pre-selected user The sorting ranking in is less than or equal to the preset ranking, and the content to be recommended is pushed to the target user; the recommendation index corresponding to each pre-selected user is arranged in descending order.
也即是预设推荐条件可以为推荐指数大于或等于预设值,和/或,推荐指数在各个预选用户对应的推荐指数中的排序名次小于或等于预设名次。其中,各个预选用户即为待判断是否需要推送该待推荐内容的所有潜在用户,相应的,目标用户即为各个预选用户中的任意一者。That is, the preset recommendation condition may be that the recommendation index is greater than or equal to a preset value, and/or, the ranking of the recommendation index in the recommendation index corresponding to each preselected user is less than or equal to the preset ranking. Wherein, each preselected user is all potential users to be judged whether to push the content to be recommended, and correspondingly, the target user is any one of each preselected user.
其中,当目标用户对应的推荐指数大于或等于预设值,和/或目标用户在推荐指数从大到小排列的各个预选用户中排名靠前时,说明向目标用户推送待推荐内容,在很大程度上可能会符合目标用户的个性化需求,比较容易获得较好的用户反馈。Among them, when the recommendation index corresponding to the target user is greater than or equal to the preset value, and/or the target user ranks high among the pre-selected users arranged in descending order of the recommendation index, it means that the content to be recommended is pushed to the target user. To a large extent, it may meet the individual needs of target users, and it is easier to obtain better user feedback.
例如,目标用户对应的推荐指数可以为6.1,大于预设值4.5,从而电子设备可以向目标用户推送待推荐内容“X日-上海-歌手张某-价格为Y的演唱会门票销售”。For example, the recommendation index corresponding to the target user can be 6.1, which is greater than the preset value of 4.5, so that the electronic device can push the content to be recommended to the target user "X day-Shanghai-singer Zhang-sale of concert tickets at price Y".
在本发明实施例中,电子设备首先可以获取待推荐内容以及目标用户对应的至少两个目标用户画像,其中,不同的目标用户画像分别具有不同的领域属性,且目标用户画像的领域属性与待推荐内容的领域属性相关联。然后电子设备可以分别确定至少两个目标用户画像中的每个目标用户画像对应的目标权重系数,并分别从目标用户画像中的每个维度对应的各个预设条件中,确定每个维度下的用户信息所符合的目标预设条件,进而分别确定每个目标预设条件对应的匹配分值,并将同一目标用户画像中的每个目标预设条件对应的匹配分值相加,获得每个目标用户画像与待推荐内容之间的匹配系数。之后,可以根据每个目标用户画像对应的匹配系数和目标权重系数,确定目标用户对应的推荐指数,当推荐指数满足预设推荐条件时,可以向目标用户推送待推荐内容。在本发明实施例中,电子设备可以确定目标用户对应不同领域的目标用户画像,并基于不同目标用户画像对应的目标权重系数,对各目标用户画像与待推荐内容之间的匹配系数进行加权求和,从而得到目标用户对应的推荐指数,进而当推荐指数满足预设推荐条件时,则确定可以向目标用户推送跨领域、但与各目标用户画像所属领域相关联的待推荐内容,从而可以在新的领域对目标用户进行个性化的内容推荐。In the embodiment of the present invention, the electronic device can first obtain the content to be recommended and at least two target user portraits corresponding to the target user, wherein different target user portraits have different domain attributes, and the domain attributes of the target user portraits are the same as the domain attributes to be recommended. The domain attribute of the recommended content is associated. Then the electronic device can respectively determine the target weight coefficient corresponding to each of the target user portraits in the at least two target user portraits, and determine the weight coefficient in each dimension from each preset condition corresponding to each dimension in the target user portrait. The target preset conditions that the user information meets, and then respectively determine the matching score corresponding to each target preset condition, and add the matching scores corresponding to each target preset condition in the same target user portrait to obtain each The matching coefficient between the target user portrait and the content to be recommended. After that, according to the matching coefficient and target weight coefficient corresponding to each target user portrait, the recommendation index corresponding to the target user can be determined. When the recommendation index meets the preset recommendation conditions, the content to be recommended can be pushed to the target user. In the embodiment of the present invention, the electronic device can determine the target user portraits corresponding to different fields of the target user, and based on the target weight coefficients corresponding to different target user portraits, perform a weighted calculation for the matching coefficient between each target user portrait and the content to be recommended. and, so as to obtain the recommendation index corresponding to the target user, and then when the recommendation index meets the preset recommendation conditions, it is determined that the content to be recommended that is cross-domain but associated with the field of each target user portrait can be pushed to the target user, so that it can be in The new field makes personalized content recommendations for target users.
实施例三Embodiment Three
参照图3,示出了本发明实施例三的一种电子设备300的结构框图,具体可以包括:Referring to FIG. 3 , it shows a structural block diagram of an electronic device 300 according to Embodiment 3 of the present invention, which may specifically include:
获取模块301,用于获取待推荐内容,以及目标用户对应的至少两个目标用户画像;其中,不同的所述目标用户画像分别具有不同的领域属性;An
具体地,所述目标用户画像的领域属性与所述待推荐内容的领域属性相关联。Specifically, the domain attribute of the target user portrait is associated with the domain attribute of the content to be recommended.
第一确定模块302,用于分别确定所述至少两个目标用户画像对应的目标权重系数,以及所述至少两个目标用户画像与所述待推荐内容之间的匹配系数;The
第二确定模块303,用于根据每个所述目标用户画像对应的匹配系数和目标权重系数,确定所述目标用户对应的推荐指数;The
推送模块304,用于当所述推荐指数满足预设推荐条件时,向所述目标用户推送所述待推荐内容。A
可选的,参照图4,每个所述目标用户画像均包括至少一个维度的用户信息;所述第一确定模块302包括:Optionally, referring to FIG. 4 , each of the target user portraits includes at least one dimension of user information; the first determining
第一确定子模块3021,用于基于预存的用户画像与权重系数的对应关系,分别确定每个所述目标用户画像对应的目标权重系数;The
第二确定子模块3022,用于对于每个维度,从所述维度对应的至少一个预设条件中,确定所述维度下的用户信息所符合的目标预设条件;其中,每个所述预设条件基于对应维度下的用户信息和所述待推荐内容设定;The
第三确定子模块3023,用于分别确定每个所述目标预设条件对应的匹配分值;The
第一相加子模块3024,用于将同一所述目标用户画像中的每个所述目标预设条件对应的匹配分值相加,获得每个所述目标用户画像与所述待推荐内容之间的匹配系数。The first adding sub-module 3024 is used to add the matching scores corresponding to each of the target preset conditions in the same target user portrait to obtain the relationship between each of the target user portraits and the content to be recommended matching coefficient.
可选的,参照图4,所述第二确定模块303包括:Optionally, referring to FIG. 4, the second determining
相乘子模块3031,用于将对应同一所述目标用户画像的匹配系数和目标权重系数相乘,获得每个所述目标用户画像对应的推荐值;The
第二相加子模块3032,用于将每个所述目标用户画像对应的推荐值相加,获得所述目标用户对应的推荐指数。The second adding sub-module 3032 is configured to add the recommendation value corresponding to each target user portrait to obtain the recommendation index corresponding to the target user.
可选的,参照图4,所述电子设备300还包括:Optionally, referring to FIG. 4, the electronic device 300 further includes:
第三确定模块305,用于确定每个所述目标用户画像对应的至少两个初始权重系数;A
调整模块306,用于根据A/B测试策略,对所述至少两个初始权重系数进行调整,获得目标权重系数;An
存储模块307,用于将每个所述目标用户画像与每个所述目标权重系数的对应关系进行存储。The
可选的,参照图4,所述推送模块304包括:Optionally, referring to FIG. 4, the pushing
第一推送子模块3041,用于当所述推荐指数大于或等于预设值时,向所述目标用户推送所述待推荐内容;The
和/或,and / or,
第二推送子模块3042,用于当所述推荐指数在各个预选用户对应的推荐指数中的排序名次小于或等于预设名次,向所述目标用户推送所述待推荐内容;所述各个预选用户对应的推荐指数按照从大到小的顺序排列。The
本发明实施例提供的电子设备能够实现图1和图2的方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device provided by the embodiment of the present invention can implement various processes implemented by the electronic device in the method embodiments in FIG. 1 and FIG. 2 , and details are not repeated here to avoid repetition.
在本发明实施例中,电子设备首先可以通过获取模块,获取待推荐内容以及目标用户对应的至少两个目标用户画像,其中,不同的目标用户画像分别具有不同的领域属性,且目标用户画像的领域属性与待推荐内容的领域属性相关联。然后电子设备可以通过第一确定模块,分别确定至少两个目标用户画像中的每个目标用户画像对应的目标权重系数,以及至少两个目标用户画像中的每个目标用户画像与待推荐内容之间的匹配系数,并可以通过第二确定模块,根据每个目标用户画像对应的匹配系数和目标权重系数,确定目标用户对应的推荐指数,当推荐指数满足预设推荐条件时,可以通过推送模块向目标用户推送待推荐内容。在本发明实施例中,电子设备可以确定目标用户对应不同领域的目标用户画像,并基于不同目标用户画像对应的目标权重系数,以及各目标用户画像与待推荐内容之间的匹配程度,确定是否向目标用户推送跨领域、但与各目标用户画像所属领域相关联的待推荐内容,从而可以在新的领域对目标用户进行个性化的内容推荐。In the embodiment of the present invention, the electronic device can first acquire the content to be recommended and at least two target user portraits corresponding to the target user through the acquisition module, wherein different target user portraits have different domain attributes, and the target user portraits The domain attribute is associated with the domain attribute of the content to be recommended. Then the electronic device can respectively determine the target weight coefficient corresponding to each target user portrait in the at least two target user portraits, and the relationship between each target user portrait in the at least two target user portraits and the content to be recommended through the first determination module. The matching coefficient between them, and through the second determination module, according to the matching coefficient and target weight coefficient corresponding to each target user portrait, the recommendation index corresponding to the target user can be determined. When the recommendation index meets the preset recommendation conditions, the push module can Push recommended content to target users. In the embodiment of the present invention, the electronic device can determine target user portraits corresponding to different fields, and based on the target weight coefficients corresponding to different target user portraits, and the matching degree between each target user portrait and the content to be recommended, determine whether to Push cross-field but related content to be recommended to target users, so that personalized content recommendations can be made to target users in new fields.
实施例四Embodiment four
图5为实现本发明各个实施例的一种电子设备的硬件结构示意图,FIG. 5 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention,
该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The
其中,处理器510,用于获取待推荐内容,以及目标用户对应的至少两个目标用户画像;其中,不同的所述目标用户画像分别具有不同的领域属性;分别确定所述至少两个目标用户画像对应的目标权重系数,以及所述至少两个目标用户画像与所述待推荐内容之间的匹配系数;根据每个所述目标用户画像对应的匹配系数和目标权重系数,确定所述目标用户对应的推荐指数;当所述推荐指数满足预设推荐条件时,向所述目标用户推送所述待推荐内容。Wherein, the
在本发明实施例中,电子设备首先可以获取待推荐内容以及目标用户对应的至少两个目标用户画像,其中,不同的目标用户画像分别具有不同的领域属性,且目标用户画像的领域属性与待推荐内容的领域属性相关联。然后电子设备可以分别确定至少两个目标用户画像中的每个目标用户画像对应的目标权重系数,以及至少两个目标用户画像中的每个目标用户画像与待推荐内容之间的匹配系数,并根据每个目标用户画像对应的匹配系数和目标权重系数,确定目标用户对应的推荐指数,当推荐指数满足预设推荐条件时,可以向目标用户推送待推荐内容。在本发明实施例中,电子设备可以确定目标用户对应不同领域的目标用户画像,并基于不同目标用户画像对应的目标权重系数,以及各目标用户画像与待推荐内容之间的匹配程度,确定是否向目标用户推送跨领域、但与各目标用户画像所属领域相关联的待推荐内容,从而可以在新的领域对目标用户进行个性化的内容推荐。In the embodiment of the present invention, the electronic device can first obtain the content to be recommended and at least two target user portraits corresponding to the target user, wherein different target user portraits have different domain attributes, and the domain attributes of the target user portraits are the same as the domain attributes to be recommended. The domain attribute of the recommended content is associated. Then the electronic device may respectively determine a target weight coefficient corresponding to each of the at least two target user portraits, and a matching coefficient between each of the at least two target user portraits and the content to be recommended, and According to the matching coefficient and target weight coefficient corresponding to each target user portrait, the recommendation index corresponding to the target user is determined. When the recommendation index meets the preset recommendation conditions, the content to be recommended can be pushed to the target user. In the embodiment of the present invention, the electronic device can determine target user portraits corresponding to different fields, and based on the target weight coefficients corresponding to different target user portraits, and the matching degree between each target user portrait and the content to be recommended, determine whether to Push cross-domain but related content to be recommended to target users, so that personalized content recommendations can be made to target users in new areas.
应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the
电子设备通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the
音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与电子设备500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The
输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The
电子设备500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在电子设备500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。The
用户输入单元507可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图5中,触控面板5071与显示面板5061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现电子设备的输入和输出功能,具体此处不做限定。Furthermore, the
接口单元508为外部装置与电子设备500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备500内的一个或多个元件或者可以用于在电子设备500和外部装置之间传输数据。The
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器510是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The
电子设备500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,电子设备500包括一些未示出的功能模块,在此不再赘述。In addition, the
优选的,本发明实施例还提供一种电子设备,包括处理器510,存储器509,存储在存储器509上并可在所述处理器510上运行的计算机程序,该计算机程序被处理器510执行时实现上述内容推荐方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides an electronic device, including a
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述内容推荐方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above content recommendation method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910677414.0A CN110472145B (en) | 2019-07-25 | 2019-07-25 | Content recommendation method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910677414.0A CN110472145B (en) | 2019-07-25 | 2019-07-25 | Content recommendation method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110472145A CN110472145A (en) | 2019-11-19 |
CN110472145B true CN110472145B (en) | 2022-11-29 |
Family
ID=68508330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910677414.0A Active CN110472145B (en) | 2019-07-25 | 2019-07-25 | Content recommendation method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110472145B (en) |
Families Citing this family (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113055423B (en) * | 2019-12-27 | 2022-11-15 | Oppo广东移动通信有限公司 | Policy push method, policy execution method, device, equipment and medium |
CN113127723B (en) * | 2019-12-31 | 2023-07-14 | Oppo(重庆)智能科技有限公司 | User portrait processing method, device, server and storage medium |
CN111143697B (en) * | 2020-01-02 | 2023-03-21 | 腾讯科技(深圳)有限公司 | Content recommendation method and related device |
CN111241394B (en) | 2020-01-07 | 2023-09-22 | 腾讯科技(深圳)有限公司 | Data processing methods, devices, computer-readable storage media and electronic equipment |
CN112309390B (en) * | 2020-03-05 | 2024-08-06 | 北京字节跳动网络技术有限公司 | Information interaction method and device |
CN111741104B (en) * | 2020-06-18 | 2021-10-08 | 腾讯科技(深圳)有限公司 | Method for determining response message, method for configuring response message, device, equipment and storage medium |
CN111709813B (en) * | 2020-06-19 | 2021-04-16 | 省广营销集团有限公司 | Commodity recommendation method based on big data line |
CN111782877B (en) * | 2020-07-06 | 2023-11-03 | 聚好看科技股份有限公司 | Server, display device and video search ordering method thereof |
WO2022016522A1 (en) * | 2020-07-24 | 2022-01-27 | 华为技术有限公司 | Recommendation model training method and apparatus, recommendation method and apparatus, and computer-readable medium |
CN112035743B (en) * | 2020-08-28 | 2021-10-15 | 腾讯科技(深圳)有限公司 | Data recommendation method and device, computer equipment and storage medium |
CN112749558B (en) * | 2020-09-03 | 2023-11-24 | 腾讯科技(深圳)有限公司 | Target content acquisition method, device, computer equipment and storage medium |
CN112269928B (en) * | 2020-10-23 | 2024-08-13 | 百度在线网络技术(北京)有限公司 | User recommendation method and device, electronic equipment and computer readable medium |
CN113763093B (en) * | 2020-11-12 | 2024-10-18 | 北京沃东天骏信息技术有限公司 | Article recommending method and device based on user portrait |
CN112511865B (en) * | 2020-12-10 | 2022-05-03 | 杭州次元岛科技有限公司 | Video content recommendation system based on social media |
CN113094586B (en) * | 2021-04-21 | 2024-09-03 | 腾讯音乐娱乐科技(深圳)有限公司 | UGC pushing method, device, equipment and storage medium |
CN113961803A (en) * | 2021-10-09 | 2022-01-21 | 上海信宝博通电子商务有限公司 | Lot recommendation method and device and computer readable storage medium |
CN114565402A (en) * | 2022-02-18 | 2022-05-31 | 北京百度网讯科技有限公司 | Information recommendation method and device and electronic equipment |
CN114722297A (en) * | 2022-04-25 | 2022-07-08 | 中国标准化研究院 | An intelligent recommendation method based on education service customer portraits and service scenarios |
CN116433082B (en) * | 2023-03-22 | 2023-12-26 | 北京游娱网络科技有限公司 | Evaluation report generation method and device, electronic equipment and storage medium |
CN117114820A (en) * | 2023-10-23 | 2023-11-24 | 广州伊的家网络科技有限公司 | Method and system for calculating optimal push index of offline user and online user |
CN118797168B (en) * | 2024-09-11 | 2025-02-11 | 朗新科技集团股份有限公司 | Film and TV recommendation method, device, equipment, storage medium and program product |
CN120216777B (en) * | 2025-05-28 | 2025-09-09 | 北京搜狐新媒体信息技术有限公司 | Information personalized interpretation method and related device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105574110A (en) * | 2015-12-14 | 2016-05-11 | 北京奇虎科技有限公司 | Intelligent game recommending method and device |
CN107145536A (en) * | 2017-04-19 | 2017-09-08 | 畅捷通信息技术股份有限公司 | User's portrait construction method and device and recommendation method and apparatus |
CN108154401A (en) * | 2018-01-15 | 2018-06-12 | 网易无尾熊(杭州)科技有限公司 | User's portrait depicting method, device, medium and computing device |
CN108520058A (en) * | 2018-03-30 | 2018-09-11 | 维沃移动通信有限公司 | A business information recommendation method and mobile terminal |
CN108769159A (en) * | 2018-05-16 | 2018-11-06 | 北京豆果信息技术有限公司 | A kind of electronic cookbook intelligent recommendation method |
CN109543111A (en) * | 2018-11-28 | 2019-03-29 | 广州虎牙信息科技有限公司 | Recommendation information screening technique, device, storage medium and server |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050038819A1 (en) * | 2000-04-21 | 2005-02-17 | Hicken Wendell T. | Music Recommendation system and method |
CN106446045B (en) * | 2016-08-31 | 2020-01-21 | 上海交通大学 | User portrait construction method and system based on dialogue interaction |
CN108711075A (en) * | 2018-05-22 | 2018-10-26 | 阿里巴巴集团控股有限公司 | A kind of Products Show method and apparatus |
CN109783730A (en) * | 2019-01-03 | 2019-05-21 | 深圳壹账通智能科技有限公司 | Products Show method, apparatus, computer equipment and storage medium |
CN109493199A (en) * | 2019-01-04 | 2019-03-19 | 深圳壹账通智能科技有限公司 | Products Show method, apparatus, computer equipment and storage medium |
-
2019
- 2019-07-25 CN CN201910677414.0A patent/CN110472145B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105574110A (en) * | 2015-12-14 | 2016-05-11 | 北京奇虎科技有限公司 | Intelligent game recommending method and device |
CN107145536A (en) * | 2017-04-19 | 2017-09-08 | 畅捷通信息技术股份有限公司 | User's portrait construction method and device and recommendation method and apparatus |
CN108154401A (en) * | 2018-01-15 | 2018-06-12 | 网易无尾熊(杭州)科技有限公司 | User's portrait depicting method, device, medium and computing device |
CN108520058A (en) * | 2018-03-30 | 2018-09-11 | 维沃移动通信有限公司 | A business information recommendation method and mobile terminal |
CN108769159A (en) * | 2018-05-16 | 2018-11-06 | 北京豆果信息技术有限公司 | A kind of electronic cookbook intelligent recommendation method |
CN109543111A (en) * | 2018-11-28 | 2019-03-29 | 广州虎牙信息科技有限公司 | Recommendation information screening technique, device, storage medium and server |
Also Published As
Publication number | Publication date |
---|---|
CN110472145A (en) | 2019-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110472145B (en) | Content recommendation method and electronic equipment | |
CN110989847B (en) | Information recommendation method, device, terminal equipment and storage medium | |
CN108347704A (en) | Information recommendation method and mobile terminal | |
CN107958042B (en) | A kind of push method and mobile terminal of target topic | |
CN108255382A (en) | A kind of suspension menu content recommends method and device | |
CN111444425B (en) | Information pushing method, electronic equipment and medium | |
CN108616448A (en) | A kind of the path recommendation method and mobile terminal of Information Sharing | |
CN107798107A (en) | The method and mobile device of song recommendations | |
CN108195392A (en) | A kind of more people's layout of roads methods and terminal | |
CN110162653A (en) | A kind of picture and text sort recommendations method and terminal device | |
CN109522524A (en) | A text browsing method and terminal device | |
CN110231899A (en) | Display methods and terminal device | |
CN108391253B (en) | Application recommendation method and mobile terminal | |
CN111460180B (en) | Information display method, information display device, electronic equipment and storage medium | |
CN107728877B (en) | Application recommendation method and mobile terminal | |
CN110472148A (en) | Using recommended method and terminal device | |
CN107967086B (en) | Method and device for arranging icons of mobile terminal, and mobile terminal | |
CN109976844A (en) | A kind of message display method and mobile terminal | |
CN109857300A (en) | Multimedia service providing method and device | |
CN109982273A (en) | A kind of information replying method and mobile terminal | |
CN108306817A (en) | A kind of Information locating processing method and mobile terminal | |
CN107688617A (en) | Multimedia service method and mobile terminal | |
CN110069774B (en) | Text processing method, device and terminal | |
CN108494949B (en) | An image classification method and mobile terminal | |
CN110378798A (en) | Isomery social networks construction method, group recommending method, device and equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |