Commodity management method, device, computer equipment and storage medium
By extracting the main features of goods and matching them with preset identification features, the problem of difficulty in identifying goods from different suppliers in the enterprise shopping platform is solved, efficient grouping management of goods is realized, and management efficiency is improved.
Patent Information
- Application Number
- CN201910298823.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-04-15
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2039-04-15
AI Technical Summary
Due to differences in product prices and descriptions from different suppliers on enterprise shopping platforms, it is difficult to identify products and reduce management efficiency.
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, identify and manage similar products in groups, and improve management speed and efficiency.
It effectively improves the speed and efficiency of product management on the enterprise shopping platform, simplifies the group management of products, reduces identification difficulties, and improves the operational efficiency of the platform.
Smart Images

Figure CN110189187B
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] Enterprise shopping platforms cooperate with multiple suppliers to provide platform users with a rich selection of goods. However, while bringing convenience to the platform, it is also possible that the same product may have different prices due to different suppliers. In addition, since each supplier names and describes the product differently, it is difficult for the platform to identify the same product, which increases the difficulty of the platform to identify the same product and reduces the speed and efficiency of the enterprise shopping platform in managing goods. Summary of the invention
[0003] The embodiments of the present application provide a commodity management method, apparatus, computer equipment, and storage medium, which can improve the speed and efficiency of commodity management.
[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 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.
[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 specification attributes, parameter details, and product description of the product to extract the main features of the product, and identifies whether the products are in the same group based on the main features. In this way, the products are grouped for management, which facilitates the enterprise shopping platform to manage the products, thereby improving the speed and efficiency of the enterprise shopping platform to manage the products. 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 is a schematic block diagram of a feature matching unit provided in an embodiment of the present application;
[0022] Fig.11 It is a schematic block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] 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.
[0024] It should be noted that the application scenario in the embodiments 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 commodity platforms.
[0025] 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-S104.
[0026] 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.
[0027] 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, product description and other product information. Among them, the specification attributes include one or more of size (size 37, size S, etc.), color (red, yellow, etc.), weight (kg), capacity (L / ml, storage capacity, etc.), and size (size, length, etc.). Parameter details include brand, model / model number, origin, processing technology / popular elements (straps, 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, such as clothes and skirts also include skirt length, skirt type, sleeve type, etc. The product description includes the product name and / or some description information of the product. For example, the product name is: Nikon D5300 (18-55mm) Entry-level Digital SLR Camera Single Lens Kit; the corresponding description includes: Built-in WIFI 24.16 million pixel anti-shake lens Flip screen Easy to share! A must-have for beginners in anti-shake photography, etc. It should be noted that the above specifications, parameter details, product descriptions and other information are only for illustrative purposes to facilitate understanding of the technical solutions in this application.
[0028] S102: extracting the main features of the product according to the specification attributes, parameter details, and product description information of the product.
[0029] It should be noted that the main features extracted from products in different categories are different. For example, the main features corresponding to 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, specification 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, 4G+ 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.
[0030] In one embodiment, if Figure 2 As shown, step S102 includes the following steps S201-S205.
[0031] S201, segmenting the specification attributes, parameter details, and product description information of the product.
[0032] 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 product's specification attributes, parameter details, and product description information 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".
[0033] S202, detecting whether the product has category information.
[0034] 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.
[0035] If the product has category information, execute step S203; if the product has no category information, execute step S204.
[0036] S203, obtaining category information of the product.
[0037] S204, determining the category information of the product according to the segmented keywords.
[0038] 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.
[0039] 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.
[0040] 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, specification 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.
[0041] 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.
[0042] S103, matching the main feature of the product with features corresponding to multiple groups of preset product identifiers.
[0043] 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 (specification capacity), first-level (quality grade), non-GMO, etc.
[0044] 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.
[0045] 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.
[0046] 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.
[0047] This embodiment obtains information such as the specification attributes, parameter details, and product description of the product when the product is put on the shelf to extract the main features of the product, and identifies whether the products are in the same group based on the main features. In this way, when the products are put on the shelf, the products are grouped and managed, which improves the speed and efficiency of product management. At the same time, many products are grouped and managed, which facilitates product management by the enterprise shopping platform, further improving the speed and efficiency of product management by the enterprise shopping platform.
[0048] 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.
[0049] 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.
[0050] S301, if it is detected that a product is on the shelf, obtain the product's specification attributes, parameter details, and product description information.
[0051] 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.
[0052] S303, checking whether the features of the product exist in the database.
[0053] If the feature of the product does not exist in the database, step S304 is executed. If it does exist, no processing is performed.
[0054] S304: Generate a product identifier, wherein the product identifier is generated according to a preset rule.
[0055] 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.
[0056] 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.
[0057] 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.
[0058] S401, obtaining specification attributes, parameter details, and product description information of all or part of the products on other online shopping platforms.
[0059] 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.
[0060] 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.
[0061] 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.
[0062] 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.
[0063] Figure 3 and Figure 4The 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.
[0064] In other embodiments, after extracting the main features of the product, the main features of the product are matched with features corresponding to multiple groups of preset product identifiers, that is, step S103 includes the following steps S501-S505.
[0065] S501, matching the main features of the product except the brand with the features except the brand corresponding to the preset multiple groups of product identifications.
[0066] S502, determining whether the main features of the product other than the brand match the features other than the brand corresponding to the preset multiple groups of product identifiers. If they match, executing step S503, if not, executing step S505.
[0067] S503, determine whether the brand of the product is within the preset brand level range with the brands of other products corresponding to the group of matching product identifiers. Different brand levels will be saved in the database, and one brand level includes multiple different brands. Multiple different brands in one brand level means that the brand effects of the different brands are equivalent. If the brand of the product belongs to the same brand level as the brands of other products corresponding to the group of matching product identifiers, it is determined to be within the preset brand level range, otherwise, it is determined not to be within the preset brand level range. If it is within the preset brand level range, execute step S504; if it is not within the preset brand level range, execute step S505.
[0068] S504: Determine whether the match is successful.
[0069] S505: Determine that the matching fails.
[0070] Understandably, if the main features of the products are the same except for the brand, and if the brands of the products are within a brand level range, then these products can also be treated as products in the same group. In this way, the speed and efficiency of product management are improved, and further operations on products in the same group are facilitated.
[0071] In one embodiment, in addition to the above steps S101-S104, the commodity management method further includes the following steps:
[0072] Calculate the price difference between the product and other products in the same group; determine whether the price difference is within a preset price difference range; if the price difference between the product and other products in the same group is not within the preset price difference range, remove the product from the shelves.
[0073] In this embodiment, the price difference can be calculated based on the average price. Specifically, the calculation of the price difference between the commodity and other commodities in the same group of commodities includes: calculating the average price of other commodities in the same group of commodities, wherein all prices are normal buying and selling prices, that is, the price that users need to pay for purchasing commodities without using coupons, etc.; calculating the difference percentage between the average price of the commodity and other commodities in the same group of commodities, and using the difference percentage as the price difference. It can be understood that if the commodities in the same group are the same commodities, then the price difference of the same commodities should not be too large, therefore, a preset price difference range is set, wherein the preset price difference range can be from negative 10% to positive 10%. The preset price difference range can also be set to different values according to different categories. If the price difference is not within the preset price difference range, the commodity is removed from the shelves; if the price difference is within the preset price difference range, it can be put on the shelves normally.
[0074] In this embodiment, when the commodities are exactly the same, commodities with too high prices and commodities with too low prices are removed from the shelves to avoid the appearance of counterfeit and shoddy products, and also to avoid unfair competition caused by too low prices. In this way, the speed and efficiency of commodity management by the enterprise shopping platform are improved. At the same time, commodities with too high prices are removed from the shelves to save costs. That is, for the same products, the enterprise shopping platform will not purchase or put commodities with too high prices on the shelves, which facilitates the purchase cost control of the enterprise shopping platform and improves the efficiency of cost control of the enterprise shopping platform.
[0075] In other embodiments, when calculating the price difference between the commodity and other commodities in the same group, the lowest price in the same group of commodities is used as a standard to calculate the percentage of the price difference between the commodity and the lowest price.
[0076] 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, and a same group determination unit 604.
[0077] 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.
[0078] The feature extraction unit 602 is used to extract the main features of the product according to the specification attributes, parameter details, and product description information of the product.
[0079] In one embodiment, if Figure 7As 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.
[0080] 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.
[0081] 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.
[0082] 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.
[0083] 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.
[0084] In one embodiment, if Fig. 9As 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.
[0085] In other embodiments, Fig.10 As shown, the feature matching unit 603 includes a product feature matching unit 101, a matching judgment unit 102, a brand judgment unit 103, and a matching determination unit 104. The product feature matching unit 101 is used to match the main features of the product other than the brand with the features other than the brand corresponding to the preset multiple groups of product identifiers. The matching judgment unit 102 is used to determine whether the main features of the product other than the brand match the features other than the brand corresponding to the preset multiple groups of product identifiers. The brand judgment unit 103 is used to determine whether the brand of the product is within a preset brand level range with the brands of other products corresponding to the matched group of product identifiers if the main features of the product other than the brand match the features other than the brand corresponding to the preset multiple groups of product identifiers. The matching determination unit 104 is used to determine that the match is successful if it is within the preset brand level range. The matching determination unit 104 is also used to determine that the match fails if it is not within the preset brand level range, or if the main features of the product other than the brand do not match the features other than the brand corresponding to the preset multiple groups of product identifiers.
[0086] In one embodiment, the commodity management device 60 further includes a price difference calculation unit, a price difference judgment unit, and a delisting unit. The price difference calculation unit is used to calculate the price difference between the commodity and other commodities in the same group of commodities. The price difference judgment unit is used to judge whether the price difference is within a preset price difference range. The delisting unit is used to delist the commodity if the price difference between the commodity and other commodities in the same group of commodities is not within the preset price difference range.
[0087] 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.
[0088] The above device can be implemented in the form of a computer program. The computer program can be Fig.11 Runs on the computer device shown.
[0089] Fig.11 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 110 includes a processor 112, a memory, and a network interface 113 connected via a system bus 111, wherein the memory may include a non-volatile storage medium 114 and an internal memory 115.
[0090] The non-volatile storage medium 114 can store an operating system 1141 and a computer program 1142. When the computer program 1142 stored in the non-volatile storage medium is executed by the processor 112, the above-mentioned commodity management method can be implemented. The processor 112 is used to provide computing and control capabilities to support the operation of the entire device. The internal memory 115 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 112, the processor 112 can execute the above-mentioned commodity management method. The network interface 113 is used for network communication. Those skilled in the art can understand that Fig.11 The structure shown in the figure is merely a block diagram of a portion of the 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.
[0091] The processor 112 is used to run a computer program stored in the memory to implement any embodiment of the above-mentioned commodity management method.
[0092] It should be understood that in the embodiment of the present application, the processor 112 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.
[0093] 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.
[0094] 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.
[0095] 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.
[0096] 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; extracting the main features of the product according to the specification attributes, parameter details, and product description of the product includes: segmenting the specification attributes, parameter details, and product description information of the product; detecting whether the product has category information; if the product has category information, obtaining the category information of the product; if the product does not have category information, determining the category information of the product according to the keywords after word segmentation; extracting 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; 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; 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 identifiers 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 saving, the determining the plurality of preset groups of commodity identifiers and features corresponding to the plurality of groups of commodity identifiers also includes: receiving a user's modification of the extracted features for disambiguation; The method further includes: calculating the price difference between the product and other products in the same group; if the price difference between the product and other products in the same group is not within a preset price difference range, removing the product from the shelves; calculating the average price of other products in the same group, calculating the price difference percentage between the product and the average price of other products in the same group, and using the price difference percentage as the price difference; The method also 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 it is detected that a commodity is on the shelf, obtaining the specification attributes, parameter details, and commodity description information of the commodity; extracting the features of the commodity according to the specification attributes, parameter details, and commodity description information of the commodity; detecting whether the features in the commodity exist in the database; if not, generating a commodity identification; 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 a plurality of groups of commodity identifications and features corresponding to the plurality of groups of commodity identifications.
2. The method according to claim 1, characterized in that The matching of the main feature of the commodity with features corresponding to the preset multiple groups of commodity identifiers includes: Matching the main features of the product other than the brand with the features other than the brand corresponding to the preset multiple groups of product identifiers; Determining whether the main feature of the product other than the brand matches the features other than the brand corresponding to the preset multiple groups of product identifiers; If there is a match, determining whether the brand of the product is within a preset brand level range with the brands of other products corresponding to the group of matching product identifiers; If it is within the preset brand level range, it is determined that the match is successful; otherwise, it is determined that the match fails.
3. 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 is used to extract the main features of the product according to the specification attributes, parameter details, and product description information of the product; the extracting the main features of the product according to the specification attributes, parameter details, and product description of the product includes: segmenting the specification attributes, parameter details, and product description information of the product; detecting whether the product has category information; if the product has category information, obtaining the category information of the product; if the product does not have category information, determining the category information of the product according to the keywords after word segmentation; extracting 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; 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; Determine a plurality of preset groups of commodity identifiers and features corresponding to the plurality of groups of commodity identifiers, wherein the determining of the preset plurality of 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 identifiers 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 saving, the determining of the preset plurality of groups of commodity identifiers and features corresponding to the plurality of groups of commodity identifiers also includes: receiving a user's modification of the extracted features for disambiguation; Calculate the price difference between the product and other products in the same group; if the price difference between the product and other products in the same group is not within the preset price difference range, remove the product from the shelves; calculate the average price of other products in the same group, calculate the price difference percentage between the product and the average price of other products in the same group, and use the price difference percentage as the price difference; Determine a plurality of preset groups of commodity identifications and features corresponding to the plurality of groups of commodity identifications, wherein the determination of the preset plurality of groups of commodity identifications and features corresponding to the plurality of groups of commodity identifications comprises: if it is detected that a commodity is on the shelf, obtain the specification attributes, parameter details, and commodity description information of the commodity; extract the features of the commodity according to the specification attributes, parameter details, and commodity description information of the commodity; detect whether the features in the commodity exist in the database; if not, generate a commodity identification; save the commodity identification and the features 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 a plurality of groups of commodity identifications and features corresponding to the plurality of groups of commodity identifications.
4. The commodity management device according to claim 3, characterized in that: The feature extraction unit comprises: A word segmentation unit, used to segment the specification attributes, parameter details, and product description information of the product; A category detection unit, used to detect whether the product has category information; A category acquisition unit, used to acquire the category information of the product if the product has category information; A category determination unit, configured to determine the category information of the product according to the segmented keywords if the product has no category information; The main feature extraction unit is used to extract the main feature corresponding to the product from the segmented keywords according to the main feature of the preset category and the determined category information of the product.
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 2.
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 2 is implemented.
