A digital product generation method and system

By calculating the access inevitability in user access data and using a collaborative filtering algorithm to determine similar users and recommend target digital products, the problem of inaccurate digital product recommendation results in the existing technology is solved and the user experience is improved.

CN118520175BActive Publication Date: 2024-10-01SHENZHEN ZHIJIA YUNQI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410986987.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-10-01
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

When the existing technology recommends digital products to target users, the reliability and accuracy of the recommendation results are low, resulting in poor recommendation effects and affecting the user experience.

Method used

By obtaining the user's access data, including access time, number of accesses, and access duration, the access inevitability is calculated to quantify the user's interest in digital products, and similar users are determined based on the collaborative filtering algorithm and K-clustering algorithm to recommend target digital products.

Benefits of technology

It improves the reliability and accuracy of digital product recommendations, optimizes recommendation effects, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118520175B_ABST
    Figure CN118520175B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and in particular to a method and system for generating digital products, the method comprising: obtaining first access data of a first user within a predetermined time period, and second access data of a second user within a predetermined time period; determining the first access necessity of the second user to access each digital product according to the access time, number of accesses and access duration of the second user; determining similar users with similar access habits to the first user from the second user according to the first access data and the second access data; determining a target digital product from the digital products visited by the similar users according to the first access necessity, and recommending the target digital product to the first user. In this way, the influence of the digital products visited accidentally by the second user on the subsequent recommendation results is eliminated, and the reliability and accuracy of the recommendation results for the first user are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a digital product generation method and system. Background Art

[0002] With the rapid development of science and technology, more and more digital products have emerged to meet people's diverse needs. Among them, digital products refer to products and services that store information content in digital format and can be transmitted over the Internet. These products and services can be any form of digital content.

[0003] In some scenarios, mini programs, as a convenient form of mobile application, play an important role in the generation and consumption of digital products. In the process of using mini programs, it is usually necessary to recommend digital products to users in a targeted manner based on the user's browsing history and behavioral preferences. At present, when recommending digital products to a certain user in a targeted manner, other users with similar browsing history and behavioral preferences as the target user are usually found, and digital products that have been browsed by other users but not by the target user are specifically recommended to the target user. However, in this way, other users' browsing of digital products is accidental. For example, due to advertising, promotions, and exploratory factors, the content browsed by other users does not belong to the digital products that other users personally like. If these digital products that do not reflect the user's personal preferences are recommended to the target user, the reliability and accuracy of the recommendation results for the target user's digital products will be low, the recommendation effect will be poor, and it will be difficult to recommend suitable digital products to the target user, which will affect the user's experience. Summary of the invention

[0004] In order to solve the technical problem that the reliability and accuracy of the recommendation results for digital products for target users are low and the recommendation effect is poor, the purpose of the present invention is to provide a digital product generation method and system, and the technical solution adopted is as follows:

[0005] In a first aspect, an embodiment of the present application provides a digital product generation method, comprising: obtaining first access data of a first user within a predetermined time period, and second access data of a second user within a predetermined time period, the access data including the access time, number of visits and access duration of each user to each digital product within the predetermined time period; determining a first access necessity of the second user to visit each digital product according to the access time, number of visits and access duration of the second user, the first access necessity indicating the interest of the second user in visiting the digital product, the first access necessity being proportional to the interest; determining similar users with similar access habits to the first user from the second users according to the first access data and the second access data; determining a target digital product from the digital products visited by the similar users according to the first access necessity, and recommending the target digital product to the first user.

[0006] Optionally, determining the first visit necessity of the second user visiting each digital product based on the second user's visit time, number of visits and visit duration includes: determining the first visit number and first visit duration of the second user visiting each digital product every day within a predetermined time period based on the second user's visit time, number of visits and visit duration to each digital product, the first visit duration being the visit duration of each visit by the second user to each digital product every day; determining the second visit necessity of the second user visiting each digital product every day based on the first visit number and the first visit duration, the second visit necessity indicating the contingency of the user visiting the digital product, the second visit necessity being proportional to the contingency; determining the second user's interest in each digital product using the second visit necessity; determining the number of days the second user visits each digital product based on the visit time; and determining the first visit necessity based on the number of days the second user visits each digital product and the degree of interest.

[0007] Optionally, after determining the second visit necessity of the second user visiting each digital product every day based on the first visit number and the first visit duration, the method also includes: determining a first fluctuation curve of the first visit duration of the second user visiting each digital product every day within a predetermined time period, and a first fitting curve corresponding to the first fluctuation curve, according to the time sequence of the visit times; determining the second visit number, the second visit number being the second visit number of all first visit durations of the second user visiting each digital product every day that is greater than the visit duration of each digital product at the first visit; determining a correction coefficient based on the slope value of the first fitting curve, the first visit duration, the visit duration at the first visit, and the second visit number; correcting the second visit necessity using the correction coefficient to obtain a real visit necessity; determining the second user's interest in each digital product using the second visit necessity includes: determining the second user's interest in each digital product using the real visit necessity.

[0008] Optionally, determining the correction coefficient based on the slope value of the first fitting curve, the first access time, the access time at the first visit, and the second access times includes: calculating a first difference between each first access time and the access time at the first visit, traversing all second access times, superimposing the first difference to obtain a first superimposed value; normalizing the first superimposed value to obtain a normalized superimposed value; calculating the sum of the normalized superimposed value and the slope value to obtain a sum value, and using the sum value as the correction coefficient.

[0009] Optionally, determining the second visit necessity of the second user visiting each digital product every day based on the first visit number and the first visit duration includes: superimposing each first visit number to obtain the total visit number of the second user to all digital products every day; calculating the average of the first visit duration of all digital products every day; calculating the second difference between the first visit duration and the average, traversing all first visit numbers, superimposing the second difference to obtain a second superimposed value; calculating a first ratio of the second superimposed value to the first visit number, and a second ratio of the first visit number to the total visit number; performing an exponential operation on the first ratio, and determining that the product of the result of the exponential operation and the second ratio is the second visit necessity of the digital product.

[0010] Optionally, using the actual visit necessity to determine the second user's interest in each digital product includes: determining a second fluctuation curve of the actual visit necessity of the second user to each digital product on different days, and determining a second fitting curve corresponding to the second fluctuation curve; determining a slope value of the second fitting curve; when the slope value of the second fitting curve is not less than a predetermined value, determining the interest to be the slope value; when the slope value of the second fitting curve is less than a predetermined value, determining the interest to be the predetermined value.

[0011] Optionally, determining the necessity of the first visit based on the number of days the second user visits each digital product and the degree of interest includes: sorting the number of days of visit of each digital product in ascending order to obtain a sorted sequence; calculating the variance of the third difference between adjacent number of days of visit in the sorted sequence; calculating a third ratio of the number of days of visit of the digital product to the variance; superimposing the degree of interest with a preset value to obtain a third superimposed value; multiplying the third ratio with the third superimposed value to obtain a product, and normalizing the product to obtain the first visit necessity.

[0012] Optionally, determining the target digital product from digital products visited by similar users according to the first visit necessity includes: calculating predicted scores of digital products visited by similar users according to the first visit necessity based on a collaborative filtering algorithm; sorting the predicted scores in descending order, and determining the digital products in the top N positions and not visited by the first user as the target digital products, where N is an integer greater than 0.

[0013] Optionally, after obtaining the first access data of the first user within a predetermined time period and the second access data of the second user within a predetermined time period, the method further includes: coarsely clustering the second users based on the K clustering algorithm, and clustering the second users who visit similar digital products into a cluster; determining the necessity of the first access of the second user to visit each digital product according to the access time and access duration of the second users includes: taking each cluster as a user group, and determining the necessity of the first access of the second users in each cluster to visit each digital product according to the access time and access duration of the second users in each cluster.

[0014] In a second aspect, an embodiment of the present application provides a digital product generation system, including: an acquisition module, used to acquire first access data of a first user within a predetermined time period, and second access data of a second user within a predetermined time period, the access data including the access time, number of visits and access duration of each user to each digital product within the predetermined time period; a determination module, used to determine a first access necessity of the second user to access each digital product based on the access time, number of visits and access duration of the second user, the first access necessity indicating the interest of the second user in accessing the digital product, and the first access necessity is proportional to the interest; the determination module is also used to determine similar users with similar access habits to the first user from the second user based on the first access data and the second access data; the determination module is also used to determine a target digital product from the digital products visited by the similar users based on the first access necessity, and recommend the target digital product to the first user.

[0015] In a third aspect, an embodiment of the present application provides a digital product generation system, which includes: a processor and a memory; wherein the memory is used to store a computer program that can be run on the processor; the processor is used to execute the program stored in the memory to implement the steps of the digital product generation method mentioned in the first aspect above.

[0016] The present invention has the following beneficial effects: by obtaining the access time, number of accesses and access duration of the second user, the access necessity of the second user to each digital product is quantified, and the access necessity can indicate the interest of the second user in accessing the digital product, and the greater the access necessity, the greater the user's interest in the digital product. Then, similar users with similar access habits to the first user are determined based on the access data of the first user and the access data of the second user, and based on the access necessity of the second user to the digital product, the target digital product is determined from the digital products visited by the similar user and recommended to the first user, thus eliminating the influence of the digital product accidentally visited by the second user on the subsequent recommendation results, improving the reliability and accuracy of the recommendation results for the first user, optimizing the recommendation effect, and thus recommending suitable digital products to the first user in a targeted manner, improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 A flowchart of a method for generating a digital product provided by an embodiment of the present invention;

[0019] Figure 2 A flowchart of another method for generating a digital product provided by an embodiment of the present invention;

[0020] Figure 3 A first fluctuation curve and a corresponding first fitting curve graph provided by an embodiment of the present invention;

[0021] Figure 4 Another first fluctuation curve and a corresponding first fitting curve diagram provided by an embodiment of the present invention;

[0022] Figure 5 A schematic diagram of the module composition of a digital product generation system provided by an embodiment of the present invention;

[0023] Figure 6 A schematic diagram of the structure of a digital product generation system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a digital product generation method and system proposed by the present invention, its specific implementation, structure, features and effects, in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0025] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0026] The specific scheme of a digital product generation method and system provided by the present invention is described in detail below with reference to the accompanying drawings.

[0027] Embodiment 1:

[0028] See also Figure 1 , which shows a flow chart of a digital product generation method provided by an embodiment of the present invention, including:

[0029] Step S101, obtaining first access data of a first user within a predetermined time period, and second access data of a second user within a predetermined time period.

[0030] The access data includes the access time, number of visits and access duration of each user to each digital product within a predetermined time period.

[0031] Specifically, the predetermined time period may be a certain time period in the past, such as N consecutive days in the past, where N may be an integer greater than 1. The first access data includes the access time, number of accesses, and access duration of each digital product accessed by each first user in the predetermined time period, and the second access data includes the access time, number of accesses, and access duration of each digital product accessed by each second user in the predetermined time period. The number of accesses refers to the total number of accesses made by a second user to a digital product in the predetermined time period, the access duration refers to the duration of a single access made by a second user to a digital product in the predetermined time period, and the access time refers to the moment when a second user makes a single access to a digital product in the predetermined time period.

[0032] Further, the access data of each first user and second user in the past certain period of time can be obtained from the mini program management background, wherein the access data includes the access data of each user to at least one digital product, for example, the access data of a user to a certain digital product in a predetermined period of time is ,in, Indicates that the number of visits is 120. It means the access started at 14:25:32 on March 13, 2023, and the access duration was 3 minutes. It means that the access started at 10:15:11 on March 14, 2023, and the access duration was 2 minutes.

[0033] Furthermore, in order to facilitate analysis of the second user's access data, after obtaining the second user's second access data within a predetermined time period, the second users may be roughly clustered based on a K clustering algorithm, and second users who have accessed similar digital products may be clustered into one cluster.

[0034] Specifically, the K-means clustering algorithm is used to roughly cluster the second users, and the second users who visit similar digital products are clustered into one cluster. In subsequent analysis, each cluster can be analyzed separately, thereby improving the accuracy of the analysis results. In the process of using the K-means clustering algorithm to roughly cluster the second users, the distance index between the second users can be calculated based on the digital products in the second users' access data. The optimal number of clusters for the K-means clustering algorithm can be determined by the silhouette coefficient method. The silhouette coefficient method means running the k-means clustering algorithm for each possible number of clusters 𝑘, calculating the overall silhouette coefficient, and finding the 𝑘 value that maximizes the silhouette coefficient. This 𝑘 value is the optimal number of clusters. After clustering, the digital products visited by the second user in each cluster are relatively similar. Therefore, independent analysis can be performed on a cluster basis, thereby improving the accuracy of subsequent analysis results.

[0035] Step S103, determining the necessity of the first visit of the second user to each digital product according to the visit time, the number of visits and the visit duration of the second user.

[0036] The first access necessity indicates the interest of the second user in accessing the digital product, and the first access necessity is proportional to the interest.

[0037] Specifically, the first visit necessity can quantify the user's interest in visiting digital products, randomness, and whether to browse deeply. In the above steps, each digital product of each user has a corresponding visit time, number of visits, and visit duration. Therefore, the visit process of each digital product has a temporal feature according to the access sequence. According to the temporal feature of each digital product, the second visit necessity of each digital product visited every day can be determined. The second visit necessity can reflect the randomness of the visit and the browsing depth of the digital product. The greater the second visit necessity, the higher the randomness of the user's visit to the digital product and the lack of in-depth browsing. Based on the second visit necessity, the first visit necessity of each user visiting each digital product can be determined. Among them, the greater the first visit necessity, the greater the degree of interest of the second user in the digital product, thereby eliminating the problem of poor recommendation effect caused by the user's accidental visit to the digital product.

[0038] Step S105 , determining similar users having access habits similar to those of the first user from among the second users according to the first access data and the second access data.

[0039] Specifically, when determining similar users with similar access habits to the first user, a collaborative filtering algorithm can be used to calculate similar users with similar access habits to the first user. Specifically, the above method is used to calculate the necessity of each second user's first visit to each digital product he visits to construct an evaluation matrix in the collaborative filtering algorithm. Let the set of second users be ,The set of digital products corresponding to the second user is . Then the corresponding evaluation matrix is:

[0040]

[0041] in Indicates the necessity of the second user m's first visit to the digital product k. Then, a collaborative filtering algorithm is used to calculate the similarity between the first user and the second user using the digital products visited by the first user and the access data, as well as the digital products visited by the second user and the access data. The similarity can be represented by Euclidean distance, Pearson correlation coefficient, cosine similarity, etc. After the similarity is calculated, the similarity is sorted in descending order, and the second users in the top n positions of the similarity sorting are selected as similar users. It is worth noting that the collaborative filtering algorithm can refer to the known technology, and the embodiments of this application will not be repeated here.

[0042] Step S107 , determining a target digital product from digital products visited by similar users according to the first visit necessity, and recommending the target digital product to the first user.

[0043] Specifically, after determining the first visit necessity, product recommendations can be made directly according to the first visit necessity of similar users visiting digital products, that is, the first visit necessity of similar users visiting each digital product is sorted in descending order, and the digital product with the highest first visit necessity of similar users visiting each digital product is selected as the target digital product to be recommended to the first user, or the digital product corresponding to the first visit necessity of the top N ranked digital users is selected as the target digital product to be recommended to the first user. Furthermore, the predicted score of the digital product visited by similar users can be calculated, and product recommendations can be made according to the predicted score. In the subsequent process of the first user using the mini program, the recommended digital products can be displayed on the hot selling page of the mini program. Wherein, N is an integer greater than 0.

[0044] In a possible implementation, the predicted scores of digital products visited by similar users are calculated based on the first visit necessity based on the collaborative filtering algorithm; the predicted scores are sorted in descending order, and the digital products in the top N positions and not visited by the first user are determined as target digital products. Wherein, N is an integer greater than 0. Specifically, the first visit necessity can reflect the user's interest in visiting the digital product, and the predicted scores of the digital products visited by similar users can be calculated according to the interest level, such as calculating the predicted scores according to the weights of the digital products visited by similar users and the first visit necessity of each digital product, such as multiplying the weight and the first visit necessity as the predicted score, which can reflect the degree of recommendation of the digital product to the first user, thereby expressing the first user's preference. Selecting the digital products in the top N positions and not visited by the first user as the target digital products can be more suitable for the first user and improve the user experience.

[0045] Further, determining the first access necessity of the second user accessing each of the digital products according to the access time and the access duration of the second user includes:

[0046] Each cluster is regarded as a user group, and the first access necessity of the second user in each cluster to access each of the digital products is determined according to the access time and the access duration of the second user in each cluster.

[0047] Specifically, after clustering the second users, users with similar access habits are clustered into a cluster, and then each cluster is regarded as a user group, and the second users in the cluster are analyzed to improve the calculation accuracy of the inevitability of the first access.

[0048] Through the technical solution disclosed in the embodiment of the present application, the necessity of the second user's access to each digital product is quantified by obtaining the second user's access time, number of visits and access duration. The necessity of the access can indicate the second user's interest in accessing the digital product, and the greater the necessity of the access, the greater the user's interest in the digital product. Then, similar users with similar access habits to the first user are determined based on the access data of the first user and the access data of the second user. Based on the necessity of the second user's access to the digital product, the target digital product is determined from the digital products visited by the similar users and recommended to the first user. In this way, the influence of the digital product accidentally visited by the second user on the subsequent recommendation results is eliminated, the reliability and accuracy of the recommendation results for the first user are improved, and the recommendation effect is better, so that suitable digital products are recommended to the first user in a targeted manner, and the user experience is improved.

[0049] Embodiment 2:

[0050] See also Figure 2 , which shows a flow chart of another digital product generation method provided by an embodiment of the present invention, including:

[0051] Step S201: acquiring first access data of a first user within a predetermined time period and second access data of a second user within a predetermined time period.

[0052] The access data includes the access time, number of visits and access duration of each digital product accessed by each user within a predetermined time period.

[0053] Step S2030, determining a first number of visits and a first visit duration for each digital product made by the second user every day within a predetermined time period according to the visit time, number of visits and visit duration for each digital product made by the second user.

[0054] The first access duration is the access duration of each visit of the second user to each digital product every day.

[0055] Specifically, each digital product of the second user has a corresponding access time, access count, and access duration, so the access process of each digital product has a temporal feature according to the access sequence, and the inevitability of access to each digital product is determined based on the temporal feature of each digital product. For example, if the access data of each second user within s days is obtained, the first access count is the number of accesses made by all second users to the ath digital product on the sth day, and the first access duration is the access duration of the i-th access to the ath digital product on the sth day.

[0056] Step S2031, determining the necessity of a second visit of the second user to visit each digital product every day according to the first number of visits and the first visit duration.

[0057] The second visit necessity indicates the contingency of a user visiting a digital product, and the second visit necessity is positively proportional to the contingency.

[0058] Specifically, the total number of visits to all digital products on the sth day can be calculated based on the number of visits made by the second user to the ath digital product on the sth day. The greater the inevitability of the second visit, the higher the randomness of the user's visit to the digital product and the greater the chance of the user's visit to the digital product without in-depth browsing. According to the access data of the second user obtained, the digital products visited every day have a sequence according to the access time, so the access time fluctuation series of all digital products every day is first obtained according to the access sequence. Assuming that the access data of the second user within s days is obtained, taking the access time fluctuation series of the sth day as an example, the inevitability of the second visit of each digital product in the digital products visited every day is determined by analyzing the fluctuation of the access time of each digital product in the access time fluctuation series during multiple visits.

[0059] In a possible implementation, determining the second visit necessity of the second user visiting each digital product every day based on the first visit number and the first visit duration includes: superimposing each first visit number to obtain the total visit number of the second user to all digital products every day; calculating the average of the first visit duration of all digital products every day; calculating the second difference between the first visit duration and the average, traversing all first visit numbers, superimposing the second difference to obtain a second superimposed value; calculating a first ratio of the second superimposed value to the first visit number, and a second ratio of the first visit number to the total visit number; performing an exponential operation on the first ratio, and determining that the product of the result of the exponential operation and the second ratio is the second visit necessity of the digital product.

[0060] Specifically, assuming that the access data of each second user for s days is obtained, the corresponding digital products visited every day have a chronological order according to the access time, so first obtain the access time fluctuation series of all digital products every day according to the access order. Among them, taking the access time fluctuation series of the sth day as an example, the inevitability of the second visit of each digital product in the digital products visited every day is determined by analyzing the fluctuation of the access time of each digital product in the access time fluctuation series during multiple visits. Specifically, it can be calculated using the following formula:

[0061]

[0062] In the above formula, Indicates the inevitability of the second visit of the a-th digital product in the access data of the s-th day. Indicates the number of first visits to the ath digital product by all second users in the access data on the sth day. Represents the total number of visits to all digital products on day s. Represents an exponential function. It represents the first visit duration of the i-th visit to the a-th digital product on the s-th day. Represents the mean of all first visit durations of all digital products on day s. A larger value of indicates a higher number of first visits to the a-th digital product in the visit data of the s-th day, indicating a higher level of attention paid to the a-th digital product in the visit data of the s-th day. The larger the value of , the longer the first access duration of the i-th access to the a-th digital product in the access data of the s-th day is than the normal access duration, and the greater the possibility that the i-th access to the a-th digital product in the access data of the s-th day is an accidental access. The larger the value of The larger the value of , the more likely the access to the a-th digital product in the access data of the s-th day is to be an accidental access, and the greater the inevitability of the corresponding second access.

[0063] Furthermore, since the number of visits to the a-th digital product in the access data of the s-th day has a time series, for the a-th digital product, as the time series progresses, if the duration of each visit to the a-th digital product shows an upward trend, it means that the a-th digital product has the possibility of getting rid of accidental visits. Therefore, it is necessary to correct the visit inevitability of the a-th digital product in the access data of the s-th day calculated above according to this feature, so as to improve the authenticity and reliability of the second visit inevitability. In a possible implementation, after determining the second visit necessity of the second user visiting each digital product every day based on the first visit number and the first visit duration, the method also includes: determining a first fluctuation curve of the first visit duration of the second user visiting each digital product every day within a predetermined time period according to the time sequence of the visit times, and a first fitting curve corresponding to the first fluctuation curve; determining the second visit number, the second visit number being the second visit number of all first visit durations of the second user visiting each digital product every day that is greater than the visit duration of each digital product at the first visit; determining a correction coefficient based on the slope value of the first fitting curve, the first visit duration, the visit duration at the first visit, and the second visit number; and using the correction coefficient to correct the second visit necessity to obtain the true visit necessity.

[0064] Specifically, take the fluctuation curve of the first access duration of the ath digital product in the access data of the sth day within the predetermined time period as an example, Figure 3 As shown, it shows the first fluctuation curve and the first fitting curve. After obtaining the fluctuation curve of the first access time of the a-th digital product in the access data of the s-th day, the fitting curve of the first fluctuation curve is obtained by using polynomial fitting. The fitting curve can show the overall change trend of the access time of the a-th digital product in the access data of the s-th day. Among them, the slope value of the fitting curve can be expressed by the average of the slope values ​​of all points on the fitting curve. However, the slope value of the fitting curve can only represent the overall change trend of the access time of the a-th digital product, but cannot show the change trend of the details. Figure 4 As shown, the slope of the first fitting curve is negative, indicating that the overall change trend of the access time of the digital product is downward. However, during the fluctuation of the access time of the first fluctuation curve, there is a significantly higher access time than the initial access time. This may be caused by sudden interest and other reasons. Therefore, the change trend of the corresponding access time also increases accordingly. Therefore, the change trend can be corrected by fitting all the access times on the curve that are greater than the initial access time and the initial access time. It is worth noting that Figure 3 and Figure 4 The fluctuation curve in is the first fluctuation curve in this embodiment, and the fitting curve is the first fitting curve in this embodiment.

[0065] In a possible implementation, determining the correction coefficient based on the slope value of the first fitting curve, the first access time, the access time at the first visit, and the second access number includes: calculating the first difference between each first access time and the access time at the first visit, traversing all the second access times, superimposing the first difference to obtain a first superimposed value; normalizing the first superimposed value to obtain a normalized superimposed value; calculating the sum of the normalized superimposed value and the slope value to obtain a sum value, and using the sum value as the correction coefficient.

[0066] Specifically, taking the fluctuation curve of the first access duration of the ath digital product in the access data of the sth day within the predetermined time period as an example, the correction coefficient can be calculated using the following formula:

[0067]

[0068] In the above formula, The correction coefficient representing the inevitability of a second visit to the a-th digital product in the access data of the s-th day. Represents the normalization function. The slope value of the first fitting curve representing the first access duration of the a-th digital product in the access data of the s-th day is represented by the average slope of all points on the first fitting curve. It represents the number of second visits that are greater than the visit duration of the first visit among all the first visit durations of the a-th digital product in the access data of the s-th day. The larger the value of , the greater the degree of correction of the change trend of the first access duration. The larger the correction coefficient of the second visit inevitability of the ath digital product in the access data of the sth day, the larger the correction coefficient of the second visit inevitability of the ath digital product in the access data of the sth day. After calculating the correction coefficient of the second visit inevitability of the ath digital product in the access data of the sth day, the original second visit inevitability is then corrected.

[0069] Among them, using the correction coefficient to correct the second access necessity can be to normalize the correction coefficient to obtain a normalized correction coefficient, and then calculate the product of the normalized correction coefficient and the second access necessity to obtain the corrected true access necessity. Furthermore, the second access necessity is corrected specifically as follows:

[0070]

[0071] In the above formula, Indicates the necessity of real visit to the a-th digital product in the access data of the s-th day. Indicates the inevitability of the second visit of the a-th digital product in the access data of the s-th day. Represents the normalization function. The correction coefficient representing the inevitability of a second visit to the a-th digital product in the access data of the s-th day.

[0072] Step S2032: Determine the second user's interest in each digital product by using the second access necessity.

[0073] Specifically, after determining the necessity of the second visit of each digital product every day, determine the fluctuation curve of the necessity of the second visit of each digital product on different days, and determine the fitting curve corresponding to the fluctuation curve. The fitting curve can be obtained by polynomial fitting, and then determine the slope value of the fitting curve. The slope value of the fitting curve can be expressed by the average slope of all points on the fitting curve; when the slope value of the fitting curve is not less than a predetermined value, the interest is determined to be the slope value; when the slope value of the fitting curve is less than a predetermined value, the interest is determined to be a predetermined value, wherein the predetermined value can be 0.

[0074] In a possible implementation, the modified real access certainty may also be used to determine the interest level. Using the second access certainty to determine the second user's interest level in each digital product includes: using the real access certainty to determine the second user's interest level in each digital product.

[0075] Specifically, using the actual visit necessity to determine the second user's interest in each digital product includes: determining a second fluctuation curve of the actual visit necessity of the second user to each digital product on different days, and determining a second fitting curve corresponding to the second fluctuation curve; determining the slope value of the second fitting curve; when the slope value of the second fitting curve is not less than a predetermined value, determining the interest as the slope value; when the slope value of the second fitting curve is less than a predetermined value, determining the interest as the predetermined value.

[0076] Specifically, according to the above embodiment, the second access necessity of each digital product visited every day can be calculated. Since each digital product may also be visited on other days, such as digital products such as food and video membership. Therefore, the first access necessity of each digital product of each user is determined by analyzing the change relationship of the real access necessity of each digital product on different days. For example, for the nth digital product of the mth user, the second fluctuation curve of the real access necessity of the nth digital product of the mth user on different days is obtained according to the time sequence of the days and the corresponding second fitting curve is obtained. The second fitting curve can be obtained by polynomial fitting. As the mth user becomes familiar with a certain digital product, the access time of the same digital product will gradually decrease and tend to be stable over time. Therefore, the access necessity value will also decrease and tend to be stable, and the slope of the corresponding fitting curve is negative. If you are just beginning to be interested in a certain digital product, its corresponding access time and number of visits will increase, and the corresponding access necessity value will also increase, and the slope of the corresponding fitting curve is positive. Therefore, in order to better show the user's interest characteristics in new digital products, the first visit necessity of the mth user to the nth digital product is quantified through the real visit necessity fluctuation curve.

[0077] The slope value of the second fitting curve can be represented by the average slope value of all points on the fitting curve, the predetermined value can be 0, and the interest degree can be represented by the following formula:

[0078]

[0079] In the above formula, represents the interest of the mth user in the nth digital product, where The slope value of the second fitting curve corresponding to the second fluctuation curve representing the actual visit necessity of the nth digital product of the mth user on different days is When the value of is positive, the interest is itself, otherwise 0. The larger the value of , the higher the m-th user's interest in visiting the n-th digital product, and the greater the necessity of the m-th user's first visit to the n-th digital product.

[0080] Step S2033: determining the number of days the second user has visited each digital product according to the visit time.

[0081] Specifically, when the second user visits each digital product, there is a corresponding access time. According to the access time, the total number of days the second user visits each digital product can be determined. For example, the access time of the mth user to the nth digital product is , , , then it is determined that the total number of days the m-th user visits the n-th digital product is 3 days.

[0082] Step S2034: determining the necessity of the first visit based on the number of days the second user visits each digital product and the degree of interest.

[0083] Specifically, the duration of the second user's visit to each digital product will change with the user's familiarity with the digital product, and the number of days each second user visits the same digital product is also different. Therefore, the difference between the different visit days and the interest level of each digital product can be used to determine the necessity of the first visit.

[0084] In a possible implementation, determining the first visit necessity based on the second user's visit days and interest in each digital product includes: sorting the visit days of each digital product in ascending order to obtain a sorted sequence; calculating the variance of the third difference between adjacent visit days in the sorted sequence; calculating a third ratio of the visit days of the digital product to the variance; superimposing the interest with a preset value to obtain a third superimposed value; multiplying the third ratio with the third superimposed value to obtain a product, and normalizing the product to obtain the first visit necessity.

[0085] Specifically, the preset value may be 1, and the number of days of access to each digital product refers to the number of days of access to the digital product by each second user. The first access necessity is explained by taking the nth digital product accessed by the mth user as an example. The first access necessity may be expressed by the following formula:

[0086]

[0087] In the above formula, Indicates the first access necessity of the nth digital product by the mth user. Shows the normalization function. Indicates the total number of days the nth digital product is visited by the mth user. The access regularity feature of the total number of visit days that the m-th user browses the n-th digital product is represented by the variance of the difference between the adjacent days in the total number of visit days that all second users browse the n-th digital product. For example, the total number of visit days that all second users browse the n-th digital product are arranged in ascending order as follows: [2, 3, 5, 7, 8, 9], and the difference between the adjacent days is [1, 2, 2, 1, 1]. represents the interest of the mth user in the nth digital product, The larger the value of, the more times the mth user visits the nth digital product. The smaller the value of , the more regular the m-th user's access to the n-th digital product is, and the higher the m-th user's interest in the n-th digital product is. It is equivalent to The correction, when After confirmation, The larger the value of , the higher the m-th user's interest in visiting the n-th digital product, and the greater the necessity of the m-th user's first visit to the n-th digital product. The larger the value of , the greater the necessity of the m-th user to visit the n-th digital product. The greater the necessity of visiting, the more interested the m-th user is in the n-th digital product.

[0088] Step S205: determining similar users having access habits similar to those of the first user from among the second users according to the first access data and the second access data.

[0089] Step S207 , determining a target digital product from digital products visited by similar users according to the first access necessity, and recommending the target digital product to the first user.

[0090] It is worth noting that step S201, step S205 and step S207 have the same or similar implementation methods as step S101, step S105 and step S107 in the above-mentioned embodiment 1, which can refer to each other and will not be repeated in the embodiments of the present application.

[0091] Through the technical solution disclosed in the embodiment of the present application, the necessity of the second user's access to each digital product is quantified by obtaining the second user's access time, number of visits and access duration. The necessity of the access can indicate the second user's interest in accessing the digital product, and the greater the necessity of the access, the greater the user's interest in the digital product. Then, similar users with similar access habits to the first user are determined based on the access data of the first user and the access data of the second user. Based on the necessity of the second user's access to the digital product, the target digital product is determined from the digital products visited by the similar users and recommended to the first user. In this way, the influence of the digital product accidentally visited by the second user on the subsequent recommendation results is eliminated, the reliability and accuracy of the recommendation results for the target user are improved, and the recommendation effect is better, so that suitable digital products are recommended to the target user in a targeted manner, and the user experience is improved. Furthermore, the inevitability of the second visit is corrected through a correction coefficient, thereby improving the authenticity and reliability of the inevitability of the second visit, further improving the reliability and authenticity of the inevitability of the first visit, and being able to eliminate to a greater extent the impact of the digital product accidentally visited by the second user on the subsequent recommendation results, further improving the reliability and accuracy of the recommendation results for the first user, and improving the recommendation effect, thereby providing the first user with targeted recommendations of suitable digital products, and improving the user experience.

[0092] Embodiment three:

[0093] Corresponding to the digital product generation method provided in the above embodiment, based on the same technical concept, the embodiment of the present application also provides a digital product generation system. Figure 5 A schematic diagram of the module composition of a digital product generation system provided in an embodiment of the present application. The digital product generation system is used to execute Figure 1 Describe the digital product generation method, such as Figure 5As shown, the digital product generation system 500 includes: an acquisition module 501, which is used to acquire first access data of a first user within a predetermined time period, and second access data of a second user within a predetermined time period, wherein the access data includes the access time, number of accesses and access duration of each user to each digital product within the predetermined time period; a determination module 502, which is used to determine the first access necessity of the second user to access each digital product according to the access time, number of accesses and access duration of the second user, wherein the first access necessity indicates the interest of the second user in accessing the digital product, and the first access necessity is proportional to the interest; the determination module 502 is also used to determine similar users with similar access habits to the first user from the second user according to the first access data and the second access data; the determination module 502 is also used to determine a target digital product from the digital products visited by the similar users according to the first access necessity, and recommend the target digital product to the first user.

[0094] Through the technical solution disclosed in the embodiment of the present application, the necessity of the second user's access to each digital product is quantified by obtaining the second user's access time, number of visits and access duration. The necessity of the access can indicate the second user's interest in accessing the digital product, and the greater the necessity of the access, the greater the user's interest in the digital product. Then, similar users with similar access habits to the first user are determined based on the access data of the first user and the access data of the second user. Based on the necessity of the second user's access to the digital product, the target digital product is determined from the digital products visited by the similar users and recommended to the first user. In this way, the influence of the digital product accidentally visited by the second user on the subsequent recommendation results is eliminated, the reliability and accuracy of the recommendation results for the first user are improved, and the recommendation effect is better, so that suitable digital products are recommended to the first user in a targeted manner, and the user experience is improved.

[0095] In a possible implementation, the determination module 502 is further used to determine the first number of visits and the first visit duration of the second user's visits to each digital product every day within a predetermined time period according to the second user's visit time, number of visits and visit duration to each digital product, wherein the first visit duration is the visit duration of each visit by the second user to each digital product every day; determine the second visit necessity of the second user's visit to each digital product every day according to the first number of visits and the first visit duration, wherein the second visit necessity indicates the contingency of the user's visit to the digital product, and the second visit necessity is proportional to the contingency; determine the second user's interest in each digital product using the second visit necessity; determine the number of days the second user visits each digital product according to the visit time; and determine the first visit necessity based on the number of days the second user visits each digital product and the degree of interest.

[0096] In a possible implementation, the determination module 502 is further used to determine, according to the time sequence of the access time, a first fluctuation curve of the first access duration of the second user's daily access to each digital product within a predetermined time period, and a first fitting curve corresponding to the first fluctuation curve; determine a second access number, which is the second access number of all first access durations of the second user's daily access to each digital product that is greater than the access duration of each digital product at the first visit; determine a correction coefficient based on the slope value of the first fitting curve, the first access duration, the access duration at the first visit, and the second access number; use the correction coefficient to correct the second access necessity to obtain the real access necessity; and use the real access necessity to determine the second user's interest in each digital product.

[0097] In a possible implementation, the determination module 502 is also used to calculate a first difference between each first access duration and the access duration of the first access, traverse all second access times, superimpose the first difference values ​​to obtain a first superposition value; normalize the first superposition value to obtain a normalized superposition value; calculate the sum of the normalized superposition value and the slope value to obtain a sum value, and use the sum value as a correction coefficient.

[0098] In a possible implementation, the determination module 502 is further used to superimpose each first access number to obtain the total access number of the second user to all digital products every day; calculate the average of the first access duration of all digital products every day; calculate the second difference between the first access duration and the average, and traverse all first access times, superimpose the second difference to obtain a second superimposed value; calculate a first ratio of the second superimposed value to the first access number, and a second ratio of the first access number to the total access number; perform an exponential operation on the first ratio, and determine that the product of the result of the exponential operation and the second ratio is the necessity of the second access to the digital product.

[0099] In a possible implementation, the determination module 502 is further used to determine a second fluctuation curve of the necessity of the second user's actual visit to each digital product on different days, and determine a second fitting curve corresponding to the second fluctuation curve; determine the slope value of the second fitting curve; when the slope value of the second fitting curve is not less than a predetermined value, determine the interest level as the slope value; when the slope value of the second fitting curve is less than the predetermined value, determine the interest level as the predetermined value.

[0100] In a possible implementation, the determination module 502 is further used to sort the number of visit days of each digital product in ascending order to obtain a sorted sequence; calculate the variance of the third difference between adjacent visit days in the sorted sequence; calculate the third ratio of the number of visit days of the digital product to the variance; superimpose the interest level with a preset value to obtain a third superimposed value; multiply the third ratio with the third superimposed value to obtain a product, normalize the product, and obtain the first visit necessity.

[0101] In a possible implementation, the determination module 502 is further used to calculate the predicted scores of digital products visited by similar users based on the first visit necessity based on the collaborative filtering algorithm; sort the predicted scores in descending order, and determine the digital products in the top N positions of the sort and not visited by the first user as the target digital products, where N is an integer greater than 0.

[0102] In a possible implementation, it also includes: a clustering module, which is used to perform coarse clustering of second users based on a K clustering algorithm, and cluster second users who visit similar digital products into a cluster; determining the first visit necessity of the second user to visit each digital product according to the access time and access duration of the second user includes: taking each cluster as a user group, and determining the first visit necessity of the second user in each cluster to visit each digital product according to the access time and access duration of the second users in each cluster.

[0103] It should be noted that the digital product generation system provided in the embodiment of the present application and the digital product generation method provided in the embodiment of the present application are based on the same application concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned digital product generation method, and has the same or similar beneficial effects, and the repeated parts will not be repeated.

[0104] Embodiment 4:

[0105] Corresponding to the digital product generation method provided in the above embodiment, based on the same technical concept, the embodiment of the present application also provides a digital product generation system, which is used to execute the above digital product generation method. Figure 6 A schematic diagram of a digital product generation system for implementing various embodiments of the present application is shown in FIG. Figure 6 The digital product generation system may have relatively large differences due to different configurations or performances, and may include one or more processors 601 and memory 602, wherein the memory 602 is used to store computer programs that can be run on the processor, and the processor is used to execute the program stored in the memory to achieve the above Figure 1 or Figure 2The various steps in the method embodiment. Among them, the memory 602 can be a temporary storage or a permanent storage. The application stored in the memory 602 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the digital product generation system.

[0106] Furthermore, the processor 601 may be configured to communicate with the memory 602 to execute a series of computer executable instructions in the memory 602 on the digital product generation system. The digital product generation system may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input and output interfaces 605, and one or more keyboards 606.

[0107] Specifically in this embodiment, the digital product generation system includes a processor, a communication interface, a memory and a communication bus; wherein the processor, the communication interface and the memory communicate with each other through the bus; the memory is used to store computer programs; the processor is used to execute the programs stored in the memory to achieve the above Figure 1 or Figure 2 The various steps in the method embodiment are similar to those in the method embodiment, and have the beneficial effects of the above method embodiments. To avoid repetition, the embodiments of the present application will not be described again here.

[0108] It should be noted that the digital product generation system provided in the embodiment of the present application and the digital product generation method provided in the embodiment of the present application are based on the same application concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned digital product generation method, and has the same or similar beneficial effects, and the repeated parts will not be repeated.

[0109] It should be noted that the sequence of the above embodiments of the present invention is for description only and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0110] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. A method for generating a digital product, characterized in that: The digital product generation method comprises: Acquire first access data of a first user within a predetermined time period, and second access data of a second user within the predetermined time period, wherein the access data includes access time, number of accesses, and access duration of each digital product accessed by each user within the predetermined time period; determining a first access necessity of the second user accessing each of the digital products according to the access time, the number of accesses and the access duration of the second user, wherein the first access necessity indicates the interest of the second user in accessing the digital product, and the first access necessity is proportional to the interest; Determine similar users from the second users who have similar access habits to the first user according to the first access data and the second access data; Determine a target digital product from the digital products visited by the similar users according to the first access necessity, and recommend the target digital product to the first user; Determining the first access necessity of the second user accessing each of the digital products according to the access time, the number of accesses and the access duration of the second user includes: Determine, according to the access time, the number of visits and the access duration of each digital product by the second user, a first number of visits and a first access duration of each digital product visited by the second user every day within the predetermined time period, wherein the first access duration is the access duration of each visit of the second user to each digital product every day; and the first number of visits is the number of visits of all second users to each digital product every day; Determining, according to the first number of visits and the first visit duration, a second visit certainty of the second user visiting each of the digital products every day, wherein the second visit certainty indicates the contingency of the user visiting the digital product, and the second visit certainty is proportional to the contingency; Determining the second user's interest in each of the digital products by using the second access necessity; Determine the number of days the second user has visited each of the digital products according to the visit time; determining the first visit necessity based on the number of days the second user visits each of the digital products and the interest level; After determining the second visit necessity of the second user visiting each of the digital products every day according to the first visit number and the first visit duration, the method further includes: Determine, according to the time sequence of the access times, a first fluctuation curve of a first access duration of the second user accessing each of the digital products every day within the predetermined time period, and a first fitting curve corresponding to the first fluctuation curve; Determine a second number of visits, where the second number of visits is a second number of visits that is greater than the visit duration of each digital product during the first visit among all first visit durations of the second user visiting each digital product every day; Determine a correction coefficient according to the slope value of the first fitting curve, the first access duration, the access duration of the first access, and the second access number; Using the correction coefficient to correct the second access certainty to obtain the real access certainty; The determining the second user's interest in each of the digital products by using the second access necessity comprises: Determining the second user's interest in each of the digital products by using the real access necessity; The determining of the correction coefficient according to the slope value of the first fitting curve, the first access duration, the access duration of the first access, and the second access number includes: Calculate a first difference between each of the first access durations and the access duration of the first access, traverse all second access times, and superimpose the first differences to obtain a first superposition value; Normalizing the first superposition value to obtain a normalized superposition value; Calculating the sum of the normalized superposition value and the slope value to obtain a sum value, and using the sum value as the correction coefficient; Determining the second access necessity of the second user accessing each of the digital products every day according to the first access number and the first access duration includes: Adding up the first access times to obtain the total number of accesses made by the second user to all digital products every day; Calculate the average of the first visit duration of all the digital products in each day; Calculate a second difference between the first access duration and the mean, traverse all the first access times, and superimpose the second difference to obtain a second superposition value; Calculating a first ratio of the second superposition value to the first access number, and a second ratio of the first access number to the total access number; Performing an exponential operation on the first ratio, and determining a product of a result of the exponential operation and the second ratio as the second access necessity of the digital product; The determining the second user's interest in each of the digital products by using the real access necessity comprises: Determine a second fluctuation curve of the inevitability of the second user's actual visits to each of the digital products on different days, and determine a second fitting curve corresponding to the second fluctuation curve; Determining the slope value of the second fitting curve; When the slope value of the second fitting curve is not less than a predetermined value, determining the interest level as the slope value; When the slope of the second fitting curve is less than the predetermined value, determining the interest level to be the predetermined value; The determining of the first visit necessity based on the number of days the second user visits each of the digital products and the interest level comprises: sorting the number of access days of each of the digital products in ascending order to obtain a sorted sequence; Calculate the variance of the third difference values ​​of adjacent visit days in the sorted sequence; Calculating a third ratio of the number of visit days of the digital product to the variance; Superimposing the interest degree with a preset value to obtain a third superimposed value; After multiplying the third ratio and the third superposition value, a product is obtained, and the product is normalized to obtain the first access necessity.

2. The digital product generation method according to claim 1, characterized in that: Determining the target digital product from the digital products visited by the similar users according to the first access necessity comprises: Calculating predicted scores of digital products visited by the similar users based on the first visit necessity based on a collaborative filtering algorithm; The predicted scores are sorted in descending order, and the digital products in the top N positions in the sorting and which have not been visited by the first user are determined as the target digital products, where N is an integer greater than 0.

3. The digital product generation method according to claim 1, characterized in that: After obtaining the first access data of the first user within the predetermined time period and the second access data of the second user within the predetermined time period, the method further includes: Performing rough clustering on the second users based on a K clustering algorithm, and clustering the second users who have accessed similar digital products into one cluster; The determining, according to the access time and access duration of the second user, the first access necessity of the second user accessing each of the digital products comprises: Each cluster is regarded as a user group, and the first access necessity of the second user in each cluster to access each of the digital products is determined according to the access time and the access duration of the second user in each cluster.

4. A digital product generation system, characterized in that: include: A processor and a memory; wherein the memory is used to store a computer program that can be run on the processor; A processor is used to execute the program stored in the memory to implement the steps of the digital product generation method as described in any one of claims 1 to 3.