Commodity supervision method, device and equipment and readable storage medium
Through the matching of product details and banned sales list, the problem of low supervision of banned sales in the retail industry is solved, and accurate and efficient identification of banned sales is achieved, and legal risks are reduced.
Patent Information
- Application Number
- CN202411332902.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2024-12-27
AI Technical Summary
In the retail industry, the ban on new products listed are inefficient and are prone to misjudgment, leading to legal risks.
By determining the matching of the product details and the banned sales details table, if the match is successful, the target banned sales range is determined, and if the match fails, it is determined that the product is not banned, which simplifies the banned sales identification process and avoids manual search policies and loading Inefficiency caused by a large number of attribute encodings.
It has achieved the reduction of supervision difficulty while ensuring accuracy and efficiency, avoided misjudgment and legal risks, and improved the accuracy and efficiency of banned sales identification.
Smart Images

Figure CN119205264A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and more specifically, to a commodity supervision method, device, equipment and readable storage medium. Background Art
[0002] In the retail industry, banned goods refer to goods that are prohibited from being sold in specific areas. Currently, merchants deal with banned goods through a large number of manual inquiries and investigations, which leads to low efficiency. In particular, when listing new products, it is necessary to query the policies of each region and manually determine whether the new products are allowed to be sold. This is inefficient and prone to misjudgment, which brings related legal risks. Summary of the invention
[0003] In view of this, the present application provides a commodity supervision method, device, equipment and readable storage medium, which are used to solve the shortcomings of the prior art that the supervision of newly listed commodities is difficult.
[0004] In order to achieve the above objectives, the proposed solution is as follows:
[0005] A method for commodity regulation, comprising:
[0006] Determine the product category of the newly added products;
[0007] Obtain a prohibited-sale category table containing multiple prohibited-sale commodity categories, each prohibited-sale commodity category having a corresponding prohibited-sale range;
[0008] The commodity subcategory is matched with each prohibited commodity subcategory in the prohibited commodity subcategory table; if the match is successful, the target prohibited commodity range corresponding to the newly added commodity is determined, and the newly added commodity is determined to be a prohibited commodity in the target prohibited commodity range; if the match fails, it is determined that the newly added commodity does not belong to a prohibited commodity.
[0009] Optionally, also include:
[0010] After the newly added product is successfully matched, determining the newly added attribute code of the newly added product;
[0011] Obtaining a prohibited-sale commodity table, wherein the prohibited-sale commodity table is used to indicate prohibited-sale attribute codes of prohibited-sale commodities in different sales scopes and prohibited-sale reasons for each prohibited-sale commodity in different sales scopes;
[0012] Determine the newly added reasons for the sales ban and the newly added sales ban scope of the newly added products;
[0013] The newly added attribute code, the newly added prohibition reason and the newly added prohibition range of the newly added commodity are correspondingly added to the prohibited commodity table to complete the update of the prohibited commodity table.
[0014] Optionally, also include:
[0015] The prohibited sale range is screened for the prohibited sale commodity table, and each prohibited sale attribute code corresponding to the same prohibited sale range is combined to form a prohibited sale result table corresponding to the prohibited sale range, and each prohibited sale result table is used to determine the prohibited sale attribute codes of all prohibited sale commodities in the corresponding prohibited sale range.
[0016] Optionally, obtaining a prohibited-sale category table containing a plurality of prohibited-sale commodity categories includes:
[0017] Obtain a prohibited sale and distribution list;
[0018] Parsing the prohibited sale and distribution list, extracting all prohibited sale commodity subcategories contained in the prohibited sale and distribution list, parsing the prohibited sale reasons and prohibited sale areas corresponding to each prohibited sale commodity subcategory, parsing each prohibited sale area, and extracting the prohibited sale scope corresponding to each prohibited sale area;
[0019] Determine the document identification of the prohibited sale and prohibited distribution order;
[0020] Each prohibited commodity category and its corresponding prohibition reason, prohibited sales scope and document identification are written into the same table in turn to form a prohibited sale category table.
[0021] Optionally, obtaining the prohibited goods list includes:
[0022] Parsing the prohibited sale attribute code contained in each prohibited sale commodity subcategory in the prohibited sale and prohibited distribution list;
[0023] Parsing the prohibited sale and distribution list, determining the prohibited sale area and the prohibited sale reason corresponding to each prohibited sale attribute code, and determining the prohibited sale scope corresponding to each prohibited sale attribute code based on each prohibited sale area;
[0024] The prohibited sale scope, prohibited sale reason and the document identifier corresponding to each prohibited sale attribute code are written into the table to form a prohibited sale commodity table.
[0025] Optionally, also include:
[0026] Get the unblocking and unmatching orders;
[0027] Parse the ban release and unbundling list to determine all ban release subcategories, all ban release attribute codes corresponding to each ban release subcategory, ban release zone intervals corresponding to each ban release subcategory, and ban release ranges corresponding to each ban release attribute code;
[0028] Based on each unbanned subcategory and its corresponding unbanned period, updating the prohibited sales subcategory table;
[0029] Based on each unbanned attribute code and its corresponding unbanned range, the banned goods table is updated.
[0030] Optionally, matching the commodity subcategory with each prohibited commodity subcategory in the prohibited commodity subcategory table includes:
[0031] Calculating the similarity between the product subcategory and each prohibited product subcategory;
[0032] If any similarity exceeds a preset similarity threshold, the match is determined to be successful.
[0033] A commodity monitoring device, comprising:
[0034] A determination module is used to determine the commodity sub-category of the newly added commodity;
[0035] An acquisition module, used to acquire a prohibited-sale subcategory table containing a plurality of prohibited-sale commodity subcategories, each prohibited-sale commodity subcategory having a corresponding prohibited-sale range;
[0036] a matching module, for matching the commodity subcategory with each prohibited commodity subcategory in the prohibited commodity subcategory table; if the match is successful, determining the target prohibited commodity range corresponding to the newly added commodity, and determining that the newly added commodity belongs to the prohibited commodity in the target prohibited commodity range; if the match fails, determining that the newly added commodity does not belong to the prohibited commodity.
[0037] A commodity supervision device, comprising a memory and a processor;
[0038] The memory is used to store programs;
[0039] The processor is used to execute the program to implement each step of the above-mentioned commodity supervision method.
[0040] A readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, each step of the above-mentioned commodity supervision method is implemented.
[0041] It can be seen from the above technical solutions that the commodity supervision method provided by the present application can determine the commodity subcategories of the newly added commodities; obtain a prohibited sale subcategory table containing multiple prohibited sale commodity subcategories, each prohibited sale commodity subcategory has a corresponding prohibited sale range; based on this, the present application can count the prohibited sale commodity subcategories of each area through the prohibited sale subcategory table, and integrate the prohibited sale ranges corresponding to different prohibited sale commodity subcategories; then, the commodity subcategories can be matched with each prohibited sale commodity subcategories in the prohibited sale subcategory table; if the match is successful, the target prohibited sale range corresponding to the newly added commodity is determined, and it is determined that the newly added commodity belongs to the target prohibited sale range. The prohibited goods that are marked as prohibited goods are within the prohibited sales range; if the match fails, it is determined that the target goods do not belong to the prohibited goods; based on this, the present application can determine whether the newly added goods belong to the prohibited goods in a specific area by comparing the subcategories of the newly added goods with the subcategories of the prohibited goods counted in the prohibited sales subcategories table; there is no need to look up the policies of each region, nor is there any need to load the attribute codes of all prohibited goods. The prohibited sales identification can be completed through the commodity subcategories, which simplifies the difficulty of prohibited sales identification, avoids the problem of low accuracy caused by search errors, and avoids the problem of low efficiency of prohibited sales identification caused by the large amount of attribute codes of all prohibited goods and slow loading rate. It can be seen that the present application can realize prohibited sales identification by comparing the subcategories of the newly added goods with the prohibited sales subcategories table that integrates the subcategories of each prohibited goods; thereby reducing the difficulty of supervision while ensuring accuracy and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0043] Figure 1 A flow chart of a commodity supervision method disclosed in an embodiment of the present application;
[0044] Figure 2 This is a structural block diagram of a commodity supervision device disclosed in an embodiment of the present application;
[0045] Figure 3 This is a hardware structure block diagram of a commodity supervision device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0046] 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 only 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.
[0047] The commodity supervision method of the present application can be used in many general or special computing device environments or configurations, such as personal computers, server computers, handheld devices or portable devices, tablet devices, multi-processor devices, and distributed computing environments including any of the above devices or equipment.
[0048] Next, combine Figure 1 The commodity supervision method of this application is introduced in detail, including the following steps:
[0049] Step S1: Determine the commodity subcategory of the newly added commodity.
[0050] Specifically, product subcategories refer to categories that are further divided under product subcategories based on factors such as specific attributes, functions, uses, target audiences, etc. For example, when the product subcategory is clothing, clothing products can be subdivided into men's clothing, women's clothing, children's clothing, etc.
[0051] The product subcategories of the newly added products may be used to determine product attributes, product functions, product uses and / or product audiences of the newly added products.
[0052] The product subcategories of the new products may be determined based on the functional characteristics, target audience positioning, usage scenarios and / or similar products of the new products.
[0053] Step S2: obtaining a prohibited-sale category table including a plurality of prohibited-sale commodity categories, each prohibited-sale commodity category having a corresponding prohibited-sale range.
[0054] Specifically, a pre-constructed prohibited-sale sub-category table may be obtained, or when a pre-constructed prohibited-sale sub-category table does not exist, a prohibited-sale sub-category table may be constructed.
[0055] Among them, you can obtain the ban on sales files of various regions, parse each ban on sales file, and extract the ban on sales and distribution list.
[0056] Each prohibited sale and prohibited distribution list can be analyzed, and a prohibited sale detailed category table can be constructed based on each prohibited sale and prohibited distribution list.
[0057] The prohibited sale category table may include multiple prohibited sale commodity categories, and the prohibited sale reasons and prohibited sale scope corresponding to each prohibited sale commodity category. It may also include the document identification, creation time and latest modification time of the prohibited sale and prohibited distribution order corresponding to each prohibited sale commodity category.
[0058] The reasons for prohibition of sales may be quality issues, copyright issues, etc.
[0059] Among them, the prohibited sales scope can be used to determine prohibited sales stores, and can also be used to determine prohibited sales areas.
[0060] Step S3, matching the commodity subcategory with each prohibited commodity subcategory in the prohibited commodity subcategory table; if the match is successful, determining the target prohibited commodity range corresponding to the newly added commodity, and determining that the newly added commodity belongs to the prohibited commodity in the target prohibited commodity range; if the match fails, determining that the newly added commodity does not belong to the prohibited commodity.
[0061] Specifically, each prohibited commodity subcategory in the prohibited commodity subcategory table may be matched with the commodity subcategory of the newly added commodity in turn;
[0062] After any prohibited commodity subcategory successfully matches the commodity subcategory, a target prohibited sales range of the newly added commodity is determined based on the prohibited sales range corresponding to the prohibited commodity subcategory successfully matched with the commodity subcategory, and the newly added commodity is determined to be a prohibited sales commodity in the target prohibited sales range;
[0063] If all prohibited product categories fail to match the product categories, it is determined that the newly added product is not included in the prohibited products.
[0064] It can be seen from the above technical solutions that the commodity supervision method provided by the present application can determine the commodity subcategories of the newly added commodities; obtain a prohibited sale subcategory table containing multiple prohibited sale commodity subcategories, each prohibited sale commodity subcategory has a corresponding prohibited sale range; based on this, the present application can count the prohibited sale commodity subcategories of each area through the prohibited sale subcategory table, and integrate the prohibited sale ranges corresponding to different prohibited sale commodity subcategories; then, the commodity subcategories can be matched with each prohibited sale commodity subcategories in the prohibited sale subcategory table; if the match is successful, the target prohibited sale range corresponding to the newly added commodity is determined, and it is determined that the newly added commodity belongs to the target prohibited sale range. The prohibited goods that are marked as prohibited goods are within the prohibited sales range; if the match fails, it is determined that the target goods do not belong to the prohibited goods; based on this, the present application can determine whether the newly added goods belong to the prohibited goods in a specific area by comparing the subcategories of the newly added goods with the subcategories of the prohibited goods counted in the prohibited sales subcategories table; there is no need to look up the policies of each region, nor is there any need to load the attribute codes of all prohibited goods. The prohibited sales identification can be completed through the commodity subcategories, which simplifies the difficulty of prohibited sales identification, avoids the problem of low accuracy caused by search errors, and avoids the problem of low efficiency of prohibited sales identification caused by the large amount of attribute codes of all prohibited goods and slow loading rate. It can be seen that the present application can realize prohibited sales identification by comparing the subcategories of the newly added goods with the prohibited sales subcategories table that integrates the subcategories of each prohibited goods; thereby reducing the difficulty of supervision while ensuring accuracy and efficiency.
[0065] In some embodiments of the present application, the process of step S2, obtaining a prohibited-sale category table including a plurality of prohibited-sale commodity categories, each prohibited-sale commodity category having a corresponding prohibited-sale range, is described in detail, and the steps are as follows:
[0066] S20. Obtain the prohibited sale and distribution list.
[0067] Specifically, each issued ban on sale and distribution order can be obtained.
[0068] Among them, each prohibited sale and prohibited distribution list can be used to store the identification of the corresponding prohibited sale file, as well as the prohibited sale commodity categories, prohibited sale attribute codes, and the prohibited sale reasons and prohibited sale areas corresponding to each prohibited sale commodity category, and the prohibited sale areas and prohibited sale reasons corresponding to each prohibited sale attribute code recorded in the prohibited sale file.
[0069] S21. parse the prohibited sale and prohibited distribution list, extract all prohibited sale commodity subcategories contained in the prohibited sale and prohibited distribution list, parse the prohibited sale reasons and prohibited sale areas corresponding to each prohibited sale commodity subcategory, parse each prohibited sale area, and extract the prohibited sale scope corresponding to each prohibited sale area.
[0070] Specifically, all prohibited-sale commodity categories, as well as the prohibited-sale reasons and prohibited-sale areas corresponding to each prohibited-sale commodity category may be extracted from the prohibited-sale and prohibited-distribution list.
[0071] The stores included in each prohibited sales area can be determined, and the store identifications included in each prohibited sales area are used as the prohibited sales range corresponding to each prohibited sales area.
[0072] S22: Determine the document identification of the prohibited sale and prohibited distribution order.
[0073] Specifically, the identification of the prohibited-sale document stored in the prohibited-sale and prohibited-distribution list may be extracted as the document identification.
[0074] S23. Write each prohibited-sale commodity subcategory and its corresponding prohibited-sale reason, prohibited-sale scope and document identification into the same table in turn to form a prohibited-sale subcategory table.
[0075] Specifically, each prohibited-sale commodity sub-category and the prohibition reason, prohibited sale scope and document identification can be written into the same form to form a prohibited-sale sub-category table.
[0076] It can be seen from the above technical solution that this embodiment provides an optional method for obtaining a prohibited-sale commodity table, through which all prohibited-sale information can be summarized. At the same time, when the prohibited-sale detailed category table is used subsequently, the document identifier of the prohibited-sale detailed category table can be used to trace the source.
[0077] In some embodiments of the present application, the process of matching the commodity sub-category with each prohibited commodity sub-category in the prohibited commodity sub-category table in step S3 is described in detail, and the steps are as follows:
[0078] S30: Calculate the similarity between the commodity subcategory and each prohibited commodity subcategory.
[0079] Specifically, the Euclidean distance between the product subcategory and each prohibited product subcategory may be used as the similarity between the product subcategory and the corresponding prohibited product subcategory.
[0080] S31. If any similarity exceeds a preset similarity threshold, it is determined that the match is successful.
[0081] Specifically, a similarity threshold may be set according to accuracy requirements, and when any similarity exceeds the similarity threshold, it is determined that the match is successful.
[0082] It can be seen from the above technical solution that this embodiment provides an optional matching method, through which the product subcategories can be better matched with each prohibited product subcategories in the prohibited product subcategories table, thereby better identifying prohibited products.
[0083] In some embodiments of the present application, it is considered that a prohibited commodity table for storing prohibited commodities in different sales ranges and the reasons for prohibiting the sale of each prohibited commodity in different sales ranges can be pre-built. Therefore, when it is determined that a newly added commodity belongs to a prohibited commodity in the target prohibited sales range, a process of adding the newly added commodity to the prohibited commodity table can be added. Next, the above-mentioned adding process will be described in detail, and the steps are as follows:
[0084] S4. After the newly added product is matched successfully, determine the newly added attribute code of the newly added product.
[0085] Specifically, after any prohibited commodity subcategory is successfully matched with the commodity subcategory in step S3, the attribute code of the newly added commodity may be determined, and the attribute code may be used as the newly added attribute code.
[0086] The newly added attribute code can be used to determine the SKU (Stock Keeping Unit) of the newly added product.
[0087] Among them, the attribute code of the product is a category further divided according to the color, size, style, etc. of the product under the product subcategory. For example, when the product subcategory is children's clothing, the children's clothing products can be subdivided into attribute codes such as the first style, the second style, and the third style.
[0088] S5. Obtain a prohibited-sale commodity table, where the prohibited-sale commodity table is used to indicate prohibited-sale commodities in different sales ranges and reasons for prohibiting the sale of each prohibited-sale commodity in different sales ranges.
[0089] Specifically, a pre-built prohibited-sale commodity table may be obtained; if a pre-built prohibited-sale commodity table does not exist, a prohibited-sale commodity table may also be constructed.
[0090] The prohibited goods table may include multiple prohibited sale attribute codes, the prohibition reason and prohibition scope of each prohibited sale commodity, and may also include the document identification, creation time and latest modification time of the prohibited sale and prohibited distribution order corresponding to each prohibited sale attribute code.
[0091] Among them, the prohibited sales scope can be a prohibited sales store or a prohibited sales area.
[0092] The prohibition reason of each prohibited-sale commodity subcategory can be obtained by removing duplicates and integrating the prohibited-sale roots matched by all prohibited-sale attribute codes corresponding to the prohibited-sale commodity subcategory.
[0093] The prohibited sale scope of each prohibited sale commodity subcategory can be obtained by removing duplicates and integrating the prohibited sale scopes matched by all prohibited sale attribute codes corresponding to the prohibited sale commodity subcategory.
[0094] S6. Determine the newly added sales ban reasons and the newly added sales ban scope of the newly added commodities.
[0095] Specifically, the newly added reasons for the prohibition on sale and the newly added scope of the prohibition on sale corresponding to the newly added goods can be determined in a variety of ways; for example, the prohibited goods categories can be analyzed, and the newly added reasons for the prohibition on sale and the newly added scope of the prohibition on sale of the newly added goods can be determined based on the reasons for the prohibition on sale and the scope of the prohibition on sale that match the prohibited goods categories; the corresponding prohibited sales order can also be searched according to the document identifier that matches the prohibited goods categories to determine the newly added reasons for the prohibition on sale and the newly added scope of the prohibition on sale of the newly added goods.
[0096] S7: Add the newly added attribute code, the newly added prohibition reason and the newly added prohibition range of the newly added commodity to the prohibited commodity table to complete the update of the prohibited commodity table.
[0097] Specifically, the newly added attribute code, the newly added prohibition reason and the newly added prohibition range of the newly added commodity may be correspondingly written into the prohibited commodity table.
[0098] It can be seen from the above technical solution that, compared with the previous embodiment, this embodiment adds an optional method for updating the banned goods table. Through the above method, relevant information of newly added goods that are banned goods can be written into the banned goods table, so as to complete the real-time update of the banned goods table, maintain the banned goods table, and improve the reliability and accuracy of the banned goods table, thereby better utilizing the banned goods table to supervise various goods.
[0099] In some embodiments of the present application, the process of obtaining a prohibited commodity table in step S5, wherein the prohibited commodity table is used to indicate prohibited commodities in different sales ranges and the reasons for prohibiting the sale of each prohibited commodity in different sales ranges, is described in detail, and the steps are as follows:
[0100] S50: parsing the prohibited-sale attribute code contained in each prohibited-sale commodity subcategory in the prohibited-sale and prohibited-matching list.
[0101] Specifically, the prohibited sale attribute code contained in each prohibited sale commodity category can be extracted from the prohibited sale and distribution list.
[0102] S51. Parse the prohibited sale and prohibited distribution list to determine the prohibited sale area and the prohibited sale reason corresponding to each prohibited sale attribute code, and determine the prohibited sale scope corresponding to each prohibited sale attribute code based on each prohibited sale area.
[0103] Specifically, the prohibited sale area and the prohibited sale reason corresponding to each prohibited sale attribute code may be extracted from the prohibited sale and distribution list.
[0104] All stores included in each prohibited sales area can be regarded as the corresponding prohibited sales scope.
[0105] S52: Write the prohibited sales scope, prohibited sales reason and the document identifier corresponding to each prohibited sales attribute code into a table to form a prohibited sales commodity table.
[0106] Specifically, the prohibited sale scope, prohibited sale reason and the document identifier corresponding to each prohibited sale attribute code may be written into a table to form a prohibited sale commodity table.
[0107] It can be seen from the above technical solution that this embodiment provides an optional method for constructing a prohibited goods table. Through the above method, this application can integrate the prohibited attribute codes of prohibited goods in all regions, and further complete the commodity supervision through the prohibited goods table.
[0108] In some embodiments of the present application, considering that some banned goods may be unbanned, it is possible to try to add a process of updating the banned goods table and the banned category table. Next, the above process will be described in detail. The steps are as follows:
[0109] S1. Obtain the release order.
[0110] Specifically, you can obtain the unbanning files for each region, parse each unbanning file, and extract the unbanning and unmatching orders.
[0111] Each release and distribution order can be used to store the identification of the corresponding release document, as well as the release categories and release attribute codes recorded in the release document, and the release areas corresponding to each release category and each release attribute code.
[0112] S2. Analyze the ban release and unmatching list to determine all ban release categories, all ban release attribute codes corresponding to each ban release category, ban release zone corresponding to each ban release category, and ban release range corresponding to each ban release attribute code.
[0113] Specifically, the ban release subcategories, ban release attribute codes, and the ban release areas corresponding to each ban release subcategory and the ban release areas corresponding to each ban release attribute code can be extracted from the ban release and release list.
[0114] Determine the unlocking zone interval corresponding to each unlocking zone.
[0115] Determine the scope of the lifting of restrictions for each lifted-restriction area.
[0116] S3. Based on each unbanned subcategory and its corresponding unbanned area, update the prohibited sale subcategory table.
[0117] Specifically, the prohibited sale scope of the prohibited sale commodity subcategories in the prohibited sale subcategory table that matches each unbanned subcategory may be adjusted.
[0118] S4. Based on each unbanned attribute code and its corresponding unbanned range, update the banned goods table.
[0119] Specifically, the prohibited sale range of the prohibited sale attribute code that matches each unbanned attribute code in the prohibited sale commodity table may be adjusted.
[0120] It can be seen from the above technical solution that this embodiment provides an optional method for maintaining the prohibited-sale subcategory table and the prohibited-sale commodity table, and the above method can further ensure the reliability and accuracy of the prohibited-sale commodity table and the prohibited-sale subcategory table.
[0121] In some embodiments of the present application, considering that when managing various commodities, users in different regions do not pay attention to the prohibition of sales in other regions when listing commodities, but only pay attention to the prohibition of sales in the corresponding region, so a process of obtaining the prohibition of sales in the corresponding region can be added. Next, the process will be described in detail, and the steps are as follows:
[0122] S1. Screening the prohibited sale range for the prohibited sale commodity table, combining the prohibited sale attribute codes corresponding to the same prohibited sale range to form a prohibited sale result table corresponding to the prohibited sale range, each prohibited sale result table being used to determine the prohibited sale attribute codes of all prohibited sale commodities in the corresponding prohibited sale range.
[0123] Specifically, all prohibited-sale attribute codes corresponding to the same prohibited-sale range may be extracted from the prohibited-sale commodity table and written into a table to construct a prohibited-sale result table corresponding to each prohibited-sale range.
[0124] Each prohibited sale result table may include all prohibited sale attribute codes of the corresponding prohibited sale range and the prohibited sale reasons corresponding to each prohibited sale attribute code, and may also include the document identification, creation time and latest modification time of the prohibited sale and prohibited distribution order corresponding to each prohibited sale attribute code.
[0125] It can be seen from the above technical solution that compared with the previous embodiment, this embodiment newly adds an optional method of constructing a ban on sale result table. Through the above method, the ban on sale result tables corresponding to different regions can be constructed, and the ban on sale attribute codes corresponding to different regions can be determined. Therefore, users in different regions can use different ban on sale result tables for commodity supervision.
[0126] Next, we will combine Figure 2 The commodity supervision device provided in the present application is introduced in detail. The commodity supervision device provided below can be compared with the commodity supervision method provided above.
[0127] See also Figure 2 It can be found that the commodity supervision device may include:
[0128] A determination module 10, used to determine the commodity sub-category of the newly added commodity;
[0129] The acquisition module 20 is used to acquire a prohibited-sale subcategory table including a plurality of prohibited-sale commodity subcategories, each prohibited-sale commodity subcategory having a corresponding prohibited-sale range;
[0130] The matching module 30 is used to match the commodity subcategory with each prohibited commodity subcategory in the prohibited commodity subcategory table; if the match is successful, the target prohibited commodity range corresponding to the newly added commodity is determined, and the newly added commodity is determined to be a prohibited commodity in the target prohibited commodity range; if the match fails, the newly added commodity is determined not to be a prohibited commodity.
[0131] The commodity monitoring device may also include:
[0132] A newly added attribute code determination module, used to determine the newly added attribute code of the newly added commodity after the newly added commodity is successfully matched;
[0133] A module for obtaining a prohibited commodity table, used to obtain a prohibited commodity table, wherein the prohibited commodity table is used to indicate prohibited attribute codes of prohibited commodities in different sales ranges and reasons for prohibiting the sale of each prohibited commodity in different sales ranges;
[0134] A newly added sales ban reason determination module is used to determine the newly added sales ban reason corresponding to the newly added commodity and the newly added sales ban scope of the commodity;
[0135] The newly added prohibited sale reason writing module is used to add the newly added attribute code, the newly added prohibited sale reason and the newly added prohibited sale range of the newly added commodity to the prohibited sale commodity table to complete the update of the prohibited sale commodity table.
[0136] The commodity monitoring device may also include:
[0137] a prohibited sale result table acquisition module, configured to screen the prohibited sale range of the prohibited sale commodity table, and combine the prohibited sale attribute codes corresponding to the same prohibited sale range to form a prohibited sale result table corresponding to the prohibited sale range, wherein each prohibited sale result table is used to determine the prohibited sale attribute codes of all prohibited sale commodities in the corresponding prohibited sale range.
[0138] Acquisition modules may include:
[0139] A prohibited sale and prohibited dispensing order obtaining unit, used to obtain prohibited sale and prohibited dispensing orders;
[0140] a prohibited-sale commodity subcategory acquisition unit, configured to parse the prohibited-sale and prohibited-distribution list, extract all prohibited-sale commodity subcategories contained in the prohibited-sale and prohibited-distribution list, parse the prohibited-sale reasons and prohibited-sale areas corresponding to each prohibited-sale commodity subcategory, parse each prohibited-sale area, and extract the prohibited-sale scope corresponding to each prohibited-sale area;
[0141] A document identification determination unit, used to determine the document identification of the prohibited sale and prohibited distribution document;
[0142] The prohibited sale subcategory table construction unit is used to write each prohibited sale commodity subcategory and its corresponding prohibited sale reason, prohibited sale scope and document identification into the same table in turn to form a prohibited sale subcategory table.
[0143] The module for obtaining the prohibited goods list may include:
[0144] a prohibited-sale attribute code acquisition unit, used for parsing the prohibited-sale attribute code contained in each prohibited-sale commodity subcategory in the prohibited-sale and prohibited-matching list;
[0145] a prohibited-sale range acquisition unit, configured to parse the prohibited-sale and prohibited-distribution list, determine the prohibited-sale region and the prohibited-sale reason corresponding to each prohibited-sale attribute code, and determine the prohibited-sale range corresponding to each prohibited-sale attribute code based on each prohibited-sale region;
[0146] The prohibited-sale commodity table construction unit is used to write the prohibited-sale scope, the prohibited-sale reason and the document identifier corresponding to each prohibited-sale attribute code into the table to form a prohibited-sale commodity table.
[0147] The commodity monitoring device may also include:
[0148] The module for obtaining the unblocking and unmatching orders is used to obtain the unblocking and unmatching orders;
[0149] The unblocking and unmatching list parsing module is used to parse the unblocking and unmatching list to determine all unblocking subcategories, all unblocking attribute codes corresponding to each unblocking subcategory, unblocking restricted areas corresponding to each unblocking subcategory, and unblocking ranges corresponding to each unblocking attribute code;
[0150] A prohibited sales category table updating module, used for updating the prohibited sales category table based on each unbanned category and its corresponding unbanned zone interval;
[0151] The prohibited-sale commodity table updating module is used to update the prohibited-sale commodity table based on each unbanning attribute code and its corresponding unbanning range.
[0152] Matching modules may include:
[0153] The similarity calculation module is used to calculate the similarity between the commodity subcategory and each prohibited commodity subcategory; if any similarity exceeds a preset similarity threshold, it is determined that the match is successful.
[0154] The commodity supervision device provided in the embodiment of the present application can be applied to commodity supervision equipment, such as PC terminals, cloud platforms, servers and server clusters. Figure 3 The hardware structure diagram of the commodity supervision device is shown in FIG. Figure 3 ,The hardware structure of the commodity supervision device may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
[0155] In the embodiment of the present application, the number of the processor 1, the communication interface 2, the memory 3, and the communication bus 4 is at least one, and the processor 1, the communication interface 2, and the memory 3 communicate with each other through the communication bus 4;
[0156] The processor 1 may be a central processing unit CPU, or an application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention, etc.;
[0157] The memory 3 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), etc., such as at least one disk memory;
[0158] The memory stores a program, and the processor can call the program stored in the memory, wherein the program is used to:
[0159] Determine the product category of the newly added products;
[0160] Obtain a prohibited-sale category table containing multiple prohibited-sale commodity categories, each prohibited-sale commodity category having a corresponding prohibited-sale range;
[0161] The commodity subcategory is matched with each prohibited commodity subcategory in the prohibited commodity subcategory table; if the match is successful, the target prohibited commodity range corresponding to the newly added commodity is determined, and the newly added commodity is determined to be a prohibited commodity in the target prohibited commodity range; if the match fails, it is determined that the newly added commodity does not belong to a prohibited commodity.
[0162] Optionally, the detailed functions and extended functions of the program may refer to the above description.
[0163] The embodiment of the present application further provides a readable storage medium, which may store a program suitable for execution by a processor, wherein the program is used to:
[0164] Determine the product category of the newly added products;
[0165] Obtain a prohibited-sale category table containing multiple prohibited-sale commodity categories, each prohibited-sale commodity category having a corresponding prohibited-sale range;
[0166] The commodity subcategory is matched with each prohibited commodity subcategory in the prohibited commodity subcategory table; if the match is successful, the target prohibited commodity range corresponding to the newly added commodity is determined, and the newly added commodity is determined to be a prohibited commodity in the target prohibited commodity range; if the match fails, it is determined that the newly added commodity does not belong to a prohibited commodity.
[0167] Optionally, the detailed functions and extended functions of the program may refer to the above description.
[0168] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0169] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0170] The above description of the disclosed embodiments enables professionals and technicians in the field to implement or use the present application. Various modifications to these embodiments will be apparent to professionals and technicians in the field, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. The various embodiments of the present application can be combined with each other. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A commodity supervision method, characterized in that: include: Determine the product category of the newly added products; Obtain a prohibited-sale category table containing multiple prohibited-sale commodity categories, each prohibited-sale commodity category having a corresponding prohibited-sale range; Matching the commodity subcategory with each prohibited commodity subcategory in the prohibited commodity subcategory table; if the match is successful, determining the target prohibited commodity range corresponding to the newly added commodity, and determining that the newly added commodity belongs to the prohibited commodity in the target prohibited commodity range; If the matching fails, it is determined that the newly added product is not a prohibited product.
2. The commodity supervision method according to claim 1, characterized in that: Also includes: After the newly added product is successfully matched, determining the newly added attribute code of the newly added product; Obtaining a prohibited-sale commodity table, wherein the prohibited-sale commodity table is used to indicate prohibited-sale attribute codes of prohibited-sale commodities in different sales scopes and prohibited-sale reasons for each prohibited-sale commodity in different sales scopes; Determine the newly added reasons for the sales ban and the newly added sales ban scope of the newly added products; The newly added attribute code, the newly added prohibition reason and the newly added prohibition range of the newly added commodity are correspondingly added to the prohibited commodity table to complete the update of the prohibited commodity table.
3. The commodity supervision method according to claim 2, characterized in that: Also includes: The prohibited sale range is screened for the prohibited sale commodity table, and each prohibited sale attribute code corresponding to the same prohibited sale range is combined to form a prohibited sale result table corresponding to the prohibited sale range, and each prohibited sale result table is used to determine the prohibited sale attribute codes of all prohibited sale commodities in the corresponding prohibited sale range.
4. The commodity supervision method according to claim 2, characterized in that: The obtaining of a prohibited sale category table including a plurality of prohibited sale commodity categories includes: Obtain a prohibited sale and distribution list; Parsing the prohibited sale and distribution list, extracting all prohibited sale commodity subcategories contained in the prohibited sale and distribution list, parsing the prohibited sale reasons and prohibited sale areas corresponding to each prohibited sale commodity subcategory, parsing each prohibited sale area, and extracting the prohibited sale scope corresponding to each prohibited sale area; Determine the document identification of the prohibited sale and prohibited distribution order; Each prohibited commodity category and its corresponding prohibition reason, prohibited sales scope and document identification are written into the same table in turn to form a prohibited sale category table.
5. The commodity supervision method according to claim 4, characterized in that: The step of obtaining the prohibited goods list includes: Parsing the prohibited sale attribute code contained in each prohibited sale commodity subcategory in the prohibited sale and prohibited distribution list; Parsing the prohibited sale and distribution list, determining the prohibited sale area and the prohibited sale reason corresponding to each prohibited sale attribute code, and determining the prohibited sale scope corresponding to each prohibited sale attribute code based on each prohibited sale area; The prohibited sale scope, prohibited sale reason and the document identifier corresponding to each prohibited sale attribute code are written into the table to form a prohibited sale commodity table.
6. The commodity supervision method according to claim 5, characterized in that: Also includes: Get the unblocking and unmatching orders; Parse the ban release and unbundling list to determine all ban release subcategories, all ban release attribute codes corresponding to each ban release subcategory, ban release zone intervals corresponding to each ban release subcategory, and ban release ranges corresponding to each ban release attribute code; Based on each unbanned subcategory and its corresponding unbanned period, updating the prohibited sales subcategory table; Based on each unbanned attribute code and its corresponding unbanned range, the banned goods table is updated.
7. The commodity supervision method according to claim 1, characterized in that: Matching the commodity subcategory with each prohibited commodity subcategory in the prohibited commodity subcategory table includes: Calculating the similarity between the product subcategory and each prohibited product subcategory; If any similarity exceeds a preset similarity threshold, the match is determined to be successful.
8. A commodity monitoring device, characterized in that: include: A determination module is used to determine the commodity sub-category of the newly added commodity; An acquisition module, used to acquire a prohibited-sale subcategory table containing a plurality of prohibited-sale commodity subcategories, each prohibited-sale commodity subcategory having a corresponding prohibited-sale range; a matching module, configured to match the commodity subcategory with each prohibited commodity subcategory in the prohibited commodity subcategory table; if the match is successful, determining the target prohibited commodity range corresponding to the newly added commodity, and determining that the newly added commodity belongs to the prohibited commodity in the target prohibited commodity range; If the matching fails, it is determined that the newly added product is not a prohibited product.
9. A commodity supervision device, characterized in that: including memory and processor; The memory is used to store programs; The processor is used to execute the program to implement each step of the commodity supervision method as described in any one of claims 1-7.
10. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, each step of the commodity supervision method as described in any one of claim 17 is implemented.
