Item recommendation method, device, server, storage medium and product

By aggregating and calculating the frequency and occurrence time of users' historical behaviors, and weighting and summing user interest characteristics, the problem of poor item recommendation accuracy in the existing technology is solved, and more accurate user preference recommendations are achieved.

CN114077706BActive Publication Date: 2024-10-29BEIJING SANKUAI ONLINE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111325956.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-10
Publication Date
2024-10-29
Estimated Expiration
2041-11-10

AI Technical Summary

Technical Problem

In the existing technology, dish recommendations based on the user's historical orders have a problem of poor accuracy. The dishes the user has ordered in the past may not necessarily be what the user likes. It may be the first try but does not meet the user's preferences.

Method used

By determining multiple historical behaviors of the target account and the occurrence time of each historical behavior, aggregating the same historical behaviors, calculating the frequency and latest occurrence time of each historical behavior, and recommending items to users based on this information, using weighted summation method to obtain the user's interest characteristics to recommend items.

Benefits of technology

It improves the accuracy of item recommendations, combines the user's long-term and short-term interest preferences, and enhances the accuracy of recommendations and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114077706B_ABST
    Figure CN114077706B_ABST
Patent Text Reader

Abstract

The present application provides an item recommendation method, device, server, storage medium and product, which belongs to the field of Internet technology. The method includes: determining multiple historical behaviors of a target account and the occurrence time of each historical behavior; aggregating the same historical behaviors in multiple historical behaviors to obtain at least one target historical behavior; based on the occurrence time of each historical behavior, determining the frequency of each target historical behavior and the most recent occurrence time; based on each target historical behavior, the frequency and occurrence time of each target historical behavior, recommending items to the target account. This method can effectively improve the accuracy of recommending items to users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to an item recommendation method, device, server, storage medium and product. Background Art

[0002] With the development of Internet technology, merchants can publish dishes on online platforms for sale, which not only reduces sales costs but also greatly facilitates the lives of users. Since there are many dishes on the online platform, in order to save users the time required to find their favorite dishes from a large number of dishes, the server can recommend dishes that users may be interested in.

[0003] In the related art, the server obtains the dishes that the user has ordered in the past month, and recommends dishes similar to the dishes based on the characteristics of the dishes. However, the dishes that the user has ordered in the past may not necessarily be the ones the user likes. Some may be dishes that the user tried for the first time but failed to try. Therefore, recommending dishes to users based on the dishes that the user has ordered in the past will result in poor recommendation accuracy. Summary of the invention

[0004] The embodiments of the present application provide an item recommendation method, device, server, storage medium and product, which can effectively improve the accuracy of item recommendation for users. The technical solution is as follows:

[0005] In one aspect, a method for recommending an item is provided, the method comprising:

[0006] Determine multiple historical behaviors of the target account and the time when each historical behavior occurred;

[0007] Aggregating identical historical behaviors among the multiple historical behaviors to obtain at least one target historical behavior;

[0008] Based on the occurrence time of each of the historical behaviors, determine the frequency and the most recent occurrence time of each target historical behavior;

[0009] Based on each target historical behavior, the frequency and the occurrence time of each target historical behavior, recommend items to the target account.

[0010] In a possible implementation, the recommending items to the target account based on each target historical behavior, the frequency and the occurrence time of each target historical behavior includes:

[0011] For each target historical behavior, based on the frequency of the target historical behavior, determine the weight of the target historical behavior, wherein the weight is positively correlated with the frequency;

[0012] Determine the target historical behavior within each preset time period based on the occurrence time of the target historical behavior;

[0013] Based on the weight of each target historical behavior, weighted sum of the target historical behaviors in each preset time period is performed to obtain the interest features of the target account in each preset time period;

[0014] Recommend items to the target account based on the interest characteristics of the target account in each preset time period.

[0015] In a possible implementation, determining the weight of the target historical behavior based on the frequency of the target historical behavior includes:

[0016] Determine the location where the target historical behavior occurred;

[0017] Determine the distance between the occurrence location and the current location;

[0018] Based on the distance and the frequency, a weight of the target historical behavior is determined, and the weight is negatively correlated with the distance.

[0019] In a possible implementation, the recommending items to the target account based on the interest characteristics of the target account in each preset time period includes:

[0020] determining item features of a plurality of items to be recommended;

[0021] Determining the recommendation probability of each item based on the item features and the interest features of the target account in each preset time period;

[0022] Based on the recommendation probability of each item, recommend items to the target account.

[0023] In a possible implementation, the recommending items to the target account based on the recommendation probability of each item includes:

[0024] Determine a target item with the highest recommendation probability among the multiple items;

[0025] The target item is recommended to the target account.

[0026] In a possible implementation, the recommending items to the target account based on each target historical behavior, the frequency and the occurrence time of each target historical behavior includes:

[0027] Inputting each target historical behavior, the frequency and the occurrence time of each target historical behavior into the recommendation model, and outputting the target item recommended for the target account;

[0028] Among them, the recommendation model is used to determine the weight of each target historical behavior based on the frequency of the target historical behavior, and the weight is positively correlated with the frequency; determine the target historical behavior in each preset time period based on the occurrence time of the target historical behavior; based on the weight of each target historical behavior, perform weighted summation of the target historical behaviors in each preset time period to obtain the interest characteristics of the target account in each preset time period; based on the interest characteristics of the target account in each preset time period, recommend items to the target account.

[0029] In a possible implementation, when the target account is an account corresponding to a food delivery platform, the item is a dish, and the target historical behavior is a dish ordering behavior;

[0030] The recommending items to the target account based on each target historical behavior, the frequency and the occurrence time of each target historical behavior includes:

[0031] Based on the ordering behavior of each dish, the frequency and the occurrence time of each dish ordering behavior, dishes are recommended to the target account.

[0032] In another aspect, an item recommendation device is provided, the device comprising:

[0033] A first determination module is used to determine multiple historical behaviors of the target account and the occurrence time of each historical behavior;

[0034] An aggregation module, used for aggregating the same historical behaviors among the multiple historical behaviors to obtain at least one target historical behavior;

[0035] A second determination module, for determining the frequency and the most recent occurrence time of each target historical behavior based on the occurrence time of each historical behavior;

[0036] The recommendation module is used to recommend items to the target account based on each target historical behavior, the frequency and the occurrence time of each target historical behavior.

[0037] In a possible implementation, the recommendation module includes:

[0038] A first determining unit is used to determine, for each target historical behavior, a weight of the target historical behavior based on the frequency of the target historical behavior, wherein the weight is positively correlated with the frequency;

[0039] A second determining unit, configured to determine the target historical behavior within each preset time period based on the occurrence time of the target historical behavior;

[0040] A third determining unit is configured to perform weighted summation of the target historical behaviors in each preset time period based on the weight of each target historical behavior to obtain the interest features of the target account in each preset time period;

[0041] A recommendation unit is used to recommend items to the target account based on the interest characteristics of the target account in each preset time period.

[0042] In a possible implementation manner, the first determining unit is configured to:

[0043] Determine the location where the target historical behavior occurred;

[0044] Determine the distance between the occurrence location and the current location;

[0045] Based on the distance and the frequency, a weight of the target historical behavior is determined, and the weight is negatively correlated with the distance.

[0046] In a possible implementation, the recommendation unit includes:

[0047] A first determining subunit, used to determine item features of a plurality of items to be recommended;

[0048] A second determination subunit, configured to determine a recommendation probability of each item based on the item features and the interest features of the target account within each preset time period;

[0049] The recommendation subunit is used to recommend items to the target account based on the recommendation probability of each item.

[0050] In a possible implementation, the recommendation subunit is used to:

[0051] Determine a target item with the highest recommendation probability among the multiple items;

[0052] The target item is recommended to the target account.

[0053] In a possible implementation, the recommendation module is used to:

[0054] Inputting each target historical behavior, the frequency and the occurrence time of each target historical behavior into the recommendation model, and outputting the target item recommended for the target account;

[0055] Among them, the recommendation model is used to determine the weight of each target historical behavior based on the frequency of the target historical behavior, and the weight is positively correlated with the frequency; determine the target historical behavior in each preset time period based on the occurrence time of the target historical behavior; based on the weight of each target historical behavior, perform weighted summation of the target historical behaviors in each preset time period to obtain the interest characteristics of the target account in each preset time period; based on the interest characteristics of the target account in each preset time period, recommend items to the target account.

[0056] In a possible implementation, when the target account is an account corresponding to a food delivery platform, the item is a dish, and the target historical behavior is a dish ordering behavior; the recommendation module is used to:

[0057] Based on the ordering behavior of each dish, the frequency and the occurrence time of each dish ordering behavior, dishes are recommended to the target account.

[0058] On the other hand, a server is provided, comprising one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the item recommendation method described in any of the above-mentioned implementation methods.

[0059] On the other hand, a computer-readable storage medium is provided, wherein at least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by a processor to implement the item recommendation method described in any of the above implementations.

[0060] On the other hand, a computer program product is provided, the computer program product comprising at least one program code, the at least one program code being loaded and executed by a processor to implement the item recommendation method described in any of the above implementations.

[0061] The beneficial effects of the technical solution provided by the embodiments of the present application include at least:

[0062] An embodiment of the present application provides an item recommendation method, which aggregates the same historical behaviors in multiple historical behaviors, so that the frequency of each historical behavior can be determined. The higher the frequency of the historical behavior, the more the user prefers the historical behavior for a long time, that is, the frequency of the historical behavior can effectively represent the user's long-term interest preference; and because the most recent occurrence time of the historical behavior can represent the user's short-term interest preference, recommending items to the user in combination with the frequency of the historical behavior and the most recent occurrence time can effectively improve the accuracy of recommending items to the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0064] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;

[0065] Figure 2 is a flow chart of an item recommendation method provided in an embodiment of the present application;

[0066] Figure 3 is a flow chart of an item recommendation method provided in an embodiment of the present application;

[0067] Figure 4 is a schematic diagram of a historical behavior sequence provided by an embodiment of the present application;

[0068] Figure 5 is a schematic diagram of a sequence length provided in an embodiment of the present application;

[0069] Figure 6 is a schematic diagram of a sequence length provided in an embodiment of the present application;

[0070] Figure 7 is a schematic diagram of a target historical behavior provided by an embodiment of the present application;

[0071] Figure 8 is a flow chart of an item recommendation method provided in an embodiment of the present application;

[0072] Fig. 9 is a schematic diagram of a recommendation model provided in an embodiment of the present application;

[0073] Fig.10 is a block diagram of an item recommendation device provided in an embodiment of the present application;

[0074] Fig.11 is a block diagram of a terminal provided in an embodiment of the present application;

[0075] Fig.12 This is a block diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0076] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0077] The terms "first", "second", "third" and "fourth" in the specification and claims of the present application and the drawings are used to distinguish different information rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0078] This application embodiment provides an implementation environment for an item recommendation method, see Figure 1 , the implementation environment includes a terminal 10 and a server 20; the terminal 10 and the server 20 are connected via a wireless or wired network. A target application provided by the server 20 is installed on each terminal 10, and each terminal 10 can implement functions such as data transmission and information interaction through the target application. In some embodiments, the target application is an application in the operating system of the terminal 10, or an application provided by a third party. For example, the target application can be a food delivery application, a shopping application, etc.

[0079] In some embodiments, the server 20 provides a food delivery platform for ordering food delivery, and a food delivery application corresponding to the food delivery platform is installed on the terminal 10. The user registers a target account corresponding to the food delivery platform through the food delivery application. The server 20 is used to determine the target food delivery recommended to the target account based on the historical behavior of the target account registered on the food delivery platform for ordering food delivery. The target food delivery may be at least one of a dish, a drink, or a dessert. When the user orders food delivery based on the food delivery platform, the terminal 10 obtains the target food delivery from the server 20 through the food delivery application installed thereon and recommends the target food delivery to the target account; for example, the target food delivery is displayed on the food delivery application interface of the terminal 10.

[0080] In some embodiments, the server 20 provides a shopping platform for shopping, and a shopping application corresponding to the shopping platform is installed on the terminal 10, and the user registers a target account corresponding to the shopping platform through the shopping application. The server 20 is used to determine the target item recommended to the target account based on the historical shopping behavior of the target account registered on the shopping platform. The target item can be at least one of furniture, clothes, shoes, bags, etc. When the user shops based on the shopping platform, the terminal 10 obtains the target item from the server 20 through the shopping application installed thereon and recommends the target item to the target account; for example, the target item is displayed on the shopping application interface of the terminal 10.

[0081] In some embodiments, the server 20 provides an insurance platform for purchasing insurance, and an insurance application corresponding to the insurance platform is installed on the terminal 10, and the user registers a target account corresponding to the insurance platform through the insurance application. The server 20 is used to determine the target insurance product recommended to the target account based on the historical behavior of the target account registered on the insurance platform. When the user purchases insurance based on the insurance platform, the terminal 10 obtains the target insurance product from the server 20 through the insurance application installed thereon and recommends the target insurance product to the target account; for example, the target insurance product is displayed on the insurance application interface on the terminal 10.

[0082] The terminal 10 is at least one of a mobile phone, a tablet computer, a PC (Personal Computer), etc. The server 20 can be at least one of a server, a server cluster consisting of multiple servers, a cloud server, a cloud computing platform, and a virtualization center.

[0083] This application embodiment provides an item recommendation method, see Figure 2 , methods include:

[0084] Step 201: Determine multiple historical behaviors of the target account and the occurrence time of each historical behavior;

[0085] Step 202: Aggregate the same historical behaviors among the multiple historical behaviors to obtain at least one target historical behavior;

[0086] Step 203: Based on the occurrence time of each historical behavior, determine the frequency and the most recent occurrence time of each target historical behavior;

[0087] Step 204: Recommend items to the target account based on each target's historical behavior, the frequency and the occurrence time of each target's historical behavior.

[0088] In one possible implementation, based on each target's historical behavior, the frequency and occurrence time of each target's historical behavior, recommend items to the target account, including:

[0089] For each target historical behavior, the weight of the target historical behavior is determined based on the frequency of the target historical behavior, and the weight is positively correlated with the frequency;

[0090] Based on the occurrence time of the target historical behavior, determine the target historical behavior within each preset time period;

[0091] Based on the weight of each target historical behavior, the target historical behavior in each preset time period is weighted and summed to obtain the interest characteristics of the target account in each preset time period;

[0092] Recommend items to the target account based on the target account's interest characteristics in each preset time period.

[0093] In a possible implementation, the weight of the target historical behavior is determined based on the frequency of the target historical behavior, including:

[0094] Determine where the target's historical behavior occurred;

[0095] Determine the distance between the occurrence location and the current location;

[0096] Based on distance and frequency, the weight of the target's historical behavior is determined, and the weight is negatively correlated with the distance.

[0097] In a possible implementation, recommending items to a target account based on the interest characteristics of the target account in each preset time period includes:

[0098] determining item features of a plurality of items to be recommended;

[0099] Determine the recommendation probability of each item based on the item features and the interest features of the target account in each preset time period;

[0100] Recommend items to the target account based on the recommendation probability of each item.

[0101] In a possible implementation, based on the recommendation probability of each item, recommending items to the target account includes:

[0102] Determine the target item with the highest recommendation probability among multiple items;

[0103] Recommend target items to target accounts.

[0104] In one possible implementation, based on each target's historical behavior, the frequency and occurrence time of each target's historical behavior, recommend items to the target account, including:

[0105] Input each target historical behavior, the frequency and the occurrence time of each target historical behavior into the recommendation model, and output the target items recommended for the target account;

[0106] Among them, the recommendation model is used to determine the weight of each target historical behavior based on the frequency of the target historical behavior, and the weight is positively correlated with the frequency; based on the occurrence time of the target historical behavior, determine the target historical behavior in each preset time period; based on the weight of each target historical behavior, perform weighted summation of the target historical behaviors in each preset time period to obtain the interest characteristics of the target account in each preset time period; based on the interest characteristics of the target account in each preset time period, recommend items to the target account.

[0107] In a possible implementation, when the target account is an account corresponding to a food delivery platform, the item is a dish, and the target historical behavior is a dish ordering behavior;

[0108] Recommend items to the target account based on each target's historical behavior, the frequency and occurrence time of each target's historical behavior, including:

[0109] Recommend dishes to the target account based on the ordering behavior of each dish, the frequency and the time of occurrence of each dish ordering behavior.

[0110] This application embodiment provides an item recommendation method, see Figure 3 , methods include:

[0111] Step 301: The terminal sends a recommendation request to the server.

[0112] The recommendation request carries the identification information of the target account, and the target account is the registered account of the target application installed on the terminal and provided by the server. In one implementation, when sending a recommendation request to the server, the user of the terminal triggers the recommendation request to be sent to the server by clicking the "Recommend" virtual button or a similar function button on the application interface of the mobile terminal. In another implementation, when the target application on the terminal is started, the recommendation request is triggered to be sent to the server. In the embodiment of the present application, the specific implementation method of triggering the recommendation request is not specifically limited.

[0113] Step 302: The server receives the recommendation request and determines multiple historical behaviors of the target account and the occurrence time of each historical behavior.

[0114] It should be noted that the behavior type of the target historical behavior determined by the server corresponds to a specific application scenario, and the behavior types of multiple historical behaviors determined by the server can be set and changed as needed; optionally, the behavior type is an ordering behavior, a favorite behavior, or a click behavior, etc. Before the server determines the multiple historical behaviors of the target account, it needs to filter all the historical behaviors of the target account. For example, for a takeaway scenario, if the multiple historical behaviors that need to be determined are ordering behaviors, only ordering behaviors are filtered out, and historical behaviors that are not ordering behaviors, such as account login, favorite merchants, and order cancellation, are filtered out. One thing that needs to be explained is that the server obtains the user's historical behavior after the user's authorization.

[0115] In one implementation, multiple historical behaviors are arranged in sequence to form a historical behavior sequence, and the arrangement of the historical behavior sequence can be set and changed as needed. Optionally, multiple historical behaviors are arranged in chronological order. Figure 4 , Figure 4A schematic diagram of a historical behavior sequence consisting of multiple historical behaviors arranged in sequence, wherein the sequence includes the same historical behaviors and different historical behaviors.

[0116] It should be noted that the multiple historical behaviors include the long-term historical behaviors of the target account; optionally, the multiple historical behaviors cover the historical behaviors of the target account throughout the year; or, the multiple historical behaviors cover all the historical behaviors of the target account since the date of registration. In the related art, only items are recommended to the target account based on the short-term historical behaviors of the user, such as recommending items to the target account based on the historical behaviors of the target account within 3 days, or recommending items to the target account based on the historical behaviors of the target account within a week. Since the short-term historical behavior data of the user can only represent the interest preferences of the user in the short term, and the long-term historical behavior data of the user can also reflect the interest preferences of the user; in the related art, only recommending items to the target account through part of the short-term historical behavior data will reduce the accuracy of the recommended items. In the embodiment of the present application, the target account is recommended items based on the long-term historical behavior of the user, covering a wide range of data, thereby improving the accuracy of the recommended items. For example, in the takeaway scenario, the items to be recommended are dishes, and the target account has a higher proportion of repeat ordering and repurchasing of dishes. In this way, when recommending dishes to the target account, recommending dishes to the target account based on the long-term historical behavior of the target account can make the dishes estimated for this recommendation more accurate.

[0117] Step 303: The server aggregates the same historical behaviors among the multiple historical behaviors to obtain at least one target historical behavior.

[0118] It should be noted that each historical behavior carries a first identifier, which is used to mark the historical behavior. Different historical behaviors have different first identifiers, while the same historical behaviors have the same first identifier. In this step, the server aggregates the same historical behaviors based on the first identifier of each historical behavior to obtain at least one target historical behavior. It should be noted that each target historical behavior carries a second identifier, which is used to mark the target historical behavior. Different target historical behaviors have different second identifiers. Optionally, the second identifier is the same as the first identifier.

[0119] See also Figure 5 , Figure 5 The length of the sequence of multiple historical behaviors of each target account that have not been aggregated. The horizontal axis is the proportion of target accounts, and the vertical axis is the sequence length of the target account. From the figure, we can see that the sequence length of 99% of the target accounts is 1978 bytes. Figure 6 , Figure 6The sequence length of at least one target historical behavior obtained after aggregating multiple historical behaviors of each target account shows that after aggregation, the sequence length of 99% of the target accounts is 479 bytes, which is significantly lower than the sequence length before aggregation.

[0120] In an embodiment of the present application, by aggregating the same historical behaviors, the sequence length of the historical behaviors of the target account can be effectively reduced, thereby improving the processing efficiency of multiple historical behaviors, and effectively solving the problem of a long time spent on recommending items to the target account due to the direct introduction of long-term historical behaviors.

[0121] Step 304: The server determines the frequency and the most recent occurrence time of each target historical behavior based on the occurrence time of each historical behavior.

[0122] It should be noted that, when there are multiple target historical behaviors, the multiple target historical behaviors constitute a compressed sequence, which includes multiple different target historical behaviors and retains the frequency and the most recent occurrence time of each target historical behavior. Figure 7 , Figure 7 The intention of the target historical behavior is to retain the frequency and the most recent occurrence time of each target historical behavior.

[0123] Step 305: The server determines the target item to be recommended for the target account based on each target historical behavior, the frequency and the occurrence time of each target historical behavior.

[0124] The specific implementation method of this step is the same as steps 801-804, which will not be repeated here.

[0125] In one implementation, when the target account is an account corresponding to a food delivery platform, the item is a dish, and the target historical behavior is a dish ordering behavior; the server recommends dishes to the target account based on each dish ordering behavior, the frequency and occurrence time of each dish ordering behavior.

[0126] Step 306: The server recommends the target item to the terminal.

[0127] In one implementation, the server sends the information of the target item to the terminal to recommend the target item to the terminal.

[0128] Step 307: The terminal displays the target object.

[0129] After receiving the target item information, the terminal displays the target item on the application interface of the target application based on the information to recommend the target item to the target account. In the embodiment of the present application, the specific display form of the target item is not specifically limited. Optionally, the target item can be used as the main item and the merchant information of the attached items can be used. The specific display form is determined by the user's preference for display.

[0130] An embodiment of the present application provides an item recommendation method, which aggregates the same historical behaviors in multiple historical behaviors, so that the frequency of each historical behavior can be determined. The higher the frequency of the historical behavior, the more the user prefers the historical behavior for a long time, that is, the frequency of the historical behavior can effectively represent the user's long-term interest preference; and because the most recent occurrence time of the historical behavior can represent the user's short-term interest preference, recommending items to the user in combination with the frequency of the historical behavior and the most recent occurrence time can effectively improve the accuracy of recommending items to the user.

[0131] This application embodiment provides an item recommendation method, see Figure 8 , the method comprising:

[0132] Step 801: The server determines the weight of each target historical behavior based on the frequency of the target historical behavior.

[0133] Among them, the weight is positively correlated with the frequency; the greater the frequency, the greater the weight, and the smaller the frequency, the smaller the weight. This step includes the following steps (1)-(3):

[0134] (1) The server determines the location where the target historical behavior occurred.

[0135] The location where the target historical behavior occurred is a location determined based on a cellular network.

[0136] Optionally, if the target historical behavior is a dish ordering behavior in a takeaway scenario, the corresponding occurrence location is the location of the dish merchant determined based on the cellular network.

[0137] (2) The server determines the distance between the occurrence location and the current location.

[0138] The current location is a location determined based on a cellular network. Optionally, the distance between the occurrence location and the current location is a straight-line distance.

[0139] (3) The server determines the weight of the target's historical behavior based on distance and frequency.

[0140] Among them, the weight is negatively correlated with the distance; that is, the greater the distance, the smaller the weight, and the smaller the distance, the greater the weight.

[0141] It should be noted that in some scenarios such as takeaway scenarios, the merchants of recommended dishes are recalled based on LBS (Location Based Services, services based on geographic location data), so the location of each historical behavior has a different impact on the current location, that is, the location of the target historical behavior has a certain impact on the weight of the target historical behavior. In the embodiment of the present application, the server determines the weight of the target historical behavior based on distance and frequency, which can improve the accuracy of the determined weight.

[0142] In this step, the server obtains a set of items to be recommended, which includes a plurality of items to be recommended that are determined in advance, and the plurality of items to be recommended are candidate items to be recommended to the target account. It should be noted that different items to be recommended have different weights for each target historical behavior. The server determines the weight of each item to be recommended for each target historical behavior respectively. In one implementation, the current location is the current location of the item to be recommended, such as the location of the merchant of the dish to be recommended in a takeaway scenario. For the weight of each target historical behavior corresponding to each item to be recommended, the server determines the weight of the target historical behavior relative to the item to be recommended based on the distance between the location where the target historical behavior occurred and the current location of the item to be recommended, and the frequency of the target historical behavior.

[0143] Step 802: The server determines the target historical behavior within each preset time period based on the occurrence time of the target historical behavior.

[0144] It should be noted that each preset time period is a time period before the current time, and each preset time period can be set and changed as needed; optionally, each preset time period includes a time period within 3 days, a time period within a week, a time period within half a month, a time period within a month, a time period within half a year, a time period within a year, etc. before the current time. In another implementation, each preset time period includes a time period within 3 days, a time period from 3 days to a week, a time period from a week to half a month, a time period from half a month to a month, a time period from a month to half a year, a time period from half a year to a year, etc. before the current time.

[0145] In this step, the server determines the target historical behavior within each preset time period based on the time difference between the current time and the most recent occurrence time of each target historical behavior. In this way, by dividing multiple target historical behaviors based on the time difference between the most recent occurrence time of the target historical behavior and the current time, the time difference of each target historical behavior is discretized into a unique value, so that each target historical behavior corresponds to a unique time difference, and the target historical behavior can be divided into the corresponding preset time period based on the unique time difference.

[0146] Step 803: The server performs weighted summation of the target historical behaviors in each preset time period based on the weight of each target historical behavior, and obtains the interest features of the target account in each preset time period.

[0147] The expression form of the interest feature is a feature vector. It should be noted that the weight of each target historical behavior is different for different items to be recommended; therefore, in this step, the server performs step 803 for each item to be recommended, and obtains the interest feature of each item to be recommended in each preset time period.

[0148] It should be noted that the role of the historical behavior of the target account in different time periods and the corresponding interest preferences are different. It is difficult to characterize the interest preferences of the target account in different time periods only through the interest characteristics of one time period. In the embodiment of the present application, by dividing the target historical behavior in different preset time periods, and then obtaining the interest characteristics of multiple preset time periods based on the target historical behavior of multiple preset time periods, a fine division of multiple target historical behaviors is achieved. In this way, the interest characteristics of the target account are extracted based on the occurrence time of the historical behavior, and the interest changes of the target account are taken into account. Compared with the interest characteristics of a single time period, the expression ability is stronger and the feature expression is richer.

[0149] Step 804: The server recommends items to the target account based on the interest characteristics of the target account in each preset time period.

[0150] This step includes the following steps (1)-(3):

[0151] (1) The server determines item features of multiple items to be recommended.

[0152] It should be noted that the multiple items to be recommended are the multiple items in the set to be recommended obtained in step 801. In this step, the server extracts feature vectors from the multiple items respectively to obtain item features of the multiple items; optionally, the item features are expressed in the form of feature vectors.

[0153] (2) The server determines the recommendation probability of each item based on the item features and the interest features of the target account in each preset time period.

[0154] In this step, for each item to be recommended, the server determines the recommendation probability of the item to be recommended based on the item features and the interest features of the item to be recommended in each preset time period.

[0155] In some embodiments, the server further determines the recommendation probability of the item to be recommended based on the item features of the item, the interest features of the item to be recommended in each preset time period, the user features corresponding to the target account, and the auxiliary features of the item to be recommended. Optionally, the user features include at least one of the user's gender features, age features, and occupational features, and the auxiliary features include at least one of the merchant brand features and business hours features corresponding to the item to be recommended.

[0156] (3) The server recommends items to the target account based on the recommendation probability of each item.

[0157] In this step, the server determines a target item with the highest recommendation probability among multiple items; the server recommends the target item to the target account.

[0158] In some embodiments, the embodiments of the present application are implemented in the following manner: the server inputs each target historical behavior, the frequency and occurrence time of each target historical behavior into the recommendation model, and outputs the target item recommended for the target account.

[0159] The recommendation model is used to determine the weight of each target historical behavior based on the frequency of the target historical behavior, and the weight is positively correlated with the frequency; determine the target historical behavior in each preset time period based on the occurrence time of the target historical behavior; based on the weight of each target historical behavior, perform weighted summation of the target historical behavior in each preset time period to obtain the interest characteristics of the target account in each preset time period; and recommend items to the target account based on the interest characteristics of the target account in each preset time period. The recommendation model is a model trained based on the historical behaviors of all registered accounts pre-stored on the server.

[0160] In some embodiments, the server also inputs the items to be recommended, the current location of the items to be recommended, each target historical behavior, the frequency of each target historical behavior, the occurrence time and other features into the recommendation model to determine the target item among the items to be recommended, and recommend the target item to the target account; other features are the features of the target historical behavior or the items to be recommended, which are not specifically limited here. Fig. 9 , Fig. 9Schematic diagram of the recommendation model of this embodiment. The server inputs the compressed sequence composed of multiple target historical behaviors, the frequency, occurrence time and occurrence location of each target historical behavior, the items to be recommended, the current location of the items to be recommended and other features into the recommendation model. The embedding layer of the recommendation model extracts the feature vectors of the compressed sequence composed of multiple target historical behaviors, the frequency, occurrence time and occurrence location of each target historical behavior, the items to be recommended, the current location of the items to be recommended and other features, respectively, and obtains the compressed sequence feature vector, the frequency feature vector, the occurrence time feature vector, the occurrence location feature vector, the item feature vector, the current location feature vector and other feature vectors. For each target historical behavior, the attention layer of the recommendation model generates the weight of each target historical behavior based on the feature vector, frequency feature vector, occurrence location feature vector, item feature vector, current location feature vector and other feature vectors of the target historical behavior. The time series aggregation behavior module of the recommendation model obtains the target historical behavior in each preset time period based on the occurrence time of multiple target historical behaviors, and based on the weight of each target historical behavior, the feature vector and weight of the target historical behavior in each preset time period are weighted and summed to obtain the interest features of the target account in each preset time period. The fully connected layer of the recommendation model combines multiple interest features of the item to be recommended, the feature vector of the item to be recommended, and the auxiliary features, and passes through at least two function layers in sequence to obtain the recommendation probability of the item to be recommended. The recommendation model determines the target item with the highest recommendation probability among multiple items to be recommended, and outputs the target item through the output layer.

[0161] It should be noted that, due to the performance problem of the model in the prior art, when recommending items to the target account, only the historical behaviors of the same category as the items to be recommended in multiple historical behaviors are used to recommend items to the target account. Since the historical behaviors of different categories from the items to be recommended can also reflect the interest preferences corresponding to the target account, in this way, only the historical behaviors of the same category as the items to be recommended are used to recommend items to the target account, which does not cover all the historical behaviors of the target account, and there is information missing, which makes the accuracy of recommending items to the target account low; for example, in the takeaway scenario, the ordering behavior of hot pot dishes also has an impact on the interest preference of the ordering behavior of dessert dishes. In the embodiment of the present application, the multiple historical behaviors are historical behaviors of all categories. In this way, by introducing the historical behaviors of the target account in all categories, the accuracy of recommending items to the target account can be improved.

[0162] It should be noted that when the method provided in the embodiment of the present application is applied to the takeaway scenario, the CTR (Click-Through-Rate) is increased by 1.08%, the CVR (Click Rate) is increased by 0.26%, the CPM (Cost Per Mille) is increased by 2.63%, the ROI (Return On Investment) is reduced by 1.25%, and the GMV (Gross Merchandise Volume) is increased by 1.35%. It can be seen that recommending items by the method provided in the embodiment of the present application can effectively improve the accuracy and practicality of the recommended items.

[0163] An embodiment of the present application provides an item recommendation method, which aggregates the same historical behaviors in multiple historical behaviors, so that the frequency of each historical behavior can be determined. The higher the frequency of the historical behavior, the more the user prefers the historical behavior for a long time, that is, the frequency of the historical behavior can effectively represent the user's long-term interest preference; and because the most recent occurrence time of the historical behavior can represent the user's short-term interest preference, recommending items to the user in combination with the frequency of the historical behavior and the most recent occurrence time can effectively improve the accuracy of recommending items to the user.

[0164] The present application also provides an item recommendation device. Fig.10 , the device comprises:

[0165] The first determination module 1001 is used to determine multiple historical behaviors of the target account and the occurrence time of each historical behavior;

[0166] Aggregation module 1002, used for aggregating the same historical behaviors among the multiple historical behaviors to obtain at least one target historical behavior;

[0167] The second determination module 1003 is used to determine the frequency and the most recent occurrence time of each target historical behavior based on the occurrence time of each historical behavior;

[0168] The recommendation module 1004 is used to recommend items to the target account based on each target historical behavior, the frequency and the occurrence time of each target historical behavior.

[0169] In a possible implementation, the recommendation module 1004 includes:

[0170] A first determining unit is used to determine, for each target historical behavior, a weight of the target historical behavior based on the frequency of the target historical behavior, where the weight is positively correlated with the frequency;

[0171] A second determining unit, configured to determine the target historical behavior within each preset time period based on the occurrence time of the target historical behavior;

[0172] A third determination unit is used to perform weighted summation of the target historical behaviors in each preset time period based on the weight of each target historical behavior, so as to obtain the interest features of the target account in each preset time period;

[0173] The recommendation unit is used to recommend items to the target account based on the interest characteristics of the target account in each preset time period.

[0174] In a possible implementation manner, the first determining unit is configured to:

[0175] Determine where the target's historical behavior occurred;

[0176] Determine the distance between the occurrence location and the current location;

[0177] Based on distance and frequency, the weight of the target's historical behavior is determined, and the weight is negatively correlated with the distance.

[0178] In a possible implementation, the recommendation unit includes:

[0179] A first determining subunit, used to determine item features of a plurality of items to be recommended;

[0180] A second determination subunit is used to determine the recommendation probability of each item based on the item features and the interest features of the target account in each preset time period;

[0181] The recommendation subunit is used to recommend items to the target account based on the recommendation probability of each item.

[0182] In a possible implementation, a subunit is recommended to:

[0183] Determine the target item with the highest recommendation probability among multiple items;

[0184] Recommend target items to target accounts.

[0185] In a possible implementation, the recommendation module 1004 is used to:

[0186] Input each target historical behavior, the frequency and the occurrence time of each target historical behavior into the recommendation model, and output the target items recommended for the target account;

[0187] Among them, the recommendation model is used to determine the weight of each target historical behavior based on the frequency of the target historical behavior, and the weight is positively correlated with the frequency; based on the occurrence time of the target historical behavior, determine the target historical behavior in each preset time period; based on the weight of each target historical behavior, perform weighted summation of the target historical behaviors in each preset time period to obtain the interest characteristics of the target account in each preset time period; based on the interest characteristics of the target account in each preset time period, recommend items to the target account.

[0188] In a possible implementation, when the target account is an account corresponding to a food delivery platform, the item is a dish, and the target historical behavior is a dish ordering behavior; the recommendation module 1004 is used to:

[0189] Recommend dishes to the target account based on the ordering behavior of each dish, the frequency and the time of occurrence of each dish ordering behavior.

[0190] Fig.11 The structure block diagram of a terminal 1100 provided by an exemplary embodiment of the present application is shown. The terminal 1100 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal 1100 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0191] Typically, the terminal 1100 includes a processor 1101 and a memory 1102 .

[0192] The processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1101 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1101 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1101 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1101 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0193] The memory 1102 may include one or more computer-readable storage media, which may be non-transitory. The memory 1102 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1102 is used to store at least one program code, which is executed by the processor 1101 to implement the item recommendation method provided in the method embodiment of the present application.

[0194] In some embodiments, the terminal 1100 may also optionally include: a peripheral device interface 1103 and at least one peripheral device. The processor 1101, the memory 1102 and the peripheral device interface 1103 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1103 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1104, a display screen 1105, a camera assembly 1106, an audio circuit 1107, a positioning assembly 1108 and a power supply 1109.

[0195] The peripheral device interface 1103 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1101 and the memory 1102. In some embodiments, the processor 1101, the memory 1102, and the peripheral device interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1101, the memory 1102, and the peripheral device interface 1103 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0196] The radio frequency circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1104 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1104 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1104 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1104 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0197] The display screen 1105 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1105 is a touch display screen, the display screen 1105 also has the ability to collect touch signals on the surface or above the surface of the display screen 1105. The touch signal can be input to the processor 1101 as a control signal for processing. At this time, the display screen 1105 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1105 can be one, set on the front panel of the terminal 1100; in other embodiments, the display screen 1105 can be at least two, respectively set on different surfaces of the terminal 1100 or in a folding design; in other embodiments, the display screen 1105 can be a flexible display screen, set on a curved surface or a folding surface of the terminal 1100. Even, the display screen 1105 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1105 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0198] The camera assembly 1106 is used to capture images or videos. Optionally, the camera assembly 1106 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1106 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0199] The audio circuit 1107 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1101 for processing, or input them into the radio frequency circuit 1104 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1100. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1101 or the radio frequency circuit 1104 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1107 may also include a headphone jack.

[0200] The positioning component 1108 is used to locate the current geographical location of the terminal 1100 to implement navigation or LBS (Location Based Service). The positioning component 1108 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system or Russia's Galileo system.

[0201] The power supply 1109 is used to power various components in the terminal 1100. The power supply 1109 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1109 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0202] In some embodiments, the terminal 1100 further includes one or more sensors 1110 , including but not limited to: an acceleration sensor 1111 , a gyroscope sensor 1112 , a pressure sensor 1113 , a fingerprint sensor 1114 , an optical sensor 1115 , and a proximity sensor 1116 .

[0203] The acceleration sensor 1111 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1100. For example, the acceleration sensor 1111 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1101 can control the display screen 1105 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1111. The acceleration sensor 1111 can also be used to collect motion data of games or users.

[0204] The gyro sensor 1112 can detect the body direction and rotation angle of the terminal 1100, and the gyro sensor 1112 can cooperate with the acceleration sensor 1111 to collect the user's 3D actions on the terminal 1100. The processor 1101 can implement the following functions based on the data collected by the gyro sensor 1112: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0205] The pressure sensor 1113 may be provided at the side frame of the terminal 1100 and / or the lower layer of the display screen 1105. When the pressure sensor 1113 is provided at the side frame of the terminal 1100, the user's holding signal of the terminal 1100 may be detected, and the processor 1101 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1113. When the pressure sensor 1113 is provided at the lower layer of the display screen 1105, the processor 1101 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1105. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0206] The fingerprint sensor 1114 is used to collect the user's fingerprint, and the processor 1101 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 1114, or the fingerprint sensor 1114 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 1101 authorizes the user to perform relevant sensitive operations, which include unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 1114 can be set on the front, back, or side of the terminal 1100. When a physical button or a manufacturer logo is set on the terminal 1100, the fingerprint sensor 1114 can be integrated with the physical button or the manufacturer logo.

[0207] The optical sensor 1115 is used to collect the ambient light intensity. In one embodiment, the processor 1101 can control the display brightness of the display screen 1105 according to the ambient light intensity collected by the optical sensor 1115. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1105 is increased; when the ambient light intensity is low, the display brightness of the display screen 1105 is reduced. In another embodiment, the processor 1101 can also dynamically adjust the shooting parameters of the camera assembly 1106 according to the ambient light intensity collected by the optical sensor 1115.

[0208] The proximity sensor 1116, also called a distance sensor, is usually arranged on the front panel of the terminal 1100. The proximity sensor 1116 is used to collect the distance between the user and the front of the terminal 1100. In one embodiment, when the proximity sensor 1116 detects that the distance between the user and the front of the terminal 1100 is gradually decreasing, the processor 1101 controls the display screen 1105 to switch from the screen-on state to the screen-off state; when the proximity sensor 1116 detects that the distance between the user and the front of the terminal 1100 is gradually increasing, the processor 1101 controls the display screen 1105 to switch from the screen-off state to the screen-on state.

[0209] Those skilled in the art will understand that Fig.11 The structure shown in the figure does not constitute a limitation on the terminal 1100, and the terminal 1100 may include more or fewer components than those shown in the figure, or combine certain components, or adopt a different component arrangement.

[0210] Fig.12 1 is a block diagram of a server provided by an embodiment of the present disclosure. The server 1200 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1201 and one or more memories 1202, wherein the memory 1202 is used to store executable program codes, and the processor 1201 is configured to execute the above executable program codes to implement the item recommendation methods provided by the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server may also include other components for implementing device functions, which will not be described in detail here.

[0211] In an exemplary embodiment, a storage medium including a program code is also provided, such as a memory 1202 including a program code, and the program code can be executed by a processor 1201 of a server 1200 to complete the method of the above-mentioned business request. Optionally, the storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a ROM (Read-Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0212] An embodiment of the present application also provides a computer-readable storage medium, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement the item recommendation method of any of the above-mentioned implementation modes.

[0213] An embodiment of the present application also provides a computer program product, which includes at least one program code, and the at least one program code is loaded and executed by a processor to implement the item recommendation method of any of the above implementation modes.

[0214] In some embodiments, the computer program product involved in the embodiments of the present application may be deployed on a server for execution, or on multiple servers located in one location, or on multiple servers distributed in multiple locations and interconnected by a communication network. Multiple servers distributed in multiple locations and interconnected by a communication network may constitute a blockchain system.

[0215] An embodiment of the present application provides an item recommendation method, which aggregates the same historical behaviors in multiple historical behaviors, so that the frequency of each historical behavior can be determined. The higher the frequency of the historical behavior, the more the user prefers the historical behavior for a long time, that is, the frequency of the historical behavior can effectively represent the user's long-term interest preference; and because the most recent occurrence time of the historical behavior can represent the user's short-term interest preference, recommending items to the user in combination with the frequency of the historical behavior and the most recent occurrence time can effectively improve the accuracy of recommending items to the user.

[0216] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. An item recommendation method, characterized in that: The method comprises: Determine multiple historical behaviors of the target account and the time when each historical behavior occurred; Aggregating identical historical behaviors among the multiple historical behaviors to obtain at least one target historical behavior; Based on the occurrence time of each of the historical behaviors, determine the frequency and the most recent occurrence time of each target historical behavior; Recommending items to the target account based on each target historical behavior, the frequency and the occurrence time of each target historical behavior; The recommending items to the target account based on each target historical behavior, the frequency and the occurrence time of each target historical behavior includes: For each target historical behavior, based on the frequency of the target historical behavior, determine the weight of the target historical behavior, wherein the weight is positively correlated with the frequency; Determine the target historical behavior within each preset time period based on the occurrence time of the target historical behavior; Based on the weight of each target historical behavior, weighted sum of the target historical behaviors in each preset time period is performed to obtain the interest features of the target account in each preset time period; Based on the interest characteristics of the target account in each preset time period, recommend items to the target account; wherein the most recent occurrence time represents the user's short-term interest preference, so as to recommend items to the user in combination with the frequency of the historical behavior and the most recent occurrence time; The determining the weight of the target historical behavior based on the frequency of the target historical behavior includes: Determine the location where the target historical behavior occurred, where the location is the location of the food merchant determined based on the cellular network; Determine the distance between the occurrence location and the current location, where the current location is the current location of the item to be recommended; Based on the distance and the frequency, a weight of the target historical behavior is determined, and the weight is negatively correlated with the distance.

2. The method according to claim 1, characterized in that The recommending items to the target account based on the interest characteristics of the target account in each preset time period includes: determining item features of a plurality of items to be recommended; Determining the recommendation probability of each item based on the item features and the interest features of the target account in each preset time period; Based on the recommendation probability of each item, recommend items to the target account.

3. The method according to claim 2, characterized in that The recommending items to the target account based on the recommendation probability of each item includes: Determine a target item with the highest recommendation probability among the multiple items; The target item is recommended to the target account.

4. The method according to claim 1, characterized in that: The recommending items to the target account based on each target historical behavior, the frequency and the occurrence time of each target historical behavior includes: Inputting each target historical behavior, the frequency and the occurrence time of each target historical behavior into the recommendation model, and outputting the target item recommended for the target account; Among them, the recommendation model is used to determine the weight of each target historical behavior based on the frequency of the target historical behavior, and the weight is positively correlated with the frequency; determine the target historical behavior in each preset time period based on the occurrence time of the target historical behavior; based on the weight of each target historical behavior, perform weighted summation of the target historical behaviors in each preset time period to obtain the interest characteristics of the target account in each preset time period; based on the interest characteristics of the target account in each preset time period, recommend items to the target account.

5. The method according to claim 1, characterized in that In the case where the target account is an account corresponding to a food delivery platform, the item is a dish, and the target historical behavior is a dish ordering behavior; The recommending items to the target account based on each target historical behavior, the frequency and the occurrence time of each target historical behavior includes: Based on the ordering behavior of each dish, the frequency and the occurrence time of each dish ordering behavior, dishes are recommended to the target account.

6. An item recommendation device, characterized in that: The device comprises: A first determination module is used to determine multiple historical behaviors of the target account and the occurrence time of each historical behavior; An aggregation module, used for aggregating the same historical behaviors among the multiple historical behaviors to obtain at least one target historical behavior; A second determination module, for determining the frequency and the most recent occurrence time of each target historical behavior based on the occurrence time of each historical behavior; A recommendation module, configured to recommend items to the target account based on each target historical behavior, the frequency and the occurrence time of each target historical behavior; The recommending items to the target account based on each target historical behavior, the frequency and the occurrence time of each target historical behavior includes: For each target historical behavior, based on the frequency of the target historical behavior, determine the weight of the target historical behavior, wherein the weight is positively correlated with the frequency; Based on the occurrence time of the target historical behavior, determine the target historical behavior within each preset time period; Based on the weight of each target historical behavior, weighted sum of the target historical behaviors in each preset time period is performed to obtain the interest features of the target account in each preset time period; Recommending items to the target account based on the interest characteristics of the target account in each preset time period; wherein the most recent occurrence time represents the user's short-term interest preference, so as to recommend items to the user in combination with the frequency of the historical behavior and the most recent occurrence time; The determining the weight of the target historical behavior based on the frequency of the target historical behavior includes: Determine the location where the target historical behavior occurred, where the location is the location of the food merchant determined based on the cellular network; Determine the distance between the occurrence location and the current location, where the current location is the current location of the item to be recommended; Based on the distance and the frequency, a weight of the target historical behavior is determined, and the weight is negatively correlated with the distance.

7. A server, characterized in that: The server includes one or more processors and one or more memories, wherein the one or more memories store at least one program code, and the at least one program code is loaded and executed by the one or more processors to implement the item recommendation method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The storage medium stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the item recommendation method according to any one of claims 1 to 5.

9. A computer program product, characterized in that The computer program product includes at least one program code, and the at least one program code is loaded and executed by a processor to implement the item recommendation method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method for recommending content and apparatus therefor

    CN108121756A

  • Goods recommendation method and device, storage medium and electronic equipment

    CN108198019A

  • Vehicle recommendation method and device, equipment and storage medium

    CN110457589A

  • Application program message pushing method and device, storage medium and terminal equipment

    CN110633404A

  • Information recommendation method and device

    CN112966187A