Method, system, device and readable storage medium for constructing product combination

Through order data analysis and undirected weight graph construction, the product mix is ​​optimized, solving the problems of shopping scene changes and the complexity of preferential activities, improving user experience and purchasing behavior, and realizing combined discount album recommendations that meet the preset discount intensity.

CN111738786BActive Publication Date: 2024-09-06BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910335099.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-24
Publication Date
2024-09-06
Estimated Expiration
2039-04-24

AI Technical Summary

Technical Problem

In the existing technology, dynamic changes in shopping consumption scenarios and frequent product promotions make it difficult for consumers to identify appropriate product combinations, select scenario-oriented preferential products, and calculate the complexity of combined discount albums, which affects user experience and purchasing behavior.

Method used

Through order data analysis, an undirected weight graph is constructed to obtain the category set, optimize the candidate product set, and establish an objective function to obtain a combined discount album that meets the preset discount intensity and provide it to consumers.

Benefits of technology

It improves the user experience, promotes consumers' purchasing behavior, helps consumers identify product combinations that meet the preset discounts, and simplifies the process of building a combination discount album.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111738786B
    Figure CN111738786B
Patent Text Reader

Abstract

Embodiments of the present invention provide a method, system, device and readable storage medium for constructing a product combination. The method for constructing a product combination includes: obtaining multiple category sets according to order data, the category sets including multiple product categories, the multiple product categories are all N-level product categories and the products contained in at least two of the product categories appear in the same order, N is an integer greater than or equal to 1; for each category set, obtaining candidate products from the multiple products contained therein, and forming a candidate product set, wherein the candidate products meet the current discount and / or promotion requirements; and for each candidate product set, obtaining a product combination greater than or equal to a preset discount strength as a combination discount album. The present invention applies big data analysis to order data analysis, thereby obtaining a combination discount album that meets the preset discount strength, and providing it to consumers, which helps to improve user experience and promote consumer purchasing behavior.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to a method, system, device and readable storage medium for constructing a product combination. Background Art

[0002] Combination discount sales refers to combining related products and selling them in the form of an album. For example, in a consumption scenario for mothers and babies, related products such as milk powder, milk bottles, baby tableware, mother and baby radiation protection clothing and early education toys will be displayed together, and additional discounts will be given for multiple purchases. Combination discount sales are beneficial to consumers and merchants. The advantages are shown in the table below:

[0003] Table 1

[0004]

[0005] See also Figure 1 , Figure 1 Explains the discounts in a combination sales example. Boxes 100-300 indicate that there are three products A, B and C, each priced at 100 yuan, and are for a consumption scenario; box 400 is a total price promotion (a discount on a full purchase), and the use condition is that the purchase amount is at least 300 yuan; box 500 is a store A coupon, and the use condition is that the purchase amount is at least 200 yuan for the products of store A (A and B); box 600 is a category II coupon, and the use condition is that the purchase amount is at least 105 yuan for the products of category II (B and C).

[0006] If the consumer purchases three items A, B and C separately (three orders, each worth 100 yuan), the consumer pays a total of 300 yuan because the conditions for using all the above promotions and coupons are not met; if a combination purchase is adopted, that is, the total price promotion, store A coupon and category II coupon are correctly used, the calculation result in box 600 can be obtained, and the consumer only pays 90 yuan (saving 210 yuan) to buy these three items.

[0007] In existing purchase scenarios, consumers need to find the product combination that best suits their needs and build the most favorable product combination by themselves. However, the sales model of manually setting product combination discount albums has the following main disadvantages:

[0008] 1) Shopping consumption scenarios are difficult to identify: the shopping consumption scenarios themselves, the commodities involved in the scenarios, consumers, and the market are all changing dramatically every day;

[0009] 2) It is difficult to choose discount products for specific scenarios: The discount activities of e-commerce platforms change dynamically every day, and with a large number of products, it is difficult to choose products with discounts for shopping and consumption scenarios;

[0010] 3) It is difficult to calculate the products in the combination discount album: the number of discount activities covering the products is large, and a large number of them overlap with each other, and the prices of discounted products are also difficult to calculate. Summary of the invention

[0011] In view of this, embodiments of the present invention provide a method, system, device and computer-readable storage medium for building a product combination according to current offers and / or promotions to solve the problems existing in the prior art.

[0012] In a first aspect, an embodiment of the present invention provides a method for constructing a product combination, comprising:

[0013] According to the order data, multiple category sets are obtained, where the category sets include multiple commodity categories, where all of the multiple commodity categories are N-level commodity categories and commodities included in at least two of the commodity categories appear in the same order, where N is an integer greater than or equal to 1;

[0014] For each category set, candidate products are obtained from the multiple products contained therein to form a candidate product set, wherein the candidate products meet the current discount and / or promotion requirements; and for each of the candidate product sets, a product combination with a discount strength greater than or equal to a preset discount strength is obtained as a combination discount album.

[0015] In some embodiments, it also includes: publishing the combined discount album.

[0016] In some embodiments, the combination discount album is published as a purchase-complementing combination and / or a recommended combination.

[0017] In some embodiments, obtaining multiple category sets according to the order data includes:

[0018] Get the N-level product categories to which each product contained in each order belongs;

[0019] Construct an undirected weighted graph based on the N-level commodity categories to which each commodity contained in each order belongs;

[0020] Obtaining a plurality of first subgraphs from the undirected weighted graph, wherein the first subgraphs are subgraphs whose connectivity rates and / or weights are greater than or equal to a set threshold; and

[0021] The multiple category sets are obtained according to the multiple first sub-graphs.

[0022] In some embodiments, the first subgraph is a complete graph.

[0023] In some embodiments, the method further includes: optimizing the candidate product set, and obtaining a product combination that reaches a preset discount strength as a combination discount album for each candidate product set is:

[0024] For each of the optimized candidate product sets, a product combination with a discount strength greater than or equal to a preset discount strength is obtained as a combination discount album.

[0025] In some embodiments, the candidate product combination is optimized based on at least one of the indicators of preferential strength, positive review strength, purchasing strength and new product strength.

[0026] In some embodiments, optimizing the candidate product combination according to at least one of the indicators of preferential strength, favorable comments, purchasing strength and new product strength further includes:

[0027] Set the respective weights of the preferential strength, the favorable comment strength, the purchase strength and the new product strength;

[0028] Calculate the value of each product in the candidate product combination according to the discount strength, the positive review strength, the purchase strength and the new product strength and their respective weights; and

[0029] The commodities whose value is equal to or greater than a second set threshold are eliminated from the candidate commodity combination.

[0030] In some embodiments, obtaining a product combination with a discount strength greater than or equal to a preset discount strength as a combination discount album includes:

[0031] Establishing an objective function with the preset discount strength as the target and the current discount and / or promotion requirements and budget limit as constraints; and

[0032] The objective function is solved to obtain the combined discount album.

[0033] In a second aspect, an embodiment of the present invention provides a system for constructing a product combination, including:

[0034] A scenario mining module, used to obtain multiple category sets according to the order data, wherein the category sets include multiple commodity categories, the multiple commodity categories all belong to N-level commodity categories and commodities included in at least two commodity categories appear in the same order, where N is greater than or equal to 1;

[0035] A product selection module is used to obtain candidate products from multiple products contained in each category set and form a candidate product set, wherein the candidate products meet the current discount and / or promotion requirements; and

[0036] The album optimization module is used to obtain, for each candidate product set, a product combination with a discount strength greater than or equal to a preset discount strength as a combined discount album.

[0037] In some embodiments, the scene mining module includes:

[0038] A drawing expression unit, used for obtaining the N-level commodity categories to which each commodity contained in each order belongs, and constructing an undirected weighted graph according to the N-level commodity categories to which each commodity contained in each order belongs;

[0039] a subgraph acquisition unit, configured to obtain a plurality of first subgraphs from the undirected weighted graph, wherein the first subgraphs are subgraphs whose connectivity rate and / or weight is greater than or equal to a set threshold; and

[0040] A data output unit is used to obtain the multiple category sets according to the multiple first sub-graphs.

[0041] In some embodiments, the first subgraph is a complete graph.

[0042] In some embodiments, the product selection module includes:

[0043] An information extraction unit, used for obtaining a plurality of candidate product sets according to a plurality of category sets;

[0044] A commodity optimization unit, used for optimizing the candidate commodity set;

[0045] The data generating unit is used to establish a data unit according to the optimized candidate commodity set.

[0046] In some embodiments, the album optimization module includes:

[0047] A model building unit, used to build an objective function with the preset discount strength as the target and the current discount, promotion requirements and budget limit as constraints;

[0048] The model solving unit is used to solve the objective function to obtain the combined discount album.

[0049] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed, any of the methods described above is implemented.

[0050] In a fourth aspect, an embodiment of the present invention provides a device, characterized in that it includes:

[0051] Memory, for storing computer instructions;

[0052] A processor is coupled to the memory, and the processor is configured to execute any of the above methods based on computer instructions stored in the memory.

[0053] The embodiments of the present invention have the following advantages or beneficial effects: constructing a combination discount album that meets the preset discount strength based on big data statistical analysis of order data, and providing it to consumers, which helps to improve user experience and promote consumer purchasing behavior. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The above and other objects, features and advantages of the present invention will become more apparent through the description of the embodiments of the present invention with reference to the following drawings, in which:

[0055] Figure 1 The preferential discount in the combined sales example is shown;

[0056] Figure 2 A flow chart showing a method for constructing a product combination according to an embodiment of the present invention;

[0057] Figure 3 A structural diagram showing two levels of merchandise categories;

[0058] Figure 4 Shows Figure 2 Specific flow chart of step S201 in FIG.

[0059] Figure 5 An undirected weighted graph obtained from order data is shown;

[0060] Figure 6 A structural diagram of a system for constructing a commodity combination according to an embodiment of the present invention is shown;

[0061] Figure 7 A structural diagram of an apparatus for constructing a commodity combination according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0062] The present invention is described below based on embodiments, but the present invention is not limited to these embodiments. In the detailed description of the present invention below, some specific details are described in detail. It is possible for a person skilled in the art to fully understand the present invention without the description of these details. In order to avoid confusing the essence of the present invention, known methods, processes, and procedures are not described in detail. In addition, the drawings are not necessarily drawn to scale.

[0063]

Term Explanation

[0064] Complete graph: A complete graph is a graph in which any two vertices are connected by an edge.

[0065] Maximum complete graph: For a given graph, the subgraph consisting of a part of the vertices in the graph and the adjacent edges between these vertices is a complete graph and contains the maximum weight number.

[0066] Figure 2The flowchart of the method for constructing a commodity combination according to an embodiment of the present invention is shown, which specifically includes the following steps.

[0067] In step S201, multiple category sets are obtained according to order data.

[0068] Order data is data that records consumer purchase behavior. For example, if consumer A buys soap and perfume at the same time, the corresponding order data records information such as A's user ID, soap's product ID, price, quantity, perfume's product ID, price, quantity, and purchase time.

[0069] Product categories determine what products are grouped and classified. Product categories can be based on consumers' perception of the product, the product's own attributes, or both. Figure 3 For simplicity, Figure 3 Only two levels of product categories are shown, 1 represents the first-level product category, 2-4 represent the second-level product categories belonging to the first-level product category, 5-6 represent the product identifiers (such as SKU) belonging to product category 2, and 7 represents the product identifier belonging to product category 4. At the same time, since the child nodes of the above tree structure can only have one parent node, a product can only have one N-level product category, where N is an integer greater than or equal to 1.

[0070] In this step, the corresponding N-level product category can be determined based on the product identifier of the order data, and the N-level product categories of the products appearing in the same order are statistically analyzed by big data to determine one or more category sets. Each category set contains multiple product categories that are all N-level product categories, and the products contained in at least two of the product categories appear in the same order.

[0071] In step S202, for each category set, candidate commodities are obtained from the multiple commodities contained therein and a candidate commodity set is formed, wherein the candidate commodities meet the current discount and / or promotion requirements.

[0072] In this step, multiple commodity identifications contained in each category set are obtained, and commodity identifications that meet the current discount and / or promotion requirements are obtained from the multiple commodity identifications to form a candidate commodity set. It should be noted that the commodity identifications contained in a commodity category refer not only to the commodity identifications directly contained in it, but also to the commodity identifications indirectly contained in it, that is, the commodity identifications contained in the next level to the next K level commodity categories, where K is a positive integer.

[0073] In step S203, for each candidate product set, a product combination with a discount strength greater than or equal to a preset discount strength is obtained as a combination discount album.

[0074] In this embodiment, at least one candidate product set can be obtained for each product category, and this step continues to screen the products in the candidate product set according to the preset discount strength to obtain a combination discount album. The combination discount album is a product album that meets the preset discount strength determined based on the consumer's purchasing behavior, and providing it to consumers helps to improve user experience and promote consumer purchasing behavior.

[0075] Figure 4 Shows Figure 2 The specific flow chart of step S201 in FIG. Specifically includes the following steps.

[0076] In step S2011, the N-level product category to which each product included in each order belongs is obtained

[0077] In step S2012, an undirected weighted graph is constructed according to the N-level commodity categories to which each commodity contained in each order belongs.

[0078] In step S2013, a plurality of first subgraphs are obtained according to the undirected weighted graph, wherein the first subgraphs are subgraphs whose connectivity rates and / or weights are greater than or equal to a set threshold.

[0079] In step S2014, multiple category sets are obtained according to the multiple first sub-graphs.

[0080] According to the following Figure 5 This embodiment is explained. Figure 5 It is an undirected weighted graph of three-level commodity categories constructed based on order data. Among them, C1-C12 all belong to the three-level commodity categories obtained based on order data. The connecting line between two commodity categories indicates that the commodities belonging to the two commodity categories have appeared in the same order. The number on the connecting line represents the weight, that is, the number of times the two commodity categories appear in the same order. For this undirected weighted graph, multiple subgraphs can be obtained according to the set conditions. For example, based on Figure 5 , requiring that each weight in the subgraph is greater than or equal to 7, thereby obtaining subgraph 50, which includes commodity categories C1-C5, or requiring that there are connecting lines between each commodity category in the subgraph, thereby obtaining subgraph 60, which includes commodity categories C6-C9. Subgraph 60 is a fully connected subgraph, also called a complete graph. For another example, requiring that each weight in the subgraph is greater than or equal to 5, and at the same time there are connecting lines between each commodity category, then subgraph 60 including commodity categories C6-C9 is still obtained. Optionally, for the above-mentioned undirected weighted graph, its weight adopts the ratio of the number of times two commodity categories appear in the same order and the total number of order data, so that the weight can better represent the relative probability of commodity categories appearing in the same order.

[0081] This embodiment expresses the order data through images, and then obtains a sub-graph based on the graph, thereby obtaining a category set that meets preset conditions.

[0082] In some embodiments, the method for constructing a product combination further includes optimizing a candidate product set. As mentioned above, the candidate product set is a product that meets the current discount and / or promotion requirements. The candidate product set may be tens of thousands to hundreds of thousands, which is too large. Therefore, some of the products can be screened out in advance according to some set indicators. Then, for each optimized candidate product set, a product combination with a discount strength greater than or equal to the preset discount strength is obtained as a combination discount album.

[0083] Figure 6 The structure diagram of the system 600 for constructing a product combination according to an embodiment of the present invention is shown. As shown in the figure, the system 600 interacts with the combination album application party 700, and the combination album application party 700 issues a task request. After receiving the task request, the system 600 sequentially calls the scene mining module 601, the product selection module 602, and the album optimization module 603 to obtain the combination discount album and return it to the combination album application party 700. In addition, the scene mining module 601, the product selection module 602, and the album optimization module 603 communicate with the storage system 800 to obtain the required data from the storage system 800.

[0084] The scenario mining module 601 is used to obtain multiple category sets based on order data, where the category sets include multiple product categories, all of which belong to N-level product categories and the products contained in at least two of the product categories appear in the same order, where N is greater than or equal to 1.

[0085] For each commodity category, the commodity selection module 602 and the album optimization module 603 are called cyclically. The commodity selection module 602 is used to obtain candidate commodities from the multiple commodities contained in each category set and form a candidate commodity set, wherein the candidate commodities meet the current discount and / or promotion requirements, thereby establishing a commodity category-promotion mapping. The album optimization module 603 is used to apply intelligent technology to each candidate commodity set to obtain a commodity combination with a discount strength greater than or equal to a preset discount strength as a combined discount album.

[0086] The system for constructing a product combination in this embodiment first constructs a category combination through the scenario mining module, and then cyclically calls the product selection module 602 and the album optimization module 603 to obtain a candidate product combination for each category set and then optimize the candidate product combination to obtain a combination discount album. The combination discount album is a product album that meets the preset discount strength determined based on the consumer's purchasing behavior, and is provided to consumers, which helps to improve the user experience and promote consumer purchasing behavior.

[0087] In this system, the combination album application party 700 first needs to define the category scope: from which large commodity categories (commodity secondary categories, or commodity primary categories, or how many thousands of commodity tertiary categories, or all commodity categories) to generate scenario-oriented combination discount albums, for example:

[0088] Select the secondary categories of detergent, scrubbing tools, kitchen tools, and bathroom cleaning to generate a special offer album for kitchen and bathroom cleaning combinations;

[0089] Select secondary categories such as snacks, rice, flour, grain and oil, and eggs and dairy products to generate a discount album for family weekend life improvement combinations.

[0090] Secondly, you need to define the constraints for the product combination album, for example:

[0091] The maximum number of items of the same product in a product portfolio album;

[0092] Or the maximum number of secondary categories (or other categories) that can be included in a product portfolio album.

[0093] After completing the above tasks, the defined product categories and constraints are sent to the system for building product combinations.

[0094] The scene mining module 601 takes as input the commodity categories and constraints input by the combination album application 700, and outputs a set of categories of the set commodity categories. The goal of the scene mining module 601 is to mine consumption scenarios in the commodity categories specified by the combination album application 700. Since a specific consumption scenario (such as autumn mountaineering equipment, etc.) is often associated with several specific third-level commodity categories (or fourth-level categories), and since a second-level commodity category usually includes thousands of third-level commodity categories, the specific task of the scene mining module 601 is to find all associated commodity category sets in the set commodity categories.

[0095] In some embodiments, the intelligent mining module 601 includes a drawing expression unit 6011, a sub-graph acquisition unit 6012, and a data output unit 6013.

[0096] Graphic Expression Unit 6011

[0097] Obtain the N-level commodity categories to which each commodity contained in each order belongs, and construct an undirected weighted graph according to the N-level commodity categories to which each commodity contained in each order belongs. That is, the order data is expressed using an undirected weighted graph. The drawing expression unit 6011 includes the following steps:

[0098] ·Query the user information table of existing historical order products in the e-commerce platform storage system;

[0099] Extract all orders involving the designated product categories;

[0100] An undirected weighted graph is used to represent all order information obtained from the query. The vertices represent the set product categories (such as third-level product categories or fourth-level product categories). If a consumer purchases the third-level product categories associated with two vertices in one day's order, there is an edge between the two vertices. The weight of the edge is the number of orders purchased by the two vertices together.

[0101] Sub-image acquisition unit 6012

[0102] Multiple first subgraphs are obtained from the undirected weighted graph, where the first subgraphs are subgraphs whose connectivity rate and / or weight is greater than or equal to a set threshold. In the first subgraph obtained in this way, the commodities contained in its commodity category have a high probability of being purchased together, so a first subgraph is regarded as a consumption scenario. The unit iteratively performs the following tasks:

[0103] 1. Use artificial intelligence algorithms to find the first subgraph that meets the set conditions, and remove the found first subgraph from the original undirected weighted graph (see Figure 5 and corresponding description);

[0104] 2. Store the category set consisting of the commodity categories in the first sub-graph into the data table.

[0105] 3. Loop 1-2 (stop condition is that step 1 returns an empty set).

[0106] Data output unit 6013

[0107] Output multiple category sets based on multiple first subgraphs. That is, record a group of related commodity categories corresponding to each consumption scenario, as shown in the following table (in the table: C1-C14 refers to the third-level commodity categories numbered C1-C14 respectively):

[0108] Table 2

[0109] Scene No.1 C1,C2,C3,C4,C5 Scene No.2 C6,C7,C8,C9 Scene No.3 C10,C11,C12 Scene No.4 C13,C14

[0110] The input of the product selection module 602 is the category set output by the data output unit 6013. The category set represents the consumption scenarios of the associated products under the corresponding product category, such as (C1, C2, C3, C4, C5). Since a given product category (such as a third-level or fourth-level product category) usually includes more than tens of thousands of products, the task of this module is to select the most valuable candidate product set from the products belonging to the given product category.

[0111] In some embodiments, the product selection module 602 includes an information extraction unit 6021 , a product optimization unit 6022 , and a data generation unit 6023 .

[0112] Information Extraction Unit 6021

[0113] Querying the information of each product in the associated category set from the e-commerce platform storage system specifically includes the following steps:

[0114] Extract the valid promotions and coupons involved in the products from the promotion activity table and coupon activity batch table;

[0115] Extract the number and ratio of positive reviews for each product from the product review table;

[0116] Extract the transaction quantity of the product from the order form;

[0117] Extract information from other tables to determine whether the product is new.

[0118] Product Optimization Unit 6022

[0119] This unit optimizes all products in the candidate product set according to the set indicators.

[0120] First, calculate the value of each commodity according to formula (1) and sort the commodities in descending order according to their value:

[0121] Weight 优惠 * Discount strength + weight 好评 * Positive review strength + weight 购买 *Purchasing power + weight 新品 *New Product Strength Formula (1)

[0122] in:

[0123] Discount strength: used to extract products with promotions (calculated as the product discount amount, from the largest promotion or coupon, divided by the product price);

[0124] Positive review strength: used to extract products with good reviews (which can be calculated as the total number of positive reviews for the product divided by the average number of reviews within the product's third-level category);

[0125] Purchasing power: used to extract hot-selling products (the number of products purchased can be calculated);

[0126] New product strength: used to extract newly launched products (can calculate whether it is a new product or the launch date);

[0127] Weight 优惠 , weight 好评, weight 购买 and weight 新品 is the corresponding set weight value;

[0128] Other dimensions of information about products can also be included in formula (1), such as the popularity of the store to which the product belongs. After sorting, products that are ranked before a certain position (a set threshold) can enter the candidate product set for the scene.

[0129] Data generation unit 6023

[0130] This unit stores the products, third-level categories, promotions, coupons, and their corresponding relationships in the candidate set as model data:

[0131] a) The set of three-level categories of goods in the scene (annotated as C, such as C1, C2, C3, C4, C5), and the number of different three-level categories of goods in the scene is annotated as |C|;

[0132] b) Candidate product set (annotated as G), which is the set of all candidate products included in the third-level product category set (i.e. C) in the scene;

[0133] c) a set of promotion methods (annotated as P), i.e., a set of promotion methods that can be used for the product (i.e., G) in the scenario;

[0134] d) Coupon set (annotated as Q), i.e., the set of coupons that can be used for the product in the scene (i.e., G);

[0135] e) Since different store coupons, category coupons and platform coupons can be used in combination (up to three coupons), a one-to-one mapping relationship between each product ID and the three-level category to which it belongs (annotated as Map G→C );

[0136] f) A one-to-many mapping relationship between each product ID and its candidate available promotion method ID (annotated as Map G→P );

[0137] g) A one-to-many mapping relationship between available promotion methods and the products to which they can be applied (annotated as Map P→G );

[0138] h) A one-to-many mapping relationship between each coupon ID and its superimposable coupon ID (annotated as Map Q→Q );

[0139] i) A one-to-many mapping relationship between each product and its candidate coupons (annotated as Mop G→Q ).

[0140] For example, for the three-level product category set (C1, C2, C3, C4, C5) associated with the scene, the unit stores information as follows:

[0141] Table 3

[0142]

[0143] The task of the album optimization module 603 is to select a number of products from the candidate product set for a given scene, under the premise of satisfying the constraints, to generate the best scene product album.

[0144] The inputs to this module include the following:

[0145] Output by the scenario mining module 601: a set of products (for a given consumption scenario);

[0146] The candidate commodity set and model data output by the commodity selection module 602.

[0147] In some embodiments, the module includes a model building unit 6031 and a model solving unit 6032.

[0148] Model Building Unit 6031

[0149] The problem of how to generate a discounted product album for this scenario is defined as a multi-objective mathematical combinatorial problem, which includes the following two steps.

[0150] Step 1, by assigning different weights, the following three optimization objectives can be integrated into one formula (2):

[0151] Maximize: Weight 优惠 * Discount target value + weight 场景 *Scene target value + weight 预算目标 *Budget target value

[0152] Constraint: Number of items in the album ≤ Album items 最大商品数量极限值

[0153] The number of items in the album ≥ the number of items in the album 最小商品数量极限值 Formula (2)

[0154] in:

[0155] · Discount target value: calculated by combining the total price promotion method and the discount of coupons, the larger the ratio of the settlement amount after discount to the original price of each product in the album, the better (i.e. the greater the discount, the better);

[0156] ·Scenario target value: Since each product in the album has its own product category, the larger the ratio of the number of different product categories in the album to the number of different product categories in the product category set of the specified scenario, the better;

[0157] Budget target value: Each album has a budget consumption amount preset by the marketing department, annotated as B, such as 200 yuan or 500 yuan (this amount is usually slightly higher than the discount condition amount for a total price promotion). The smaller the difference between the settlement amount of all the products in the album after discount and this amount, the better (or the larger the reciprocal of this value, the better);

[0158] Weight 优惠 , weight 场景 , and weights 预算目标 are the weight values ​​corresponding to the three target values;

[0159] Album merchandise 最大商品数量极限值 The maximum number of different products allowed in an album (for example, on a mobile phone, a product album can include up to four products);

[0160] Album merchandise 最小商品数量极限值 It is the limit value of the minimum number of different products allowed in an album (for example, on a mobile phone, a product album can include at least two products).

[0161] The solution to this problem (annotated as S) is an album containing several different products. Albums can contain different products (even different numbers of items). In the search space of different albums, the total number of different albums (i.e. solutions) that exist theoretically can be calculated by the following formula:

[0162]

[0163] In formula (3), |G| represents the total number of commodities included in the commodity set. As can be seen from formula (3), when there are hundreds or thousands of candidate commodities, the search space for solutions is very large (the computational complexity of the problem is NP-complete).

[0164] Step 2, calculate the function target value for different albums by using formula (2). This unit includes three sub-computation tasks:

[0165] 1. Calculate the discount target value of the given solution (i.e. the discount amount of the album):

[0166] For any given album (i.e., solution, annotated as S), calculating the discount amount of the items in the album involves the following aspects:

[0167] a) For the product G on the solution i ∈S, according to the mapping Map G→P , the product Gi There may be multiple candidate total price discount promotion methods, so choosing different total price discount promotion methods for the products in the album will result in different discount amounts;

[0168] b) Coupons are divided into three categories: store category, limited category, and full platform. The settlement policy of e-commerce only allows coupons of one category, and one product can only be used once. According to the map G→Q , each product may have many candidate coupons, so choosing to use coupons of different levels for products in the album will also result in different discount amounts;

[0169] c) Therefore, calculating the discount of a product involves choosing the product promotion method and coupons for each product in the solution, so as to ensure that the consumer gets the maximum discount amount. This maximum discount amount is the discount amount of the album.

[0170] Therefore, the discount amount of the products in the album is a mathematical combinatorial optimization problem. Since there are at most four products in the album, each product generally involves at most four different total price promotion methods, and the three levels of coupons are divided into three categories. This technology uses the enumeration method to calculate the maximum discount strength. For any given album, the discount target value is calculated by the following formula (enumeration total quantity):

[0171]

[0172] 2. Calculate the scenario target value of the solution:

[0173] For any given album, the scene target value is calculated by the following formula:

[0174]

[0175] 3. Calculate the budget target value for the album:

[0176] For any given album, the budget target is calculated using the following formula:

[0177]

[0178] For any given album, after the preferential target value, scenario target value and budget target value are calculated (Formula 4-6), the objective function value of the entire album is calculated by Formula (2).

[0179] Model Solving Unit 6032

[0180] This technology uses intelligent technology customized for the intelligent album product optimization problem to search for the album that brings the best objective function value in the search space. This unit goes through the following three steps:

[0181] 1. Construct the initial solution:

[0182] Construct an album that starts out empty (i.e., the initial solution S 0 ), that is, the album does not include any products. Then the following steps are repeated to construct a random initial solution:

[0183] a) Randomly select a promotion method P i ∈P, according to the mapping relationship Map P→G , randomly select a promotion method P i and add the product to the initial album S 0 superior;

[0184] b) After checking the product, check the album S 0 Whether the sum of the original price of all products in the album exceeds the album budget target B and the hard constraints. If it exceeds, the current album products are used as the initial random solution. Otherwise, continue to add a promotion method P. i Products in album S 0 superior;

[0185] c) Check whether the sum of the original price amounts of all the items in the album exceeds the album budget target B and the hard constraints. If so, take the items in the current album as the initial random solution, otherwise repeat step a).

[0186] After the loop stops, the products in the album generated are the initial solution.

[0187] 2. Search for the best solution (i.e. the best combination of discounted products):

[0188] The initial solution is a point randomly selected from the solution space. The optimization process takes the initial solution as the intermediate solution, and each iteration starts from the intermediate solution and iterates through a part of the solution space according to certain rules, trying to find a better solution:

[0189] 1) Transform the intermediate solution and change the element values ​​on some intermediate solutions in the following three ways:

[0190] a) Replace the product: randomly select and delete a product from the current solution; based on the mapping relationship between the product ID and its candidate available promotion method ID (Map G→P ) randomly selects a promotion method; based on the mapping relationship between the randomly selected promotion method and the products that can be used (Map P→G ) Randomly select a new item and add it to the current solution;

[0191] b) Delete products: If there are more than two products in the current solution, delete one product at random;

[0192] c) Adding products: As long as there are no more than three products in the current solution, randomly select a product from the current solution; according to the mapping relationship between the product ID and its candidate available promotion method ID (Map G→P ) Randomly select a promotion method; Based on the mapping relationship between the randomly selected promotion method and the products that can be used (Map P→G ) Randomly select a new item and add it to the current solution;

[0193] The above three transformations turn the current solution into a new solution, called a temporary intermediate solution.

[0194] 2) Calculate the objective function value of the temporary intermediate solution using formula (2).

[0195] 3) If the objective function value of the temporary intermediate solution is better than that of the current solution, then the temporary intermediate solution will be accepted. If the objective function value of the temporary intermediate solution is worse than that of the original current solution, then the acceptance probability of this worse solution is calculated by the simulated annealing formula.

[0196] 4) Iterate steps 1 to 3. The best solution found during the entire search process is recorded. The exit condition is set as follows: after a certain number of iterations (controllable parameters), the best solution is not improved, indicating that the solution has converged.

[0197] 3. Output solution (i.e. the best combination of discounted products)

[0198] Due to the huge search space, the optimal solution to the combinatorial optimization problem will not be unique, and the difference in the objective function value between suboptimal solutions is relatively small. Therefore, for a scenario, by assigning different random seeds, the task process of the artificial intelligence optimization unit (constructing the initial solution, searching for the optimal solution, and outputting the solution) can be run iteratively multiple times to find up to dozens of best solutions. All combination discount product albums can be saved and returned to the caller in the form of a list together with the corresponding scenario. For example, for the scenario (three-level category set of associated products: C1, C2, C3, C4, C5), see the following table:

[0199] Table 4

[0200]

[0201] In summary, the system for building a product combination first calls the product selection module 602 for each scenario output by the scenario mining module, then calls the album optimization module 603, and finally generates a combination discount album as shown in the figure above for each scenario.

[0202] In practice, the combination album application party stores the mined consumption scenarios, binds them to the corresponding combination discount albums, and deploys and displays them on the front end of the e-commerce platform, as shown in the following table:

[0203] Table 5

[0204]

[0205] Therefore, the present invention can be applied to various marketing channel display pages of all e-commerce platforms in the industry, activity aggregation display pages of e-commerce promotion activities, packages, recommendations, and order aggregation services on product details display pages.

[0206] The present invention converts the problem of generating scenario-oriented combination discount purchases, which is very technically difficult, into a series of search problems, starting from a large range of commodities or even all commodity categories, and gradually narrowing the search scope until a combination discount album (several commodities) is finally generated. First, in large commodity categories (such as first-level or second-level commodity categories), or even in all commodity categories of the entire site, through big data statistical analysis methods, specific consumption scenarios are mined, and the category set associated with the consumption scenario is locked, thereby reducing the complexity of the problem; secondly, after obtaining the category set corresponding to the locked consumption scenario, continue to lock and optimize the most valuable candidate commodity set; finally, in the candidate commodity set, according to the configurable optimization goal, a combination discount product album that best meets the consumption scenario, has the most preferential strength, and best meets the demands of the e-commerce platform combination discount album application party is generated.

[0207] Accordingly, due to the big data statistical analysis of order data, it is ensured that the refined category set represents the consumer's purchasing behavior. For a given consumption scenario, by optimizing the combination of candidate products in the candidate product set, it is ensured that a group of products that are more likely to generate the most valuable combination product discount purchases are locked. Within the optimized product combination range, through the search and sorting of mathematical models, it is ensured that the final combination discount album can achieve the established goals.

[0208] Figure 7 It is a structural diagram of an apparatus for constructing a commodity combination according to an exemplary embodiment of the present invention. Figure 7 The device shown is only an example and should not constitute any limitation to the functions and scope of use of the embodiments of the present invention.

[0209] refer to Figure 7, the device includes a processor 701, a memory 702 and an input-output device 703 connected by a bus. The memory 702 includes a read-only memory (ROM) and a random access memory (RAM). The memory 702 stores various computer instructions and data required to perform system functions. The processor 701 reads various computer instructions from the memory 702 to perform various appropriate actions and processes. The input-output device includes an input part such as a keyboard, a mouse, etc.; an output part such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part such as a hard disk; and a communication part such as a network interface card such as a LAN card, a modem, etc. The memory 702 also stores computer instructions to complete the operations specified by the device of the embodiment of the present invention. The computer instructions include: according to order data, obtaining multiple category sets, the category sets include multiple commodity categories, the multiple commodity categories all belong to N-level commodity categories and the commodities contained in at least two of the commodity categories appear in the same order, N is greater than or equal to 1; for each category set, obtaining candidate commodities from the multiple commodities contained therein, and forming a candidate commodity set, wherein the candidate commodities meet the current discount and / or promotion requirements; and for each of the candidate commodity sets, obtaining a commodity combination with a discount strength greater than or equal to a preset discount as a combination discount album.

[0210] Accordingly, an embodiment of the present invention provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed, the operations specified in the above method are implemented.

[0211] The flowcharts and block diagrams in the accompanying drawings illustrate the possible system frameworks, functions and operations of the systems, methods and devices of the embodiments of the present invention. The boxes on the flowcharts and block diagrams can represent a module, a program segment or just a piece of code. Modules, program segments and codes are all executable instructions for implementing specified logical functions. It should also be noted that the executable instructions for implementing specified logical functions can be recombined to create new modules and program segments. Therefore, the boxes and the order of the boxes in the accompanying drawings are only used to better illustrate the processes and steps of the embodiments, and should not be used as a limitation on the invention itself.

[0212] Each module or unit of the system can be implemented by hardware, firmware or software. Software, for example, includes a coding program formed by various programming languages ​​such as JAVA, C / C++ / C#, SQL, etc. Although the steps and the order of the steps of the embodiment of the present invention are given in the method and the method legend, the executable instructions for the steps to implement the specified logical functions can be recombined to create new steps. The order of the steps should not be limited to the order of the steps in the method and the method legend, and can be adjusted at any time according to the needs of the function. For example, some of the steps are executed in parallel or in reverse order.

[0213] The system and method according to the present invention can be deployed on a single or multiple servers. For example, different modules can be deployed on different servers to form dedicated servers. Alternatively, the same functional units, modules or systems can be deployed in a distributed manner on multiple servers to reduce load pressure. Servers include but are not limited to multiple PCs, PC servers, blade computers, supercomputers, etc. in the same local area network and connected via the Internet.

[0214] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for constructing a product portfolio, It is characterized in that include: According to the order data, multiple category sets are obtained, where the category sets include multiple commodity categories, where all of the multiple commodity categories are N-level commodity categories and commodities included in at least two of the commodity categories appear in the same order, where N is an integer greater than or equal to 1; For each category set, candidate commodities are obtained from the multiple commodities contained therein to form a candidate commodity set, wherein the candidate commodities meet the current discount and / or promotion requirements; and For each candidate product set, a product combination with a discount strength greater than or equal to a preset discount strength is obtained as a combination discount album, Wherein, obtaining multiple category sets according to the order data includes: Get the N-level product categories to which each product contained in each order belongs; Construct an undirected weighted graph based on the N-level commodity categories to which each commodity contained in each order belongs; Obtaining a plurality of first subgraphs from the undirected weighted graph, wherein the first subgraphs are subgraphs whose connectivity rates and / or weights are greater than or equal to a set threshold; and The multiple category sets are obtained according to the multiple first sub-graphs.

2. The method according to claim 1, It is characterized in that Also includes: Release the combined discount album.

3. The method according to claim 2, It is characterized in that The combination discount album is published as a purchase-complementing combination and / or a recommended combination.

4. The method according to claim 1, It is characterized in that The first subgraph is a complete graph.

5. The method according to claim 1, It is characterized in that Also includes: Optimize the candidate product set, then for each candidate product set, obtain a product combination that reaches a preset discount strength as a combination discount album: For each of the optimized candidate product sets, a product combination with a discount strength greater than or equal to a preset discount strength is obtained as a combination discount album.

6. The method according to claim 5, It is characterized in that The candidate product combination is optimized according to at least one of the indicators of preferential strength, favorable comment strength, purchasing strength and new product strength.

7. The method according to claim 6, It is characterized in that The optimizing the candidate product combination according to at least one of the indicators of preferential strength, favorable comments strength, purchasing strength and new product strength also includes: Set the respective weights of the preferential strength, the favorable comment strength, the purchase strength and the new product strength; Calculate the value of each product in the candidate product combination according to the discount strength, the positive review strength, the purchase strength and the new product strength and their respective weights; and The commodities whose value is equal to or greater than a second set threshold are eliminated from the candidate commodity combination.

8. The method according to claim 1, It is characterized in that The step of obtaining a product combination with a discount strength greater than or equal to a preset discount strength as a combination discount album includes: Establishing an objective function with the preset discount strength as the target and the current discount and / or promotion requirements and budget limit as constraints; and The objective function is solved to obtain the combined discount album.

9. A system for building a product portfolio, It is characterized in that include: A scenario mining module, used to obtain multiple category sets according to the order data, wherein the category sets include multiple commodity categories, the multiple commodity categories all belong to N-level commodity categories and commodities included in at least two commodity categories appear in the same order, where N is greater than or equal to 1; A product selection module is used to obtain candidate products from multiple products contained in each category set and form a candidate product set, wherein the candidate products meet the current discount and / or promotion requirements; and The album optimization module is used to obtain, for each candidate product set, a product combination with a discount strength greater than or equal to a preset discount strength as a combined discount album. The scenario mining module includes: A drawing expression unit, used for obtaining the N-level commodity categories to which each commodity contained in each order belongs, and constructing an undirected weighted graph according to the N-level commodity categories to which each commodity contained in each order belongs; a subgraph acquisition unit, configured to obtain a plurality of first subgraphs from the undirected weighted graph, wherein the first subgraphs are subgraphs whose connectivity rate and / or weight is greater than or equal to a set threshold; and A data output unit is used to obtain the multiple category sets according to the multiple first sub-graphs.

10. The system according to claim 9, It is characterized in that The first subgraph is a complete graph.

11. The system according to claim 9, It is characterized in that The product selection module includes: An information extraction unit, used for obtaining a plurality of candidate product sets according to a plurality of category sets; A commodity optimization unit, used for optimizing the candidate commodity set; The data generating unit is used to establish a data unit according to the optimized candidate commodity set.

12. The system according to claim 9, It is characterized in that The album optimization module includes: A model building unit, used to build an objective function with the preset discount strength as the target and the current discount, promotion requirements and budget limit as constraints; The model solving unit is used to solve the objective function to obtain the combined discount album.

13. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed, the method according to any one of claims 1 to 8 is implemented.

14. An electronic device, It is characterized in that include: Memory, for storing computer instructions; A processor is coupled to the memory, and the processor is configured to execute the method according to any one of claims 1 to 8 based on computer instructions stored in the memory.