Product Recall Method, Device, Management System, Electronic Device and Storage Medium
By determining the initial recall sequence based on the recall attributes and weight values in the procurement platform, and adjusting the order of attribute repeatability, the problem of repeated attributes in product recall is solved, and the diversified display of products and user experience is achieved.
Patent Information
- Application Number
- CN202210640550.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-08
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2042-06-08
AI Technical Summary
In the procurement platform of the e-commerce industry, recall methods based on product attributes can easily lead to a cluster of repeated attribute products, resulting in other products being sinking into the bottom and unable to get display opportunities, resulting in waste of goods and user fatigue.
By responding to the product recall parameter setting instructions, product recall information is automatically generated, and the initial recall order is determined based on the recall attributes and recall weight values. At the same time, the initial recall order of the products to be recalled in the recall product window is adjusted using the attribute repeatability to generate the final product recall list.
It effectively avoids the phenomenon of repeated attributed products in the process of product recall, improves user experience, ensures that products with various attributes can be displayed, and avoids product sinking and waste.
Smart Images

Figure CN114897546B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular, to a product recall method, device, management system, electronic device, and readable storage medium. Background Art
[0002] With the wide application of computer technology and Internet technology in daily life and work, in the e-commerce industry, in order to facilitate purchasers to compare prices, select, and purchase products according to their needs, a product centralized display platform, that is, a purchasing platform, will be provided to purchasers. Suppliers will create the resources provided to purchasers, such as raw materials, equipment, energy, labor, etc., in the form of products in the purchasing platform. The products in the purchasing platform are a set of a series of attributes, and each attribute has a corresponding attribute name and attribute content. Correspondingly, product information and product attributes will be stored in the product library of the purchasing platform. Under certain conditions, it is necessary to return the list of products required by the user, that is, product recall. That is to say, product recall refers to the process of obtaining a corresponding product list by analyzing keywords when the user enters keywords for searching.
[0003] In the related art, product recall usually uses product attributes as keywords for search analysis, and recalls corresponding products through product attributes. The products recalled based on such product attributes will obviously have a situation where products with repeated attributes gather together, which will cause a large number of other products to sink to the bottom and not get the opportunity to be displayed. For a large number of products with repeated attributes in the product recall list, that is, the recall of products with repeated attributes in a cluster, for users such as purchasers, due to the repeated attributes, it will cause attribute fatigue and dullness. Mentally, the repeated attributes will be ignored. For suppliers, if they are displayed in a repeated cluster, due to the attribute fatigue of users, it will not only lead to waste and ineffectiveness of product display, but also after the display opportunity is wasted ineffectively, a large number of products will not be displayed, resulting in product sinking to the bottom, which is extremely likely to cause product waste.
[0004] In view of this, how to solve the phenomenon of clustering of products with repeated attributes in the product recall process is a technical problem that needs to be solved by those skilled in the art. Summary of the Invention
[0005] The present application provides a product recall method, device, management system, electronic device, and readable storage medium, which can effectively avoid the phenomenon of clustering of products with repeated attributes in the product recall process.
[0006] To solve the above technical problems, the embodiments of the present invention provide the following technical solutions:
[0007] On the one hand, an embodiment of the present invention provides a product recall method, including:
[0008] In response to the commodity recall parameter setting instruction, automatically generate commodity recall information;
[0009] When receiving a commodity recall instruction, based on the recall attributes in the commodity recall information and the recall weight values corresponding to each recall attribute, determine the initial recall order of each commodity to be recalled;
[0010] Based on the attribute repeatability in the commodity recall information, adjust the initial recall order of the commodities to be recalled in the recall commodity window; generate a commodity recall list according to the adjusted commodity recall order.
[0011] Optionally, the commodity recall information further includes a recall effective area. Before determining the initial recall order of each commodity to be recalled based on the recall attributes in the commodity recall information and the recall weight values corresponding to each recall attribute, it further includes:
[0012] In the commodity library, determine each commodity to be recalled that belongs to the range of the recall effective area. Optionally, determining the initial recall order of each commodity to be recalled based on the recall attributes in the commodity recall information and the recall weight values corresponding to each recall attribute includes:
[0013] For each commodity to be recalled, calculate a recall score value according to the recall attribute and the corresponding recall weight value;
[0014] Sort each commodity to be recalled according to the recall score value of each commodity to be recalled as the initial recall order of each commodity to be recalled.
[0015] Optionally, after sorting each commodity to be recalled according to the recall score value of each commodity to be recalled, it further includes:
[0016] Generate an initial recall list based on the initial recall order;
[0017] Judge whether the initial recall list exists;
[0018] If the initial recall list does not exist, generate a recall exception notification information.
[0019] Optionally, adjusting the initial recall order of the commodities to be recalled in the recall commodity window based on the attribute repeatability in the commodity recall information includes:
[0020] Sequentially obtain the commodity attributes of each commodity to be recalled within the range of the recall commodity window;
[0021] For each commodity to be recalled, if the current commodity to be recalled has the same attribute as the previously determined commodity to be recalled, judge whether the total number of commodities to be recalled with the same attribute is greater than the attribute repeatability;
[0022] If the total number of candidate recalled products with the same attribute is greater than the attribute repeatability, determine target recalled products that meet the attribute conditions from the candidate recalled products arranged after the current recalled product, and exchange the positions of the target recalled product and the current recalled product;
[0023] Among them, the attribute condition is that the product attributes of the target recalled product are different from those of the determined recalled products arranged before the current recalled product, or the total number of determined recalled products with the same attribute and the target recalled product is less than or equal to the attribute repeatability.
[0024] Optionally, after automatically generating product recall information in response to the product recall parameter setting instruction, it further includes:
[0025] When receiving a product recall parameter adjustment instruction, update the corresponding product recall parameters in the product recall information according to the product recall parameter adjustment instruction.
[0026] Another aspect of the embodiments of the present invention provides a product recall device, including:
[0027] A recall information generation module, configured to automatically generate product recall information in response to a product recall parameter setting instruction;
[0028] A recall order determination module, configured to determine the initial recall order of each recalled product based on the recall attributes in the product recall information and the recall weight values corresponding to each recall attribute when receiving a product recall instruction;
[0029] A recall order adjustment module, configured to adjust the initial recall order of the recalled products in the recall product window based on the attribute repeatability in the product recall information; a list generation module, configured to generate a product recall list according to the adjusted product recall order.
[0030] Another aspect of the embodiments of the present invention provides a product recall system, built in a procurement platform, including a product recall management console, a recall order determination module, a recall order adjustment module, and a list generation module;
[0031] Among them, the product recall management console is used to generate and store product recall information, and send product recall parameters to the recall order determination module and the recall order adjustment module;
[0032] The recall order determination module is configured to determine the initial recall order of each recalled product based on the recall attributes sent by the product recall management console and the recall weight values corresponding to each recall attribute when receiving a product recall instruction;
[0033] A recall order adjustment module is used to obtain the attribute repeatability and the recalled product window from the product recall management console, and based on the attribute repeatability, adjust the initial recall order of the products to be recalled in the recalled product window; A list generation module is used to generate a product recall list according to the adjusted product recall order.
[0034] An embodiment of the present invention further provides an electronic device, including a processor, and the processor is used to implement the steps of the product recall method as described in any one of the previous items when executing a computer program stored in a memory.
[0035] An embodiment of the present invention finally further provides a readable storage medium, on which a computer program is stored, and the computer program is used to implement the steps of the product recall method as described in any one of the previous items when executed by a processor.
[0036] The advantages of the technical solution provided by this application are as follows: First, based on the recall attributes and different weights between each attribute, the initial recall order of each product to be recalled is determined, which can avoid the clustering of products with the same attribute to a certain extent. Further, within the size of the recalled product window, the attribute repeatability in the product recall parameters is used to check the attributes of each product to be recalled, which can realize the diversification of the attributes of the recalled products and avoid the repeated display of products with the same attribute. This not only effectively avoids the phenomenon of clustering of products with repeated attributes in the recalled products, thereby effectively avoiding the user's fatigue and dullness of repeated data and avoiding ignoring the recalled products, but also improves the user experience; moreover, it can enable products of various attributes to have the opportunity to be displayed, and there will be no phenomenon of products sinking to the bottom, and it can avoid a certain attribute product monopolizing the display opportunity, so that more suppliers can get the display opportunity; In addition, the product recall parameters can be set according to actual needs, realizing the universality and flexibility of product recall, and effectively improving the application scope and reusability of product recall.
[0037] In addition, an embodiment of the present invention also provides a corresponding implementation device, management system, electronic device and readable storage medium for the product recall method, further making the method more practical, and the device, management system, electronic device and readable storage medium have corresponding advantages.
[0038] It should be understood that the above general description and subsequent detailed description are only exemplary and do not limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] To more clearly illustrate the technical solutions of the embodiments of the present invention or related technologies, the following will briefly introduce the accompanying drawings required for the description of the embodiments or related technologies. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings.
[0040] Figure 1 It is a schematic flowchart of a product recall method provided by an embodiment of the present invention;
[0041] Figure 2 It is a structural diagram of a specific implementation manner of a product recall device provided by an embodiment of the present invention;
[0042] Figure 3 It is a structural diagram of a specific implementation manner of an electronic device provided by an embodiment of the present invention;
[0043] Figure 4 It is a structural diagram of a specific implementation manner of a product recall management system provided by an embodiment of the present invention;
[0044] Figure 5 It is a framework schematic diagram of an exemplary application scenario provided by an embodiment of the present invention. Specific implementation manner
[0045] In order to enable those skilled in the art to better understand the solution of the present invention, the following will further elaborate on the present invention in combination with the accompanying drawings and specific implementation manners. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0046] The terms "including" and "having" in the specification, claims and above-mentioned accompanying drawings of this application, and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may include steps or units not listed.
[0047] In the related technology, product recall is based on product attributes, and there will be a phenomenon of product clustering. To solve this technical drawback, this application first determines the initial recall order of each product to be recalled based on the recall attributes and different weights between attributes, and then checks the attributes of each product to be recalled within the size of the product recall window by the attribute repeatability in the product recall parameters, and adjusts the corresponding recall order, thereby effectively avoiding the obvious clustering phenomenon of recalled products.
[0048] Based on the technical solutions of the embodiments of the present invention described above, first, some possible application scenarios related to the technical solutions of the embodiments of the present invention will be introduced by way of example in combination with a schematic illustration. When creating a commodity in a procurement platform, a commodity model including the commodity ID, commodity color, and commodity shape as commodity attributes is created for each commodity. There are 20 commodities in the commodity library, and each commodity is stored in the commodity library according to the commodity ID. The commodity IDs are 1, 2,..., 20 in sequence. The commodity colors include blue, red, yellow, gray, and green; the commodity shapes include square, trapezoid, rectangle, triangle, and circle. In the related art, if the commodity recall is performed according to the commodity ID as the commodity attribute, corresponding to the above 20 commodities, the recalled commodity list is: Commodity ID: 1, Color: Blue, Shape: Square; Commodity ID: 2, Color: Blue, Shape: Square; Commodity ID: 3, Color: Blue, Shape: Square; Commodity ID: 4, Color: Blue, Shape: Square; Commodity ID: 5, Color: Blue, Shape: Square; Commodity ID: 6, Color: Blue, Shape: Square; Commodity ID: 7, Color: Red, Shape: Trapezoid; Commodity ID: 8, Color: Red, Shape: Trapezoid; Commodity ID: 9, Color: Red, Shape: Trapezoid; Commodity ID: 10, Color: Yellow, Shape: Rectangle; Commodity ID: 11, Color: Yellow, Shape: Rectangle; Commodity ID: 12, Color: Yellow, Shape: Rectangle; Commodity ID: 13, Color: Yellow, Shape: Rectangle; Commodity ID: 14, Color: Yellow, Shape: Rectangle; Commodity ID: 15, Color: Gray, Shape: Triangle; Commodity ID: 16, Color: Gray, Shape: Triangle; Commodity ID: 17, Color: Gray, Shape: Triangle; Commodity ID: 18, Color: Gray, Shape: Triangle; Commodity ID: 19, Color: Green, Shape: Circle; Commodity ID: 20, Color: Green, Shape: Circle. If the recall window is 5, then the recalled commodities are: Commodity ID1, Commodity ID2, Commodity ID3, Commodity ID4, and Commodity ID5. The recalled commodities are all blue and square. It can be seen that there is an obvious clustering of commodities in this method. Moreover, a large number of commodities are sunk to the bottom and do not get the opportunity to be displayed.When using the technical solution provided by this application to recall the same 20 commodities above, based on the recall attributes in the commodity recall information and the recall weight values corresponding to each recall attribute, the initial recall order of each commodity to be recalled is determined. The recall commodity list determined based on the initial recall order is as follows: Commodity ID: 1, Color: Blue, Shape: Square; Commodity ID: 2, Color: Blue, Shape: Square; Commodity ID: 3, Color: Blue, Shape: Square; Commodity ID: 7, Color: Red, Shape: Trapezoid; Commodity ID: 15, Color: Grey, Shape: Triangle; Commodity ID: 4, Color: Blue, Shape: Square; Commodity ID: 10, Color: Yellow, Shape: Rectangle; Commodity ID: 11, Color: Yellow, Shape: Rectangle; Commodity ID: 16, Color: Grey, Shape: Triangle; Commodity ID: 12, Color: Yellow, Shape: Rectangle; Commodity ID: 8, Color: Red, Shape: Trapezoid; Commodity ID: 9, Color: Red, Shape: Trapezoid; Commodity ID: 13, Color: Yellow, Shape: Rectangle; Commodity ID: 5, Color: Blue, Shape: Square; Commodity ID: 17, Color: Grey, Shape: Triangle; Commodity ID: 19, Color: Green, Shape: Circle; Commodity ID: 6, Color: Blue, Shape: Square; Commodity ID: 18, Color: Grey, Shape: Triangle; Commodity ID: 20, Color: Green, Shape: Circle; Commodity ID: 14, Color: Yellow, Shape: Rectangle. If the recall window is 5, then the recalled commodities are: Commodity ID1, Commodity ID2, Commodity ID3, Commodity ID7, Commodity ID15. The recalled commodities have blue, red and grey; the shapes are square, trapezoid, and triangle. Compared with the commodities recalled by using the related technology, there is a certain degree of dispersion in the colors and shapes of the recalled commodities determined based on the initial recall order, but there are 3 commodities with the blue and square attributes, and there is still a certain degree of clustering of these two attribute commodities.In order to further reduce the phenomenon of commodity clustering, this application also sets the attribute repeatability. Based on the attribute repeatability in the commodity recall information, the initial recall order of the commodities to be recalled in the recall commodity window 5 is adjusted. According to the adjusted commodity recall order, the generated commodity recall list is as follows: Commodity ID: 1, Color: Blue, Shape: Square; Commodity ID: 2, Color: Blue, Shape: Square; Commodity ID: 7, Color: Red, Shape: Trapezoid; Commodity ID: 15, Color: Gray, Shape: Triangle; Commodity ID: 10, Color: Yellow, Shape: Rectangle; Commodity ID: 3, Color: Blue, Shape: Square; Commodity ID: 4, Color: Blue, Shape: Square; Commodity ID: 11, Color: Yellow, Shape: Rectangle; Commodity ID: 16, Color: Gray, Shape: Triangle; Commodity ID: 12, Color: Yellow, Shape: Rectangle; Commodity ID: 8, Color: Red, Shape: Trapezoid; Commodity ID: 9, Color: Red, Shape: Trapezoid; Commodity ID: 13, Color: Yellow, Shape: Rectangle; Commodity ID: 5, Color: Blue, Shape: Square; Commodity ID: 17, Color: Gray, Shape: Triangle; Commodity ID: 19, Color: Green, Shape: Circle; Commodity ID: 6, Color: Blue, Shape: Square; Commodity ID: 18, Color: Gray, Shape: Triangle; Commodity ID: 20, Color: Green, Shape: Circle; Commodity ID: 14, Color: Yellow, Shape: Rectangle. If the recall window is 5, then the recalled commodities are: Commodity ID 1, Commodity ID 2, Commodity ID 7, Commodity ID 15, Commodity ID 10. The recalled commodities have blue, red, gray, and yellow; the shapes are square, trapezoid, triangle, and rectangle. Compared with the original scheme, the colors and shapes have a good dispersion, and there are only 2 repeated attributes, and the problem of commodity clustering has been completely solved. Thus, it can be seen that in the case where the recall window is 5, the attributes of each commodity in the recall list obtained by the technical solution of this application are significantly different and include most types of commodities. It can be seen that this application can solve the problem of clustering of commodities with repeated attributes existing in the related technology during the commodity recall process.
[0049] It should be noted that the above application scenarios are only shown for the convenience of understanding the ideas and principles of this application, and the implementation manners of this application are not restricted in this regard. On the contrary, the implementation manners of this application can be applied to any applicable scenario.
[0050] After introducing the technical solutions of the embodiments of the present invention, the various non-limiting implementation manners of this application will be described in detail below.
[0051] First, refer to Figure 1 , Figure 1 which is a schematic flowchart of a commodity recall method provided by an embodiment of the present invention. The embodiments of the present invention may include the following contents:
[0052] S101: Automatically generate product recall information in response to a product recall parameter setting instruction.
[0053] In this step, the product recall parameter setting instruction can be sent by the user to the system. That is, the user will transmit the specific information of the product recall parameters as the product recall parameter setting instruction to the system. The system analyzes the received product recall parameter setting instruction to obtain each product recall parameter and the corresponding information, and automatically generates product recall information based on each product recall parameter and the corresponding information. The product recall information can include multiple product recall parameters. The product recall parameters can be, for example, recall attributes, recall weight values corresponding to each recall attribute, attribute repeatability, recall product window, etc. The recall attribute refers to which attributes can be used for recall settings. Each recall attribute can also set the corresponding recall attribute value to reflect the component corresponding to the attribute for quantitatively representing the attribute. The attribute value can be negative, 0, or positive. Based on the recall attribute values of each attribute, the relative weights between the attribute values can be further determined, that is, the recall attribute weight, which is used to quantitatively represent the important relationship between attributes. The recall product window is used to represent the scale of product recall. The size of the recall product window, that is, the specific value of the recall product window, refers to the number of finally recalled products, that is, the number of the finally recalled product list. The recall product window can be set by setting the number of the product list. The value of the recall product window is a positive integer greater than 0. For example, if the recall product window is 5, then the number of finally recalled products is 5; if the recall product window is 10, then the number of finally recalled products is 10. The attribute repeatability is used to represent the maximum value of the repeatable attributes in the finally recalled product list. The attribute repeatability is a positive integer greater than 0. For example, if it is set to 2, then in the finally recalled products, the number of repeated attributes (such as color) is less than or equal to 2. For example, if it is set to 3, then in the finally recalled products, the number of repeated attributes (such as color) is less than or equal to 3.
[0054] S102: When receiving a product recall instruction, determine the initial recall order of each product to be recalled based on the recall attributes in the product recall information and the recall weight values corresponding to each recall attribute.
[0055] In this step, the product recall instruction is used to request the system to recall the matching products in the product library based on the recall attributes. The product recall instruction can be an instruction sent by the user to the system, and this instruction carries recall attributes such as product ID, product color, etc. The product recall instruction can include one recall attribute or multiple recall attributes. For each product in the product library that may be recalled, that is, the product to be recalled referred to in this application, if there is one recall attribute, calculate the numerical value of the recall attribute of the product and the corresponding recall attribute weight value as the recall score of the product. If there are multiple recall attributes, calculate the sum of the values of each recall attribute of the product and the corresponding recall attribute weight value, and use this sum value as the recall score of the product. Determine the initial recall order of each product based on the recall score of each product, that is, the sorting of each product in the product recall list. That is to say, for each product to be recalled, calculate the recall score value according to the recall attribute and the corresponding recall weight value; sort each product to be recalled according to the recall score value of each product to be recalled to obtain the initial recall order of each product to be recalled. The recall score calculation relationship can be pre-called to calculate the recall score of each product to be recalled. The recall score calculation relationship can be F(x) = ∑(f(x i ) * w i ), where F(x) is the recall score of the xth product to be recalled, f(x i ) is the attribute value of the ith recall attribute of the xth product to be recalled, and w i is the attribute value of the ith recall attribute.
[0056] S103: Based on the attribute repeatability in the product recall information, adjust the initial recall order of the products to be recalled in the recall product window.
[0057] After sorting each product according to the recall score in the previous step S102, there will still be products with many repeated attributes. To further reduce the phenomenon of products with repeated attributes clustering together, the order of the previous step can also be adjusted based on the pre-set attribute repeatability. Since the recall product window represents the total number of recalled products, only the products within the recall product window need to be adjusted.
[0058] S104: Generate a product recall list according to the adjusted product recall order.
[0059] After adjusting the initial recall order based on the attribute repeatability in S103, the order of each adjusted product is the order in the product recall list. Generate a product recall list according to this order, and display or send the product recall list to the user who issued the product recall instruction.
[0060] In the technical solution provided by the embodiments of the present invention, first, based on the recall attributes and different weights between each attribute, the initial recall order of each product to be recalled is determined, which can avoid the clustering of products with the same attributes to a certain extent. Further, within the window size of the recalled products, the repeatability of attributes in the product recall parameters is used to check the attributes of each product to be recalled, which can achieve the diversification of the attributes of the recalled products and avoid the repeated display of products with the same attributes. This not only effectively avoids the phenomenon of clustering of products with repeated attributes in the recalled products, thus effectively avoiding the user's fatigue and dullness of repeated data and avoiding ignoring the recalled products, but also improves the user experience; moreover, it can enable products with various attributes to have the opportunity to be displayed, and there will be no phenomenon of products sinking to the bottom, and it can avoid a certain attribute product monopolizing the display opportunity, so that more suppliers can get the display opportunity; in addition, the product recall parameters can be set according to actual needs to achieve the generality and flexibility of product recall, and effectively improve the application range and reusability of product recall.
[0061] In order to further improve the selectivity of product recall and enhance the user experience, based on the above embodiments, it may further include:
[0062] When generating product recall information in step S101, the product recall information may further include a recall effective area, that is, the product recall parameter setting instruction also carries recall effective area information. Of course, the relevant information of the recall effective area can also be carried in the product recall instruction, that is, when the user issues a product recall instruction, the recall effective area can also be specified at the same time. Based on this, before determining the initial recall order of each product to be recalled based on the recall attributes in the product recall information and the recall weight values corresponding to each recall attribute, it may further include:
[0063] In the product library, determine each product to be recalled that falls within the recall effective area range. In this embodiment, the recall effective area is used to indicate that the currently recalled product is in a certain designated area, and only the products within this area can execute the technical solution provided by this application when recalled. For example, if the recall effective area is Hangzhou City, that is, the product recall takes effect within the administrative region of Hangzhou City, which means that the recalled products are within the administrative region of Hangzhou City. By setting the recall effective area, the flexibility of the entire product recall can be improved, and different product recall parameters can also be set in different areas to further enhance the flexibility of product recall and the practicality of product recall.
[0064] Inevitably, there may not be corresponding recalled products in the product library based on the recall attributes. Based on this, after sorting each product to be recalled according to the recall score value of each product to be recalled, it further includes:
[0065] Generate an initial recall list based on the initial recall order;
[0066] Determine whether the initial recall list exists;
[0067] If the initial recall list does not exist, generate a recall exception notification message.
[0068] In addition, although there are corresponding recalled products in the product library based on the recall attributes, the recalled products that meet the recall attributes may all belong to the same attribute, or the total number of recalled products with the same attribute is greater than the attribute repeatability degree, that is, the finally generated product recall list does not exist. Based on this, after S104 of this application, it may further include: if the product recall list does not exist, a recall exception notification message may be generated.
[0069] The above embodiments do not make any limitations on how to implement S103 of the above embodiments. To make those skilled in the art more clearly understand the technical solution provided by this application, this application also provides an optional implementation manner for adjusting the initial recall order of the to-be-recalled products in the recall product window based on the attribute repeatability degree in the product recall information, which may include:
[0070] Sequentially obtain the product attributes of each to-be-recalled product within the range of the recall product window;
[0071] For each to-be-recalled product, if the current to-be-recalled product has the same attribute as the previously determined to-be-recalled product, determine whether the total number of to-be-recalled products with the same attribute is greater than the attribute repeatability degree;
[0072] If the total number of to-be-recalled products with the same attribute is greater than the attribute repeatability degree, determine the target to-be-recalled product that meets the attribute conditions from the candidate to-be-recalled products ranked after the current to-be-recalled product, and exchange the positions of the target to-be-recalled product and the current to-be-recalled product;
[0073] Wherein, the attribute condition is that the product attributes of the target to-be-recalled product are different from those of each determined to-be-recalled product ranked before the current to-be-recalled product, or the total number of products of each determined to-be-recalled product with the same attribute and the target to-be-recalled product is less than or equal to the attribute repeatability degree.
[0074] In this embodiment, within the range of the recall product window size, for each to-be-recalled product in the product recall list, check the attributes one by one from front to back. If the attribute is within the number of "attribute repeatability degree", go to the next product. If the attribute has exceeded the number of "attribute repeatability degree", the next product that meets the conditions is moved forward to this position until the attribute is within the number of "attribute repeatability degree". Repeat the above process until the recall product list is completed within the width of the recall product window size.
[0075] To make those skilled in the art better understand this embodiment, this embodiment further elaborates on this solution based on the illustrative example of recall based on 20 commodities in the above embodiment. The above embodiment elaborates on the recall commodity list determined based on the initial recall order, which is called the to-be-recalled commodity list. For this list, the recall commodity window is 5, and the attribute repeatability is 2. The above adjustment process can be as follows:
[0076] Starting from commodity ID1, for the to-be-recalled commodity list, check the attributes one by one from the front to the back.
[0077] The color of commodity ID2 is blue and the shape is square. These two attributes are the same as those of commodity ID1. At this time, the total number of blue attributes is 2, the total number of square attributes is 2, and the "attribute repeatability" is 2, meeting the conditions.
[0078] The color of commodity ID3 is blue and the shape is square. These two attributes are the same as those of commodity ID1 and commodity ID2. At this time, the total number of blue attributes is 3, the total number of square attributes is 3, and the "attribute repeatability" is 2, not meeting the conditions. Therefore, the next commodity ID7 meets the conditions and is moved forward to this position.
[0079] After commodity ID7 is moved forward, the order of the first 5 positions in the to-be-recalled commodity list is: commodity ID1, commodity ID2, commodity ID7, commodity ID3, commodity ID15.
[0080] For the first 4 positions in the to-be-recalled commodity list, at this time, the total number of blue attributes is 3, the total number of square attributes is 3, the total number of red attributes is 1, and the total number of trapezoid attributes is 1. The "attribute repeatability" is 2, not meeting the conditions. Therefore, the next commodity ID15 meets the conditions and is moved forward to this position.
[0081] After commodity ID15 is moved forward, the order of the first 5 positions in the to-be-recalled commodity list is: commodity ID1, commodity ID2, commodity ID7, commodity ID15, commodity ID3.
[0082] For the first 5 positions in the to-be-recalled commodity list, at this time, the total number of blue attributes is 3, the total number of square attributes is 3, the total number of red attributes is 1, the total number of trapezoid attributes is 1, the total number of gray attributes is 1, and the total number of triangle attributes is 1. The "attribute repeatability" is 2, not meeting the conditions. Therefore, the next commodity ID10 meets the conditions and is moved forward to this position.
[0083] After commodity ID10 is moved forward, the order of the first 5 positions in the to-be-recalled commodity list is: commodity ID1, commodity ID2, commodity ID7, commodity ID15, commodity ID10.
[0084] The top 5 items in the list of items to be recalled. At this time, the total number of blue attributes is 2, the total number of squares is 2, the total number of red attributes is 1, the total number of trapezoids is 1, the total number of gray attributes is 1, the total number of triangles is 1, the total number of yellow attributes is 1, and the total number of rectangles is 1. The "attribute repeatability" is 2, which meets the condition.
[0085] Because the "recall item window size" is 5, which already meets the condition at this time. The "attribute repeatability" is 2, which also meets the condition. Therefore, the final list of recalled items is: Item ID1, Item ID2, Item ID7, Item ID15, Item ID10.
[0086] Based on this embodiment, it can be clearly seen that through the adjustment of this embodiment, the phenomenon of repeated items clustering can be further reduced.
[0087] In order to further improve the flexibility of item recall and the practicality of item recall, based on the above embodiment, after automatically generating item recall information, it may further include:
[0088] When receiving an item recall parameter adjustment instruction, update the corresponding item recall parameters in the item recall information according to the item recall parameter adjustment instruction.
[0089] In this embodiment, after the system generates item recall information based on the user's initial item recall parameters and corresponding information, during the entire item recall process, any item recall parameter in the item recall information can be adjusted in real time, that is, the recall attributes, the recall weight values corresponding to each recall attribute, the attribute repeatability, any one or any combination in the recall item window can be modified, new item recall parameters can be added, item recall parameters can be deleted, and the values of the item recall parameters can be modified.
[0090] It should be noted that there is no strict order of execution among the steps in this application. As long as it conforms to the logical order, these steps can be executed simultaneously or in a certain preset order. Figure 1 It is just a schematic way and does not mean that it can only be executed in this order.
[0091] The embodiment of the present invention also provides a corresponding device for the item recall method, which further makes the method more practical. Among them, the device can be described from the perspective of functional modules and the perspective of hardware. The item recall device provided by the embodiment of the present invention will be introduced below. The item recall device described below can be mutually corresponding and referred to the item recall method described above.
[0092] From the perspective of functional modules, see Figure 2 , Figure 2 is the structural diagram of the item recall device provided by the embodiment of the present invention in a specific implementation manner. The device may include:
[0093] A recall information generation module 201, configured to automatically generate product recall information in response to a product recall parameter setting instruction;
[0094] A recall order determination module 202, configured to, when receiving a product recall instruction, determine an initial recall order of each product to be recalled based on the recall attributes in the product recall information and the recall weight values corresponding to the respective recall attributes;
[0095] A recall order adjustment module 203, configured to adjust the initial recall order of the products to be recalled in the recall product window based on the repeatability of attributes in the product recall information; A list generation module 204, configured to generate a product recall list according to the adjusted product recall order.
[0096] Optionally, in some embodiments of this embodiment, the above-mentioned recall order determination module 202 may further include a recall effective area unit, configured to determine each product to be recalled that belongs to the recall effective area range in the product library. As an alternative embodiment of the above embodiment, the above-mentioned recall order determination module 202 may further be configured to: for each product to be recalled, calculate a recall score value according to the recall attribute and the corresponding recall weight value; sort each product to be recalled according to the recall score value of each product to be recalled as the initial recall order of each product to be recalled.
[0097] As another alternative embodiment of the above embodiment, the above-mentioned device may include:
[0098] A list generation unit, configured to generate an initial recall list based on the initial recall order;
[0099] An exception information feedback unit, configured to generate a recall exception notification information when it is determined that the initial recall list does not exist.
[0100] Optionally, in some other embodiments of this embodiment, the above-mentioned recall order adjustment module 203 may further be configured to: sequentially obtain the product attributes of each product to be recalled within the recall product window range; for each product to be recalled, if the current product to be recalled has the same attribute as the previously determined product to be recalled, determine whether the total number of products to be recalled with the same attribute is greater than the attribute repeatability; if the total number of products to be recalled with the same attribute is greater than the attribute repeatability, determine a target product to be recalled that meets the attribute conditions from the candidate products to be recalled after the current product to be recalled, and replace the positions of the target product to be recalled and the current product to be recalled; wherein, the attribute condition is that the product attributes of the target product to be recalled are different from those of the previously determined products to be recalled before the current product to be recalled, or the total number of products with the same attribute among the previously determined products to be recalled and the target product to be recalled is less than or equal to the attribute repeatability.
[0101] Optionally, in some other implementations of the present embodiment, the above-mentioned device may also include a real-time parameter adjustment module, which is used to update the corresponding product recall parameters in the product recall information according to the product recall parameter adjustment instruction when a product recall parameter adjustment instruction is received.
[0102] The functions of the functional modules of the product recall device in the embodiment of the present invention can be specifically implemented according to the method in the above method embodiment. The specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0103] It can be seen from the above that the embodiments of the present invention can effectively avoid the phenomenon of products with duplicate attributes being piled up during the product recall process.
[0104] The product recall device mentioned above is described from the perspective of functional modules. Furthermore, the present application also provides an electronic device, which is described from the perspective of hardware. Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application in one implementation manner. Figure 3 As shown, the electronic device includes a memory 30 for storing a computer program; and a processor 31 for implementing the steps of the product recall method mentioned in any of the above embodiments when executing the computer program.
[0105] Among them, the processor 31 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the processor 31 may also be a controller, a microcontroller, a microprocessor or other data processing chip. The processor 31 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 31 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 31 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 31 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0106] The memory 30 may include one or more computer-readable storage media, which may be non-transitory. The memory 30 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the memory 30 may be an internal storage unit of an electronic device, such as the hard disk of a server. In other embodiments, the memory 30 may also be an external storage device of an electronic device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the server. Further, the memory 30 may also include both an internal storage unit and an external storage device of the electronic device. The memory 30 can be used not only to store application software installed on the electronic device and various types of data, such as the code of the program during the execution of the product recall method, etc., but also to temporarily store the data that has been output or will be output. In this embodiment, the memory 30 is at least used to store the following computer program 301. After the computer program is loaded and executed by the processor 31, the relevant steps of the product recall method disclosed in any of the foregoing embodiments can be implemented. In addition, the resources stored in the memory 30 may also include an operating system 302 and data 303, etc., and the storage method may be transient storage or permanent storage. Among them, the operating system 302 may include Windows, Unix, Linux, etc. The data 303 may include, but is not limited to, data corresponding to the product recall result, etc.
[0107] In some embodiments, the above-mentioned electronic device may further include a display screen 32, an input / output interface 33, a communication interface 34 or a network interface, a power supply 35, and a communication bus 36. Among them, the display screen 32 and the input / output interface 33 such as a keyboard belong to user interfaces. Optional user interfaces may also include standard wired interfaces, wireless interfaces, etc. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch liquid crystal display, and an OLED (Organic Light-Emitting Diode) toucher, etc. The display may also be appropriately referred to as a display screen or a display unit, and is used to display the information processed in the electronic device and to display a visual user interface. The communication interface 34 may optionally include a wired interface and / or a wireless interface, such as a WI-FI interface, a Bluetooth interface, etc., and is generally used to establish a communication connection between the electronic device and other electronic devices. The communication bus 36 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. This bus may be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 3 it is only represented by a thick line in the figure, but it does not mean that there is only one bus or one type of bus.
[0108] Those skilled in the art can understand that Figure 3 the structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than those shown in the figure. For example, it may further include a sensor 37 for implementing various functions.
[0109] The functions of the functional modules of the electronic device according to the embodiments of the present invention can be specifically implemented according to the methods in the above method embodiments. The specific implementation process can refer to the relevant descriptions of the above method embodiments, and will not be elaborated here.
[0110] As can be seen from the above, the embodiments of the present invention can effectively avoid the phenomenon that duplicate-attribute commodities gather together during the product recall process.
[0111] It can be understood that if the product recall method in the above embodiments is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage media include: USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), electrically erasable programmable ROMs, registers, hard disks, multimedia cards, card-type memories (such as SD or DX memories, etc.), magnetic memories, removable disks, CD-ROMs, magnetic disks, or optical disks, etc., which are all media that can store program codes.
[0112] Based on this, the embodiments of the present invention further provide a readable storage medium storing a computer program, and when the computer program is executed by a processor, it performs the steps of the product recall method in any of the above embodiments.
[0113] The embodiments of the present invention further provide a product recall system. Please refer to Figure 4 , which may include:
[0114] The product recall system of this embodiment can be installed and run in any kind of hardware device in the form of an app, such as a mobile terminal or a host computer, or can be built into a procurement platform in the form of a functional module, which does not affect the implementation of the present application.
[0115] The product recall system of this embodiment may include a product recall management console 401, a recall order determination module 202, a recall order adjustment module 203, and a list generation module 204;
[0116] Among them, the product recall management console 401 is used to generate and store product recall information and send product recall parameters to the recall order determination module 202 and the recall order adjustment module 203; the recall order determination module 202 is used to, when receiving a product recall instruction, determine the initial recall order of each product to be recalled based on the recall attributes sent by the product recall management console 401 and the recall weight values corresponding to each recall attribute; the recall order adjustment module 203 is used to obtain the attribute repeatability and the recall product window from the product recall management console 401 and adjust the initial recall order of the products to be recalled in the recall product window based on the attribute repeatability; the list generation module 204 is used to generate a product recall list according to the adjusted product recall order.
[0117] In order to make the technical personnel in the relevant field more clearly understand the technical solution of this application, this application is combined with Figure 5 An illustrative example is given, which may include the following:
[0118] The product recall system may include a product recall management console, a recall order determination module, a recall order adjustment module, and a list generation module. The product recall management console is the control module of the product recall system. The recall effective area, recall attributes, recall attribute weights, attribute repeatability, and recalled product window can be set in advance in the product recall management console. After setting these product recall parameters, the workflow of the product recall system may include:
[0119] The user starts the system. After the system is running, the recall order determination module calculates the recall score of the product in the recall effective area according to the recall attribute and its corresponding recall weight, and obtains the recall score value of each product. According to the previous step, the recall score is calculated and the scores are sorted to obtain the list of products to be recalled. Usually, the list of products to be recalled is relatively long and has a lot of data. Under normal circumstances, the list of products to be recalled is relatively long and has a lot of data. However, in special circumstances, such as when the attribute is particularly remote or new, it will be judged whether the list of products to be recalled exists. If the list of products to be recalled is 0, a prompt will be given to the product recall management console. The recall order adjustment module performs secondary adjustment on the list of recalled products according to the recalled product window and attribute repeatability. The list generation module generates the final list of recalled products based on the adjusted order. Of course, if the final generated list of recalled products contains 0 products, abnormal information can also be fed back.
[0120] The functions of the functional modules of the product recall system in the embodiment of the present invention can be specifically implemented according to the method in the above method embodiment. The specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0121] As can be seen from the above, the embodiment of the present invention can effectively avoid the phenomenon of repeated attribute products clustering during the product recall process by setting the recalled product window and attribute repeatability in the product recall management console, thereby improving the flexibility and efficiency of product recall.
[0122] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the hardware disclosed in the embodiments, including devices and electronic devices, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part.
[0123] Those skilled in the art may further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0124] The above has introduced in detail a product recall method, device, management system, electronic device, and readable storage medium provided by the present application. Specific examples are used herein to elaborate on the principles and implementation manners of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principles of the present invention, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.
Claims
1. A product recall method, characterized in that, including: automatically generating product recall information in response to a product recall parameter setting instruction; when receiving a product recall instruction, determining an initial recall order of each product to be recalled based on the recall attributes in the product recall information and the recall weight values corresponding to the respective recall attributes; adjusting the initial recall order of the products to be recalled in the recall product window based on the attribute repeatability in the product recall information; generating a product recall list according to the adjusted product recall order; wherein, the adjusting the initial recall order of the products to be recalled in the recall product window based on the attribute repeatability in the product recall information includes: successively obtaining the product attributes of each product to be recalled within the range of the recall product window; for each product to be recalled, if the current product to be recalled has the same attribute as the previously determined product to be recalled, determining whether the total number of products to be recalled with the same attribute is greater than the attribute repeatability; if the total number of products to be recalled with the same attribute is greater than the attribute repeatability, determining a target product to be recalled that meets the attribute conditions from the candidate products to be recalled after the current product to be recalled, and replacing the positions of the target product to be recalled and the current product to be recalled; wherein, the attribute condition is that the target product to be recalled has different product attributes from the previously determined products to be recalled before the current product to be recalled, or the total number of the determined products to be recalled with the same attribute and the target product to be recalled is less than or equal to the attribute repeatability.
2. The product recall method according to claim 1, characterized in that The product recall information further includes a recall effective area. Before determining the initial recall order of each product to be recalled based on the recall attributes in the product recall information and the recall weight values corresponding to the respective recall attributes, it further includes: determining, in the product library, each product to be recalled that falls within the recall effective area.
3. The product recall method according to claim 1, characterized in that, The determining the initial recall order of each product to be recalled based on the recall attributes in the product recall information and the recall weight values corresponding to the respective recall attributes includes: for each product to be recalled, calculating a recall score value according to the recall attribute and the corresponding recall weight value; sorting each product to be recalled according to the recall score value of each product to be recalled to be used as the initial recall order of each product to be recalled.
4. The product recall method according to claim 3, wherein After sorting each product to be recalled according to the recall score value of each product to be recalled, it further includes: generating an initial recall list based on the initial recall order; judging whether the initial recall list exists; if the initial recall list does not exist, generating a recall exception notification message.
5. The product recall method according to any one of claims 1 to 4, characterized in that, After automatically generating product recall information in response to a product recall parameter setting instruction, it further includes: when receiving a product recall parameter adjustment instruction, updating the corresponding product recall parameters in the product recall information according to the product recall parameter adjustment instruction.
6. A product recall device, characterized in that, including: a recall information generation module, configured to automatically generate product recall information in response to a product recall parameter setting instruction; A recall order determination module, configured to determine an initial recall order of each product to be recalled based on the recall attributes in the product recall information and the recall weight values corresponding to the respective recall attributes when receiving a product recall instruction; A recall order adjustment module, configured to adjust the initial recall order of the products to be recalled in the recall product window based on the repeatability of attributes in the product recall information; A list generation module, configured to generate a product recall list according to the adjusted product recall order; Wherein, the process of adjusting the initial recall order by the recall order adjustment module includes: sequentially obtaining the product attributes of each product to be recalled within the range of the recall product window; for each product to be recalled, if the current product to be recalled has the same attributes as the previously determined product to be recalled, determine whether the total number of products to be recalled with the same attributes is greater than the repeatability of attributes; if the total number of products to be recalled with the same attributes is greater than the repeatability of attributes, determine a target product to be recalled that meets the attribute conditions from the candidate products to be recalled after the current product to be recalled, and exchange the positions of the target product to be recalled and the current product to be recalled; wherein, the attribute condition is that the product attributes of the target product to be recalled are different from those of the previously determined products to be recalled before the current product to be recalled, or the total number of the determined products to be recalled with the same attributes and the target product to be recalled is less than or equal to the repeatability of attributes.
7. A product recall management system, characterized in that, Built into the procurement platform, including a product recall management console, a recall order determination module, a recall order adjustment module, and a list generation module; Wherein, the product recall management console is configured to generate and store product recall information, and send product recall parameters to the recall order determination module and the recall order adjustment module; A recall order determination module, configured to determine an initial recall order of each product to be recalled based on the recall attributes sent by the product recall management console and the recall weight values corresponding to the respective recall attributes when receiving a product recall instruction; A recall order adjustment module, configured to obtain the repeatability of attributes and the recall product window from the product recall management console, and adjust the initial recall order of the products to be recalled in the recall product window based on the repeatability of attributes; A list generation module, configured to generate a product recall list according to the adjusted product recall order; Among them, the process of adjusting the initial recall order by the recall order adjustment module includes: sequentially obtaining the product attributes of each product to be recalled within the recall product window range; for each product to be recalled, if the current product to be recalled has the same attribute as the previously determined product to be recalled, it is judged whether the total number of products to be recalled with the same attribute is greater than the attribute repeatability; if the total number of products to be recalled with the same attribute is greater than the attribute repeatability, a target product to be recalled that meets the attribute conditions is determined from the candidate products to be recalled after the current product to be recalled, and the positions of the target product to be recalled and the current product to be recalled are exchanged; wherein, the attribute condition is that the product attributes of the target product to be recalled are different from those of each determined product to be recalled before the current product to be recalled, or the total number of products with the same attribute among the determined products to be recalled and the target product to be recalled is less than or equal to the attribute repeatability.
8. An electronic device, characterized in that, It includes a processor and a memory. When the processor executes the computer program stored in the memory, it implements the steps of the product recall method according to any one of claims 1 to 5.
9. A readable storage medium, characterized in that, A computer program is stored on the readable storage medium. When the computer program is executed by the processor, it implements the steps of the product recall method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Search engine result sequencing method and search engine result sequencing system
CN104077306A
Search attribute information sorting method and device, electronic equipment and storage medium
CN113792194A
Information recommendation method, device and system
CN114119142A