WO2017036333A1 - Interaction event-based webpage item recommendation method and device - Google Patents

Interaction event-based webpage item recommendation method and device Download PDF

Info

Publication number
WO2017036333A1
WO2017036333A1 PCT/CN2016/096583 CN2016096583W WO2017036333A1 WO 2017036333 A1 WO2017036333 A1 WO 2017036333A1 CN 2016096583 W CN2016096583 W CN 2016096583W WO 2017036333 A1 WO2017036333 A1 WO 2017036333A1
Authority
WO
WIPO (PCT)
Prior art keywords
event
interaction
target
interaction event
events
Prior art date
Application number
PCT/CN2016/096583
Other languages
French (fr)
Chinese (zh)
Inventor
李玉龙
Original Assignee
阿里巴巴集团控股有限公司
李玉龙
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司, 李玉龙 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2017036333A1 publication Critical patent/WO2017036333A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a webpage item recommendation method based on an interaction event and a webpage item recommendation apparatus based on an interaction event.
  • the website provider collects a large number of user evaluation points for each item, and uses the evaluation filter to calculate the relevance matrix between the items through the collaborative filtering algorithm. For a certain user, the evaluation score of the partial merchandise that the user has made, and the degree of relevance of the partial merchandise to other merchandises are calculated, and the recommendation degree of the other merchandise is calculated and recommended to the user accordingly.
  • embodiments of the present application are proposed to provide an interactive event based webpage item recommendation method and a corresponding interactive event based webpage item recommendation apparatus that overcome the above problems or at least partially solve the above problems.
  • a webpage item recommendation method based on an interaction event including:
  • the target webpage item is recommended to the current user.
  • the step of generating the correlation between the interaction event and the target interaction event in the interaction event according to the interaction information of the interaction events of the plurality of users for the webpage item comprises:
  • said interactivity event comprises a browsing event for a webpage item, and/or a favorite event, and/or adding a shopping cart event, and/or a purchase event, said generating an interest of said interactivity event based on an event attribute of the interactivity event
  • the steps of the score are:
  • the step of calculating the correlation between the interaction event and the target interaction event according to the interest score of the interaction event comprises:
  • the interaction event of the same user and the target interaction event are combined into an event pair, and the product of the interaction event value of the event pair and the interest degree score of the target interaction event is calculated;
  • the product of the interest score of the interaction event according to the same event pair of the plurality of users, the interest score of the target interaction event, and the interest score of the interaction event and the target interaction event are calculated.
  • the correlation between the interaction event and the target interaction event in the event pair is as follows:
  • the same event pair for multiple users the sum of the squares of the interest scores of the interaction events in the same event pair, the sum of the squares of the interest scores of the target interaction events, and the interaction events and target interaction events
  • the sum of the products of the interest scores and the corresponding interactions in the event pairs The multidimensional vector value corresponding to the event and target interaction events respectively;
  • a cosine value between the multidimensional vector values is calculated and used as the correlation.
  • the step of calculating the correlation between the interaction event and the target interaction event according to the interest score of the interaction event comprises:
  • the interaction event of the same user and the target interaction event are combined into an event pair, and the interest scores of the interaction event and the target interaction event of the same event pair of multiple users are respectively composed of the interaction event interest degree score set and the target interaction event.
  • Interest score set
  • the interaction event for the current user extracts the target webpage item corresponding to the at least one target interaction event according to the correlation between the interaction event and the plurality of target interaction events.
  • the steps include:
  • the webpage item corresponding to the target interaction event in the first preset range is extracted as the target webpage item.
  • the interaction event for the current user extracts a target webpage item corresponding to the at least one target interaction event according to the correlation between the interaction event and the plurality of target interaction events.
  • the steps include:
  • the webpage item corresponding to the target interaction event in the second preset range is extracted as the target webpage item.
  • the web page item comprises a transaction object, and/or a video, and/or audio, and/or an electronic book.
  • the application also discloses a webpage item recommendation device based on an interaction event, comprising:
  • a correlation generation module configured to generate, according to interaction information of interaction events of the plurality of users for the webpage item, a correlation degree between the interaction event and the target interaction event in the interaction event;
  • An extraction module configured to extract, according to the interaction event of the current user, a target webpage item corresponding to the at least one target interaction event according to the correlation between the interaction event and the plurality of target interaction events;
  • a recommendation module for recommending the target webpage item to the current user.
  • the correlation generation module includes:
  • a score of interest generation sub-module configured to generate an interest score of the interaction event according to an event attribute of the interaction event
  • the correlation calculation sub-module is configured to calculate a correlation between the interaction event and the target interaction event according to the interest degree score of the interaction event.
  • the interaction event comprises a browsing event for a webpage item, and/or a favorite event, and/or adding a shopping cart event, and/or a purchase event
  • the interest score generation sub-module comprising:
  • a score of interest M to generate a subunit for using the product of the browsing event, the favorite event, the added shopping cart event, the number of interaction events N in the purchase event, and a preset parameter as The interest score of the interactive event is M.
  • the correlation calculation submodule comprises:
  • the event pair component unit is configured to form an event pair of the interaction event and the target interaction event of the same user, and calculate a product of the interaction event value of the event pair and the interest degree score of the target interaction event;
  • a correlation calculation sub-unit for multiplying the interest score of the interaction event in the same event pair of the plurality of users, the interest score of the target interaction event, and the interest score of the interaction event and the target interaction event And calculating a correlation between the interaction event in the event pair and the target interaction event.
  • the correlation calculation subunit is specifically configured to:
  • the same event pair for multiple users the sum of the squares of the interest scores of the interaction events in the same event pair, the sum of the squares of the interest scores of the target interaction events, and the interaction events and target interaction events
  • the sum of the products of the interest scores and the corresponding interactions in the event pairs The multidimensional vector value corresponding to the event and target interaction events respectively;
  • a cosine value between the multidimensional vector values is calculated and used as the correlation.
  • the correlation calculation submodule comprises:
  • the interest score group constitutes a sub-unit, which is used to form an event pair of the same user's interaction event and the target interaction event, and respectively adopts the same event pair of the multiple user pairs and the interest degree score of the target interaction event respectively.
  • a Jaccard coefficient calculation subunit configured to calculate and select the Jaccard coefficient of the interactivity event interest score set and the target interactivity interest score set.
  • the extraction module includes:
  • a first correlation finding submodule configured to: when capturing an interaction event generated by the user, searching for a correlation between the one interaction event and multiple target interaction events;
  • the first extraction sub-module is configured to extract a webpage item corresponding to the target interaction event in the first preset range as the target webpage item.
  • the extraction module includes:
  • a second relevance search sub-module configured to search for a correlation between the target interaction event and the multiple interaction events for each target interaction event
  • a recommendation calculation sub-module configured to calculate a recommendation degree that identifies a correlation between the target interaction event and the plurality of interaction events according to the correlation between the target interaction event and each interaction event;
  • the second extraction sub-module is configured to extract, as the target webpage item, a webpage item corresponding to the target interaction event in the second preset range.
  • the web page item comprises a transaction object, and/or a video, and/or audio, and/or an electronic book.
  • the embodiment of the present application calculates the relevance of the interaction event of the webpage item by the user, and avoids the problem that the effective webpage item recommendation cannot be performed because the user does not provide the evaluation score; and, the interaction event for the webpage item is used as the correlation calculation. Based on the basis, the website items that meet the user's interests can be objectively and accurately recommended to the user; further, relevant In the degree calculation, only the correlation between the target interaction event and the interaction event is calculated, the amount of data in the correlation calculation is reduced, and the computing resources and storage resources of the server are saved.
  • Embodiment 1 is a flow chart of steps of Embodiment 1 of a webpage item recommendation method based on an interaction event according to the present application;
  • Embodiment 2 is a flow chart of steps of Embodiment 2 of a webpage item recommendation method based on an interaction event according to the present application;
  • FIG. 3 is a structural block diagram of an embodiment of a webpage item recommending apparatus based on an interactive event according to the present application
  • FIG. 4 is a flow chart of calculating correlation between a target interaction event and an interaction event by using Map Reduce in Embodiment 2 of the present application.
  • FIG. 1 a flow chart of a step 1 of a method for recommending a webpage item based on an interactive event according to the present application is shown, which may specifically include the following steps:
  • Step 101 Generate, according to interaction information of interaction events of the plurality of users for the webpage item, a correlation degree between the interaction event and the target interaction event in the interaction event.
  • webpage items may include various transaction objects, videos, audio or electronic books in the webpage. Users can get the corresponding information or services through different webpage projects.
  • the user will generate different interaction events for different webpage projects according to the degree of interest. For example, if a user is interested in a transaction object in a webpage, an interactive event that browses the transaction object may be, after multiple browsing, the user's interest in the transaction object is increased, and a transaction object is generated.
  • the interactive event, or the interactive event placed in the virtual shopping cart provided by the webpage the end user is quite interested in the transaction object, and may even The interactive event for the purchase. It can be seen from the actual scenario that the different interaction events of the user for the same webpage item can reflect the degree of interest of the user on the webpage item. Therefore, the webpage item can be combined with the interaction behavior of the user for the webpage item to form a webpage item. Interactive event.
  • an interaction event in which the same user browses the transaction object A and an interaction event in which the transaction object B is purchased may be understood as a user who has a certain interest in the transaction object A and browses, and may also be the transaction object B. Generated a very strong interest and eventually made an interactive event for the purchase.
  • an implicit correlation between the interactive events of the web page project This implicit correlation can reflect the user's interest in different web page items.
  • the degree of interest reflected by the user's interaction event of the webpage item can be quantified into a specific interest score M by using the interaction information of the interaction event.
  • the interaction information described above may include at least one of an interaction event category of an interaction event, an interaction event execution count, an interaction event occurrence time, and an interaction event duration. For example, if the number of times the user views the webpage item A is three times, the interest score M of the browsing event of the webpage item A is three.
  • those skilled in the art can set weights for different interaction events according to actual needs to distinguish the importance of different interaction events.
  • Correlation between interaction events can be quantified to relevance using a specific interest score.
  • the interest degree scores of the same two interactive events of a large number of users may respectively form a multi-dimensional vector of two interest degree scores, and the cosine value between the two multi-dimensional vectors is calculated by the cosine value formula, the cosine value This is the correlation between two interactive events.
  • the interest score can be defined as 1, if not executed.
  • the interest score can be defined as 0, and the interest scores of the same two interactive events of a large number of users respectively form a multi-dimensional vector of two interest scores, and calculate the Jacques between the two multi-dimensional vectors.
  • the German coefficient which is the correlation between two interactions.
  • the purchased interactive event represents the user's most interest in the web project, and the interactive event may be simply that the user simply understands that the browsed web project does not meet the user's interest.
  • the purpose of the webpage project recommendation is to recommend the webpage item that is most likely to cause user interest and is most in line with the user's interest. Therefore, it is only necessary to pay attention to the target interaction event in the interaction event, and calculate the correlation between the target interaction event and other interaction events. Just fine.
  • the interaction information of the interaction event may be used, the target interaction event and the non-target interaction event in the interaction event are distinguished, and the correlation between the target interaction event and other interaction events is calculated, thereby obtaining the target event of the webpage project and another The relevance of the target interactive event or non-target interactive event of the web project.
  • the calculated correlation can be saved in a database.
  • a person skilled in the art may use one or more interaction events in the interaction event as the target interaction event according to actual needs, which is not limited by the embodiment of the present invention.
  • Step 102 For the interaction event of the current user, extract the target webpage item corresponding to the at least one target interaction event according to the correlation between the interaction event and the multiple target interaction events.
  • Step 103 Recommend the target webpage item to the current user.
  • the interaction event of the current user to a webpage item has multiple correlations with target interaction events of other webpage items, and may target one or more related target interaction events within a preset range.
  • the corresponding landing page item is extracted and recommended to the current user.
  • the present application Compared with the current method for calculating the correlation between webpage items based on the user's evaluation of the webpage item, the present application combines the webpage item with the interaction behavior for the webpage item to form an interaction event, and performs correlation calculation based on the interaction event.
  • the problem that the effective webpage item recommendation cannot be performed because the user does not provide the evaluation score is avoided; and the interactive event for the webpage item is used as the basis of the correlation calculation, and the webpage item that meets the user interest can be objectively and accurately recommended to the webpage item.
  • the correlation calculation only the correlation between the target interaction event and the interaction event is calculated, the amount of data in the correlation calculation is reduced, and the computing resources and storage resources of the server are saved.
  • FIG. 2 a flow chart of the steps of the second embodiment of the webpage item recommendation method based on the interaction event is shown in the following.
  • Step 201 Generate an interest score of the interaction event according to an event attribute of the interaction event.
  • the event attribute described above may include at least one of an interaction event execution number of an interaction event, an interaction event occurrence time, and an interaction event duration.
  • a specific interest score for the interaction event can be generated based on various event attributes of the interaction event. In an actual application, when the user does not have an interaction event, the interest score of the interaction event of the user may be 0.
  • the interaction event includes a browsing event for a webpage item, and/or a favorite event, and/or adding a shopping cart event, and/or a purchase event
  • the step 201 may include the following sub-steps :
  • Sub-step S11 the product of the browsing event, the favorite event, the added shopping cart event, the number of interaction events N in the purchase event, and the preset parameter is used as the interest score of the interaction event. For M.
  • User interaction events for webpage items typically include interactive events such as browsing, collecting, adding shopping carts, purchasing, and the like.
  • the number of times a user performs an interaction event typically reflects the level of interest in the web project.
  • different interaction events also have different importance levels. For example, the purchase event is the most important event. Adding a shopping cart is the second, and browsing is a relatively common event. The importance of the event is given as a preset parameter as the weight of the event. The interest score can be made to more reasonably reflect the user's interest in the web project.
  • Step 202 Calculate a correlation between the interaction event and the target interaction event according to the interest degree score of the interaction event.
  • the step 202 may include the following sub-steps:
  • Sub-step S21 the interaction event of the same user and the target interaction event are combined into an event pair, and the product of the interaction event of the event pair and the interest score of the target interaction event is calculated.
  • the interaction event of the same user and the target interaction event may be combined into an event pair, and the interest score of the interaction event in the event pair is multiplied by the interest score of the target interaction event.
  • the result of the multiplication is also 0. Because only the degree of relevance of the target interaction event and the interaction event needs to be concerned, when there is no target interaction event, the multiplication result of the event pair 0 can save subsequent correlation calculation.
  • Sub-step S22 according to the interest score of the interaction event in the same event pair of the plurality of users, the interest score of the target interaction event, and the interest score of the interaction event and the target interaction event
  • the product is used to calculate the correlation between the interaction event in the event pair and the target interaction event.
  • the correlation between the interaction event and the target interaction event may be a cosine value of the interest scores of the two, or a JCD coefficient of the interest scores of the two.
  • a person skilled in the art can calculate the correlation by using any algorithm that can calculate the degree of similarity between the interaction event and the interest score of the target interaction event, as the case may be.
  • the sub-step S22 may specifically include:
  • Sub-step S22-1 calculating the sum of the squares of the interest scores of the interactive events in the same event pair, the sum of the squares of the interest scores of the target interaction events, and the interaction for the same event pair of the plurality of users The sum of the products of the interest scores of the event and the target interaction event, and correspondingly forming a multi-dimensional vector value corresponding to the interaction event and the target interaction event in the event pair respectively;
  • Sub-step S22-2 calculating a cosine value between the multi-dimensional vector values as the correlation.
  • Map Reduce can be used to calculate the correlation degree in combination with the cosine degree formula. Referring to the flowchart of calculating the correlation between the target interaction event and the interaction event by using Map Reduce, the correlation calculation is implemented by five Map Reduce processes.
  • the cosine value formula can be: Among them, S ij is the correlation between the target interaction event and the interaction event.
  • Map Reduce 1 collect all the interactive events of the same user, form an event pair with the target interaction event, and calculate the product of the interest score of the event pair and the target interaction event.
  • ⁇ e i , e j > is the event pair formed by the interaction event and the target interaction event
  • r ui is the interest degree score of the interaction event
  • r uj is the interest degree score of the target interaction event.
  • Map Reduce 2 which calculates the sum of the product of the target interaction event and the interest score of the interaction event for the same event pair of multiple users. among them, The sum of the product of the target interaction event and the interest score of the interaction event for the same event pair of multiple users.
  • Map Reduce 3 which calculates the sum of the squares of the interest scores of the interactive events in the same event pair for multiple users. among them, The sum of the squares of interest scores for the interaction events of the same event pair for multiple users.
  • Map Reduce 4 which calculates the sum of the squares of the interest scores of the target interaction events for the same event pairs of different users. among them, The sum of the squares of interest scores for the target interaction events for the same event pair for multiple users.
  • Map Reduce 5 which calculates the cosine of the interest scores of the target interaction events and interaction events for the same event pairs of multiple users. among them, The opening of the sum of the squares of the interest scores of the interactive events for the same event pairs of different users; The square root of the sum of the squares of the interest scores of the target interaction events for the same event pairs of different users.
  • the step 202 may include the following sub-steps:
  • Sub-step S31 the interaction event and the target interaction event of the same user are combined into an event pair, and the interest event scores of the interaction event and the target interaction event of the same event pair of the multiple users are respectively composed of the interaction event interest degree score set. Interacting with the target event scores.
  • Sub-step S32 calculating, as the correlation degree, the Jaccard coefficient of the interaction event interest score set and the target interaction event interest score set.
  • the interaction The interest score of the event may be 0. If there is an interaction event, the interest score of the interaction event may be 1.
  • the multi-dimensional vector value of all the dimensions corresponding to the interaction event and the target interaction event is 1 or 0, and the calculation dimension is calculated by using the same interest event of the plurality of users and the interest score of the target interaction event and the target interaction event is 1 or 0.
  • the Jaccard coefficients between two multi-dimensional vector values of 1 or 0, and the calculated JCD coefficient is used as the correlation between the interaction event and the target interaction event. Calculating the correlation using the Jaccard coefficient is suitable for calculating the correlation between interaction events that only need to pay attention to the existence or not.
  • Step 203 For the interaction event of the current user, extract the target webpage item corresponding to the at least one target interaction event according to the correlation between the interaction event and the plurality of target interaction events.
  • the user may generate one or more interaction events for the webpage items in the webpage, and according to the interaction events generated by the user, the target webpage items corresponding to the target interaction events related to the interaction events may be extracted.
  • the target interaction event is sorted according to the degree of relevance of the interaction event, and the webpage item corresponding to the previous target interaction event is extracted, and a range of relevance degrees may be preset, and the target interaction event corresponding to the range is matched. Web page item extraction.
  • a person skilled in the art may also extract the target webpage item by using other methods, for example, by calculating the recommendation degree of the target interactive event, and recommending the webpage item corresponding to the target interactive event as the target webpage item to the user when the recommendation degree meets the preset range. .
  • the step 203 may include the following sub-steps:
  • Sub-step S41 when an interaction event generated by the user is captured, the correlation between the one interaction event and the multiple target interaction events is searched for.
  • Sub-step S42 extracting a webpage item corresponding to the target interaction event in the first preset range as the target webpage item.
  • the target corresponding to the one or more relevance target interaction events within the preset range may be Web page item extraction for subsequent web page project recommendation.
  • Pass pre The scope can be targeted to recommend a webpage item corresponding to a highly relevant target interaction event.
  • the preset range can be set by a person skilled in the art according to actual conditions. For example, the preset range can be adjusted for the number of webpage items corresponding to the extracted target interaction event, and the number of webpage items corresponding to the target interactive event that can be extracted is too small. , you can lower the lower limit of the preset range to ensure that there are enough webpage items to recommend to the current user.
  • a large cluster of distributed file systems can be used in advance to calculate the correlation between interaction events and target interaction events.
  • an interaction event can be generated in the database. Searching for the target interaction event related to the interaction event and its relevance, and extracting the target webpage item corresponding to the target interaction event whose relevance is in accordance with the preset scope.
  • the step 203 may include the following sub-steps:
  • Sub-step S51 searching for the relevance of the target interaction event and the plurality of interaction events for each target interaction event.
  • Sub-step S52 calculating a recommendation degree that identifies a correlation between the target interaction event and the plurality of interaction events according to the relevance of the target interaction event to each interaction event.
  • Sub-step S53 extracting a webpage item corresponding to the target interaction event in the second preset range as the target webpage item.
  • a user may generate multiple interaction events, which may be related to the same target interaction event, use interest scores of multiple interaction events, and interact with multiple interaction events.
  • the relevance of the event can be used to calculate the recommendation degree of the target interaction event.
  • the webpage item corresponding to the target interaction event can be used as the target webpage item.
  • Step 204 Recommend the target webpage item to the current user.
  • the web page items described above may include transaction objects, and/or video, and/or audio, and/or electronic books.
  • the interest degree score of the interaction event is generated according to the event attribute of the interaction event, and the user's interest level of the webpage item can be objectively quantized into the interest degree score, and the webpage item recommendation is performed based on the interest degree score.
  • the webpage project is more in line with the user's interest.
  • the target webpage item corresponding to the target interaction event whose relevance is within the preset range is recommended to the user, which improves the flexibility of the webpage item recommendation.
  • the interactive event in the present application according to the interaction information of the interaction events of the plurality of users for the webpage item, and the interaction event and the target interaction event in the interaction event.
  • the product of the event, the favorite event, the add shopping cart event, the number of interaction events N in the purchase event, and the preset parameter may be browsed as the interest score of the interaction event is M.
  • the preset parameters of the browsing event, the favorite event, the shopping cart event, and the shopping event are 1, 2, 3, and 4, respectively, and the product of the number of executions of the interactive event and the preset parameter of the interactive event is used as the interest score of the interactive event.
  • the values, and thus the scores of interest for each interaction event are shown in the following table:
  • the interaction event of the same user and the target interaction event are combined into an event pair, and the product of the interaction event of the event pair and the interest score of the target interaction event is calculated.
  • E 4 and E 5 , E 2 and E 8 , E 1 and E 4 , and S 14 , S 54 and S 28 can be calculated using the cosine formula, wherein the specific calculation process is as follows :
  • the interest scores of user B's event pairs ⁇ E 5 , E 4 >, event pairs ⁇ E 2 , E 8 >, and event pairs ⁇ E 1 , E 4 >, E 5 and E 4 can be obtained .
  • the product of the product is 8, the product of the interest scores of E 2 and E 8 is 8, and the product of the interest scores of E 1 and E 4 is 20.
  • the interest scores of the user C events ⁇ E 5 , E 4 >, the event pairs ⁇ E 2 , E 8 >, and the event pairs ⁇ E 1 , E 4 >, E 4 and E 5 can be obtained .
  • the product of the product is 12, the product of the interest scores of E 2 and E 8 is 8, and the product of the interest scores of E 1 and E 4 is 8.
  • the number of executions of the purchase event of the webpage item y is 0, that is, the interaction event has not occurred, and the interest score of the purchase event is 0, so the product is also 0. , the data can be eliminated during calculation, saving data and calculation.
  • the sum of the products of the same event pair of the plurality of users and the interest score of the target interaction event is calculated.
  • E 4> interactivity events in E. 5 and target affinity interaction events E 4 is approximately 0.88
  • E 8> interactivity events certain interactivity events of E 2 and E 8 the correlation is about 0.58
  • events ⁇ E 1, E 4> in the interactive event E 1 and E target interaction event correlation 4 is about 0.86.
  • the correlation between the target interaction events and the multiple interaction events may be searched for each target interaction event; and the target interaction events are respectively associated with the respective interaction events.
  • Correlation degree a recommendation degree that identifies a correlation between the target interaction event and the plurality of interaction events is calculated; and the webpage item corresponding to the target interaction event in the second preset range is extracted as the target webpage item.
  • a user D performed for the web project x 1 time browsing event E 1, on page item y was once viewing the event E 5; find E 1 and E 4 correlation of S 14, and S 14 0.86
  • the recommendation may also be performed according to the order of recommendation. For example, when there are 10 target interaction events that can be recommended to the user D, the ranking may be ranked according to the recommendation degree from high to low. The webpage items corresponding to the three target interaction events are recommended to the user D as the target webpage item.
  • FIG. 3 a structural block diagram of an embodiment of an interactive event-based webpage item recommendation apparatus of the present application is shown, which may specifically include the following modules:
  • the relevance generation module 301 is configured to generate, according to the interaction information of the interaction events of the plurality of users for the webpage item, the correlation between the interaction event and the target interaction event in the interaction event.
  • the relevance generation module 401 may include the following sub-modules:
  • the interest score generation sub-module is configured to generate an interest score of the interaction event according to an event attribute of the interaction event.
  • the interaction event includes a browsing event for a webpage item, and/or a favorite event, and/or adding a shopping cart event, and/or a purchase event
  • the interest score generation sub-module Can include the following subunits:
  • a score of interest M to generate a subunit for using the product of the browsing event, the favorite event, the added shopping cart event, the number of interaction events N in the purchase event, and a preset parameter as The interest score of the interactive event is M.
  • the correlation calculation sub-module is configured to calculate a correlation between the interaction event and the target interaction event according to the interest degree score of the interaction event.
  • the relevance calculation submodule may include the following subunits:
  • the event pair component unit is configured to form an event pair of the interaction event and the target interaction event of the same user, and calculate a product of the interaction event value of the event pair and the interest degree score of the target interaction event.
  • a correlation calculation sub-unit for multiplying the interest score of the interaction event in the same event pair of the plurality of users, the interest score of the target interaction event, and the interest score of the interaction event and the target interaction event And calculating a correlation between the interaction event in the event pair and the target interaction event.
  • the correlation calculation subunit may be specifically configured to:
  • the same event pair for multiple users the sum of the squares of the interest scores of the interaction events in the same event pair, the sum of the squares of the interest scores of the target interaction events, and the interaction events and target interaction events a sum of products of interest scores, and correspondingly forming multi-dimensional vector values corresponding to the interaction events in the event pair and the target interaction events; calculating a cosine value between the multi-dimensional vector values as the correlation.
  • the correlation calculation submodule may include the following subunits:
  • the interest score group constitutes a sub-unit, which is used to form an event pair of the same user's interaction event and the target interaction event, and respectively adopts the same event pair of the multiple user pairs and the interest degree score of the target interaction event respectively.
  • the set of interactive event interest scores and the target interaction event interest scores constitutes a sub-unit, which is used to form an event pair of the same user's interaction event and the target interaction event, and respectively adopts the same event pair of the multiple user pairs and the interest degree score of the target interaction event respectively.
  • a Jaccard coefficient calculation subunit configured to calculate and select the Jaccard coefficient of the interactivity event interest score set and the target interactivity interest score set.
  • the extracting module 302 is configured to extract, according to the interaction event of the current user, the target webpage item corresponding to the at least one target interaction event according to the correlation between the interaction event and the plurality of target interaction events.
  • the extraction module 302 may include the following sub-modules:
  • the first relevance search sub-module is configured to search for an interaction event generated by the user to find a correlation between the one interaction event and the multiple target interaction events.
  • the first extraction sub-module is configured to extract a webpage item corresponding to the target interaction event in the first preset range as the target webpage item.
  • the extraction module 302 may include the following sub-modules:
  • the second relevance search sub-module is configured to search for a correlation between the target interaction event and the multiple interaction events for each target interaction event.
  • the recommendation degree calculation sub-module is configured to calculate a recommendation degree that identifies a correlation between the target interaction event and the plurality of interaction events according to the relevance of the target interaction event to each interaction event.
  • the second extraction sub-module is configured to extract, as the target webpage item, a webpage item corresponding to the target interaction event in the second preset range.
  • the recommendation module 303 is configured to recommend the target webpage item to the current user.
  • the web page item can include a transaction object, and/or video, and/or audio, and/or an electronic book.
  • the device of the present application combines a webpage item with an interaction behavior for a webpage item to form an interaction event, and performs correlation calculation based on the interaction event, thereby avoiding the problem that the effective webpage item recommendation cannot be performed because the user does not provide the evaluation score;
  • the interaction event for the webpage project is used as the basis of the correlation calculation, and the webpage item that meets the user's interest can be objectively and accurately recommended to the user; further, only the correlation degree of the target interaction event and the interaction event is calculated in the correlation calculation, The amount of data in the correlation calculation is reduced, and the computing resources and storage resources of the server are saved.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • embodiments of the embodiments of the present application can be provided as a method, apparatus, or computer program product. Therefore, the embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, embodiments of the present application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is computer readable medium
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read only memory
  • EEPROM electrically erasable programmable read only memory
  • flash memory or other memory technology
  • compact disk read only memory CD-ROM
  • DVD digital versatile disk
  • Magnetic tape cartridges magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include non-persistent computer readable media, such as modulated data signals and carrier waves.
  • Embodiments of the present application are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device
  • Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the instruction device implements the functions specified in one or more blocks of the flowchart or in a flow or block of the flowchart.

Abstract

Provided in embodiments of the present application are an interaction event-based webpage item recommendation method and device. The method comprises: generating, according to interaction information of interaction events of a plurality of users with respect to a webpage item, relevance degrees among the interaction events and a target interaction event in the interaction events; for an interaction event of a current user, retrieving, according to relevance degrees among the interaction event and a plurality of target interaction events, at least one target webpage item corresponding to the target interaction events; and recommending the target webpage items to the current user. The present application avoids the problem in which webpage items cannot be recommended effectively due to lack of ratings provided by the user. Also, using interaction events with respect to a webpage item as the basis of relevance computation, webpage items a user is interested in can be objectively and accurately recommended to the user. Furthermore, only computing a relevance degree between a target interaction event and an interaction event in a relevance computation can decrease the volume of data in the relevance computation and save the computational resource and storage resource of a server.

Description

一种基于交互事件的网页项目推荐方法和装置Web site project recommendation method and device based on interactive event 技术领域Technical field
本申请涉及互联网技术领域,特别是涉及一种基于交互事件的网页项目推荐方法和一种基于交互事件的网页项目推荐装置。The present application relates to the field of Internet technologies, and in particular, to a webpage item recommendation method based on an interaction event and a webpage item recommendation apparatus based on an interaction event.
背景技术Background technique
随着互联网技术的不断发展,越来越多的用户在网页上浏览各种商品。With the continuous development of Internet technology, more and more users browse various products on the webpage.
为了向用户推荐用户可能会感兴趣的网页项目,网站供应商会收集大量用户对各个商品的评价分,并通过协同过滤算法利用评价分计算出商品之间的相关度矩阵。针对某个用户,利用该用户曾经对部分商品作出的评价分,以及该部分商品与其他商品的相关度,计算出其他商品的推荐度并相应地推荐给该用户。In order to recommend to the user a webpage item that the user may be interested in, the website provider collects a large number of user evaluation points for each item, and uses the evaluation filter to calculate the relevance matrix between the items through the collaborative filtering algorithm. For a certain user, the evaluation score of the partial merchandise that the user has made, and the degree of relevance of the partial merchandise to other merchandises are calculated, and the recommendation degree of the other merchandise is calculated and recommended to the user accordingly.
目前这种商品推荐方法存在三个问题:首先,在实际应用中,用户可能不想花费时间和精力提供商品的评价分,导致因为缺乏评价分而无法进行有效的商品推荐;其次,用户针对商品的评价分带有主观倾向,基于主观的评价分进行商品推荐,无法客观、准确地将符合用户兴趣的商品推荐给用户;最后,随着互联网中的商品的数据量不断增多,通过协同过滤算法进行商品推荐,会使得目前算法中的相关度矩阵的数据量急剧膨胀,导致服务器超储存、计算处理工作超负荷,甚至引起服务器崩溃。At present, there are three problems in this product recommendation method: First, in practical applications, users may not want to spend time and effort to provide evaluation points of products, resulting in the inability to conduct effective product recommendation due to lack of evaluation points; secondly, users are targeting products. The evaluation has a subjective tendency, and the product recommendation is based on subjective evaluation points. It is impossible to objectively and accurately recommend the products that meet the user's interests to the user; finally, with the increasing amount of data in the Internet, the collaborative filtering algorithm is used. Commodity recommendation will cause the data volume of the correlation matrix in the current algorithm to expand rapidly, resulting in overloading of the server, overloading of the calculation processing, and even causing the server to crash.
发明内容Summary of the invention
鉴于上述问题,提出了本申请实施例以便提供一种克服上述问题或者至少部分地解决上述问题的一种基于交互事件的网页项目推荐方法和相应的一种基于交互事件的网页项目推荐装置。In view of the above problems, embodiments of the present application are proposed to provide an interactive event based webpage item recommendation method and a corresponding interactive event based webpage item recommendation apparatus that overcome the above problems or at least partially solve the above problems.
为了解决上述问题,本申请公开了一种基于交互事件的网页项目推荐方法,包括:In order to solve the above problem, the present application discloses a webpage item recommendation method based on an interaction event, including:
根据多个用户针对网页项目的交互事件的交互信息,生成所述交互事件与所述交互事件中的目标交互事件的相关度; Generating a correlation between the interaction event and a target interaction event in the interaction event according to interaction information of interaction events of the plurality of users for the webpage item;
针对当前用户的交互事件,根据所述交互事件与多个目标交互事件的相关度提取至少一个目标交互事件对应的目标网页项目;Extracting, according to the correlation event of the interaction event and the plurality of target interaction events, the target webpage item corresponding to the at least one target interaction event;
将所述目标网页项目推荐给所述当前用户。The target webpage item is recommended to the current user.
优选地,所述根据多个用户针对网页项目的交互事件的交互信息,生成所述交互事件与所述交互事件中的目标交互事件的相关度的步骤包括:Preferably, the step of generating the correlation between the interaction event and the target interaction event in the interaction event according to the interaction information of the interaction events of the plurality of users for the webpage item comprises:
根据所述交互事件的事件属性生成所述交互事件的兴趣度分值;Generating an interest score of the interaction event according to an event attribute of the interaction event;
根据所述交互事件的兴趣度分值计算所述交互事件与所述目标交互事件的相关度。Calculating a correlation between the interaction event and the target interaction event according to the interest score of the interaction event.
优选地,所述交互事件包括对网页项目的浏览事件、和/或收藏事件、和/或添加购物车事件、和/或购买事件,所述根据交互事件的事件属性生成所述交互事件的兴趣度分值的步骤包括:Advantageously, said interactivity event comprises a browsing event for a webpage item, and/or a favorite event, and/or adding a shopping cart event, and/or a purchase event, said generating an interest of said interactivity event based on an event attribute of the interactivity event The steps of the score are:
以所述浏览事件、所述收藏事件、所述添加购物车事件、所述购买事件中的交互事件执行次数N与预置参数的乘积作为则所述交互事件的兴趣度分值为M。Taking the product of the browsing event, the favorite event, the added shopping cart event, the number of interaction events N in the purchase event, and the preset parameter as the interest degree score of the interaction event is M.
优选地,所述根据交互事件的兴趣度分值计算所述交互事件与所述目标交互事件的相关度的步骤包括:Preferably, the step of calculating the correlation between the interaction event and the target interaction event according to the interest score of the interaction event comprises:
将同一用户的交互事件与目标交互事件组成事件对,并计算所述事件对中的交互事件和目标交互事件的兴趣度分值的乘积;The interaction event of the same user and the target interaction event are combined into an event pair, and the product of the interaction event value of the event pair and the interest degree score of the target interaction event is calculated;
根据多个用户的相同的事件对中的交互事件的兴趣度分值、目标交互事件的兴趣度分值、以及交互事件与目标交互事件的兴趣度分值的乘积,计算所述事件对中的交互事件与交目标交互事件的相关度。Calculating the interest score of the interaction event in the same event pair of the plurality of users, the interest score of the target interaction event, and the product of the interest event score of the interaction event and the target interaction event, The degree to which an interaction event interacts with a target interaction event.
优选地,所述根据多个用户的相同的事件对中的交互事件的兴趣度分值、目标交互事件的兴趣度分值、以及交互事件与目标交互事件的兴趣度分值的乘积,计算所述事件对中的交互事件与交目标交互事件的相关度具体为:Preferably, the product of the interest score of the interaction event according to the same event pair of the plurality of users, the interest score of the target interaction event, and the interest score of the interaction event and the target interaction event are calculated. The correlation between the interaction event and the target interaction event in the event pair is as follows:
针对多个用户的相同的事件对,计算相同的事件对中的交互事件的兴趣度分值的平方之和、目标交互事件的兴趣度分值的平方之和、以及交互事件和目标交互事件的兴趣度分值的乘积之和,并相应形成所述事件对中的交互 事件与目标交互事件分别对应的多维向量值;The same event pair for multiple users, the sum of the squares of the interest scores of the interaction events in the same event pair, the sum of the squares of the interest scores of the target interaction events, and the interaction events and target interaction events The sum of the products of the interest scores and the corresponding interactions in the event pairs The multidimensional vector value corresponding to the event and target interaction events respectively;
计算所述多维向量值之间的余弦值并作为所述相关度。A cosine value between the multidimensional vector values is calculated and used as the correlation.
优选地,所述根据所述交互事件的兴趣度分值计算所述交互事件与所述目标交互事件的相关度的步骤包括:Preferably, the step of calculating the correlation between the interaction event and the target interaction event according to the interest score of the interaction event comprises:
将同一用户的交互事件与目标交互事件组成事件对,并采用多个用户的相同的事件对中的交互事件与目标交互事件的兴趣度分值分别组成交互事件兴趣度分值集合与目标交互事件兴趣度分值集合;The interaction event of the same user and the target interaction event are combined into an event pair, and the interest scores of the interaction event and the target interaction event of the same event pair of multiple users are respectively composed of the interaction event interest degree score set and the target interaction event. Interest score set;
计算所述交互事件兴趣度分值集合与所述目标交互事件兴趣度分值集合的杰卡德系数并作为所述相关度。And calculating, as the correlation, a JCd coefficient of the set of interactivity event interest scores and the target interaction event interest score set.
优选地,当所述当前用户发生了一个交互事件时,所述针对当前用户的交互事件,根据所述交互事件与多个目标交互事件的相关度提取至少一个目标交互事件对应的目标网页项目的步骤包括:Preferably, when the current user has an interaction event, the interaction event for the current user extracts the target webpage item corresponding to the at least one target interaction event according to the correlation between the interaction event and the plurality of target interaction events. The steps include:
当捕捉到所述用户产生的一个交互事件,查找所述一个交互事件与多个目标交互事件的相关度;When capturing an interaction event generated by the user, searching for a correlation between the one interaction event and multiple target interaction events;
提取相关度符合第一预设范围内的目标交互事件对应的网页项目作为目标网页项目。The webpage item corresponding to the target interaction event in the first preset range is extracted as the target webpage item.
优选地,当所述当前用户发生了多个交互事件时,所述针对当前用户的交互事件,根据所述交互事件与多个目标交互事件的相关度提取至少一个目标交互事件对应的目标网页项目的步骤包括:Preferably, when the current user has multiple interaction events, the interaction event for the current user extracts a target webpage item corresponding to the at least one target interaction event according to the correlation between the interaction event and the plurality of target interaction events. The steps include:
针对各个目标交互事件,查找所述目标交互事件分别与多个交互事件的相关度;Searching for the relevance of the target interaction event to the plurality of interaction events for each target interaction event;
根据所述目标交互事件分别与各个交互事件的相关度,计算标识所述目标交互事件与多个交互事件的相关性的推荐度;Calculating a recommendation degree that identifies a correlation between the target interaction event and the plurality of interaction events according to the relevance of the target interaction event to each interaction event;
提取推荐度符合第二预设范围内的目标交互事件对应的网页项目作为目标网页项目。The webpage item corresponding to the target interaction event in the second preset range is extracted as the target webpage item.
优选地,所述网页项目包括交易对象、和/或视频、和/或音频、和/或电子读物。 Preferably, the web page item comprises a transaction object, and/or a video, and/or audio, and/or an electronic book.
本申请还公开了一种基于交互事件的网页项目推荐装置,包括:The application also discloses a webpage item recommendation device based on an interaction event, comprising:
相关度生成模块,用于根据多个用户针对网页项目的交互事件的交互信息,生成所述交互事件与所述交互事件中的目标交互事件的相关度;a correlation generation module, configured to generate, according to interaction information of interaction events of the plurality of users for the webpage item, a correlation degree between the interaction event and the target interaction event in the interaction event;
提取模块,用于针对当前用户的交互事件,根据所述交互事件与多个目标交互事件的相关度提取至少一个目标交互事件对应的目标网页项目;An extraction module, configured to extract, according to the interaction event of the current user, a target webpage item corresponding to the at least one target interaction event according to the correlation between the interaction event and the plurality of target interaction events;
推荐模块,用于将所述目标网页项目推荐给所述当前用户。a recommendation module for recommending the target webpage item to the current user.
优选地,所述相关度生成模块包括:Preferably, the correlation generation module includes:
兴趣度分值生成子模块,用于根据所述交互事件的事件属性生成所述交互事件的兴趣度分值;a score of interest generation sub-module, configured to generate an interest score of the interaction event according to an event attribute of the interaction event;
相关度计算子模块,用于根据所述交互事件的兴趣度分值计算所述交互事件与所述目标交互事件的相关度。The correlation calculation sub-module is configured to calculate a correlation between the interaction event and the target interaction event according to the interest degree score of the interaction event.
优选地,所述交互事件包括对网页项目的浏览事件、和/或收藏事件、和/或添加购物车事件、和/或购买事件,所述兴趣度分值生成子模块包括:Preferably, the interaction event comprises a browsing event for a webpage item, and/or a favorite event, and/or adding a shopping cart event, and/or a purchase event, the interest score generation sub-module comprising:
兴趣度分值M生成子单元,用于以所述浏览事件、所述收藏事件、所述添加购物车事件、所述购买事件中的交互事件执行次数N与预置参数的乘积作为则所述交互事件的兴趣度分值为M。a score of interest M to generate a subunit for using the product of the browsing event, the favorite event, the added shopping cart event, the number of interaction events N in the purchase event, and a preset parameter as The interest score of the interactive event is M.
优选地,所述相关度计算子模块包括:Preferably, the correlation calculation submodule comprises:
事件对组成子单元,用于将同一用户的交互事件与目标交互事件组成事件对,并计算所述事件对中的交互事件和目标交互事件的兴趣度分值的乘积;The event pair component unit is configured to form an event pair of the interaction event and the target interaction event of the same user, and calculate a product of the interaction event value of the event pair and the interest degree score of the target interaction event;
相关度计算子单元,用于根据多个用户的相同的事件对中的交互事件的兴趣度分值、目标交互事件的兴趣度分值、以及交互事件与目标交互事件的兴趣度分值的乘积,计算所述事件对中的交互事件与交目标交互事件的相关度。a correlation calculation sub-unit for multiplying the interest score of the interaction event in the same event pair of the plurality of users, the interest score of the target interaction event, and the interest score of the interaction event and the target interaction event And calculating a correlation between the interaction event in the event pair and the target interaction event.
优选地,所述相关度计算子单元具体用于:Preferably, the correlation calculation subunit is specifically configured to:
针对多个用户的相同的事件对,计算相同的事件对中的交互事件的兴趣度分值的平方之和、目标交互事件的兴趣度分值的平方之和、以及交互事件和目标交互事件的兴趣度分值的乘积之和,并相应形成所述事件对中的交互 事件与目标交互事件分别对应的多维向量值;The same event pair for multiple users, the sum of the squares of the interest scores of the interaction events in the same event pair, the sum of the squares of the interest scores of the target interaction events, and the interaction events and target interaction events The sum of the products of the interest scores and the corresponding interactions in the event pairs The multidimensional vector value corresponding to the event and target interaction events respectively;
计算所述多维向量值之间的余弦值并作为所述相关度。A cosine value between the multidimensional vector values is calculated and used as the correlation.
优选地,所述相关度计算子模块包括:Preferably, the correlation calculation submodule comprises:
兴趣度分值集合组成子单元,用于将同一用户的交互事件与目标交互事件组成事件对,并采用多个用户的相同的事件对中的交互事件与目标交互事件的兴趣度分值分别组成交互事件兴趣度分值集合与目标交互事件兴趣度分值集合;The interest score group constitutes a sub-unit, which is used to form an event pair of the same user's interaction event and the target interaction event, and respectively adopts the same event pair of the multiple user pairs and the interest degree score of the target interaction event respectively. An interactive event interest score set and a target interaction event interest score set;
杰卡德系数计算子单元,用于计算所述交互事件兴趣度分值集合与所述目标交互事件兴趣度分值集合的杰卡德系数并作为所述相关度。a Jaccard coefficient calculation subunit, configured to calculate and select the Jaccard coefficient of the interactivity event interest score set and the target interactivity interest score set.
优选地,当所述当前用户发生了一个交互事件时,所述提取模块包括:Preferably, when the current user has an interaction event, the extraction module includes:
第一相关度查找子模块,用于当捕捉到所述用户产生的一个交互事件,查找所述一个交互事件与多个目标交互事件的相关度;a first correlation finding submodule, configured to: when capturing an interaction event generated by the user, searching for a correlation between the one interaction event and multiple target interaction events;
第一提取子模块,用于提取相关度符合第一预设范围内的目标交互事件对应的网页项目作为目标网页项目。The first extraction sub-module is configured to extract a webpage item corresponding to the target interaction event in the first preset range as the target webpage item.
优选地,当所述当前用户发生了多个交互事件时,所述提取模块包括:Preferably, when the current user has multiple interaction events, the extraction module includes:
第二相关度查找子模块,用于针对各个目标交互事件,查找所述目标交互事件分别与多个交互事件的相关度;a second relevance search sub-module, configured to search for a correlation between the target interaction event and the multiple interaction events for each target interaction event;
推荐度计算子模块,用于根据所述目标交互事件分别与各个交互事件的相关度,计算标识所述目标交互事件与多个交互事件的相关性的推荐度;a recommendation calculation sub-module, configured to calculate a recommendation degree that identifies a correlation between the target interaction event and the plurality of interaction events according to the correlation between the target interaction event and each interaction event;
第二提取子模块,用于提取推荐度符合第二预设范围内的目标交互事件对应的网页项目作为目标网页项目。The second extraction sub-module is configured to extract, as the target webpage item, a webpage item corresponding to the target interaction event in the second preset range.
优选地,所述网页项目包括交易对象、和/或视频、和/或音频、和/或电子读物。Preferably, the web page item comprises a transaction object, and/or a video, and/or audio, and/or an electronic book.
本申请实施例包括以下优点:Embodiments of the present application include the following advantages:
本申请实施例基于用户对网页项目的交互事件进行相关度计算,避免了因为用户没有提供评价分而导致无法进行有效的网页项目推荐的问题;而且,采用针对网页项目的交互事件作为相关度计算的基础,可以客观、准确地将符合用户兴趣的网页项目推荐给用户;进一步,在相关 度计算中只计算目标交互事件与交互事件的相关度,减少了相关度计算中的数据量,节省了服务器的计算资源和存储资源。The embodiment of the present application calculates the relevance of the interaction event of the webpage item by the user, and avoids the problem that the effective webpage item recommendation cannot be performed because the user does not provide the evaluation score; and, the interaction event for the webpage item is used as the correlation calculation. Based on the basis, the website items that meet the user's interests can be objectively and accurately recommended to the user; further, relevant In the degree calculation, only the correlation between the target interaction event and the interaction event is calculated, the amount of data in the correlation calculation is reduced, and the computing resources and storage resources of the server are saved.
附图说明DRAWINGS
图1是本申请的一种基于交互事件的网页项目推荐方法实施例1的步骤流程图;1 is a flow chart of steps of Embodiment 1 of a webpage item recommendation method based on an interaction event according to the present application;
图2是本申请的一种基于交互事件的网页项目推荐方法实施例2的步骤流程图;2 is a flow chart of steps of Embodiment 2 of a webpage item recommendation method based on an interaction event according to the present application;
图3是本申请的一种基于交互事件的网页项目推荐装置实施例的结构框图;3 is a structural block diagram of an embodiment of a webpage item recommending apparatus based on an interactive event according to the present application;
图4是本申请实施例2利用Map Reduce计算目标交互事件与交互事件的相关度的流程图。4 is a flow chart of calculating correlation between a target interaction event and an interaction event by using Map Reduce in Embodiment 2 of the present application.
具体实施方式detailed description
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请作进一步详细的说明。The above described objects, features and advantages of the present application will become more apparent and understood.
参照图1,示出了本申请的一种基于交互事件的网页项目推荐方法实施例1的步骤流程图,具体可以包括如下步骤:Referring to FIG. 1 , a flow chart of a step 1 of a method for recommending a webpage item based on an interactive event according to the present application is shown, which may specifically include the following steps:
步骤101,根据多个用户针对网页项目的交互事件的交互信息,生成所述交互事件与所述交互事件中的目标交互事件的相关度。Step 101: Generate, according to interaction information of interaction events of the plurality of users for the webpage item, a correlation degree between the interaction event and the target interaction event in the interaction event.
需要说明的是,上述的网页项目可以包括网页中的各种交易对象、视频、音频或电子读物等。用户通过不同的网页项目可以获取到相应的资讯或服务。It should be noted that the above webpage items may include various transaction objects, videos, audio or electronic books in the webpage. Users can get the corresponding information or services through different webpage projects.
在实际应用场景中,用户会根据自己感兴趣的程度针对不同的网页项目产生不同的交互事件。例如,用户感兴趣于网页中的某个交易对象,会对该交易对象进行浏览的交互事件,可能经过多次的浏览后,用户对该交易对象的兴趣程度提升,并产生一个将交易对象收藏的交互事件、或者放置于网页提供的虚拟购物车的交互事件,最终用户对该交易对象相当有兴趣,甚至会 进行购买的交互事件。从上述的实际场景中可见,用户针对同一网页项目的不同交互事件可以反映出用户对该网页项目感兴趣的程度,因此,可以将网页项目与用户针对网页项目的交互行为结合在一起形成网页项目的交互事件。In the actual application scenario, the user will generate different interaction events for different webpage projects according to the degree of interest. For example, if a user is interested in a transaction object in a webpage, an interactive event that browses the transaction object may be, after multiple browsing, the user's interest in the transaction object is increased, and a transaction object is generated. The interactive event, or the interactive event placed in the virtual shopping cart provided by the webpage, the end user is quite interested in the transaction object, and may even The interactive event for the purchase. It can be seen from the actual scenario that the different interaction events of the user for the same webpage item can reflect the degree of interest of the user on the webpage item. Therefore, the webpage item can be combined with the interaction behavior of the user for the webpage item to form a webpage item. Interactive event.
同时,用户针对不同的网页项目的各个交互事件之间也会存在相关性。例如,同一用户对交易对象A进行了浏览的交互事件,对交易对象B进行了购买的交互事件,可以理解为,对交易对象A有一定兴趣并进行浏览的用户,也可能会对交易对象B产生相当强烈的兴趣,并最终进行了购买的交互事件。从该例子可以看出,网页项目的交互事件之间具有隐含的相关性,这种隐含的相关性可以反映出用户对不同的网页项目的兴趣程度是有关联的。At the same time, there is a correlation between the user's various interaction events for different webpage projects. For example, an interaction event in which the same user browses the transaction object A and an interaction event in which the transaction object B is purchased may be understood as a user who has a certain interest in the transaction object A and browses, and may also be the transaction object B. Generated a very strong interest and eventually made an interactive event for the purchase. As can be seen from this example, there is an implicit correlation between the interactive events of the web page project. This implicit correlation can reflect the user's interest in different web page items.
可以利用交互事件的交互信息将用户对网页项目的交互事件所反映出的感兴趣程度量化成具体的兴趣度分值M。上述的交互信息可以包括交互事件的交互事件类别、交互事件执行次数、交互事件发生时间和交互事件持续时间等之中的至少一种。例如,用户对网页项目A的浏览次数为3次,则网页项目A的浏览事件的兴趣度分值M为3。当然,本领域技术人员可以根据实际需要对不同的交互事件设置权重,以区分不同的交互事件的重要性。The degree of interest reflected by the user's interaction event of the webpage item can be quantified into a specific interest score M by using the interaction information of the interaction event. The interaction information described above may include at least one of an interaction event category of an interaction event, an interaction event execution count, an interaction event occurrence time, and an interaction event duration. For example, if the number of times the user views the webpage item A is three times, the interest score M of the browsing event of the webpage item A is three. Of course, those skilled in the art can set weights for different interaction events according to actual needs to distinguish the importance of different interaction events.
可以利用具体的兴趣度分值将交互事件之间的相关性量化成相关度。具体操作中,可以采用大量用户的相同的两个交互事件的兴趣度分值分别构成两个兴趣度分值的多维向量,利用余弦值公式计算两个多维向量之间的余弦值,该余弦值即为两个交互事件之间的相关度。Correlation between interaction events can be quantified to relevance using a specific interest score. In a specific operation, the interest degree scores of the same two interactive events of a large number of users may respectively form a multi-dimensional vector of two interest degree scores, and the cosine value between the two multi-dimensional vectors is calculated by the cosine value formula, the cosine value This is the correlation between two interactive events.
当然,本领域技术人员也可以根据实际需要采用其他方式计算交互事件之间的相关度,例如,如果某个用户曾经执行过某个交互事件,则兴趣度分值可以定义为1,如果没有执行过,则兴趣度分值可以定义为0,采用大量用户的相同的两个交互事件的兴趣度分值分别构成两个兴趣度分值的多维向量,并计算两个多维向量之间的杰卡德系数,该杰卡德系数即为两个交互事之间的相关度。Of course, those skilled in the art can also calculate the correlation between interaction events according to actual needs. For example, if a user has performed an interaction event, the interest score can be defined as 1, if not executed. However, the interest score can be defined as 0, and the interest scores of the same two interactive events of a large number of users respectively form a multi-dimensional vector of two interest scores, and calculate the Jacques between the two multi-dimensional vectors. The German coefficient, which is the correlation between two interactions.
然而,并非所有的交互事件之间的相关度都值得关注和计算,因为用户对网页项目的交互事件中,只有部分交互事件代表着用户对其有强烈的兴 趣,例如,购买的交互事件代表着用户对该网页项目的兴趣程度最为强烈,而浏览的交互事件可能只是用户简单地了解,浏览的网页项目并不符合用户的兴趣。网页项目推荐的目的是为了将最有可能引起用户兴趣、最符合用户兴趣的网页项目推荐给用户,因此,只需要关注交互事件中的目标交互事件,计算目标交互事件与其他交互事件的相关度即可。在具体的实现中,可以采用交互事件的交互信息,区分交互事件中的目标交互事件和非目标交互事件,计算目标交互事件与其他交互事件的相关度,从而得到网页项目的目标事件与另一网页项目的目标交互事件或非目标交互事件的相关度。作为本发明的优选示例,可以将计算出的相关度保存在数据库中。However, not all correlations between interaction events are worthy of attention and calculation, because only part of the interaction events in the user's interaction events with web projects represent strong user interest. Interestingly, for example, the purchased interactive event represents the user's most interest in the web project, and the interactive event may be simply that the user simply understands that the browsed web project does not meet the user's interest. The purpose of the webpage project recommendation is to recommend the webpage item that is most likely to cause user interest and is most in line with the user's interest. Therefore, it is only necessary to pay attention to the target interaction event in the interaction event, and calculate the correlation between the target interaction event and other interaction events. Just fine. In a specific implementation, the interaction information of the interaction event may be used, the target interaction event and the non-target interaction event in the interaction event are distinguished, and the correlation between the target interaction event and other interaction events is calculated, thereby obtaining the target event of the webpage project and another The relevance of the target interactive event or non-target interactive event of the web project. As a preferred example of the present invention, the calculated correlation can be saved in a database.
本领域技术人员可以根据实际需要采用交互事件中的一种或多种交互事件作为目标交互事件,本发明实施例对此不作限制。A person skilled in the art may use one or more interaction events in the interaction event as the target interaction event according to actual needs, which is not limited by the embodiment of the present invention.
步骤102,针对当前用户的交互事件,根据所述交互事件与多个目标交互事件的相关度提取至少一个目标交互事件对应的目标网页项目。Step 102: For the interaction event of the current user, extract the target webpage item corresponding to the at least one target interaction event according to the correlation between the interaction event and the multiple target interaction events.
步骤103,将所述目标网页项目推荐给所述当前用户。Step 103: Recommend the target webpage item to the current user.
在实际的应用中,当前用户对某个网页项目的交互事件,具有多个与其他网页项目的目标交互事件的相关度,可以将在预设范围内的一个或多个相关度的目标交互事件对应的目标网页项目提取并推荐给当前用户。In an actual application, the interaction event of the current user to a webpage item has multiple correlations with target interaction events of other webpage items, and may target one or more related target interaction events within a preset range. The corresponding landing page item is extracted and recommended to the current user.
相比起目前的基于用户对网页项目的评价分计算网页项目之间相关度的方法,本申请将网页项目与针对网页项目的交互行为结合在一起形成交互事件,基于交互事件进行相关度计算,避免了因为用户没有提供评价分而导致无法进行有效的网页项目推荐的问题;而且,采用针对网页项目的交互事件作为相关度计算的基础,可以客观、准确地将符合用户兴趣的网页项目推荐给用户;进一步,在相关度计算中只计算目标交互事件与交互事件的相关度,减少了相关度计算中的数据量,节省了服务器的计算资源和存储资源。Compared with the current method for calculating the correlation between webpage items based on the user's evaluation of the webpage item, the present application combines the webpage item with the interaction behavior for the webpage item to form an interaction event, and performs correlation calculation based on the interaction event. The problem that the effective webpage item recommendation cannot be performed because the user does not provide the evaluation score is avoided; and the interactive event for the webpage item is used as the basis of the correlation calculation, and the webpage item that meets the user interest can be objectively and accurately recommended to the webpage item. Further, in the correlation calculation, only the correlation between the target interaction event and the interaction event is calculated, the amount of data in the correlation calculation is reduced, and the computing resources and storage resources of the server are saved.
参照图2,示出了本申请的一种基于交互事件的网页项目推荐方法实施例2的步骤流程图,具体可以包括如下步骤:Referring to FIG. 2, a flow chart of the steps of the second embodiment of the webpage item recommendation method based on the interaction event is shown in the following.
步骤201,根据交互事件的事件属性生成所述交互事件的兴趣度分值。 Step 201: Generate an interest score of the interaction event according to an event attribute of the interaction event.
上述的事件属性可以包括交互事件的交互事件执行次数、交互事件发生时间和交互事件持续时间等之中的至少一种。根据交互事件的各种事件属性,可以生成交互事件的一个具体的兴趣度分值。在实际应用中,当用户不存在某个交互事件,则用户的该交互事件的兴趣度分值可以为0。The event attribute described above may include at least one of an interaction event execution number of an interaction event, an interaction event occurrence time, and an interaction event duration. A specific interest score for the interaction event can be generated based on various event attributes of the interaction event. In an actual application, when the user does not have an interaction event, the interest score of the interaction event of the user may be 0.
作为本发明实施例的优选示例,所述交互事件包括对网页项目的浏览事件、和/或收藏事件、和/或添加购物车事件、和/或购买事件,所述步骤201可以包括以下子步骤:As a preferred example of an embodiment of the present invention, the interaction event includes a browsing event for a webpage item, and/or a favorite event, and/or adding a shopping cart event, and/or a purchase event, the step 201 may include the following sub-steps :
子步骤S11,以所述浏览事件、所述收藏事件、所述添加购物车事件、所述购买事件中的交互事件执行次数N与预置参数的乘积作为则所述交互事件的兴趣度分值为M。Sub-step S11, the product of the browsing event, the favorite event, the added shopping cart event, the number of interaction events N in the purchase event, and the preset parameter is used as the interest score of the interaction event. For M.
用户对网页项目的交互事件通常包括浏览、收藏、添加购物车、购买等交互事件。一方面,用户对某个交互事件的执行次数通常反映出对网页项目的兴趣程度。另一方面,不同的交互事件也具有不同的重要程度,例如购买事件是最为重要的事件,添加购物车次之,浏览则是比较平常的事件,针对事件的重要程度赋予预置参数作为事件的权重,可以使得兴趣度分值更合理地反映用户对网页项目的兴趣程度。User interaction events for webpage items typically include interactive events such as browsing, collecting, adding shopping carts, purchasing, and the like. On the one hand, the number of times a user performs an interaction event typically reflects the level of interest in the web project. On the other hand, different interaction events also have different importance levels. For example, the purchase event is the most important event. Adding a shopping cart is the second, and browsing is a relatively common event. The importance of the event is given as a preset parameter as the weight of the event. The interest score can be made to more reasonably reflect the user's interest in the web project.
步骤202,根据所述交互事件的兴趣度分值计算所述交互事件与所述目标交互事件的相关度。Step 202: Calculate a correlation between the interaction event and the target interaction event according to the interest degree score of the interaction event.
作为本发明实施例的优选示例一,所述步骤202可以包括以下子步骤:As a preferred example 1 of the embodiment of the present invention, the step 202 may include the following sub-steps:
子步骤S21,将同一用户的交互事件与目标交互事件组成事件对,并计算所述事件对中的交互事件和目标交互事件的兴趣度分值的乘积。Sub-step S21, the interaction event of the same user and the target interaction event are combined into an event pair, and the product of the interaction event of the event pair and the interest score of the target interaction event is calculated.
可以将同一用户的交互事件与目标交互事件组成事件对,将事件对中的交互事件的兴趣度分值与目标交互事件的兴趣度分值相乘。当不存在目标交互事件时,即目标交互事件的兴趣度分值为0,则相乘的结果也为0。因为只需要关注目标交互事件与交互事件的相关度,当不存在目标交互事件时,该事件对为0的相乘结果可以节省后续的相关度计算。The interaction event of the same user and the target interaction event may be combined into an event pair, and the interest score of the interaction event in the event pair is multiplied by the interest score of the target interaction event. When there is no target interaction event, that is, the interest degree score of the target interaction event is 0, the result of the multiplication is also 0. Because only the degree of relevance of the target interaction event and the interaction event needs to be concerned, when there is no target interaction event, the multiplication result of the event pair 0 can save subsequent correlation calculation.
子步骤S22,根据多个用户的相同的事件对中的交互事件的兴趣度分值、目标交互事件的兴趣度分值、以及交互事件与目标交互事件的兴趣度分值的 乘积,计算所述事件对中的交互事件与目标交互事件的相关度。Sub-step S22, according to the interest score of the interaction event in the same event pair of the plurality of users, the interest score of the target interaction event, and the interest score of the interaction event and the target interaction event The product is used to calculate the correlation between the interaction event in the event pair and the target interaction event.
交互事件与目标交互事件的相关度,可以是两者兴趣度分值的余弦值,也可以是两者兴趣度分值的杰卡德系数。本领域技术人员可以根据情况采用任何的可以计算交互事件与目标交互事件的兴趣度分值之间的相似程度的算法计算相关度。The correlation between the interaction event and the target interaction event may be a cosine value of the interest scores of the two, or a JCD coefficient of the interest scores of the two. A person skilled in the art can calculate the correlation by using any algorithm that can calculate the degree of similarity between the interaction event and the interest score of the target interaction event, as the case may be.
作为本发明实施例的优选示例,所述子步骤S22可以具体包括:As a preferred example of the embodiment of the present invention, the sub-step S22 may specifically include:
子步骤S22-1,针对多个用户的相同的事件对,计算相同的事件对中的交互事件的兴趣度分值的平方之和、目标交互事件的兴趣度分值的平方之和、以及交互事件和目标交互事件的兴趣度分值的乘积之和,并相应形成所述事件对中的交互事件与目标交互事件分别对应的多维向量值;Sub-step S22-1, calculating the sum of the squares of the interest scores of the interactive events in the same event pair, the sum of the squares of the interest scores of the target interaction events, and the interaction for the same event pair of the plurality of users The sum of the products of the interest scores of the event and the target interaction event, and correspondingly forming a multi-dimensional vector value corresponding to the interaction event and the target interaction event in the event pair respectively;
子步骤S22-2,计算所述多维向量值之间的余弦值并作为所述相关度。Sub-step S22-2, calculating a cosine value between the multi-dimensional vector values as the correlation.
针对多个用户的相同的事件对,多个对同一个目标交互事件的兴趣度分值,和多个对同一个交互事件的兴趣度分值,形成目标交互事件和交互事件分别对应的多维向量值,采用余弦值公式计算多维向量值之间的余弦值,以此余弦值作为该事件对中目标交互事件与交互事件的相关度。The same event pair for multiple users, multiple interest scores for the same target interaction event, and multiple interest scores for the same interaction event, forming a multi-dimensional vector corresponding to the target interaction event and the interaction event respectively Value, the cosine value formula is used to calculate the cosine between the multi-dimensional vector values, and the cosine value is used as the correlation between the target interaction event and the interaction event in the event pair.
实际应用中,可以利用Map Reduce结合余弦度公式进行相关度的计算。参照图4的利用Map Reduce计算目标交互事件与交互事件的相关度的流程图,通过5个Map Reduce过程实现相关度的计算。In practical applications, Map Reduce can be used to calculate the correlation degree in combination with the cosine degree formula. Referring to the flowchart of calculating the correlation between the target interaction event and the interaction event by using Map Reduce, the correlation calculation is implemented by five Map Reduce processes.
余弦值公式可以为:
Figure PCTCN2016096583-appb-000001
其中,Sij为目标交互事件与交互事件的相关度。
The cosine value formula can be:
Figure PCTCN2016096583-appb-000001
Among them, S ij is the correlation between the target interaction event and the interaction event.
Map Reduce 1,收集同一个用户的所有交互事件,将交互事件与目标交互事件形成事件对,计算事件对中交互事件与目标交互事件的兴趣度分值的乘积。其中,<ei、ej>为交互事件与目标交互事件形成的事件对;rui为交互 事件的兴趣度分值;ruj为目标交互事件的兴趣度分值。 Map Reduce 1, collect all the interactive events of the same user, form an event pair with the target interaction event, and calculate the product of the interest score of the event pair and the target interaction event. Where <e i , e j > is the event pair formed by the interaction event and the target interaction event; r ui is the interest degree score of the interaction event; r uj is the interest degree score of the target interaction event.
Map Reduce 2,计算多个用户相同的事件对中目标交互事件与交互事件的兴趣度分值的乘积之和。其中,
Figure PCTCN2016096583-appb-000002
为多个用户相同的事件对中目标交互事件与交互事件的兴趣度分值的乘积之和。
Map Reduce 2, which calculates the sum of the product of the target interaction event and the interest score of the interaction event for the same event pair of multiple users. among them,
Figure PCTCN2016096583-appb-000002
The sum of the product of the target interaction event and the interest score of the interaction event for the same event pair of multiple users.
Map Reduce 3,计算多个用户相同的事件对中交互事件的兴趣度分值的平方和。其中,
Figure PCTCN2016096583-appb-000003
为多个用户相同的事件对中交互事件的兴趣度分值平方之和。
Map Reduce 3, which calculates the sum of the squares of the interest scores of the interactive events in the same event pair for multiple users. among them,
Figure PCTCN2016096583-appb-000003
The sum of the squares of interest scores for the interaction events of the same event pair for multiple users.
Map Reduce 4,计算不同用户相同的事件对中目标交互事件的兴趣度分值的平方和。其中,
Figure PCTCN2016096583-appb-000004
为多个用户相同的事件对中目标交互事件的兴趣度分值平方之和。
Map Reduce 4, which calculates the sum of the squares of the interest scores of the target interaction events for the same event pairs of different users. among them,
Figure PCTCN2016096583-appb-000004
The sum of the squares of interest scores for the target interaction events for the same event pair for multiple users.
Map Reduce 5,计算多个用户相同的事件对中目标交互事件与交互事件的兴趣度分值的余弦值。其中,
Figure PCTCN2016096583-appb-000005
为不同的用户相同的事件对中交互事件的兴趣度分值平方之和的开方;
Figure PCTCN2016096583-appb-000006
为不同的用户相同的事件对中目标交互事件的兴趣度分值平方之和的开方。
Map Reduce 5, which calculates the cosine of the interest scores of the target interaction events and interaction events for the same event pairs of multiple users. among them,
Figure PCTCN2016096583-appb-000005
The opening of the sum of the squares of the interest scores of the interactive events for the same event pairs of different users;
Figure PCTCN2016096583-appb-000006
The square root of the sum of the squares of the interest scores of the target interaction events for the same event pairs of different users.
作为本发明实施例的优选示例二,所述步骤202可以包括以下子步骤:As a preferred example 2 of the embodiment of the present invention, the step 202 may include the following sub-steps:
子步骤S31,将同一用户的交互事件与目标交互事件组成事件对,并采用多个用户的相同的事件对中的交互事件与目标交互事件的兴趣度分值分别组成交互事件兴趣度分值集合与目标交互事件兴趣度分值集合。Sub-step S31, the interaction event and the target interaction event of the same user are combined into an event pair, and the interest event scores of the interaction event and the target interaction event of the same event pair of the multiple users are respectively composed of the interaction event interest degree score set. Interacting with the target event scores.
子步骤S32,计算所述交互事件兴趣度分值集合与所述目标交互事件兴趣度分值集合的杰卡德系数并作为所述相关度。Sub-step S32, calculating, as the correlation degree, the Jaccard coefficient of the interaction event interest score set and the target interaction event interest score set.
在实际的应用中,当用户对网页项目没有产生某个交互事件,则该交互 事件的兴趣度分值可以为0,如果存在某个交互事件,则该交互事件的兴趣度分值可以为1。利用多个用户相同的事件对中交互事件与目标交互事件为1或0的兴趣度分值,可以构成分别对应于交互事件与目标交互事件的所有维度为1或0的多维向量值,计算维度均为1或0的两个多维向量值之间的杰卡德系数,并将计算得出的杰卡德系数作为交互事件与目标交互事件的相关度。利用杰卡德系数计算相关度适用于计算只需要关注存在与否两种状态的交互事件之间的相关度。In an actual application, when a user does not generate an interaction event for a webpage item, the interaction The interest score of the event may be 0. If there is an interaction event, the interest score of the interaction event may be 1. The multi-dimensional vector value of all the dimensions corresponding to the interaction event and the target interaction event is 1 or 0, and the calculation dimension is calculated by using the same interest event of the plurality of users and the interest score of the target interaction event and the target interaction event is 1 or 0. The Jaccard coefficients between two multi-dimensional vector values of 1 or 0, and the calculated JCD coefficient is used as the correlation between the interaction event and the target interaction event. Calculating the correlation using the Jaccard coefficient is suitable for calculating the correlation between interaction events that only need to pay attention to the existence or not.
步骤203,针对当前用户的交互事件,根据所述交互事件与多个目标交互事件的相关度提取至少一个目标交互事件对应的目标网页项目。Step 203: For the interaction event of the current user, extract the target webpage item corresponding to the at least one target interaction event according to the correlation between the interaction event and the plurality of target interaction events.
用户可能会对网页中的网页项目产生一个或多个交互事件,根据用户产生的交互事件,可以将与该交互事件相关的目标交互事件对应的目标网页项目提取。实际应用中,可能会出现相关的目标交互事件的数量较大,而且部分目标交互事件与用户产生的交互事件的相关度较低,因此并不需要悉数提取目标交互事件对应的网页项目,可以将目标交互事件按照与交互事件的相关度的大小进行排序,提取排序靠前的目标交互事件对应的网页项目,也可以预设一个相关度的范围,将相关度符合该范围的的目标交互事件对应的网页项目提取。本领域技术人员也可以采用其他方式提取目标网页项目,例如,通过计算目标交互事件的推荐度,当推荐度符合预设范围时,将该目标交互事件对应的网页项目作为目标网页项目推荐给用户。The user may generate one or more interaction events for the webpage items in the webpage, and according to the interaction events generated by the user, the target webpage items corresponding to the target interaction events related to the interaction events may be extracted. In actual applications, there may be a large number of related target interaction events, and some of the target interaction events are less correlated with user-generated interaction events, so it is not necessary to extract the webpage items corresponding to the target interaction events in full. The target interaction event is sorted according to the degree of relevance of the interaction event, and the webpage item corresponding to the previous target interaction event is extracted, and a range of relevance degrees may be preset, and the target interaction event corresponding to the range is matched. Web page item extraction. A person skilled in the art may also extract the target webpage item by using other methods, for example, by calculating the recommendation degree of the target interactive event, and recommending the webpage item corresponding to the target interactive event as the target webpage item to the user when the recommendation degree meets the preset range. .
作为本发明实施例的优选示例一,当所述当前用户发生了一个交互事件时,所述步骤203可以包括以下子步骤:As a preferred example 1 of the embodiment of the present invention, when an interaction event occurs in the current user, the step 203 may include the following sub-steps:
子步骤S41,当捕捉到所述用户产生的一个交互事件,查找所述一个交互事件与多个目标交互事件的相关度。Sub-step S41, when an interaction event generated by the user is captured, the correlation between the one interaction event and the multiple target interaction events is searched for.
子步骤S42,提取相关度符合第一预设范围内的目标交互事件对应的网页项目作为目标网页项目。Sub-step S42, extracting a webpage item corresponding to the target interaction event in the first preset range as the target webpage item.
当捕捉到用户对某个网页项目产生了交互事件,具有多个与其他网页项目的目标交互事件的相关度,可以将在预设范围内的一个或多个相关度的目标交互事件对应的目标网页项目提取,以便于后续的网页项目推荐。通过预 设范围可以有针对性地推荐相关度较高的目标交互事件对应的网页项目。When it is captured that the user generates an interaction event for a webpage item, and has a plurality of correlations with the target interaction events of other webpage items, the target corresponding to the one or more relevance target interaction events within the preset range may be Web page item extraction for subsequent web page project recommendation. Pass pre The scope can be targeted to recommend a webpage item corresponding to a highly relevant target interaction event.
预设范围可以由本领域技术人员根据实际情况进行设置,例如可以可供提取的目标交互事件对应的网页项目的数量调整预设范围,当可供提取的目标交互事件对应的网页项目的数量过少,可以降低预设范围的下限,保证有足够的网页项目可以推荐给当前用户。The preset range can be set by a person skilled in the art according to actual conditions. For example, the preset range can be adjusted for the number of webpage items corresponding to the extracted target interaction event, and the number of webpage items corresponding to the target interactive event that can be extracted is too small. , you can lower the lower limit of the preset range to ensure that there are enough webpage items to recommend to the current user.
实际应用中,可以预先利用分布式文件系统(Hadoop Distributed File System,Hadoop)大型集群计算交互事件与目标交互事件的相关度,当捕捉到用户针对某个网页项目产生了一个交互事件,可以在数据库中查找与该交互事件相关的目标交互事件及其相关度,提取相关度符合预设范围的目标交互事件对应的目标网页项目。In practical applications, a large cluster of distributed file systems (Hadoop Distributed File System, Hadoop) can be used in advance to calculate the correlation between interaction events and target interaction events. When the user is captured for a web page project, an interaction event can be generated in the database. Searching for the target interaction event related to the interaction event and its relevance, and extracting the target webpage item corresponding to the target interaction event whose relevance is in accordance with the preset scope.
作为本发明实施例的优选示例二,当所述当前用户发生了多个交互事件时,所述步骤203可以包括以下子步骤:As a preferred example 2 of the embodiment of the present invention, when multiple interaction events occur in the current user, the step 203 may include the following sub-steps:
子步骤S51,针对各个目标交互事件,查找所述目标交互事件分别与多个交互事件的相关度。Sub-step S51, searching for the relevance of the target interaction event and the plurality of interaction events for each target interaction event.
子步骤S52,根据所述目标交互事件分别与各个交互事件的相关度,计算标识所述目标交互事件与多个交互事件的相关性的推荐度。Sub-step S52, calculating a recommendation degree that identifies a correlation between the target interaction event and the plurality of interaction events according to the relevance of the target interaction event to each interaction event.
子步骤S53,提取推荐度符合第二预设范围内的目标交互事件对应的网页项目作为目标网页项目。Sub-step S53, extracting a webpage item corresponding to the target interaction event in the second preset range as the target webpage item.
实际应用中,用户可能会产生多个交互事件,该多个交互事件可能与同一个目标交互事件存在相关性,采用多个交互事件的兴趣度分值,以及多个交互事件与上述的目标交互事件的相关度,可以计算出该目标交互事件的推荐度,当推荐度符合预设的范围,可以将该目标交互事件对应的网页项目作为目标网页项目。通过采用相关度作为权重计算目标交互事件的推荐度,以推荐度作为网页项目推荐的基础,推荐给用户的网页项目更符合用户的兴趣。In practical applications, a user may generate multiple interaction events, which may be related to the same target interaction event, use interest scores of multiple interaction events, and interact with multiple interaction events. The relevance of the event can be used to calculate the recommendation degree of the target interaction event. When the recommendation degree meets the preset range, the webpage item corresponding to the target interaction event can be used as the target webpage item. By using the relevance as the weight to calculate the recommendation degree of the target interaction event, and using the recommendation degree as the basis of the recommendation of the webpage item, the webpage item recommended to the user is more in line with the user's interest.
步骤204,将所述目标网页项目推荐给所述当前用户。Step 204: Recommend the target webpage item to the current user.
上述的网页项目可以包括交易对象、和/或视频、和/或音频、和/或电子读物。 The web page items described above may include transaction objects, and/or video, and/or audio, and/or electronic books.
本申请实施例通过根据交互事件的事件属性生成交互事件的兴趣度分值,可以将用户对网页项目的兴趣程度客观地量化成兴趣度分值,基于兴趣度分值进行网页项目推荐,所推荐的网页项目更符合用户的兴趣。In the embodiment of the present application, the interest degree score of the interaction event is generated according to the event attribute of the interaction event, and the user's interest level of the webpage item can be objectively quantized into the interest degree score, and the webpage item recommendation is performed based on the interest degree score. The webpage project is more in line with the user's interest.
而且,将相关度在预设范围内的目标交互事件对应的目标网页项目推荐给用户,提升了网页项目推荐的灵活性。Moreover, the target webpage item corresponding to the target interaction event whose relevance is within the preset range is recommended to the user, which improves the flexibility of the webpage item recommendation.
为使本领域技术人员更好地理解本申请,以下通过一个具体的例子说明本申请中根据多个用户针对网页项目的交互事件的交互信息,生成交互事件与所述交互事件中的目标交互事件的相关度的方法:In order to enable a person skilled in the art to better understand the present application, the following describes, by way of a specific example, the interactive event in the present application according to the interaction information of the interaction events of the plurality of users for the webpage item, and the interaction event and the target interaction event in the interaction event. The method of relevance:
在一个具有三个用户A、B和C对两个网页项目x和y的应用场景中,针对网页项目x和网页项目y的浏览事件、收藏事件、放置购物车事件、购物事件分别为E1、E2、E3、E4、E5、E6、E7和E8。在这个例子中,将购物作为目标交互事件,因此E4和E8为该例子中的目标交互事件。In a three users A, B and C on page two scenarios project x and y, browse event for the web project x and y of web projects, collection events, placing shopping cart events, shopping events were E 1 , E 2 , E 3 , E 4 , E 5 , E 6 , E 7 and E 8 . In this example, the interactive shopping as a target event, so E 4 and E 8 for examples of target interaction events.
可以浏览事件、收藏事件、添加购物车事件、购买事件中的交互事件执行次数N与预置参数的乘积作为则所述交互事件的兴趣度分值为M。The product of the event, the favorite event, the add shopping cart event, the number of interaction events N in the purchase event, and the preset parameter may be browsed as the interest score of the interaction event is M.
用户A、B和C针对网页项目x和y的浏览事件、收藏事件、放置购物车事件、购物事件等交互事件的执行次数E分别为EAx 浏览=3,EAx 收藏=2,EAx 放置购物车=1,EAx 购物=2,EAy 浏览=2,EAy 收藏=1,EAy 放置购物车=1,EAy 购物=0,EBx 浏览=5,EBx 收藏=1,EBx 放置购物车=1,EBx 购物=1,EBy 浏览=2,EBy 收藏=2,EBy 放置购物车=2,EBy 购物=1,ECx 浏览=2,ECx 收藏=1,ECx 放置购物车=1,ECx 购物=1,ECy 浏览=3,ECy 收藏=2,ECy 放置购物车=1和ECy 购物=1。The number of executions of user A, B, and C for interactive events such as browsing events, favorite events, shopping cart events, shopping events, etc. for webpage items x and y are E Ax Browse = 3, E Ax Collection = 2, E Ax placed Shopping Cart =1, E Ax Shopping =2, E Ay Browse =2, E Ay Collection =1, E Ay Place Shopping Cart =1, E Ay Shopping =0, E Bx Browse =5, E Bx Favorites =1, E Bx Place Shopping Cart =1, E Bx Shopping =1, E By Browse =2,E By Favorites =2,E By Place Shopping Cart =2,E By Shopping =1,E Cx Browse =2,E Cx Favorites =1 , E Cx Place Shopping Cart =1, E Cx Shopping =1, E Cy Browse =3, E Cy Collection =2, E Cy Place Shopping Cart =1 and E Cy Shopping =1.
浏览事件、收藏事件、放置购物车事件、购物事件的预置参数分别为1、2、3、4,以交互事件的执行次数与交互事件的预置参数的乘积作为该交互事件的兴趣度分值,从而得到的各个交互事件的兴趣度分值如下表所示:The preset parameters of the browsing event, the favorite event, the shopping cart event, and the shopping event are 1, 2, 3, and 4, respectively, and the product of the number of executions of the interactive event and the preset parameter of the interactive event is used as the interest score of the interactive event. The values, and thus the scores of interest for each interaction event are shown in the following table:
Figure PCTCN2016096583-appb-000007
Figure PCTCN2016096583-appb-000007
Figure PCTCN2016096583-appb-000008
Figure PCTCN2016096583-appb-000008
将同一用户的交互事件与目标交互事件组成事件对,并计算所述事件对中的交互事件和目标交互事件的兴趣度分值的乘积。为了简便描述,现只需要计算E4和E5、E2和E8、E1和E4的相关度,可以利用余弦度公式计算S14、S54和S28,其中,具体计算过程如下:The interaction event of the same user and the target interaction event are combined into an event pair, and the product of the interaction event of the event pair and the interest score of the target interaction event is calculated. For the sake of simplicity, it is only necessary to calculate the correlation between E 4 and E 5 , E 2 and E 8 , E 1 and E 4 , and S 14 , S 54 and S 28 can be calculated using the cosine formula, wherein the specific calculation process is as follows :
将用户A的交互事件E5和目标交互事件E4组成事件对<E5、E4>,事件对<E5、E4>中,E5和E4的兴趣度分值的乘积为rA5*rA4=2*8=16。同样的计算方法可以得到用户A的事件对<E2、E8>中,E2和E8的兴趣度分值的乘积为rA2*rA8=4*0=0;也得到用户A的事件对<E1、E4>中,E1和E4的兴趣度分值的乘积为rA1*rA4=3*8=24。User A's interaction event E 5 and target interaction event E 4 are composed of event pairs <E 5 , E 4 >, and event pairs <E 5 , E 4 >, and the product of interest scores of E 5 and E 4 is r A5 *r A4 = 2*8=16. The same calculation method can obtain the user A's event pair <E 2 , E 8 >, the product of the E 2 and E 8 interest scores is r A2 * r A8 = 4 * 0 = 0; also get user A's In the event pair <E 1 , E 4 >, the product of the interest scores of E 1 and E 4 is r A1 *r A4 =3*8=24.
按照上述方法,可以得到用户B的事件对<E5、E4>、事件对<E2、E8>和事件对<E1、E4>中,E5和E4的兴趣度分值的乘积为8,E2和E8的兴趣度分值的乘积为8,E1和E4的兴趣度分值的乘积为20。According to the above method, the interest scores of user B's event pairs <E 5 , E 4 >, event pairs <E 2 , E 8 >, and event pairs <E 1 , E 4 >, E 5 and E 4 can be obtained . The product of the product is 8, the product of the interest scores of E 2 and E 8 is 8, and the product of the interest scores of E 1 and E 4 is 20.
按照上述方法,可以得到用户C的事件对<E5、E4>、事件对<E2、E8>和事件对<E1、E4>中,E4和E5的兴趣度分值的乘积为12,E2和E8的兴趣度分值的乘积为8,E1和E4的兴趣度分值的乘积为8。According to the above method, the interest scores of the user C events <E 5 , E 4 >, the event pairs <E 2 , E 8 >, and the event pairs <E 1 , E 4 >, E 4 and E 5 can be obtained . The product of the product is 12, the product of the interest scores of E 2 and E 8 is 8, and the product of the interest scores of E 1 and E 4 is 8.
其中,用户A的事件对<E2、E8>中,网页项目y的购买事件执行次数为0,即没有发生过该交互事件,购买事件的兴趣度分值为0,因此乘积也为0,可以将该数据在计算时剔除,节省数据量和计算量。Wherein, in the event pair <E 2 , E 8 > of the user A, the number of executions of the purchase event of the webpage item y is 0, that is, the interaction event has not occurred, and the interest score of the purchase event is 0, so the product is also 0. , the data can be eliminated during calculation, saving data and calculation.
计算多个用户的相同的事件对中交互事件和目标交互事件的兴趣度分值的乘积之和。The sum of the products of the same event pair of the plurality of users and the interest score of the target interaction event is calculated.
Figure PCTCN2016096583-appb-000009
Figure PCTCN2016096583-appb-000009
Figure PCTCN2016096583-appb-000010
Figure PCTCN2016096583-appb-000010
Figure PCTCN2016096583-appb-000011
Figure PCTCN2016096583-appb-000011
计算多个用户的相同的事件对中的交互事件的兴趣度分值的平方之和。Calculates the sum of the squares of the interest scores of the interaction events in the same event pair for multiple users.
Figure PCTCN2016096583-appb-000012
Figure PCTCN2016096583-appb-000012
Figure PCTCN2016096583-appb-000013
Figure PCTCN2016096583-appb-000013
Figure PCTCN2016096583-appb-000014
Figure PCTCN2016096583-appb-000014
计算多个用户的相同的事件对中的目标交互事件的兴趣度分值的平方之和。Calculates the sum of the squares of the interest scores of the target interaction events in the same event pair for multiple users.
Figure PCTCN2016096583-appb-000015
Figure PCTCN2016096583-appb-000015
Figure PCTCN2016096583-appb-000016
Figure PCTCN2016096583-appb-000016
计算多个用户的相同的事件对中的目标交互事件与交互事件之间的相关度。Calculate the correlation between target interaction events and interaction events in the same event pair of multiple users.
Figure PCTCN2016096583-appb-000017
Figure PCTCN2016096583-appb-000017
Figure PCTCN2016096583-appb-000018
Figure PCTCN2016096583-appb-000018
Figure PCTCN2016096583-appb-000019
Figure PCTCN2016096583-appb-000019
从而可以得到事件对<E5、E4>中交互事件E5和目标交互事件E4的相关度约为0.88,事件对<E2、E8>中交互事件E2和目标交互事件E8的相关度约为0.58,事件对<E1、E4>中交互事件E1和目标交互事件E4的相关度约为0.86。 Events can be obtained <E 5, E 4> interactivity events in E. 5 and target affinity interaction events E 4 is approximately 0.88, in the event of <E 2, E 8> interactivity events certain interactivity events of E 2 and E 8 the correlation is about 0.58, events <E 1, E 4> in the interactive event E 1 and E target interaction event correlation 4 is about 0.86.
实际应用中,存在一种情况是用户只发生了一个交互事件,针对这种情况,当捕捉到用户产生的一个交互事件,查找这一个交互事件与多个目标交互事件的相关度,提取相关度符合第一预设范围内的目标交互事件对应的网页项目作为目标网页项目。In actual application, there is a situation in which the user only has one interaction event. In this case, when an interaction event generated by the user is captured, the correlation between the interaction event and the multiple target interaction events is searched, and the correlation degree is extracted. A webpage item corresponding to the target interaction event within the first preset range is used as the target webpage item.
例如,当用户D针对网页项目y进行了收藏事件E5,查找到E4与E5存在相关度S54,而且S54=0.88,属于预设的Sij∈[0.8,1]的相关度范围内,提取E4对应网页项目x,并推荐给当前用户。For example, when the user D performs the favorite event E 5 for the webpage item y, it finds that there is a correlation S 54 between E 4 and E 5 , and S 54 =0.88, which belongs to the preset relevance of S ij ∈[0.8,1]. Within the scope, the E 4 corresponding web page item x is extracted and recommended to the current user.
当用户E针对网页项目x进行了收藏事件E2,查找到E8与E2存在相关度S28,但S28=0.58,不属于预设的Sij∈[0.8,1]的相关度范围内,可以不将E8对应的网页项目y推荐给当前用户。When user E performs the favorite event E 2 for the webpage item x, it finds that there is a correlation S 28 between E 8 and E 2 , but S 28 =0.58, which does not belong to the correlation range of the preset S ij ∈[0.8,1]. The web page item y corresponding to E 8 may not be recommended to the current user.
另一种情况是当前用户发生了多个交互事件时,可以针对各个目标交互事件,查找所述目标交互事件分别与多个交互事件的相关度;根据所述目标交互事件分别与各个交互事件的相关度,计算标识所述目标交互事件与多个交互事件的相关性的推荐度;提取推荐度符合第二预设范围内的目标交互事件对应的网页项目作为目标网页项目。In another case, when a plurality of interaction events occur in the current user, the correlation between the target interaction events and the multiple interaction events may be searched for each target interaction event; and the target interaction events are respectively associated with the respective interaction events. Correlation degree, a recommendation degree that identifies a correlation between the target interaction event and the plurality of interaction events is calculated; and the webpage item corresponding to the target interaction event in the second preset range is extracted as the target webpage item.
例如,用户D针对网页项目x进行了1次的浏览事件E1,对网页项目y进行了1次的浏览事件E5;查找到E1与E4存在相关度S14,而且S14=0.86,查找到E5与E4存在相关度S54,而且S54=0.88,则给用户D推荐网页项目x(交互事件E4对应的网页项目)的推荐度为1*0.86+1*0.88=1.74,属于预设的Ruj∈[0.8,+∞]的推荐度范围内,所以将网页项目x作为目标网页项目推荐给当前用户。For example, a user D performed for the web project x 1 time browsing event E 1, on page item y was once viewing the event E 5; find E 1 and E 4 correlation of S 14, and S 14 = 0.86 When it is found that there is a correlation degree S 54 between E 5 and E 4 , and S 54 =0.88, the recommendation degree of the web page item x (the webpage item corresponding to the interaction event E 4 ) is recommended to the user D as 1*0.86+1*0.88= 1.74, which falls within the recommended range of the preset R uj ∈[0.8,+∞], so the webpage item x is recommended as the target webpage item to the current user.
除了设定推荐度阈值的方式外,也可以按推荐度的排序进行推荐,例如,当可以推荐给用户D的目标交互事件有10个,可以按照推荐度由高到低的排序,将排序前3个的目标交互事件对应的网页项目作为目标网页项目推荐给用户D。In addition to the manner of setting the recommendation threshold, the recommendation may also be performed according to the order of recommendation. For example, when there are 10 target interaction events that can be recommended to the user D, the ranking may be ranked according to the recommendation degree from high to low. The webpage items corresponding to the three target interaction events are recommended to the user D as the target webpage item.
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请实施例并不受所描述的动作顺序的限制,因为依据本申请实施例,某些步骤可以采用其他顺序或 者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本申请实施例所必须的。It should be noted that, for the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the embodiments of the present application are not limited by the described action sequence, because According to embodiments of the present application, certain steps may be in other orders or At the same time. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required in the embodiments of the present application.
参照图3,示出了本申请的一种基于交互事件的网页项目推荐装置实施例的结构框图,具体可以包括如下模块:Referring to FIG. 3, a structural block diagram of an embodiment of an interactive event-based webpage item recommendation apparatus of the present application is shown, which may specifically include the following modules:
相关度生成模块301,用于根据多个用户针对网页项目的交互事件的交互信息,生成所述交互事件与所述交互事件中的目标交互事件的相关度。The relevance generation module 301 is configured to generate, according to the interaction information of the interaction events of the plurality of users for the webpage item, the correlation between the interaction event and the target interaction event in the interaction event.
作为本发明实施例的优选示例,所述相关度生成模块401可以包括以下子模块:As a preferred example of the embodiment of the present invention, the relevance generation module 401 may include the following sub-modules:
兴趣度分值生成子模块,用于根据所述交互事件的事件属性生成所述交互事件的兴趣度分值。The interest score generation sub-module is configured to generate an interest score of the interaction event according to an event attribute of the interaction event.
作为本发明实施例的优选示例,所述交互事件包括对网页项目的浏览事件、和/或收藏事件、和/或添加购物车事件、和/或购买事件,所述兴趣度分值生成子模块可以包括以下子单元:As a preferred example of an embodiment of the present invention, the interaction event includes a browsing event for a webpage item, and/or a favorite event, and/or adding a shopping cart event, and/or a purchase event, the interest score generation sub-module Can include the following subunits:
兴趣度分值M生成子单元,用于以所述浏览事件、所述收藏事件、所述添加购物车事件、所述购买事件中的交互事件执行次数N与预置参数的乘积作为则所述交互事件的兴趣度分值为M。a score of interest M to generate a subunit for using the product of the browsing event, the favorite event, the added shopping cart event, the number of interaction events N in the purchase event, and a preset parameter as The interest score of the interactive event is M.
相关度计算子模块,用于根据所述交互事件的兴趣度分值计算所述交互事件与所述目标交互事件的相关度。The correlation calculation sub-module is configured to calculate a correlation between the interaction event and the target interaction event according to the interest degree score of the interaction event.
作为本发明实施例的优选示例一,所述相关度计算子模块可以包括以下子单元:As a preferred example 1 of the embodiment of the present invention, the relevance calculation submodule may include the following subunits:
事件对组成子单元,用于将同一用户的交互事件与目标交互事件组成事件对,并计算所述事件对中的交互事件和目标交互事件的兴趣度分值的乘积。The event pair component unit is configured to form an event pair of the interaction event and the target interaction event of the same user, and calculate a product of the interaction event value of the event pair and the interest degree score of the target interaction event.
相关度计算子单元,用于根据多个用户的相同的事件对中的交互事件的兴趣度分值、目标交互事件的兴趣度分值、以及交互事件与目标交互事件的兴趣度分值的乘积,计算所述事件对中的交互事件与交目标交互事件的相关度。 a correlation calculation sub-unit for multiplying the interest score of the interaction event in the same event pair of the plurality of users, the interest score of the target interaction event, and the interest score of the interaction event and the target interaction event And calculating a correlation between the interaction event in the event pair and the target interaction event.
作为本发明实施例的优选示例,所述相关度计算子单元可以具体用于:As a preferred example of the embodiment of the present invention, the correlation calculation subunit may be specifically configured to:
针对多个用户的相同的事件对,计算相同的事件对中的交互事件的兴趣度分值的平方之和、目标交互事件的兴趣度分值的平方之和、以及交互事件和目标交互事件的兴趣度分值的乘积之和,并相应形成所述事件对中的交互事件与目标交互事件分别对应的多维向量值;计算所述多维向量值之间的余弦值并作为所述相关度。The same event pair for multiple users, the sum of the squares of the interest scores of the interaction events in the same event pair, the sum of the squares of the interest scores of the target interaction events, and the interaction events and target interaction events a sum of products of interest scores, and correspondingly forming multi-dimensional vector values corresponding to the interaction events in the event pair and the target interaction events; calculating a cosine value between the multi-dimensional vector values as the correlation.
作为本发明实施例的优选示例二,所述相关度计算子模块可以包括以下子单元:As a preferred example 2 of the embodiment of the present invention, the correlation calculation submodule may include the following subunits:
兴趣度分值集合组成子单元,用于将同一用户的交互事件与目标交互事件组成事件对,并采用多个用户的相同的事件对中的交互事件与目标交互事件的兴趣度分值分别组成交互事件兴趣度分值集合与目标交互事件兴趣度分值集合。The interest score group constitutes a sub-unit, which is used to form an event pair of the same user's interaction event and the target interaction event, and respectively adopts the same event pair of the multiple user pairs and the interest degree score of the target interaction event respectively. The set of interactive event interest scores and the target interaction event interest scores.
杰卡德系数计算子单元,用于计算所述交互事件兴趣度分值集合与所述目标交互事件兴趣度分值集合的杰卡德系数并作为所述相关度。a Jaccard coefficient calculation subunit, configured to calculate and select the Jaccard coefficient of the interactivity event interest score set and the target interactivity interest score set.
提取模块302,用于针对当前用户的交互事件,根据所述交互事件与多个目标交互事件的相关度提取至少一个目标交互事件对应的目标网页项目。The extracting module 302 is configured to extract, according to the interaction event of the current user, the target webpage item corresponding to the at least one target interaction event according to the correlation between the interaction event and the plurality of target interaction events.
作为本发明实施例的优选示例一,当所述当前用户发生了一个交互事件时,所述提取模块302可以包括以下子模块:As a preferred example 1 of the embodiment of the present invention, when an interaction event occurs in the current user, the extraction module 302 may include the following sub-modules:
第一相关度查找子模块,用于当捕捉到所述用户产生的一个交互事件,查找所述一个交互事件与多个目标交互事件的相关度。The first relevance search sub-module is configured to search for an interaction event generated by the user to find a correlation between the one interaction event and the multiple target interaction events.
第一提取子模块,用于提取相关度符合第一预设范围内的目标交互事件对应的网页项目作为目标网页项目。The first extraction sub-module is configured to extract a webpage item corresponding to the target interaction event in the first preset range as the target webpage item.
作为本发明实施例的优选示例二,当所述当前用户发生了多个交互事件时,所述提取模块302可以包括以下子模块:As a preferred example 2 of the embodiment of the present invention, when multiple interaction events occur in the current user, the extraction module 302 may include the following sub-modules:
第二相关度查找子模块,用于针对各个目标交互事件,查找所述目标交互事件分别与多个交互事件的相关度。The second relevance search sub-module is configured to search for a correlation between the target interaction event and the multiple interaction events for each target interaction event.
推荐度计算子模块,用于根据所述目标交互事件分别与各个交互事件的相关度,计算标识所述目标交互事件与多个交互事件的相关性的推荐度。 The recommendation degree calculation sub-module is configured to calculate a recommendation degree that identifies a correlation between the target interaction event and the plurality of interaction events according to the relevance of the target interaction event to each interaction event.
第二提取子模块,用于提取推荐度符合第二预设范围内的目标交互事件对应的网页项目作为目标网页项目。The second extraction sub-module is configured to extract, as the target webpage item, a webpage item corresponding to the target interaction event in the second preset range.
推荐模块303,用于将所述目标网页项目推荐给所述当前用户。The recommendation module 303 is configured to recommend the target webpage item to the current user.
所述网页项目可以包括交易对象、和/或视频、和/或音频、和/或电子读物。The web page item can include a transaction object, and/or video, and/or audio, and/or an electronic book.
本申请的装置将网页项目与针对网页项目的交互行为结合在一起形成交互事件,基于交互事件进行相关度计算,避免了因为用户没有提供评价分而导致无法进行有效的网页项目推荐的问题;而且,采用针对网页项目的交互事件作为相关度计算的基础,可以客观、准确地将符合用户兴趣的网页项目推荐给用户;进一步,在相关度计算中只计算目标交互事件与交互事件的相关度,减少了相关度计算中的数据量,节省了服务器的计算资源和存储资源。The device of the present application combines a webpage item with an interaction behavior for a webpage item to form an interaction event, and performs correlation calculation based on the interaction event, thereby avoiding the problem that the effective webpage item recommendation cannot be performed because the user does not provide the evaluation score; The interaction event for the webpage project is used as the basis of the correlation calculation, and the webpage item that meets the user's interest can be objectively and accurately recommended to the user; further, only the correlation degree of the target interaction event and the interaction event is calculated in the correlation calculation, The amount of data in the correlation calculation is reduced, and the computing resources and storage resources of the server are saved.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。The various embodiments in the present specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments can be referred to each other.
本领域内的技术人员应明白,本申请实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the embodiments of the present application can be provided as a method, apparatus, or computer program product. Therefore, the embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, embodiments of the present application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
在一个典型的配置中,所述计算机设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的 示例。计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非持续性的电脑可读媒体(transitory media),如调制的数据信号和载波。In a typical configuration, the computer device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is computer readable medium Example. Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-persistent computer readable media, such as modulated data signals and carrier waves.
本申请实施例是参照根据本申请实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present application are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The instruction device implements the functions specified in one or more blocks of the flowchart or in a flow or block of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device such that a series of operational steps are performed on the computer or other programmable terminal device to produce computer-implemented processing, such that the computer or other programmable terminal device The instructions executed above provide steps for implementing the functions specified in one or more blocks of the flowchart or in a block or blocks of the flowchart.
尽管已描述了本申请实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例范围的所有变更和修改。While a preferred embodiment of the embodiments of the present application has been described, those skilled in the art can make further changes and modifications to the embodiments once they are aware of the basic inventive concept. Therefore, the appended claims are intended to be interpreted as including all the modifications and the modifications
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should also be noted that in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities. There is any such actual relationship or order between operations. Furthermore, the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, or terminal device that includes a plurality of elements includes not only those elements but also Other elements that are included, or include elements inherent to such a process, method, article, or terminal device. An element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that comprises the element, without further limitation.
以上对本申请所提供的一种基于交互事件的网页项目推荐方法和一种基于交互事件的网页项目推荐装置,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。 The above is an interactive event-based webpage project recommendation method and a cross-event-based webpage project recommendation device provided by the present application, and a specific example is applied to illustrate the principle and implementation manner of the present application. The description of the above embodiments is only for helping to understand the method of the present application and its core ideas; at the same time, for those of ordinary skill in the art, depending on the idea of the present application, there will be changes in specific implementations and applications. In summary, the contents of this specification are not to be construed as limiting the application.

Claims (18)

  1. 一种基于交互事件的网页项目推荐方法,其特征在于,包括:A method for recommending webpage items based on interactive events, characterized in that it comprises:
    根据多个用户针对网页项目的交互事件的交互信息,生成所述交互事件与所述交互事件中的目标交互事件的相关度;Generating a correlation between the interaction event and a target interaction event in the interaction event according to interaction information of interaction events of the plurality of users for the webpage item;
    针对当前用户的交互事件,根据所述交互事件与多个目标交互事件的相关度提取至少一个目标交互事件对应的目标网页项目;Extracting, according to the correlation event of the interaction event and the plurality of target interaction events, the target webpage item corresponding to the at least one target interaction event;
    将所述目标网页项目推荐给所述当前用户。The target webpage item is recommended to the current user.
  2. 根据权利要求1所述的方法,其特征在于,所述根据多个用户针对网页项目的交互事件的交互信息,生成所述交互事件与所述交互事件中的目标交互事件的相关度的步骤包括:The method according to claim 1, wherein the step of generating the correlation between the interaction event and the target interaction event in the interaction event according to the interaction information of the interaction events of the plurality of users for the webpage item comprises: :
    根据所述交互事件的事件属性生成所述交互事件的兴趣度分值;Generating an interest score of the interaction event according to an event attribute of the interaction event;
    根据所述交互事件的兴趣度分值计算所述交互事件与所述目标交互事件的相关度。Calculating a correlation between the interaction event and the target interaction event according to the interest score of the interaction event.
  3. 根据权利要求2所述的方法,其特征在于,所述交互事件包括对网页项目的浏览事件、和/或收藏事件、和/或添加购物车事件、和/或购买事件,所述根据交互事件的事件属性生成所述交互事件的兴趣度分值的步骤包括:The method of claim 2, wherein the interactivity event comprises a browsing event for a webpage item, and/or a favorite event, and/or adding a shopping cart event, and/or a purchase event, the interactivity event The step of generating an interest score of the interactive event by the event attribute includes:
    以所述浏览事件、所述收藏事件、所述添加购物车事件、所述购买事件中的交互事件执行次数N与预置参数的乘积作为则所述交互事件的兴趣度分值为M。Taking the product of the browsing event, the favorite event, the added shopping cart event, the number of interaction events N in the purchase event, and the preset parameter as the interest degree score of the interaction event is M.
  4. 根据权利要求2所述的方法,其特征在于,所述根据交互事件的兴趣度分值计算所述交互事件与所述目标交互事件的相关度的步骤包括:The method according to claim 2, wherein the step of calculating the correlation between the interaction event and the target interaction event according to the interest score of the interaction event comprises:
    将同一用户的交互事件与目标交互事件组成事件对,并计算所述事件对中的交互事件和目标交互事件的兴趣度分值的乘积;The interaction event of the same user and the target interaction event are combined into an event pair, and the product of the interaction event value of the event pair and the interest degree score of the target interaction event is calculated;
    根据多个用户的相同的事件对中的交互事件的兴趣度分值、目标交互事件的兴趣度分值、以及交互事件与目标交互事件的兴趣度分值的乘积,计算所述事件对中的交互事件与交目标交互事件的相关度。Calculating the interest score of the interaction event in the same event pair of the plurality of users, the interest score of the target interaction event, and the product of the interest event score of the interaction event and the target interaction event, The degree to which an interaction event interacts with a target interaction event.
  5. 根据权利要求4所述的方法,其特征在于,所述根据多个用户的相同的事件对中的交互事件的兴趣度分值、目标交互事件的兴趣度分值、以及 交互事件与目标交互事件的兴趣度分值的乘积,计算所述事件对中的交互事件与交目标交互事件的相关度具体为:The method according to claim 4, wherein the interest score according to the interaction event in the same event pair of the plurality of users, the interest score of the target interaction event, and The product of the interaction event and the interest score of the target interaction event, and the correlation between the interaction event and the target interaction event in the event pair is calculated as follows:
    针对多个用户的相同的事件对,计算相同的事件对中的交互事件的兴趣度分值的平方之和、目标交互事件的兴趣度分值的平方之和、以及交互事件和目标交互事件的兴趣度分值的乘积之和,并相应形成所述事件对中的交互事件与目标交互事件分别对应的多维向量值;The same event pair for multiple users, the sum of the squares of the interest scores of the interaction events in the same event pair, the sum of the squares of the interest scores of the target interaction events, and the interaction events and target interaction events a sum of products of interest scores, and correspondingly forming multi-dimensional vector values corresponding to the interaction events and the target interaction events in the event pair;
    计算所述多维向量值之间的余弦值并作为所述相关度。A cosine value between the multidimensional vector values is calculated and used as the correlation.
  6. 根据权利要求2所述的方法,其特征在于,所述根据所述交互事件的兴趣度分值计算所述交互事件与所述目标交互事件的相关度的步骤包括:The method according to claim 2, wherein the step of calculating the correlation between the interaction event and the target interaction event according to the interest score of the interaction event comprises:
    将同一用户的交互事件与目标交互事件组成事件对,并采用多个用户的相同的事件对中的交互事件与目标交互事件的兴趣度分值分别组成交互事件兴趣度分值集合与目标交互事件兴趣度分值集合;The interaction event of the same user and the target interaction event are combined into an event pair, and the interest scores of the interaction event and the target interaction event of the same event pair of multiple users are respectively composed of the interaction event interest degree score set and the target interaction event. Interest score set;
    计算所述交互事件兴趣度分值集合与所述目标交互事件兴趣度分值集合的杰卡德系数并作为所述相关度。And calculating, as the correlation, a JCd coefficient of the set of interactivity event interest scores and the target interaction event interest score set.
  7. 根据权利要求1所述的方法,其特征在于,当所述当前用户发生了一个交互事件时,所述针对当前用户的交互事件,根据所述交互事件与多个目标交互事件的相关度提取至少一个目标交互事件对应的目标网页项目的步骤包括:The method according to claim 1, wherein when the current user has an interaction event, the interaction event for the current user is extracted according to the correlation between the interaction event and the plurality of target interaction events. The steps of a target webpage project corresponding to a target interaction event include:
    当捕捉到所述用户产生的一个交互事件,查找所述一个交互事件与多个目标交互事件的相关度;When capturing an interaction event generated by the user, searching for a correlation between the one interaction event and multiple target interaction events;
    提取相关度符合第一预设范围内的目标交互事件对应的网页项目作为目标网页项目。The webpage item corresponding to the target interaction event in the first preset range is extracted as the target webpage item.
  8. 根据权利要求1所述的方法,其特征在于,当所述当前用户发生了多个交互事件时,所述针对当前用户的交互事件,根据所述交互事件与多个目标交互事件的相关度提取至少一个目标交互事件对应的目标网页项目的步骤包括:The method according to claim 1, wherein when the current user has a plurality of interaction events, the interaction event for the current user is extracted according to the correlation between the interaction event and the plurality of target interaction events. The steps of the target webpage item corresponding to the at least one target interaction event include:
    针对各个目标交互事件,查找所述目标交互事件分别与多个交互事件的相关度; Searching for the relevance of the target interaction event to the plurality of interaction events for each target interaction event;
    根据所述目标交互事件分别与各个交互事件的相关度,计算标识所述目标交互事件与多个交互事件的相关性的推荐度;Calculating a recommendation degree that identifies a correlation between the target interaction event and the plurality of interaction events according to the relevance of the target interaction event to each interaction event;
    提取推荐度符合第二预设范围内的目标交互事件对应的网页项目作为目标网页项目。The webpage item corresponding to the target interaction event in the second preset range is extracted as the target webpage item.
  9. 根据权利要求1所述的方法,其特征在于,所述网页项目包括交易对象、和/或视频、和/或音频、和/或电子读物。The method of claim 1 wherein the web page item comprises a transaction object, and/or a video, and/or audio, and/or an electronic book.
  10. 一种基于交互事件的网页项目推荐装置,其特征在于,包括:A webpage item recommendation device based on an interaction event, comprising:
    相关度生成模块,用于根据多个用户针对网页项目的交互事件的交互信息,生成所述交互事件与所述交互事件中的目标交互事件的相关度;a correlation generation module, configured to generate, according to interaction information of interaction events of the plurality of users for the webpage item, a correlation degree between the interaction event and the target interaction event in the interaction event;
    提取模块,用于针对当前用户的交互事件,根据所述交互事件与多个目标交互事件的相关度提取至少一个目标交互事件对应的目标网页项目;An extraction module, configured to extract, according to the interaction event of the current user, a target webpage item corresponding to the at least one target interaction event according to the correlation between the interaction event and the plurality of target interaction events;
    推荐模块,用于将所述目标网页项目推荐给所述当前用户。a recommendation module for recommending the target webpage item to the current user.
  11. 根据权利要求10所述的装置,其特征在于,所述相关度生成模块包括:The apparatus according to claim 10, wherein the correlation generation module comprises:
    兴趣度分值生成子模块,用于根据所述交互事件的事件属性生成所述交互事件的兴趣度分值;a score of interest generation sub-module, configured to generate an interest score of the interaction event according to an event attribute of the interaction event;
    相关度计算子模块,用于根据所述交互事件的兴趣度分值计算所述交互事件与所述目标交互事件的相关度。The correlation calculation sub-module is configured to calculate a correlation between the interaction event and the target interaction event according to the interest degree score of the interaction event.
  12. 根据权利要求11所述的装置,其特征在于,所述交互事件包括对网页项目的浏览事件、和/或收藏事件、和/或添加购物车事件、和/或购买事件,所述兴趣度分值生成子模块包括:The device of claim 11, wherein the interaction event comprises a browsing event for a webpage item, and/or a favorite event, and/or adding a shopping cart event, and/or a purchase event, the interest score The value generation submodule includes:
    兴趣度分值M生成子单元,用于以所述浏览事件、所述收藏事件、所述添加购物车事件、所述购买事件中的交互事件执行次数N与预置参数的乘积作为则所述交互事件的兴趣度分值为M。a score of interest M to generate a subunit for using the product of the browsing event, the favorite event, the added shopping cart event, the number of interaction events N in the purchase event, and a preset parameter as The interest score of the interactive event is M.
  13. 根据权利要求11所述的装置,其特征在于,所述相关度计算子模块包括:The apparatus according to claim 11, wherein the correlation calculation sub-module comprises:
    事件对组成子单元,用于将同一用户的交互事件与目标交互事件组成事 件对,并计算所述事件对中的交互事件和目标交互事件的兴趣度分值的乘积;The event pair constitutes a subunit for organizing the interaction event of the same user with the target interaction event. a pair and calculate a product of the interest scores of the interaction events in the event pair and the target interaction events;
    相关度计算子单元,用于根据多个用户的相同的事件对中的交互事件的兴趣度分值、目标交互事件的兴趣度分值、以及交互事件与目标交互事件的兴趣度分值的乘积,计算所述事件对中的交互事件与交目标交互事件的相关度。a correlation calculation sub-unit for multiplying the interest score of the interaction event in the same event pair of the plurality of users, the interest score of the target interaction event, and the interest score of the interaction event and the target interaction event And calculating a correlation between the interaction event in the event pair and the target interaction event.
  14. 根据权利要求13所述的装置,其特征在于,所述相关度计算子单元具体用于:The apparatus according to claim 13, wherein the correlation calculation subunit is specifically configured to:
    针对多个用户的相同的事件对,计算相同的事件对中的交互事件的兴趣度分值的平方之和、目标交互事件的兴趣度分值的平方之和、以及交互事件和目标交互事件的兴趣度分值的乘积之和,并相应形成所述事件对中的交互事件与目标交互事件分别对应的多维向量值;The same event pair for multiple users, the sum of the squares of the interest scores of the interaction events in the same event pair, the sum of the squares of the interest scores of the target interaction events, and the interaction events and target interaction events a sum of products of interest scores, and correspondingly forming multi-dimensional vector values corresponding to the interaction events and the target interaction events in the event pair;
    计算所述多维向量值之间的余弦值并作为所述相关度。A cosine value between the multidimensional vector values is calculated and used as the correlation.
  15. 根据权利要求11所述的装置,其特征在于,所述相关度计算子模块包括:The apparatus according to claim 11, wherein the correlation calculation sub-module comprises:
    兴趣度分值集合组成子单元,用于将同一用户的交互事件与目标交互事件组成事件对,并采用多个用户的相同的事件对中的交互事件与目标交互事件的兴趣度分值分别组成交互事件兴趣度分值集合与目标交互事件兴趣度分值集合;The interest score group constitutes a sub-unit, which is used to form an event pair of the same user's interaction event and the target interaction event, and respectively adopts the same event pair of the multiple user pairs and the interest degree score of the target interaction event respectively. An interactive event interest score set and a target interaction event interest score set;
    杰卡德系数计算子单元,用于计算所述交互事件兴趣度分值集合与所述目标交互事件兴趣度分值集合的杰卡德系数并作为所述相关度。a Jaccard coefficient calculation subunit, configured to calculate and select the Jaccard coefficient of the interactivity event interest score set and the target interactivity interest score set.
  16. 根据权利要求10所述的装置,其特征在于,当所述当前用户发生了一个交互事件时,所述提取模块包括:The apparatus according to claim 10, wherein when the current user has an interaction event, the extraction module comprises:
    第一相关度查找子模块,用于当捕捉到所述用户产生的一个交互事件,查找所述一个交互事件与多个目标交互事件的相关度;a first correlation finding submodule, configured to: when capturing an interaction event generated by the user, searching for a correlation between the one interaction event and multiple target interaction events;
    第一提取子模块,用于提取相关度符合第一预设范围内的目标交互事件对应的网页项目作为目标网页项目。The first extraction sub-module is configured to extract a webpage item corresponding to the target interaction event in the first preset range as the target webpage item.
  17. 根据权利要求10所述的装置,其特征在于,当所述当前用户发生 了多个交互事件时,所述提取模块包括:The device according to claim 10, wherein when said current user occurs When a plurality of interaction events are performed, the extraction module includes:
    第二相关度查找子模块,用于针对各个目标交互事件,查找所述目标交互事件分别与多个交互事件的相关度;a second relevance search sub-module, configured to search for a correlation between the target interaction event and the multiple interaction events for each target interaction event;
    推荐度计算子模块,用于根据所述目标交互事件分别与各个交互事件的相关度,计算标识所述目标交互事件与多个交互事件的相关性的推荐度;a recommendation calculation sub-module, configured to calculate a recommendation degree that identifies a correlation between the target interaction event and the plurality of interaction events according to the correlation between the target interaction event and each interaction event;
    第二提取子模块,用于提取推荐度符合第二预设范围内的目标交互事件对应的网页项目作为目标网页项目。The second extraction sub-module is configured to extract, as the target webpage item, a webpage item corresponding to the target interaction event in the second preset range.
  18. 根据权利要求10所述的装置,其特征在于,所述网页项目包括交易对象、和/或视频、和/或音频、和/或电子读物。 The device of claim 10, wherein the web page item comprises a transaction object, and/or a video, and/or audio, and/or an electronic book.
PCT/CN2016/096583 2015-09-02 2016-08-24 Interaction event-based webpage item recommendation method and device WO2017036333A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510557884.5A CN106484747A (en) 2015-09-02 2015-09-02 A kind of webpage item recommendation method based on alternative events and device
CN201510557884.5 2015-09-02

Publications (1)

Publication Number Publication Date
WO2017036333A1 true WO2017036333A1 (en) 2017-03-09

Family

ID=58186673

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096583 WO2017036333A1 (en) 2015-09-02 2016-08-24 Interaction event-based webpage item recommendation method and device

Country Status (2)

Country Link
CN (1) CN106484747A (en)
WO (1) WO2017036333A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647676A (en) * 2019-08-14 2020-01-03 平安科技(深圳)有限公司 Interest attribute mining method and device based on big data and computer equipment
CN113177184A (en) * 2021-04-22 2021-07-27 武汉理工大学 Building material equipment manufacturing enterprise supplier selection method, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102456056A (en) * 2010-11-01 2012-05-16 阿里巴巴集团控股有限公司 Information output method and information output device
CN102866992A (en) * 2011-07-04 2013-01-09 阿里巴巴集团控股有限公司 Method and device for displaying product information in webpage

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10339538B2 (en) * 2004-02-26 2019-07-02 Oath Inc. Method and system for generating recommendations
CN104765751B (en) * 2014-01-07 2019-05-24 腾讯科技(深圳)有限公司 Using recommended method and device
CN103810030B (en) * 2014-02-20 2017-04-05 北京奇虎科技有限公司 It is a kind of based on the application recommendation method of mobile terminal application market, apparatus and system
CN104281718B (en) * 2014-11-04 2018-03-02 深圳市英威诺科技有限公司 A kind of method that intelligent recommendation is excavated based on user group's behavioral data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102456056A (en) * 2010-11-01 2012-05-16 阿里巴巴集团控股有限公司 Information output method and information output device
CN102866992A (en) * 2011-07-04 2013-01-09 阿里巴巴集团控股有限公司 Method and device for displaying product information in webpage

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647676A (en) * 2019-08-14 2020-01-03 平安科技(深圳)有限公司 Interest attribute mining method and device based on big data and computer equipment
CN110647676B (en) * 2019-08-14 2023-04-11 平安科技(深圳)有限公司 Interest attribute mining method and device based on big data and computer equipment
CN113177184A (en) * 2021-04-22 2021-07-27 武汉理工大学 Building material equipment manufacturing enterprise supplier selection method, equipment and storage medium

Also Published As

Publication number Publication date
CN106484747A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
US10049139B2 (en) Diversity within search results
TWI522942B (en) User favorites data processing method and device, user favorite data searching method and device, and user favorite system
JP5984834B2 (en) Method and system for displaying cross-website information
JP5615932B2 (en) Search method and system
US20150213368A1 (en) Information recommendation method, apparatus, and server
TWI512653B (en) Information providing method and apparatus, method and apparatus for determining the degree of comprehensive relevance
CN106708844A (en) User group partitioning method and device
US8239287B1 (en) System for detecting probabilistic associations between items
CN106934648B (en) Data processing method and device
US11704376B2 (en) Retrieval of content using link-based search
WO2012067949A1 (en) Transmitting product information
JP2016507840A (en) Method, device, and system for publishing product information
JP2015518609A (en) Information providing method, web server and web browser
TWI705411B (en) Method and device for identifying users with social business characteristics
WO2017107802A1 (en) Method and device for associating network item and calculating association information
JP2015032254A (en) Information processing apparatus, information processing method, and program
WO2017036333A1 (en) Interaction event-based webpage item recommendation method and device
Sneha et al. An online recommendation system based on web usage mining and semantic web using LCS algorithm
CN108446296B (en) Information processing method and device
Al-Dhelaan et al. Graph summarization for hashtag recommendation
WO2018010569A1 (en) Product chain object database establishment, and query methods, devices and systems therefor
CN114003799A (en) Event recommendation method, device and equipment
JP2016118957A (en) Server device, system, information processing method, and program
CN104050174B (en) A kind of personal page generation method and device
US20160125495A1 (en) Product browsing system and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16840762

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16840762

Country of ref document: EP

Kind code of ref document: A1