Data enhancement method for communication service platform based on artificial intelligence
By obtaining and segmenting user behavior data in the tourism exchange service platform, calculating the weight adjustment intensity and initial weight value, and adjusting the order of product recommendations, the problem of user preference prediction bias caused by seasonal changes is solved, ensuring that the recommended content is close to the current needs of users. .
Patent Information
- Application Number
- CN202411073726.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-08-07
AI Technical Summary
The user preference model built by the tourism exchange service platform based on historical data cannot accurately reflect and predict the user's current preferences when faced with seasonal changes, resulting in recommended content that is not close to the user's real needs.
By obtaining the number of user behaviors for the target product within a predetermined period, the local peak hours are determined in segments, the weight adjustment intensity and initial weight value are calculated, and the enhanced weight value is determined based on these values, thereby adjusting the product recommendation order and taking into account seasonal changes. Recommend popular products.
It achieves accurate reflection and prediction of changes in user preferences, ensures that recommended content is close to users' current needs, and improves the accuracy of recommendations.
Smart Images

Figure CN118628210B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a communication service platform data enhancement method based on artificial intelligence. Background Art
[0002] In the digital age, travel exchange service platforms play an important role in connecting users with global travel resources. With the rapid development of big data technology, these platforms can efficiently collect and analyze user behavior data and provide users with personalized and accurate travel product recommendations. Specifically, every interaction of users on travel exchange service platforms, including search history, browsing history, participation in community discussions, and even final reservations and purchases, will leave valuable data footprints. These massive amounts of user behavior data not only reflect users' immediate travel needs, but also contain their long-term interests and potential travel preferences.
[0003] In some scenarios, the Frequent Pattern Tree (FP) algorithm, as a classic frequent pattern mining method, is particularly effective in processing such massive user behavior data. It builds a user preference model to efficiently store users' frequent behavior sequences, helping the platform identify which travel products or services are often viewed or purchased together by users, thereby revealing users' preference patterns. However, the tourism industry has significant seasonal characteristics, and user needs and preferences are not static. This seasonal change causes user behavior to fluctuate, making the user preference model built based on historical data likely to have prediction bias when facing a new season, and unable to accurately reflect and predict user preferences that change with the seasons, and also unable to ensure that the recommended content is close to the user's current real needs. Summary of the invention
[0004] In order to solve the technical problem that the seasonality influence causes the prediction bias of the user's preference, which makes the recommended content difficult to meet the user's current real needs, the purpose of the present invention is to provide a communication service platform data enhancement method based on artificial intelligence. The technical solution adopted is as follows:
[0005] In a first aspect, an embodiment of the present application provides a communication service platform data enhancement method based on artificial intelligence, comprising:
[0006] Obtain a first number of times that users perform a first target behavior on a target product every day within a predetermined period, and a second number of times that users perform a second target behavior on the target product, where the target product is provided by a communication service platform; segment the predetermined period according to the first number, and determine a local peak period; determine a weight adjustment intensity for the target product during the local peak period according to the first number, and the weight adjustment intensity is related to whether the target product is affected by seasonality; determine an initial weight value for the target product during the local peak period according to the first number and the second number, and the initial weight value indicates the degree to which the target product is liked by the user, and the initial weight value is proportional to the degree to which the target product is liked by the user; determine an enhanced weight value for the target product during the local peak period based on the weight adjustment intensity and the initial weight value; determine popular products from the target products using the enhanced weight value, and recommend the popular products to the user.
[0007] Optionally, determining the weight adjustment intensity of the target product in the local peak period according to the first number includes:
[0008] Determine the first number of times the user performs the first target behavior on the current target product every day during the local peak period, and the total number of times the user performs the first target behavior on all target products during the local peak period; determine the first average number of times the user performs the first target behavior on the current target product every day within the predetermined period, and the second average number of times the user performs the first target behavior on all target products every day within the predetermined period; obtain the standard number of times for the current target product; determine the weight adjustment intensity based on the first number, the total number, the first average number, the second average number and the standard number.
[0009] Optionally, determining the weight adjustment strength based on the first number, the total number, the first average number, the second average number and the standard number includes: calculating the first number difference between the first number and the standard number, the first number difference is proportional to the possibility that the target product is affected by seasonality; taking the negative of the first number difference and exponentially exponentially the negative number to obtain an exponential number value; calculating the first number ratio of the first number to the total number, and the second number ratio of the first average number to the second average number; calculating the second number difference between the first number ratio and the second number ratio, and the product of the second number difference and the first number of the first average number, the first number product is proportional to the possibility that the target product is affected by seasonality; normalizing the product of the exponential number value and the first number product to obtain a normalized weight; determining the weight adjustment strength based on the normalized weight and a preset value.
[0010] Optionally, the scheduled time period is segmented according to the first number, and the local peak time period is determined to include:
[0011] The first number of each day in the predetermined time period is superimposed to obtain a first superimposed number, and the ratio of the first superimposed number to the number of days in the predetermined time period is calculated to obtain a third average number; the predetermined time period is divided into multiple time intervals, and the fourth average number of times that users in each time interval perform the first target behavior on the target product is counted according to the first number; the time interval where the fourth average number is greater than the third average number is determined as a local peak period.
[0012] Optionally, determining the initial weight value of the target product in the local peak period based on the first number and the second number includes: determining a second superimposed number of the second number of times the second target behavior is performed on the current target product in the local peak period, a third superimposed number of the second number of times the second target behavior is performed on all target products in the local peak period, and determining a fourth superimposed number of the first number of times the first target behavior is performed on the current target product in the local peak period; calculating a first ratio of the second superimposed number to the fourth superimposed number, the first ratio indicating a target behavior conversion rate of the current target product in each local peak period, the target behavior conversion rate being inversely proportional to the degree to which the target product is affected by seasonality; determining an overall conversion rate of the current target product based on the target behavior conversion rate of the current target product in each local peak period; and determining the initial weight value based on the overall conversion rate, the second superimposed number, and the third superimposed number.
[0013] Optionally, determining the overall conversion rate of the current target product based on the target behavior conversion rate of the current target product in each local peak time period includes: dividing the target behavior conversion rate of each local peak time period into a first conversion rate cluster and a second conversion rate cluster based on a K-means clustering algorithm, the first conversion rate mean in the first conversion rate cluster being higher than the second conversion rate mean in the second conversion rate cluster; determining a first overlapping time period of each local peak time period of the current target product in the first conversion rate cluster, and a second overlapping time period of each local peak time period of the current target product in the second conversion rate cluster; determining the overall conversion rate of the current target product based on the target behavior conversion rate of the current target product in each local peak time period, the first conversion rate mean, the second conversion rate mean, the first overlapping time period and the second overlapping time period.
[0014] Optionally, determining the overall conversion rate of the current target product according to the target behavior conversion rate of the current target product in each local peak period, the first conversion rate average, the second conversion rate average, the first superimposed period, and the second superimposed period includes: respectively calculating a first difference between the target behavior conversion rate of the current target product in each local peak period and the first conversion rate average, and superimposing each first difference to obtain a superimposed value; calculating a second ratio of the superimposed value to the number of local peak periods, the second ratio indicating the stability of the current target product in different conversion rate clusters, and the second ratio is inversely proportional to the degree to which the current target product is affected by seasonality; calculating the first conversion rate average The absolute value of the second difference between the first value and the second conversion rate mean, and the first product of the absolute value and the second ratio, take the negative of the first product and exponentiate the negative number to obtain an indexed value, the second difference is proportional to the possibility that the current target product is affected by seasonality; superimpose the first superimposed time period and the second superimposed time period to obtain the total time period; calculate the second product of the third ratio of the first superimposed time period to the total time period and the first conversion rate mean, and the third product of the fourth ratio of the second superimposed time period to the total time period and the second conversion rate mean; calculate the fourth product of the sum of the second product and the third product and the indexed value, the fourth product indicates the overall conversion rate of the current target product.
[0015] Optionally, determining the initial weight value based on the overall conversion rate, the second number of superpositions, and the third number of superpositions includes: calculating a fourth ratio of the second number of superpositions to the third number of superpositions, the fourth ratio being proportional to the popularity of the current target product; calculating a fifth product of the fourth ratio and the overall conversion rate; normalizing the fifth product to obtain a normalized value; calculating a first sum of the normalized value and a preset value, the first sum indicating the initial weight value.
[0016] Optionally, determining an enhanced weight value of a target product during a local peak period based on the weight adjustment strength and the initial weight value includes: calculating a second sum of the weight adjustment strength and a preset value; determining a sixth product of the initial weight value and the second sum, the sixth product indicating an enhanced weight value of the target product during the local peak period.
[0017] Optionally, determining a hot product from target products using the enhanced weight value includes: calculating the support of the target product based on the enhanced weight value through a frequent pattern tree; and determining that the target product whose support is greater than a threshold is a hot product.
[0018] In a second aspect, the embodiment of the present application provides a communication service platform data enhancement system based on artificial intelligence, including:
[0019] An acquisition module is used to acquire a first number of times that a user performs a first target behavior on a target product every day within a predetermined period, and a second number of times that a user performs a second target behavior on the target product, wherein the target product is provided by a communication service platform; a determination module is used to segment the predetermined period according to the first number, and to determine a local peak period; the determination module is also used to determine a weight adjustment intensity of the target product during the local peak period according to the first number, and the weight adjustment intensity is related to whether the target product is affected by seasonality; the determination module is also used to determine an initial weight value of the target product during the local peak period according to the first number and the second number, and the initial weight value indicates the degree to which the target product is liked by the user, and the initial weight value is proportional to the degree to which the target product is liked by the user; the determination module is also used to determine an enhanced weight value of the target product during the local peak period based on the weight adjustment intensity and the initial weight value; the determination module is also used to determine popular products from the target products using the enhanced weight value, and recommend the popular products to the user.
[0020] In the third aspect, an embodiment of the present application provides an artificial intelligence-based communication service platform data enhancement system, which includes: a processor and a memory; wherein the memory is used to store computer programs 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 artificial intelligence-based communication service platform data enhancement method mentioned in the first aspect above.
[0021] The present invention has the following beneficial effects: by obtaining the first number of times that users perform the first target behavior on the target product every day within a predetermined time period, and the second number of times that users perform the second target behavior on the target product, and then segmenting the predetermined time period according to the first number, a local peak period is determined; then the weight adjustment strength of the target product in the local peak period is determined according to the first number, and the weight adjustment strength can reflect whether the target product is affected by seasonality; the initial weight value of the target product in the local peak period is determined according to the first number and the second number, and the higher the initial weight value, the more the target product is liked by the user; the enhanced weight value of the target product in the local peak period is determined based on the weight adjustment strength and the initial weight value, so that the seasonal influence is taken into account in the target enhanced weight value, and the enhanced weight value can be used to determine the popular product from the target products in combination with the seasonal change trend, thereby accurately reflecting and predicting the user's preferences that change with the seasons, and recommending the popular products to the user, thereby ensuring that the recommended products are close to the user's current real needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] 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.
[0023] Figure 1 A flow chart of a method for enhancing data of a communication service platform based on artificial intelligence provided by one embodiment of the present invention;
[0024] Figure 2 A schematic diagram of the module composition of a communication service platform data enhancement system based on artificial intelligence provided by one embodiment of the present invention;
[0025] Figure 3 A schematic diagram of the structure of a communication service platform data enhancement system based on artificial intelligence provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0026] 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 the data enhancement method of a communication service platform based on artificial intelligence proposed by the present invention, its specific implementation method, structure, features and effects, in combination 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.
[0027] 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.
[0028] The following is a detailed description of a method for data enhancement of a communication service platform based on artificial intelligence provided by the present invention in conjunction with the accompanying drawings.
[0029] Embodiment 1:
[0030] See also Figure 1 , which shows a flow chart of a method for data enhancement of a communication service platform based on artificial intelligence provided by an embodiment of the present invention, including:
[0031] Step S101, obtaining a first number of times a user performs a first target behavior on a target product every day within a predetermined period of time, and a second number of times a user performs a second target behavior on the target product.
[0032] Specifically, the first target behavior includes but is not limited to the user's purchase and reservation of the target product, and the second target behavior includes but is not limited to the user's search and browsing of the target product. The target product can be all the tourism products in various regions provided to users on the tourism communication service platform, such as tourism projects, etc. Users can search, browse, book and purchase the tourism product, and the number of target products can be one or more. More specifically, user behavior data for any period of time can be obtained from the communication service platform, including but not limited to search history, browsing history, booking and purchase behavior, etc.
[0033] Furthermore, the predetermined period may be one year or another time span, the first number of times the user performs the first target behavior on the target product every day may be the number of times the user purchases the target product, and the second number of times the user performs the second target behavior on the target product every day may be the number of times the user searches for the target product.
[0034] In this embodiment, the technical solution in this application is described in detail by taking the target product as a tourism product as an example. It is worth noting that the target product is not limited to tourism products, and it can also be other types of products, which is not limited in this embodiment of the application.
[0035] Step S103, segmenting the scheduled time period according to the first number, and determining the local peak time period.
[0036] Specifically, due to seasonal changes, users may be interested in different types of tourist destinations or tourist projects under different circumstances. At the same time, with the arrival of holidays, it will significantly affect the tourist flow and the user's consumption behavior of tourist products, resulting in a peak in the purchase, search, booking and browsing of tourist products in the short term. Since the user's travel preferences and consumption behaviors during holidays are significantly different from those in normal times, if the frequency of short-term data is used to determine the support of the FP tree, the frequency caused by the local peak situation will be overestimated. The data influence of the local peak situation will cause the user's real travel preferences to be misjudged. In order to eliminate the impact of the local peak situation caused by seasonality on the user's real travel preferences, it is first necessary to determine the local peak period caused by seasonality, and then determine the weight adjustment intensity of the current local peak period based on the difference between the holiday and normal period of the tourist product.
[0037] When determining the local peak period, the first number of each day in the predetermined period can be superimposed to obtain a first superimposed number, and the ratio of the first superimposed number to the number of days in the predetermined period can be calculated to obtain a third average number; the predetermined period can be divided into multiple time intervals, and the fourth average number of users performing the first target behavior on the target product in each time interval can be counted based on the first number; and the time interval in which the fourth average number is greater than the third average number is determined as the local peak period.
[0038] Specifically, the scheduled period can be one year, and the first number can be the number of purchases. Due to seasonality, the number of purchases by users may increase temporarily. By counting the number of purchases by users every day, the scheduled period can be divided into multiple time intervals. A segmentation algorithm can be used to segment the scheduled period. The segmentation algorithm can be a segmentation algorithm based on time series, such as segmenting the scheduled period with a time interval of one week or one month. For example, a segmentation algorithm is used to segment the number of purchases of user purchase behaviors in the current region for a whole year, and different segments are determined. Then, the average number of purchases in different segments is compared with the average number of purchases per day in a whole year. The segment that is greater than the average value is determined as a local peak period. Among them, the local peak period can be one or more.
[0039] Step S105, determining the weight adjustment intensity of the target product in the local peak period according to the first number.
[0040] Among them, the intensity of weight adjustment is related to whether the target product is affected by seasonality.
[0041] Specifically, the weight adjustment strength is used to adjust the purchase weight value of users during the local peak period. In order to eliminate the local peak caused by seasonality, it is necessary to determine the difference in the number of purchases of each tourism product between the holiday period and the normal period. Among them, there are popular tourism products during the current local peak period. If the frequency of occurrence during the normal period is too small, it means that the current tourism product may be affected by seasonality and there is a short-term increase in frequency, indicating that the weight adjustment strength needs to be used to reduce the initial weight value of the current tourism product in this period. At the same time, if the tourism product has a higher frequency than normal due to seasonal factors, but in normal periods, this frequency is relative to other tourism products, and there is also a higher number of users who purchase it, indicating that it is a popular product. Seasonal factors may further enhance its attractiveness. You can consider using the weight adjustment strength to increase the initial weight value.
[0042] Among them, the weight adjustment strength can be determined in the following manner, specifically: determining the first number of times the user performs the first target behavior on the current target product every day during the local peak period, and the total number of times the user performs the first target behavior on all target products during the local peak period; determining the first average number of times the user performs the first target behavior on the current target product every day within the predetermined period, and the second average number of times the user performs the first target behavior on all target products every day within the predetermined period; obtaining the standard number of times for the current target product; determining the weight adjustment strength based on the first number, the total number, the first average number, the second average number and the standard number.
[0043] Specifically, this embodiment takes the first target behavior as the purchase behavior, the first number as the purchase number, and the standard number as the number of times the user performs the purchase behavior during a normal period (such as a non-holiday period) as an example to illustrate this embodiment. The first number of times the user performs the first target behavior on the current target product every day during the local peak period refers to the number of times the tourism product is purchased by all users every day during the local peak period. The total number of times the user performs the first target behavior on all target products during the local peak period can be obtained by counting the number of purchases of all target products by all users every day during the local peak period, and then superimposing the number of purchases of all target products by all users every day during the local peak period. The first average number can be the ratio of the number of purchases of all users performing the purchase behavior on the current tourism product every day during the scheduled period to the total number of days during the scheduled period, and the second average number can be the ratio of the number of purchases of all users performing the purchase behavior on all tourism products every day during the scheduled period to the total number of days during the scheduled period.
[0044] Furthermore, determining the weight adjustment strength based on the first number, the total number, the first average number, the second average number and the standard number includes: calculating the first number difference between the first number and the standard number, the first number difference is proportional to the possibility that the target product is affected by seasonality; taking the negative of the first number difference and exponentially exponentially the negative number to obtain the exponential number value; calculating the first number ratio of the first number to the total number, and the second number ratio of the first average number to the second average number; calculating the second number difference between the first number ratio and the second number ratio, and the product of the second number difference and the first number of the first average number, the first number product is proportional to the possibility that the target product is affected by seasonality; normalizing the product of the exponential number value and the first number product to obtain the normalized weight; determining the weight adjustment strength based on the normalized weight and the preset value.
[0045] Specifically, the preset value can be 1, the preset period can be one year, and the weight adjustment intensity can be calculated using the following formula: :
[0046]
[0047] in, represents the number of daily purchases of the u-th tourism product in the v-th local peak segment, represents the number of times users purchase all travel products during the current vth local peak period. (The first number ratio) indicates the purchase proportion of current tourism products in the local peak period. represents the average number of daily purchases of the u-th tourism product in a whole year, It represents the second average number of daily purchases of all travel products in a whole year. (The second ratio) indicates the purchase proportion of current tourism products in normal times. It means that the purchase frequency of the current tourism product during local peak hours and normal hours is relatively large. The purchase frequency during local peak hours has increased compared with the normal hours. This shows that the current tourism product has increased its attractiveness due to seasonality, so its weight adjustment intensity can be increased. Among them, It refers to the difference of the second digits, and the normal period refers to the non-holiday period.
[0048] (The first difference) indicates that the current tourism product during the local peak period has a larger purchase volume than the purchase volume during the normal period, indicating that the current tourism product may be affected by seasonal interference and has a short-term increase. The weight adjustment intensity needs to be reduced. is the standard number of times, Express Normalization.
[0049] Step S107, determining the initial weight value of the target product in the local peak period according to the first number and the second number.
[0050] The initial weight value indicates the degree to which the target product is liked by the user, and the initial weight value is proportional to the degree to which the target product is liked by the user.
[0051] Specifically, there will be deviations in determining the user preference for a tourism product only by the number of recorded user behaviors (such as the number of purchases). For example, due to the popularity of the Internet, many users will search for the tourism product, but it is found that the number of users who finally purchase the tourism product is relatively low. Therefore, the user preference for the current tourism product can be measured by the conversion rate from the user's search behavior (second target behavior) to the final purchase behavior (first target behavior) for a tourism product. The initial weight value of the current tourism product can be determined according to the different user preferences of different tourism products, and a relatively large weight can be added to the tourism products that the user is interested in, so that the user's true preferences can be more balanced when the TP tree is established.
[0052] In one possible implementation, determining the initial weight value of the target product in the local peak period based on the first number and the second number includes: determining a second superimposed number of the second number of times the second target behavior is performed on the current target product in the local peak period, a third superimposed number of the second number of times the second target behavior is performed on all target products in the local peak period, and determining a fourth superimposed number of the first number of times the first target behavior is performed on the current target product in the local peak period; calculating a first ratio of the second superimposed number to the fourth superimposed number, the first ratio indicating a target behavior conversion rate of the current target product in each local peak period, the target behavior conversion rate being inversely proportional to the degree to which the target product is affected by seasonality; determining an overall conversion rate of the current target product based on the target behavior conversion rate of the current target product in each local peak period; and determining the initial weight value based on the overall conversion rate, the second superimposed number, and the third superimposed number.
[0053] Specifically, taking the first target behavior as purchase behavior, the second target behavior as search behavior, and the target product as travel products as an example, the target behavior conversion rate is It can be calculated by the following formula:
[0054]
[0055] In the above formula, Indicates the number of searches for the current travel product (second superposition number), Indicates the number of purchases of the current travel product (the fourth superposition number).
[0056] Due to seasonal factors, there may be a possibility of deviation in user preferences due to seasonal factors, so it is necessary to use the target behavior conversion rate to determine whether the current tourism product is affected by seasonality. If the current tourism product is not affected by seasonality, it can be determined that whether the current tourism product is in a local peak period or a normal period, its tourism product is at the same target behavior conversion rate, and its target behavior conversion rate is relatively high, which means that the current tourism product is a tourism product that users like without being affected by seasons.
[0057] Furthermore, after determining the target behavior conversion rate of the current tourism product in different local peak periods, each target behavior conversion rate can be divided into a high behavior conversion rate and a low behavior conversion rate. Among them, the greater the difference between the average values of the high behavior conversion rate and the low behavior conversion rate, the greater the difference in the target behavior conversion rate of the current tourism product in different local peak periods, indicating that the tourism product is more likely to be affected by the season; and when the target behavior conversion rate of the tourism product becomes higher due to seasonal influences, it is determined that the conversion rate is relatively stable in different periods of high behavior conversion rate, indicating that the current tourism product is more likely to be affected by the season. Therefore, the overall conversion rate can be used to determine the relationship between tourism products and seasonal influences.
[0058] In a possible implementation, determining the overall conversion rate of the current target product according to the target behavior conversion rate of the current target product in each local peak time period includes: dividing the target behavior conversion rate of each local peak time period into a first conversion rate cluster and a second conversion rate cluster based on a K-means clustering (K-means) clustering algorithm, wherein a first conversion rate mean in the first conversion rate cluster is higher than a second conversion rate mean in the second conversion rate cluster; determining a first overlapping time period of each local peak time period of the current target product in the first conversion rate cluster, and a second overlapping time period of each local peak time period of the current target product in the second conversion rate cluster; and determining the overall conversion rate of the current target product according to the target behavior conversion rate of the current target product in each local peak time period, the first conversion rate mean, the second conversion rate mean, the first overlapping time period, and the second overlapping time period.
[0059] Specifically, the target behavior conversion rates of current tourism products in each local peak period are clustered through the K-means clustering algorithm, where k=2. After clustering, they will be divided into the first conversion rate cluster and the second conversion rate cluster. The target behavior conversion rate within the first conversion rate cluster is higher, and the target behavior conversion rate within the second conversion rate cluster is lower, that is, the mean first conversion rate within the first conversion rate cluster is higher than the mean second conversion rate within the second conversion rate cluster.
[0060] Furthermore, determining the overall conversion rate of the current target product according to the target behavior conversion rate of the current target product in each local peak period, the first conversion rate average, the second conversion rate average, the first superimposed period, and the second superimposed period includes: respectively calculating the first difference between the target behavior conversion rate of the current target product in each local peak period and the first conversion rate average, and superimposing the first differences to obtain a superimposed value; calculating a second ratio of the superimposed value to the number of local peak periods, the second ratio indicating the stability of the current target product in different conversion rate clusters, and the second ratio is inversely proportional to the degree to which the current target product is affected by seasonality; calculating the first conversion rate average The absolute value of the second difference between the first value and the second conversion rate mean, and the first product of the absolute value and the second ratio, take the negative of the first product and exponentiate the negative number to obtain an indexed value, the second difference is proportional to the possibility that the current target product is affected by seasonality; superimpose the first superimposed time period and the second superimposed time period to obtain the total time period; calculate the second product of the third ratio of the first superimposed time period to the total time period and the first conversion rate mean, and the third product of the fourth ratio of the second superimposed time period to the total time period and the second conversion rate mean; calculate the fourth product of the sum of the second product and the third product and the indexed value, the fourth product indicates the overall conversion rate of the current target product.
[0061] Specifically, the stability of the current target product within different conversion rate clusters The following formula can be used for calculation:
[0062]
[0063] in, represents the determined target behavior conversion rate of the u-th tourism product in the i-th local peak period in the current cluster, The first conversion rate mean value representing the target behavior conversion rate in the first conversion rate cluster.
[0064] Determining stability Finally, comprehensively determine the overall conversion rate of current tourism products , which can be specifically expressed by the following formula:
[0065]
[0066] in, represents the first conversion rate mean of the target behavior conversion rate in the first conversion rate cluster of the u-th tourism product, represents the second conversion rate mean of the target behavior conversion rate in the second conversion rate cluster of the u-th tourism product, Indicates the differences between the current tourism products in the first conversion rate cluster and the second conversion rate cluster. It indicates the stability of the u-th tourism product in different conversion rate clusters. The smaller it is, the more obvious the current tourism product is affected by the same seasonal factor. represents the first superposition period of each period in the first conversion rate cluster of the u-th tourism product, represents the second superposition period of each period in the second conversion rate cluster of the u-th tourism product, Indicates the total time period, Indicates the overall conversion rate of current tourism products in different time periods. As a weight (indexed value), if the current tourism product is greatly affected by the season, the overall conversion rate of the tourism product will be reduced.
[0067] Specifically, after determining the overall conversion rate of each tourism product, the proportion of each tourism product in the overall market can be determined at the same time, and the support of the current tourism product can be determined by combining the two. If the overall conversion rate of the current tourism product is high and the search ratio of the tourism product in the overall market is relatively high compared to other products, it means that the current tourism product is a favorite product of users and the support needs to be increased. If the overall conversion rate of the current tourism product is relatively low, but the search ratio is relatively high, it means that the current tourism product may be known by people due to the popularity of the Internet, but many users feel that the current tourism product is not worth buying after understanding it. Therefore, when the current tourism product is used for frequency statistics of the FP tree to determine the popular tourism product, the weight of the current tourism product needs to be reduced to reduce the impact in the FP tree so that the support reflects the real preferences of users more evenly.
[0068] In one possible implementation, determining the initial weight value based on the overall conversion rate, the second number of superpositions, and the third number of superpositions includes: calculating a fourth ratio of the second number of superpositions to the third number of superpositions, the fourth ratio being proportional to the popularity of the current target product; calculating a fifth product of the fourth ratio and the overall conversion rate; normalizing the fifth product to obtain a normalized value; calculating a first sum of the normalized value and a preset value, the first sum indicating the initial weight value.
[0069] Specifically, when counting the support of the FP tree, the FP tree is constructed using the collected data on users’ purchases of tourism products. Each node represents a purchase item (tourism product), so the initial purchase weight of each tourism product is 1. The initial weight value of the current tourism product is determined based on the overall conversion rate of the current tourism product and the search situation of the tourism product. Specifically, the initial weight value The following formula can be used for calculation:
[0070]
[0071] In the above formula, represents the number of searches for the u-th tourism product (the second superposition number), Indicates the total number of searches for all travel products (third superposition number), It indicates the search proportion of the current tourism product compared to all current tourism products, indicating the popularity of the current tourism product. Indicates the overall conversion rate of current tourism products; It means that the current tourism products are very popular and the overall conversion rate of tourism products is high. This means that the more people like the current tourism products, the higher the weight that needs to be increased.
[0072] Step S109, determining an enhanced weight value of the target product in the local peak period based on the weight adjustment strength and the initial weight value.
[0073] Specifically, the initial weight value is corrected using the weight adjustment strength. After obtaining different initial weight values of different target products as described above, the final enhanced weight value of the current tourism product when establishing the FP tree is determined in combination with the weight adjustment strength of different tourism products in different local peak periods due to seasonality. Since the weight adjustment strength of tourism products does not need to be adjusted due to seasonality, the final enhanced weight value of each tourism product can be determined in each local peak period.
[0074] In one possible implementation, determining an enhanced weight value for a target product during a local peak period based on the weight adjustment strength and the initial weight value includes: calculating a second sum of the weight adjustment strength and a preset value; and determining a sixth product of the initial weight value and the second sum, the sixth product indicating an enhanced weight value for the target product during the local peak period.
[0075] Specifically, the weight value is enhanced The following formula can be used for calculation:
[0076]
[0077] in, is the enhanced weight value of the u-th tourism product, Represents the weight adjustment intensity of the u-th tourism product in the v-th local peak segment.
[0078] Step S1011, determine popular products from target products using enhanced weight values, and recommend the popular products to users.
[0079] Specifically, after determining the final enhanced weight value for each tourism product through different local peak periods, the support of each tourism product based on the enhanced weight value is calculated through the FP tree.
[0080] Among them, using the enhanced weight value to determine the hot products from the target products includes: calculating the support of the target product based on the enhanced weight value through a frequent pattern tree; and determining the target product whose support is greater than a threshold as a hot product.
[0081] Specifically, when the current tourism products are subjected to frequency statistics of the FP tree to determine the popular tourism products, the weights of the current tourism products take into account seasonal factors, thereby obtaining enhanced weight values, thereby reducing the influence of seasonal factors in the FP tree, and making the support more balanced to reflect the user's true preferences. The popular tourism products in the current area are determined based on the comparison of the support of the current tourism products with the threshold, and the obtained popular tourism products can be promoted. Promotion can be carried out through social media, search engine advertising, email marketing, partner websites, etc.; and special promotions can be carried out: special promotions or limited-time discounts are provided for popular products to stimulate the user's desire to buy. Among them, the threshold can be determined according to the actual situation, and the embodiments of the present application will not be repeated here.
[0082] Through the technical solution disclosed in the embodiment of the present application, by obtaining the first number of times that the user performs the first target behavior on the target product every day within the predetermined time period, and the second number of times that the user performs the second target behavior on the target product, the predetermined time period is segmented according to the first number to determine the local peak period; then the weight adjustment strength of the target product in the local peak period is determined according to the first number, and the weight adjustment strength can reflect whether the target product is affected by seasonality; the initial weight value of the target product in the local peak period is determined according to the first number and the second number, and the higher the initial weight value, the more the target product is liked by the user; the enhanced weight value of the target product in the local peak period is determined based on the weight adjustment strength and the initial weight value. In this way, the target enhanced weight value takes into account the impact of seasonality, and can be combined with the seasonal change trend to determine the popular products from the target products by using the enhanced weight value, thereby accurately reflecting and predicting the user's preferences that change with the seasons, and recommending the popular products to the user, thereby ensuring that the recommended products are close to the user's current real needs.
[0083] Embodiment 2:
[0084] Corresponding to the communication service platform data enhancement method based on artificial intelligence provided in the above embodiment, based on the same technical concept, the embodiment of the present application also provides a communication service platform data enhancement system based on artificial intelligence, Figure 2 Schematic diagram of the module composition of the communication service platform data enhancement system based on artificial intelligence provided in the embodiment of the present application, the communication service platform data enhancement system based on artificial intelligence is used to perform Figure 1 The data enhancement method for the communication service platform based on artificial intelligence is described, such as Figure 2As shown, the artificial intelligence-based communication service platform data enhancement system 200 includes: an acquisition module 201, which is used to acquire the first number of times that the user performs the first target behavior on the target product every day within a predetermined period, and the second number of times that the user performs the second target behavior on the target product, and the target product is provided by the communication service platform; a determination module 202, which is used to segment the predetermined period according to the first number and determine the local peak period; the determination module 202 is also used to determine the weight adjustment strength of the target product in the local peak period according to the first number, and the weight adjustment strength is related to whether the target product is affected by seasonality; the determination module 202 is also used to determine the initial weight value of the target product in the local peak period according to the first number and the second number, and the initial weight value indicates the degree to which the target product is liked by the user, and the initial weight value is proportional to the degree to which the target product is liked by the user; the determination module 202 is also used to determine the enhanced weight value of the target product in the local peak period based on the weight adjustment strength and the initial weight value; the determination module 202 is also used to determine popular products from the target products using the enhanced weight value and recommend the popular products to the user.
[0085] Through the technical solution disclosed in the embodiment of the present application, by obtaining the first number of times that the user performs the first target behavior on the target product every day within the predetermined time period, and the second number of times that the user performs the second target behavior on the target product, the predetermined time period is segmented according to the first number to determine the local peak period; then the weight adjustment strength of the target product in the local peak period is determined according to the first number, and the weight adjustment strength can reflect whether the target product is affected by seasonality; the initial weight value of the target product in the local peak period is determined according to the first number and the second number, and the higher the initial weight value, the more the target product is liked by the user; the enhanced weight value of the target product in the local peak period is determined based on the weight adjustment strength and the initial weight value. In this way, the target enhanced weight value takes into account the impact of seasonality, and can be combined with the seasonal change trend to determine the popular products from the target products by using the enhanced weight value, thereby accurately reflecting and predicting the user's preferences that change with the seasons, and recommending the popular products to the user, thereby ensuring that the recommended products are close to the user's current real needs.
[0086] In one possible implementation, the determination module 202 is also used to determine the first number of times the user performs the first target behavior on the current target product every day during the local peak period, and the total number of times the user performs the first target behavior on all target products during the local peak period; determine the first average number of times the user performs the first target behavior on the current target product every day within the predetermined period, and the second average number of times the user performs the first target behavior on all target products every day within the predetermined period; obtain the standard number of times for the current target product; and determine the weight adjustment intensity based on the first number, the total number, the first average number, the second average number and the standard number.
[0087] In a possible implementation, the determination module 202 is also used to calculate the first number difference between the first number and the standard number, the first number difference is proportional to the possibility that the target product is affected by seasonality; take the negative of the first number difference and exponentially index the negative number to obtain the exponential number value; calculate the first number ratio of the first number to the total number, and the second number ratio of the first average number to the second average number; calculate the second number difference between the first number ratio and the second number ratio, and the first number product of the second number difference and the first average number, the first number product is proportional to the possibility that the target product is affected by seasonality; normalize the product of the exponential number value and the first number product to obtain a normalized weight; determine the weight adjustment strength according to the normalized weight and the preset value.
[0088] In a possible implementation, the determination module 202 is further used to superimpose the first number of times for each day within the predetermined time period to obtain a first superimposed number, calculate the ratio of the first superimposed number to the number of days in the predetermined time period to obtain a third average number; divide the predetermined time period into multiple time intervals, and count the fourth average number of times in which users in each time interval perform the first target behavior on the target product based on the first number; and determine the time interval in which the fourth average number is greater than the third average number as a local peak period.
[0089] In one possible implementation, the determination module 202 is further used to determine a second superimposed number of the second number of times the second target behavior is performed on the current target product during the local peak period, a third superimposed number of the second number of times the second target behavior is performed on all target products during the local peak period, and a fourth superimposed number of the first number of times the first target behavior is performed on the current target product during the local peak period; calculate a first ratio of the second superimposed number to the fourth superimposed number, the first ratio indicating a target behavior conversion rate of the current target product in each local peak period, the target behavior conversion rate being inversely proportional to the degree to which the target product is affected by seasonality; determine an overall conversion rate of the current target product based on the target behavior conversion rate of the current target product in each local peak period; and determine an initial weight value based on the overall conversion rate, the second superimposed number, and the third superimposed number.
[0090] In one possible implementation, the determination module 202 is also used to divide the target behavior conversion rate of each local peak time period into a first conversion rate cluster and a second conversion rate cluster based on the K-means clustering algorithm, wherein the first conversion rate mean in the first conversion rate cluster is higher than the second conversion rate mean in the second conversion rate cluster; determine the first overlapping time period of each local peak time period of the current target product in the first conversion rate cluster, and the second overlapping time period of each local peak time period of the current target product in the second conversion rate cluster; determine the overall conversion rate of the current target product according to the target behavior conversion rate of the current target product in each local peak time period, the first conversion rate mean, the second conversion rate mean, the first overlapping time period and the second overlapping time period.
[0091] In a possible implementation, the determination module 202 is further used to respectively calculate the first difference between the target behavior conversion rate of the current target product in each local peak period and the first conversion rate mean, and superimpose the first differences to obtain a superimposed value; calculate a second ratio of the superimposed value to the number of local peak periods, the second ratio indicates the stability of the current target product in different conversion rate clusters, and the second ratio is inversely proportional to the degree to which the current target product is affected by seasonality; calculate the absolute value of the second difference between the first conversion rate mean and the second conversion rate mean, and the first product of the absolute value and the second ratio, take the negative of the first product and exponentially obtain the indexed value, the second difference is proportional to the possibility that the current target product is affected by seasonality; superimpose the first superimposed period and the second superimposed period to obtain the total period; calculate the second product of the third ratio of the first superimposed period to the total period and the first conversion rate mean, and the third product of the fourth ratio of the second superimposed period to the total period and the second conversion rate mean; calculate the fourth product of the sum of the second product and the third product and the indexed value, the fourth product indicating the overall conversion rate of the current target product.
[0092] In one possible implementation, the determination module 202 is also used to calculate a fourth ratio of the second superposition number to the third superposition number, the fourth ratio being proportional to the popularity of the current target product; calculating a fifth product of the fourth ratio and the overall conversion rate; normalizing the fifth product to obtain a normalized value; calculating a first sum of the normalized value and a preset value, the first sum indicating an initial weight value.
[0093] In a possible implementation, the determination module 202 is further used to calculate a second sum of the weight adjustment strength and a preset value; determine a sixth product of the initial weight value and the second sum, the sixth product indicating an enhanced weight value of the target product in the local peak period.
[0094] In a possible implementation, the determination module 202 is further configured to calculate the support of the target product based on the enhanced weight value through the frequent pattern tree; and determine that the target product with a support greater than a threshold is a hot product.
[0095] It should be noted that the artificial intelligence-based communication service platform data enhancement system provided in the embodiment of the present application and the artificial intelligence-based communication service platform data enhancement 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 artificial intelligence-based communication service platform data enhancement method, and has the same or similar beneficial effects, and the repetitions will not be repeated.
[0096] Embodiment three:
[0097] Corresponding to the artificial intelligence-based communication service platform data enhancement method provided in the above embodiment, based on the same technical concept, the embodiment of the present application also provides an artificial intelligence-based communication service platform data enhancement system, which is used to execute the artificial intelligence-based communication service platform data enhancement method. Figure 3 A schematic diagram of a data enhancement system for a communication service platform based on artificial intelligence is provided to implement each embodiment of the present application, as shown in FIG. Figure 3 The data enhancement system of the communication service platform based on artificial intelligence may have relatively large differences due to different configurations or performances, and may include one or more processors 301 and memory 302, the memory 302 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 The various steps in the method embodiment. Among them, the memory 302 can be a temporary storage or a permanent storage. The application stored in the memory 302 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the data enhancement system of the communication service platform based on artificial intelligence.
[0098] Furthermore, the processor 301 can be configured to communicate with the memory 302 to execute a series of computer executable instructions in the memory 302 on the artificial intelligence-based communication service platform data enhancement system. The artificial intelligence-based communication service platform data enhancement system can also include one or more power supplies 303, one or more wired or wireless network interfaces 304, one or more input and output interfaces 305, and one or more keyboards 306.
[0099] Specifically in this embodiment, the data enhancement system of the communication service platform based on artificial intelligence 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 1The 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.
[0100] It should be noted that the artificial intelligence-based communication service platform data enhancement system provided in the embodiment of the present application and the artificial intelligence-based communication service platform data enhancement 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 artificial intelligence-based communication service platform data enhancement method, and has the same or similar beneficial effects, and the repetitions will not be repeated.
[0101] It should be noted that the sequence of the above embodiments of the present invention is only for description 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.
[0102] 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 data enhancement method for a communication service platform based on artificial intelligence, characterized in that: The communication service platform data enhancement method based on artificial intelligence includes: Obtaining a first number of times that a user performs a first target behavior on a target product every day within a predetermined period of time, and a second number of times that a user performs a second target behavior on the target product, wherein the target product is provided by a communication service platform; Segmenting the predetermined time period according to the first number of times and determining a local peak time period; determining, according to the first number of times, a weight adjustment intensity of the target product in the local peak period, wherein the weight adjustment intensity is related to whether the target product is affected by seasonality; Determining an initial weight value of the target product in the local peak period according to the first number of times and the second number of times, the initial weight value indicating the degree to which the target product is liked by the user, and the initial weight value is proportional to the degree to which the target product is liked by the user; Determining an enhanced weight value of the target product in the local peak period based on the weight adjustment strength and the initial weight value; Determine popular products from target products using the enhanced weight values, and recommend the popular products to users; Determining the weight adjustment intensity of the target product in the local peak period according to the first number of times includes: Determine a first number of times that the user performs the first target behavior on the current target product every day during the local peak period, and a total number of times that the user performs the first target behavior on all target products during the local peak period; Determine a first average number of times that the user performs the first target behavior on the current target product every day during the predetermined period, and a second average number of times that the user performs the first target behavior on all target products every day during the predetermined period; Obtain the standard number of times of the current target product; Determine the weight adjustment strength according to the first number of times, the total number of times, the first average number of times, the second average number of times, and the standard number of times; The standard number of times is the number of times the user performs purchases during non-holiday periods.
2. The data enhancement method for communication service platform based on artificial intelligence according to claim 1 is characterized in that: Determining the weight adjustment strength according to the first number of times, the total number of times, the first average number of times, the second average number of times, and the standard number of times includes: Calculating a first frequency difference between the first frequency and the standard frequency, wherein the first frequency difference is proportional to a possibility that the target product is affected by seasonality; Taking the negative of the first degree difference and exponentially converting the negative into an exponential degree value; Calculate a first frequency ratio of the first frequency to the total frequency, and a second frequency ratio of the first average frequency to the second average frequency; Calculate a second frequency difference between the first frequency ratio and the second frequency ratio, and a first frequency product of the second frequency difference and the first average frequency, wherein the first frequency product is proportional to the possibility that the target product is affected by seasonality; Normalizing the product of the exponential order value and the product of the first order value to obtain a normalized weight; The weight adjustment strength is determined according to the normalized weight and a preset value.
3. The data enhancement method for communication service platform based on artificial intelligence according to claim 1, characterized in that: The step of segmenting the predetermined time period according to the first number of times and determining a local peak time period comprises: Superimposing the first number of times for each day in the predetermined period to obtain a first superimposed number, and calculating the ratio of the first superimposed number to the number of days in the predetermined period to obtain a third average number; Divide the predetermined time period into a plurality of time intervals, and count the fourth average number of times that users perform the first target behavior on the target product in each time interval according to the first number of times; The time period in which the fourth average number of times is greater than the third average number of times is determined as the local peak time period.
4. The method for enhancing data of a communication service platform based on artificial intelligence according to claim 3, characterized in that: The determining the initial weight value of the target product in the local peak period according to the first number of times and the second number of times comprises: Determine a second superimposed number of the second number of times the second target behavior is performed on the current target product during the local peak period, a third superimposed number of the second number of times the second target behavior is performed on all target products during the local peak period, and determine a fourth superimposed number of the first number of times the first target behavior is performed on the current target product during the local peak period; Calculating a first ratio of the second superposition number to the fourth superposition number, the first ratio indicating a target behavior conversion rate of the current target product in each of the local peak periods, the target behavior conversion rate being inversely proportional to the degree to which the target product is affected by seasonality; Determine the overall conversion rate of the current target product according to the target behavior conversion rate of the current target product in each of the local peak time periods; The initial weight value is determined according to the overall conversion rate, the second superposition number, and the third superposition number.
5. The method for enhancing data of a communication service platform based on artificial intelligence according to claim 4, characterized in that: Determining the overall conversion rate of the current target product according to the target behavior conversion rate of the current target product in each of the local peak periods includes: Based on the K-means clustering algorithm, the target behavior conversion rate in each local peak period is divided into a first conversion rate cluster and a second conversion rate cluster, wherein the first conversion rate mean in the first conversion rate cluster is higher than the second conversion rate mean in the second conversion rate cluster; Determine a first overlapping period of each of the local peak periods of the current target product in the first conversion rate cluster, and a second overlapping period of each of the local peak periods of the current target product in the second conversion rate cluster; The overall conversion rate of the current target product is determined according to the target behavior conversion rate of the current target product in each of the local peak time periods, the first conversion rate average, the second conversion rate average, the first overlapping time period, and the second overlapping time period.
6. The method for data enhancement of a communication service platform based on artificial intelligence according to claim 5, characterized in that: Determining the overall conversion rate of the current target product according to the target behavior conversion rate of the current target product in each of the local peak time periods, the first conversion rate average, the second conversion rate average, the first superimposed time period, and the second superimposed time period includes: Calculating first differences between the target behavior conversion rate of the current target product in each of the local peak periods and the first conversion rate average respectively, and superimposing the first differences to obtain a superimposed value; Calculating a second ratio of the superposition value to the number of the local peak time periods, the second ratio indicating the stability of the current target product within different conversion rate clusters, and the second ratio is inversely proportional to the degree to which the current target product is affected by seasonality; Calculate an absolute value of a second difference between the first conversion rate average and the second conversion rate average, and a first product of the absolute value and the second ratio, take the negative of the first product and exponentially perform the exponential value, and obtain an indexed value, wherein the second difference is proportional to the possibility that the current target product is affected by seasonality; Superimposing the first superimposed time period and the second superimposed time period to obtain a total time period; Calculating a second product of a third ratio of the first superimposed time period to the total time period and a first average conversion rate, and a third product of a fourth ratio of the second superimposed time period to the total time period and a second average conversion rate; A fourth product of the sum of the second product and the third product and the indexed value is calculated, the fourth product indicating the overall conversion rate of the current target product.
7. The method for enhancing data of a communication service platform based on artificial intelligence according to claim 4, characterized in that: Determining the initial weight value according to the overall conversion rate, the second superposition number, and the third superposition number includes: Calculating a fourth ratio of the second superposition number to the third superposition number, wherein the fourth ratio is proportional to the popularity of the current target product; calculating a fifth product of the fourth ratio and the overall conversion rate; Normalizing the fifth product to obtain a normalized value; A first sum value of the normalized value and a preset value is calculated, wherein the first sum value indicates the initial weight value.
8. The method for enhancing data of a communication service platform based on artificial intelligence according to claim 1, characterized in that: The step of determining the enhanced weight value of the target product in the local peak period based on the weight adjustment strength and the initial weight value comprises: Calculating a second sum of the weight adjustment strength and a preset value; A sixth product of the initial weight value and the second sum value is determined, the sixth product indicating an enhanced weight value of the target product in the local peak period.
9. The method for enhancing data of a communication service platform based on artificial intelligence according to claim 1, characterized in that: Determining a hot product from the target product by using the enhanced weight value includes: Calculating the support of the target product based on the enhanced weight value through a frequent pattern tree; The target product whose support degree is greater than a threshold is determined to be the hot product.
Citation Information
Patent Citations
Method and device for acquiring time-efficient words
CN103164424A
Object recommendation method and device based on recommendation model
CN111709810A
