Commodity management method, device, computer equipment and storage medium
By extracting the main features of products and managing them in groups, it solves the problem of low product management and recommendation efficiency in corporate shopping platforms, achieves refined management and recommendation of products, and improves user shopping experience.
Patent Information
- Application Number
- CN201910299109.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-04-15
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2039-04-15
AI Technical Summary
Existing enterprise shopping platforms have problems with product management and recommendation, such as difficulty in refined management and slow recommendation speed. In particular, due to too many products, category management is not meticulous and recommendation efficiency is low.
By obtaining the specification attributes, parameter details and description information of the product, extract the main features and match them with the preset product identification features, manage the products in groups, recommend the same group of products based on price, and improve management and recommendation efficiency.
It has improved the speed and efficiency of product management, improved user shopping experience, and recommended products in the same group through price sorting to facilitate user selection.
Smart Images

Figure CN110189188B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a commodity management method, device, computer equipment and storage medium. Background Art
[0002] The enterprise procurement platform provides a rich selection of products for platform users by cooperating with multiple suppliers, which brings convenience to platform users. Since there are many products on the enterprise shopping platform, it involves the management and recommendation of products. The existing way of managing and recommending products on the enterprise shopping platform is to manage and recommend them according to the categories of products. In this way, there are too many products in one category and it is difficult to achieve refined management. At the same time, when recommending products, it is necessary to select products from many products in the same category for recommendation, which greatly reduces the speed of product recommendation. Summary of the invention
[0003] The embodiments of the present application provide a product management method, apparatus, computer equipment, and storage medium, which can improve the speed and efficiency of product management and product recommendation.
[0004] In a first aspect, an embodiment of the present application provides a commodity management method, the method comprising:
[0005] If it is detected that a product is on the shelf, obtain the specification attributes, parameter details, and product description information of the product; extract the main features of the product based on the specification attributes, parameter details, and product description information of the product; match the main features of the product with the features corresponding to multiple groups of preset product identifiers; if the match is successful, treat the product as one of the products in the group of product identifiers that have been successfully matched, and treat the product and other products in the group of product identifiers as products in the same group; if a request to open the details page of any target product in the same group of products is received, obtain the price of non-target products in the same group of products; in the recommendation area of the details page of the target product, recommend non-target products in the same group of products based on the price.
[0006] In a second aspect, an embodiment of the present invention provides a commodity management device, which includes a unit corresponding to the method described in the first aspect.
[0007] In a third aspect, an embodiment of the present invention provides a computer device, the computer device comprising a memory and a processor connected to the memory;
[0008] The memory is used to store a computer program, and the processor is used to run the computer program stored in the memory to execute the method described in the first aspect above.
[0009] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.
[0010] The embodiment of the present application obtains information such as parameter details and product descriptions of the products to extract the main features of the products, and identifies whether they are in the same group of products based on the main features. In this way, the products are grouped for management, which facilitates product management on the enterprise shopping platform and improves the speed and efficiency of product management. When the main features of the products are exactly the same, the prices of the products in the same group are obtained, and the products are recommended based on the prices. Products can be recommended to users from the products in the same group based on the prices, which improves the speed and efficiency of product recommendations and improves the user's shopping experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0012] Figure 1 It is a flowchart of the commodity management method provided in the embodiment of the present application;
[0013] Figure 2 It is a schematic diagram of a sub-process of the commodity management method provided in an embodiment of the present application;
[0014] Figure 3 It is a schematic diagram of a sub-process of the commodity management method provided in an embodiment of the present application;
[0015] Figure 4 It is a schematic diagram of a sub-process of the commodity management method provided in an embodiment of the present application;
[0016] Figure 5 It is a schematic diagram of a sub-process of the commodity management method provided in an embodiment of the present application;
[0017] Figure 6 is a schematic block diagram of a commodity management device provided in an embodiment of the present application;
[0018] Figure 7 is a schematic block diagram of a feature extraction unit provided in an embodiment of the present application;
[0019] Figure 8 is a schematic block diagram of a commodity group determination unit provided in an embodiment of the present application;
[0020] Fig. 9 is another schematic block diagram of a commodity group determination unit provided in an embodiment of the present application;
[0021] Fig.10 It is a schematic block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0023] It should be noted that the application scenario in the embodiment of the present application is described with reference to an enterprise shopping platform. It is understandable that the solution in the present application can also be applied to other platforms involving product recommendations.
[0024] Figure 1 Schematic diagram of the process of the commodity management method provided in the embodiment of the present application. Figure 1 As shown, the method includes S101-S106.
[0025] S101, if it is detected that a product is on the shelf, obtain the specification attributes, parameter details, and product description information of the product.
[0026] Among them, the detection of the listing of goods is understood as the upload of goods to the enterprise shopping platform. In the process of uploading goods to the enterprise shopping platform, the product information such as specification attributes, parameter details, and product description will be filled in, and the enterprise shopping platform receives the filled-in specification attributes, parameter details, and product description. Among them, the specification attributes include one or more of weight (kg), capacity (L / ml, storage capacity, etc.), and size (size, length, etc.). The parameter details include brand, model / model number, origin, processing technology / popular elements (pressing, etc.), material (leather, stainless steel, etc.), style (single shoulder), trial scene / trial age (leisure, daily use, gift, etc. or youth, old age, etc.), listing time, etc. Among them, each product also includes other parameter details. The product description includes the product name and / or some descriptive information about the product. For example, the product name is: Nikon (Nikon) D5300 (18-55mm) kit entry-level digital SLR camera single lens set; the corresponding description includes: built-in WIFI 24.16 million pixel anti-shake lens flip screen easy to share! Must-have for beginners in anti-shake photography, etc. It should be noted that the above-mentioned information such as specification attributes, parameter details, product description, etc. is only for illustrative purposes to facilitate understanding of the technical solutions in this application.
[0027] S102: extracting the main features of the product according to the specification attributes, parameter details, and product description information of the product.
[0028] It should be noted that the main features extracted from products in different categories are different. For example, the main features corresponding to products such as edible oil under the food category and mobile phones under electronic products are different. For example, for edible oil products under the food category, the main features extracted include brand, model, processing technology, capacity, quality grade, whether it is genetically modified, etc. For example, they correspond to Luhua, peanut oil, physical pressing, 4.5L, first-level, non-GMO, etc. For example, the main features extracted from mobile phone products under electronic products include brand, model, network type, storage capacity (may also include running memory, etc.), body color, network mode, etc. For example, they correspond to xx brand, xxx8, full network access, 256G (running memory 4G), black, dual SIM dual standby, etc. The main features that need to be extracted for different categories of products in different categories need to be analyzed and set in advance.
[0029] In one embodiment, if Figure 2 As shown, step S102 includes the following steps S201-S205.
[0030] S201, segmenting the specification attributes, parameter details, and product description information of the product.
[0031] Among them, a word segmentation tool can be used for word segmentation. For example, the word segmentation tool can be Jieba word segmentation. The precise mode of Jieba word segmentation is selected to segment the text information in the data set. Through word segmentation, the text information in the parameter details and product description information of the product is divided into multiple words. For example, the message "I came to Tsinghua University in Beijing" has a word segmentation result of "I came to Tsinghua University in Beijing".
[0032] S202, detecting whether the product has category information.
[0033] Some corporate shopping platforms will select the corresponding category information when uploading products, that is, the category of the product is determined when the product is uploaded, so the product information will include the category information of the product. Check whether there is the category information of the product in the product information. For example, the category information of a certain product can be: food-edible oil-golden dragon fish-peanut oil, etc.
[0034] If the product has category information, execute step S203; if the product has no category information, execute step S204.
[0035] S203, obtaining category information of the product.
[0036] S204, determining the category information of the product according to the segmented keywords.
[0037] First, extract the brand and model information of the product based on the keywords after word segmentation. For example, after word segmentation, we get "Joyoung" and "soymilk machine". Then, we match them according to the preset category table. We can determine that the category of the product is home appliances, and further determine that it is a soymilk machine under the home appliances category. For example, after word segmentation, we get "Fulinmen" and "edible oil". We match them according to the preset category table. We can determine that the category of the product is food. Further, we can determine that it is edible oil under the food category. The category information of the product can be further refined or not according to the product situation of the enterprise shopping platform. For example, if there are many products on some enterprise shopping platforms, the category information of the product can be refined to food-edible oil-Golden Dragon Fish-Peanut Oil, or it can be further refined; if there are not so many products on some enterprise shopping platforms, the category information of the product can be food-edible oil-Golden Dragon Fish, etc.
[0038] S205 , extracting the main features corresponding to the product from the segmented keywords according to the preset main features of the category and the determined category information of the product.
[0039] Some main features are set for each category in advance. For example, for edible oil products under the food category, the main features extracted include brand, model, processing technology, capacity, quality grade, whether it is genetically modified, etc. According to the main features of the preset category and the category information of the determined product, the main features corresponding to the product are extracted from the keywords after word segmentation. For example, the main features extracted are: Luhua, peanut oil, physical pressing, 4.5L, first level, non-genetically modified, etc. It should be noted that the extracted main features at least include brand, model, specification attributes, etc. That is, the products in the same group must at least have the same brand, model, and specification attributes.
[0040] Figure 2 It further limits the word segmentation of the product's specification attributes, parameter details, and product description information, and then extracts the main features corresponding to the product based on the main features of the preset category.
[0041] S103, matching the main feature of the product with features corresponding to multiple groups of preset product identifiers.
[0042] Among them, multiple groups of product identifications and the features corresponding to the multiple groups of product identifications are stored in the database. Among them, the multiple groups of product identifications in the database are generated in advance according to certain rules. For example, the edible oil products under the food category involve multiple groups of products, each group of products corresponds to a product identification, and each product identification has corresponding features. For example, the corresponding features under a certain group of products include Fortune (brand), sunflower oil (model), first-level pressing (processing technology), 4.5L (capacity), first-level (quality grade), non-GMO, etc.
[0043] The main feature of the product is matched with the features corresponding to multiple preset groups of product identifiers. If the main feature of the product completely matches the features corresponding to a preset group of product identifiers, the match is determined to be successful. If the main feature of the product does not match the features corresponding to all the preset product identifiers, a prompt is given.
[0044] S104: If the match is successful, the product is regarded as one of the products in the group of product identifiers that are successfully matched, and the product and other products in the group of product identifiers are regarded as products in the same group.
[0045] The database also stores information about a plurality of commodities in the same group of commodities. In this embodiment, according to the extracted main features, it can be known that the commodities in the same group are completely the same.
[0046] S105: If a request to open a detail page of any target product in the same group of products is received, obtain prices of non-target products in the same group of products.
[0047] The product whose detail page is opened in the same group of products is called the target product, and the other products in the same group are called non-target products. Specifically, the price of each non-target product in the same group of products is obtained. Among them, all prices are normal trading prices, that is, the prices that users need to pay to buy products without using coupons, etc.
[0048] S106, in a recommendation area on the detail page of the target product, recommending non-target products in the same group of products according to the price.
[0049] In the enterprise shopping platform, each product detail page will have a corresponding recommendation area, such as at the bottom of the detail page. At the bottom of the target product detail page, non-target products in the same group of products are recommended based on price, such as recommending non-target products in the same group of products in order from high to low prices. It should be noted that the recommendation of non-target products in the same group of products here can be to recommend all non-target products in order from low to high prices, or to recommend the first few non-target products in order from low to high prices, or to recommend only one product with the lowest price.
[0050] In this embodiment, the specification attributes, parameter details, product description and other information of the product are obtained to extract the main features of the product, and whether it is a group of products is identified based on the main features. In this way, the products are grouped for management, which is convenient for the enterprise shopping platform to manage the products, and the speed and efficiency of product management are improved. When the main features of the products are exactly the same, the prices of the products in the same group are obtained, and the determined non-target products are recommended based on the prices. For example, at the bottom of the details page of any target product in the same group, the non-target products in the same group are recommended in order from low to high prices, so that the products can be sorted by price, which is convenient for users to select their favorite products, improves the speed and efficiency of product recommendations, and improves the user's shopping experience.
[0051] In one embodiment, the commodity management method further comprises the step of determining a plurality of preset groups of commodity identifications and features corresponding to the plurality of groups of commodity identifications.
[0052] In one embodiment, if Figure 3 As shown, determining a plurality of preset groups of commodity identifications and features corresponding to the plurality of groups of commodity identifications includes the following steps S301-S305.
[0053] S301, if it is detected that a product is on the shelf, obtain the product's specification attributes, parameter details, and product description information.
[0054] S302: extract the characteristics of the product according to the specification attributes, parameter details, and product description information of the product. In this embodiment, the characteristics of the product are consistent with the main characteristics mentioned above.
[0055] S303, checking whether the features of the product exist in the database.
[0056] If the feature of the product does not exist in the database, step S304 is executed. If it does exist, no processing is performed.
[0057] S304: Generate a product identifier, wherein the product identifier is generated according to a preset rule.
[0058] S305, saving the commodity identification and the features corresponding to the commodity identification, and saving the commodity as one of a group of commodities corresponding to the commodity identification, so as to obtain multiple groups of commodity identifications and the features corresponding to the multiple groups of commodity identifications.
[0059] In this embodiment, the multiple groups of commodity identifications and the features corresponding to the multiple groups of commodity identifications in the database are dynamic, that is, as more and more commodities are put on the shelves, more and more commodity identifications and the features corresponding to the commodity identifications are added to the database. In one embodiment, before saving, the method for determining the preset multiple groups of commodity identifications and the features corresponding to the multiple groups of commodity identifications may also include: receiving the user's modification of the extracted features for disambiguation. The purpose of disambiguation is to uniformly modify the non-standard filling of the relevant information of each supplier for the product, such as red rice and Xiaomi, to Xiaomi.
[0060] In one embodiment, if Figure 4 As shown, determining a plurality of preset groups of commodity identifications and features corresponding to the plurality of groups of commodity identifications includes the following steps S401-S404.
[0061] S401, obtaining specification attributes, parameter details, and product description information of all or part of the products on other online shopping platforms.
[0062] S402: extracting product features based on product specification attributes, parameter details, and product description information. In this embodiment, the product features are consistent with the main features mentioned above.
[0063] S403, compare the extracted product features to delete the feature groups with the same product features, so that each remaining feature group is different. It can be understood that since there are multiple identical products, there may be many identical feature groups corresponding to the extracted product features, and then the identical features are deleted so that only one feature group is left for the identical product.
[0064] S404, generating a commodity identification for each of the remaining sets of features, and saving the commodity identification and the corresponding features to obtain multiple sets of commodity identifications and the features corresponding to the multiple sets of commodity identifications.
[0065] In this solution, a large number of commodity identifiers and features corresponding to the commodity identifiers are obtained at the beginning. In one embodiment, before saving, the method of determining a plurality of preset sets of commodity identifiers and features corresponding to the plurality of sets of commodity identifiers may further include: receiving a user's modification of the extracted features to perform disambiguation.
[0066] Figure 3 and Figure 4 The embodiment shown further defines grouping and identifying commodities and extracting characteristics of each group of commodities. In this way, commodities are grouped and managed, which facilitates the enterprise shopping platform to manage commodities in a refined manner and improves management efficiency.
[0067] In other embodiments, recommendations may be made in combination with user evaluations and commodity transaction volumes. Figure 5 FIG. 1 is a schematic diagram of a commodity management method provided by another embodiment of the present application. The method includes steps S501-S506. Figure 1 The difference between the embodiments is that step S505 and step S506 are different. Figure 1 The steps of the embodiment correspond to each other, please refer to Figure 1 The following will introduce the embodiment and Figure 1 Differences between the embodiments.
[0068] S505, obtaining the price of the non-target product in the same group of products, and the number of comments and the number of transactions of the non-target product within a preset time period.
[0069] S506: Recommend the non-target product in the same group of products according to the price of the non-target product, the number of comments and the number of transactions of the non-target product within a preset time period.
[0070] Specifically, in one embodiment, step S506 includes: normalizing the price, number of comments, and number of transactions of the non-target commodity; calculating the price contribution rate, comment contribution rate, and transaction contribution rate according to a preset formula; and recommending the non-target commodity in the same group of commodities according to the price contribution rate, comment contribution rate, transaction contribution rate, and normalized data. Among them, recommending the non-target commodity in the same group of commodities according to the price contribution rate, comment contribution rate, transaction contribution rate, and normalized data includes: calculating the recommendation ratio of the non-target commodity in the same group of commodities according to the price contribution rate, comment contribution rate, transaction contribution rate, and normalized data, and recommending the non-target commodity in the same group of commodities according to the recommendation ratio.
[0071] Normalize the prices of non-target products, including: obtaining the highest price P among non-target products h ; Normalize the grid of each non-target commodity according to the preset price formula, where the preset price formula is as follows: NP i =(P h -P i ) / P h , where i represents the i-th non-target product, P i represents the price of the i-th non-target commodity, NP i Represents the normalized price value of the i-th non-target product.
[0072] Normalize the number of comments, including: Get the highest number of comments C among non-target products h ; Normalize the number of comments for each non-target product according to the preset comment formula, where the preset comment formula is as follows: NC i =Ci / C h , where i represents the i-th non-target product, C i represents the number of reviews for the i-th non-target product, NC i Represents the normalized value of the number of reviews for the i-th non-target product.
[0073] Normalize the transaction number, including: Get the highest transaction number O among non-target products h ; Normalize the transaction number of each non-target product according to the preset transaction formula, where the preset transaction formula is as follows: NO i =O i / O h , where i represents the i-th non-target product, O i Indicates the transaction volume of the i-th non-target commodity, NO i Represents the normalized value of the transaction volume of the i-th non-target product.
[0074] The price contribution rate, comment contribution rate, and transaction contribution rate are calculated according to the calculation formula. The calculation formula for the price contribution rate is: The formula for calculating the comment contribution rate is: The calculation formula for transaction contribution rate is:
[0075] The recommendation ratio is calculated based on the price contribution rate, comment contribution rate, transaction contribution rate and normalized data. The calculation formula for the recommendation ratio is X i =rP i *NP i +rC i *NC i +rO i *NO i Among them, X i Represents the recommendation ratio of the i-th non-target product.
[0076] In one embodiment, after the recommendation ratio is calculated, the calculated recommendation ratios may be used to sort the data from high to low.
[0077] In some embodiments, the above method embodiment can calculate the recommendation ratio of each product in the same group of products before receiving a request to open any target product in the same group of products, and then after receiving a request to open any target product in the same group of products, in the recommendation area of the target product's details page, recommend non-target products in the same group of products according to the recommendation ratio. In this way, the amount of calculation when opening the target product is reduced, the speed of page response is accelerated, and the speed of product recommendation is improved. This embodiment also includes: detecting whether there are products with price changes in the same group of products, and if there are products with price changes, recalculating the recommendation ratio of each product.
[0078] Figure 6 is a schematic block diagram of a commodity management device provided in an embodiment of the present application. Figure 6 As shown, the device includes a unit for executing the above commodity management method. Specifically, Figure 6 As shown, the device 60 includes an information acquisition unit 601, a feature extraction unit 602, a feature matching unit 603, a same group determination unit 604, a price acquisition unit 605 and a recommendation unit 606.
[0079] The information acquisition unit 601 is used to acquire specification attributes, parameter details, and product description information of the product if it is detected that the product is on the shelf.
[0080] The feature extraction unit 602 is used to extract the main features of the product according to the parameter details and product description information of the product.
[0081] In one embodiment, if Figure 7 As shown, the feature extraction unit 602 includes a word segmentation unit 701, a category detection unit 702, a category acquisition unit 703, a category determination unit 704 and a main feature extraction unit 705. The word segmentation unit 701 is used to segment the specification attributes, parameter details and product description information of the product. The category detection unit 702 is used to detect whether the product has category information. The category acquisition unit 703 is used to obtain the category information of the product if the product has category information. The category determination unit 704 is used to determine the category information of the product according to the keywords after word segmentation if the product does not have category information. The main feature extraction unit 705 is used to extract the main features corresponding to the product from the keywords after word segmentation according to the main features of the preset category and the determined category information of the product.
[0082] The feature matching unit 603 is used to match the main feature of the product with features corresponding to multiple groups of preset product identifiers.
[0083] The same group determining unit 604 is used to, if the match is successful, regard the product as one of the products in the group of product identifiers that are successfully matched, and regard the product and other products in the group of product identifiers as products in the same group.
[0084] The price acquisition unit 605 is used to acquire the price of non-target products in the same group of products if a request to open any target product in the same group of products is received.
[0085] The recommendation unit 606 is configured to recommend non-target products in the same group of products according to the price in a recommendation area on the detail page of the target product.
[0086] In one embodiment, the commodity management device further comprises a commodity group determination unit. The commodity group determination unit is used to determine a plurality of preset commodity identification groups and features corresponding to the plurality of commodity identification groups.
[0087] In one embodiment, if Figure 8 As shown, the commodity group determination unit 80 includes a first acquisition unit 801, a first feature extraction unit 802, an existence detection unit 803, an identification generation unit 804 and a first storage unit 805. Among them, the first acquisition unit 801 is used to detect that a commodity is on the shelf and obtain the specification attributes, parameter details and commodity description information of the commodity. The first feature extraction unit 802 is used to extract the characteristics of the commodity according to the specification attributes, parameter details and commodity description information of the commodity. The existence detection unit 803 is used to detect whether the characteristics of the commodity exist in the database. The identification generation unit 804 is used to generate a commodity identification if the characteristics of the commodity do not exist in the database. The first storage unit 805 is used to save the commodity identification and the characteristics corresponding to the commodity identification, and save the commodity as one of the commodities in a group of commodities corresponding to the commodity identification, so as to obtain multiple groups of commodity identifications and the characteristics corresponding to the multiple groups of commodity identifications.
[0088] In one embodiment, if Fig. 9 As shown, the commodity group determination unit 90 includes a second acquisition unit 901, a second feature extraction unit 902, a deletion unit 903 and a second preservation unit 904. Among them, the second acquisition unit 901 is used to obtain the specification attributes, parameter details, and commodity description information of all or part of the commodities in other online shopping platforms. The second feature extraction unit 902 is used to extract the characteristics of the commodity according to the specification attributes, parameter details, and commodity description information of the commodity. The deletion unit 903 is used to compare the extracted commodity characteristics to delete the feature groups with exactly the same commodity characteristics, so that each remaining set of characteristics is different. The second preservation unit 904 is used to generate a commodity identifier for each remaining set of characteristics, and save the commodity identifier and the corresponding characteristics to obtain multiple sets of commodity identifiers and the characteristics corresponding to the multiple sets of commodity identifiers.
[0089] In one embodiment, non-target products in the same group of products can be recommended in combination with price, number of comments, number of transactions, etc. Thus, in this embodiment, the price acquisition unit 605 is used to obtain the price of the non-target product in the same group of products, as well as the number of comments and number of transactions of the non-target product in a preset time period, if a request to open any target product in the same group of products is received. The recommendation unit 606 is used to recommend the non-target product in the same group of products in the recommendation area of the details page of the target product according to the price of the non-target product, the number of comments and the number of transactions of the non-target product in a preset time period.
[0090] In one embodiment, the recommendation unit 606 includes a normalization unit, a contribution rate calculation unit, and a product recommendation unit. The normalization unit is used to normalize the price, number of comments, and number of transactions of non-target products in the same group of products. The contribution rate calculation unit is used to calculate the price contribution rate, comment contribution rate, and transaction contribution rate according to a preset formula. The product recommendation unit is used to recommend non-target products in the same group of products based on the price contribution rate, comment contribution rate, transaction contribution rate, and normalized data.
[0091] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned device and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.
[0092] The above device can be implemented in the form of a computer program. The computer program can be Fig.10 Runs on the computer device shown.
[0093] Fig.10 A schematic block diagram of a computer device provided in an embodiment of the present application. The device is a server or other device, such as a mobile terminal, a PC terminal, etc. The device 100 includes a processor 102, a memory, and a network interface 103 connected via a system bus 101, wherein the memory may include a non-volatile storage medium 104 and an internal memory 105.
[0094] The non-volatile storage medium 104 can store an operating system 1041 and a computer program 1042. When the computer program 1042 stored in the non-volatile storage medium is executed by the processor 102, the above-mentioned commodity management method can be implemented. The processor 102 is used to provide computing and control capabilities to support the operation of the entire device. The internal memory 105 provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor 102, the processor 102 can execute the above-mentioned commodity management method. The network interface 103 is used for network communication. Those skilled in the art can understand that the structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the device to which the scheme of the present application is applied. The specific device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0095] The processor 102 is used to run a computer program stored in a memory to implement any embodiment of the above-mentioned commodity management method.
[0096] It should be understood that in the embodiment of the present application, the processor 102 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0097] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a storage medium, which can be a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.
[0098] Therefore, the present application also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, any embodiment of the above-mentioned commodity management method is implemented.
[0099] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.
[0100] In the several embodiments provided in the present application, it should be understood that the disclosed devices, equipment and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, and the division of the units is only a logical function division, and there may be other division methods in actual implementation. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the devices, equipment and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. The above is only a specific implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A commodity management method, characterized in that: The method comprises: If a product is detected to be on the shelf, obtain the specification attributes, parameter details, and product description information of the product; Extracting the main features of the product according to the specification attributes, parameter details, and product description information of the product; Matching the main feature of the product with features corresponding to multiple sets of preset product identifiers; If the match is successful, the product is regarded as one of the products in the group of product identifiers that are matched successfully, and the product and other products in the group of product identifiers are regarded as products in the same group; If a request to open the details page of any target product in the same group of products is received, obtain the price of the non-target product in the same group of products; the obtaining the price of the non-target product in the same group of products includes: obtaining the price of the non-target product in the same group of products, and the number of comments and the number of transactions of the non-target product in a preset time period; In the recommendation area of the details page of the target product, non-target products in the same group of products are recommended according to the price; the recommendation of non-target products in the same group of products according to the price includes: recommending non-target products in the same group of products according to the price of the non-target product, the number of comments and the number of transactions of the non-target product in a preset time period; the recommendation of non-target products in the same group of products according to the price of the non-target product, the number of comments and the number of transactions of the non-target product in a preset time period includes: normalizing the price, number of comments and number of transactions of the non-target product; calculating the price contribution rate and the comment contribution rate according to a preset formula , transaction contribution rate; recommend non-target products in the same group of products according to the price contribution rate, comment contribution rate, transaction contribution rate and normalized data; before receiving a request to open any target product in the same group of products, calculate the recommendation ratio according to the price contribution rate, comment contribution rate, transaction contribution rate and normalized data; after receiving a request to open any target product in the same group of products, recommend non-target products in the same group of products according to the recommendation ratio in the recommendation area on the details page of the target product; detect whether there are products with price changes in the same group of products, and if there are products with price changes, recalculate the recommendation ratio of each product; The method further includes: determining a plurality of preset groups of commodity identifiers and features corresponding to the plurality of groups of commodity identifiers, wherein the determining the plurality of preset groups of commodity identifiers and features corresponding to the plurality of groups of commodity identifiers includes: obtaining specification attributes, parameter details, and commodity description information of all or part of the commodities in other online shopping platforms; extracting features of the commodities according to the specification attributes, parameter details, and commodity description information of the commodities; comparing the extracted features of the commodities to delete feature groups with completely identical commodity features, so that each remaining group of features is different; generating a commodity identifier for each remaining group of features, and saving the commodity identifier and the corresponding features to obtain a plurality of groups of commodity identifiers and features corresponding to the plurality of groups of commodity identifiers; Before storing the product identification and the corresponding features, the method includes: receiving a user's modification of the extracted features to perform disambiguation.
2. The method according to claim 1, characterized in that The extracting the main features of the product according to the specification attributes, parameter details, and product description of the product includes: Segment the specification attributes, parameter details, and product description information of the product; Detect whether the product has category information; If the product has category information, obtain the category information of the product; If the product has no category information, determine the category information of the product based on the segmented keywords; According to the main features of the preset category and the determined category information of the product, the main features corresponding to the product are extracted from the segmented keywords.
3. The method according to claim 1, characterized in that The method further includes: determining a plurality of preset groups of commodity identifications and features corresponding to the plurality of groups of commodity identifications, wherein the determining a plurality of preset groups of commodity identifications and features corresponding to the plurality of groups of commodity identifications includes: If a product is detected to be on the shelf, obtain the product's specification attributes, parameter details, and product description information; Extract the characteristics of the product based on the product's specification attributes, parameter details, and product description information; Check whether the features of the product exist in the database; If it does not exist, generate a product ID; The commodity identification and the features corresponding to the commodity identification are saved, and the commodity is saved as one of a group of commodities corresponding to the commodity identification, so as to obtain multiple groups of commodity identifications and the features corresponding to the multiple groups of commodity identifications.
4. A commodity management device, characterized in that: The commodity management device comprises: An information acquisition unit, used to acquire specification attributes, parameter details, and product description information of the product if a product is detected to be on the shelf; A feature extraction unit, used to extract the main features of the product according to the parameter details and product description information of the product; A feature matching unit, used to match the main feature of the product with features corresponding to multiple groups of preset product identifiers; A same group determination unit, configured to, if the match is successful, regard the product as one of the products in the group of product identifiers that are successfully matched, and regard the product and other products in the group of product identifiers as products in the same group; A price acquisition unit, configured to acquire the price of a non-target product in the same group of products if a request to open the details page of any target product in the same group of products is received; the acquiring the price of the non-target product in the same group of products includes: acquiring the price of the non-target product in the same group of products, and the number of comments and the number of transactions of the non-target product in a preset time period; A recommendation unit is used to recommend non-target products in the same group of products according to the price in a recommendation area on the details page of the target product; the recommendation of non-target products in the same group of products according to the price includes: recommending non-target products in the same group of products according to the price of the non-target product, the number of comments and the number of transactions of the non-target product within a preset time period; the recommendation of non-target products in the same group of products according to the price of the non-target product, the number of comments and the number of transactions of the non-target product within a preset time period includes: normalizing the price, number of comments and the number of transactions of the non-target product; calculating the price contribution rate, the comment contribution rate and the transaction contribution rate according to a preset formula; recommending non-target products in the same group of products according to the price contribution rate, the comment contribution rate, the transaction contribution rate and the normalized data; before receiving a request to open any target product in the same group of products, calculating the recommendation ratio according to the price contribution rate, the comment contribution rate, the transaction contribution rate and the normalized data; after receiving a request to open any target product in the same group of products After that, in the recommendation area of the details page of the target product, non-target products in the same group of products are recommended according to the recommendation ratio; whether there are products with price changes in the same group of products, if there are products with price changes, the recommendation ratio of each product is recalculated; multiple groups of preset product identifiers and features corresponding to the multiple groups of product identifiers are determined, wherein the determination of the preset multiple groups of product identifiers and features corresponding to the multiple groups of product identifiers includes: obtaining specification attributes, parameter details, and product description information of all or part of the products in other online shopping platforms; extracting product features according to the specification attributes, parameter details, and product description information of the products; comparing the extracted product features to delete feature groups with exactly the same product features, so that each remaining group of features is different; generating a product identifier for each remaining group of features, saving the product identifier and the corresponding features to obtain multiple groups of product identifiers and features corresponding to the multiple groups of product identifiers; before saving the product identifier and the corresponding features, including: receiving user modifications to the extracted features to eliminate ambiguity.
5. A computer device, characterized in that: The computer device includes a memory and a processor connected to the memory; The memory is used to store a computer program; the processor is used to run the computer program stored in the memory to execute the method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.
