An object classification method, device, server and storage medium
By establishing a fitting relationship for item outbound data, the accuracy and consistency problems caused by discretized data in item classification are solved, and the accuracy of item classification is improved.
Patent Information
- Application Number
- CN202010815400.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-13
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-08-13
AI Technical Summary
In the existing technology, the statistical results of the frequency of items leaving the warehouse are discretized, resulting in deviations in the accuracy of item classification, and the classification results of different people are inconsistent, making it difficult to unify standards.
By obtaining the out-of-warehouse data of each item within a preset time period, the cumulative proportion of out-of-warehouse volume and the cumulative proportion of item quantity are determined, a fitting relationship is established, and items are classified based on the fitting relationship to achieve item classification. Improved accuracy.
Through the fitting relationship, the item classification results are converted into continuous types, which improves the accuracy and consistency of item classification and guides the scientificity and effectiveness of item classification.
Smart Images

Figure CN113762833B
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of computer technology, and in particular, to an object classification method, device, server, and storage medium. Background Art
[0002] In the storage planning of unmanned warehouses, the ABC (Analysis by Contribution) classification method is often used for item layout, that is, all items are divided into three or more categories of A, B and C according to the number of times each item is shipped out of the warehouse, and then the A-category items with high shipping frequency are placed in a location that is convenient for picking and shipping out of the warehouse, and the B-category and C-category items are placed in the back in turn. At present, when classifying items, the method for determining the boundary values of classification points is mainly to count the shipping frequencies of items of each item, draw a frequency graph, and then determine the boundary values of classification points based on experience to classify items.
[0003] However, in the process of implementing the present invention, the inventors found that there are at least the following technical problems in the prior art: the statistical results of the frequency of each item leaving the warehouse are discrete, not continuous, which makes it difficult to have a unified standard for subsequent classification, and the results of classification by different people are inconsistent. Moreover, the result of discontinuity may also lead to deviations in the accuracy of classification, and the items may be mistakenly classified into one of the categories A, B and C, which does not conform to the essence of ABC classification. Summary of the invention
[0004] The embodiments of the present invention provide an object classification method, device, server and storage medium, so as to provide an accurate method for object classification and improve the accuracy of object classification.
[0005] In a first aspect, an embodiment of the present invention provides an object classification method, the method comprising:
[0006] Obtaining the outbound data of each item within a preset time period, and determining the value of the cumulative proportion of the outbound quantity of each item and the value of the cumulative proportion of the item quantity according to the outbound data;
[0007] Determine the fitting relationship between the cumulative proportion of the number of items and the cumulative proportion of the number of shipments according to the value of the cumulative proportion of the number of shipments and the value of the cumulative proportion of the number of items;
[0008] Based on the fitting relationship, the item classification segmentation data is determined, and the classification results of the individual items are obtained according to the item classification segmentation data, wherein the item classification segmentation data includes a numerical value for distinguishing the cumulative proportion of the outbound quantity of different item classifications and / or a numerical value for the cumulative proportion of the item quantity.
[0009] Optionally, determining the fitting relationship between the cumulative proportion of the number of items and the cumulative proportion of the number of shipments according to the value of the cumulative proportion of the number of shipments and the value of the cumulative proportion of the number of items includes:
[0010] Obtaining a pre-established two-parameter model, wherein the dependent variable in the two-parameter model represents the change in the quantity of items shipped out caused by the change in the cumulative proportion of the quantity of the items as the independent variable;
[0011] Determine the value of the weight parameter in the dual-parameter model according to the value of the cumulative proportion of the shipment volume and the value of the cumulative proportion of the item quantity;
[0012] According to the value of the weight parameter, a fitting curve corresponding to the two-parameter model is determined.
[0013] Optionally, determining the value of the weight parameter in the dual-parameter model according to the value of the cumulative proportion of the shipment volume and the value of the cumulative proportion of the item quantity includes:
[0014] Determine a system of canonical equations corresponding to the loss function of the two-parameter model;
[0015] The values of the cumulative proportion of the shipment volume and the cumulative proportion of the number of items are substituted into the regular equation group, and the regular equation group is solved to determine the values of the weight parameters in the two-parameter model.
[0016] Optionally, when the various commodity items are divided into three categories, determining the item classification segmentation data based on the fitting relationship, and obtaining the classification results of the various item items according to the item classification segmentation data include:
[0017] Establishing an item classification and segmentation data equation group according to the preset cumulative proportion of the outbound volume of the second category of items and the fitting relationship;
[0018] Solving the group of equations for the item classification and segmentation data to obtain first item classification and segmentation data between the first category of items and the second category of items, and second item classification and segmentation data between the second category of items and the third category of items;
[0019] The items of merchandise are divided into three categories according to the first item classification segmentation data and the item classification segmentation data.
[0020] Optionally, the process of determining the cumulative proportion of the preset outbound quantity of the second category of items includes:
[0021] Based on the fitting relationship, determine the diminishing returns point of the cumulative proportion of the outbound volume of each item and the cumulative proportion of the number of items, wherein, at the data points after the diminishing returns point, the growth degree of the cumulative proportion of the outbound volume is less than the growth degree of the cumulative proportion of the number of items;
[0022] The cumulative percentage of the number of items at the point of diminishing returns is used as the cumulative percentage of the preset outbound quantity of the second category of items.
[0023] Optionally, determining the value of the cumulative proportion of the outbound quantity of each item and the value of the cumulative proportion of the item quantity according to the outbound data includes:
[0024] Arrange the items in the outbound data in descending order according to the outbound quantity of each item;
[0025] For each item, the ratio of the sum of the outbound quantity of the current item and the outbound quantity of the items before the current item to the outbound quantity of all items is taken as the cumulative proportion of the outbound quantity corresponding to the current item;
[0026] For each item of an item, the ratio of the ranking value of the current item to the number of all items is taken as the cumulative proportion of the number of items of the current item.
[0027] Optionally, the independent variable and the dependent variable in the two-parameter model are in a power function relationship.
[0028] In a second aspect, an embodiment of the present invention further provides an object classification device, the device comprising:
[0029] A data statistics module is used to obtain the outbound data of each item in a preset time period, and determine the value of the cumulative proportion of the outbound quantity of each item and the value of the cumulative proportion of the item quantity according to the outbound data;
[0030] A data analysis module, for determining a fitting relationship between the cumulative proportion of the number of items and the cumulative proportion of the number of shipments according to the value of the cumulative proportion of the number of shipments and the value of the cumulative proportion of the number of items;
[0031] An item classification module is used to determine item classification segmentation data based on the fitting relationship, and obtain the classification results of the individual items according to the item classification segmentation data, wherein the item classification segmentation data includes a numerical value for distinguishing the cumulative proportion of the outbound quantity of different item classifications and / or a numerical value for the cumulative proportion of the item quantity.
[0032] Optionally, the data analysis module includes:
[0033] A model acquisition submodule is used to acquire a pre-established two-parameter model, wherein the dependent variable in the two-parameter model represents the change in the quantity of items shipped out caused by the change in the cumulative proportion of the quantity of the items as the independent variable;
[0034] A model parameter determination submodule, used to determine the value of the weight parameter in the dual-parameter model according to the value of the cumulative proportion of the shipment volume and the value of the cumulative proportion of the item quantity;
[0035] The fitting relationship determination submodule is used to determine the fitting curve corresponding to the dual-parameter model according to the value of the weight parameter.
[0036] Optionally, the model parameter determination submodule is specifically used for:
[0037] Determine a system of canonical equations corresponding to the loss function of the two-parameter model;
[0038] The values of the cumulative proportion of the shipment volume and the cumulative proportion of the number of items are substituted into the regular equation group, and the regular equation group is solved to determine the values of the weight parameters in the two-parameter model.
[0039] Optionally, when the items are classified into three categories, the item classification module includes:
[0040] An equation group establishment submodule is used to establish an item classification and segmentation data equation group according to the preset cumulative proportion of the second category of items shipped out and the fitting relationship;
[0041] A classification segmentation data determination submodule is used to solve the item classification segmentation data equation group to obtain first item classification segmentation data between the first category of items and the second category of items, and second item classification segmentation data between the second category of items and the third category of items;
[0042] A classification submodule is used to classify the items of goods into three categories according to the first item classification segmentation data and the item classification segmentation data.
[0043] Optionally, the article classification device further includes: a module for determining the preset outbound quantity of the second category articles, which is specifically used to:
[0044] Based on the fitting relationship, determine the diminishing returns point of the cumulative proportion of the outbound volume of each item and the cumulative proportion of the number of items, wherein, at the data points after the diminishing returns point, the growth degree of the cumulative proportion of the outbound volume is less than the growth degree of the cumulative proportion of the number of items;
[0045] The cumulative percentage of the number of items at the point of diminishing returns is used as the cumulative percentage of the preset outbound quantity of the second category of items.
[0046] Optionally, the data statistics module includes:
[0047] A data arrangement submodule, used to arrange the items in the outbound data in descending order according to the outbound quantity of each item;
[0048] The outbound quantity data statistics submodule is used to calculate, for each item, the ratio of the sum of the outbound quantity of the current item and the outbound quantity of the items before the current item to the outbound quantity of all items as the cumulative proportion of the outbound quantity corresponding to the current item;
[0049] The item quantity cumulative proportion statistics submodule is used to take, for each item of an item, the ratio of the ranking value of the current item to the quantity of all items as the cumulative proportion of the item quantity of the current item.
[0050] Optionally, the independent variable and the dependent variable in the two-parameter model are in a power function relationship.
[0051] In a third aspect, an embodiment of the present invention further provides a server, the server comprising:
[0052] one or more processors;
[0053] A memory for storing one or more programs;
[0054] When the one or more programs are executed by the one or more processors, the one or more processors implement the object classification method provided by any embodiment of the present invention.
[0055] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the object classification method provided by any embodiment of the present invention.
[0056] The embodiments of the above invention have the following advantages or beneficial effects:
[0057] By fitting the discrete statistical data of the cumulative proportion of the outbound volume and the cumulative proportion of the number of items, the fitting relationship is determined, so that the relationship between the cumulative proportion of the outbound volume and the cumulative proportion of the number of items is a continuous relationship, and then based on the determined fitting relationship, the item classification segmentation data is obtained to classify the items, thereby improving the accuracy of the item classification results and better guiding the item classification. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 is a flow chart of an object classification method provided by Embodiment 1 of the present invention;
[0059] Figure 2 is a flow chart of an object classification method provided by Embodiment 2 of the present invention;
[0060] Figure 3 It is a schematic diagram of a fitting relationship between the cumulative proportion of item quantity and the cumulative proportion of shipment quantity provided in the second embodiment of the present invention;
[0061] Figure 4 This is a schematic diagram of data points for item classification and segmentation provided by Embodiment 2 of the present invention;
[0062] Figure 5 This is a schematic diagram of a point of diminishing returns in a fitting relationship provided in the second embodiment of the present invention;
[0063] Figure 6 is a structural schematic diagram of an object classification device provided in Embodiment 3 of the present invention;
[0064] Figure 7 It is a structural diagram of a server provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0065] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0066] Embodiment 1
[0067] Figure 1 This is a flow chart of an object classification method provided in the first embodiment of the present invention. This embodiment is applicable to the case of classifying objects, and is particularly suitable for classifying objects with a Pareto effect. The method can be implemented by an object classification device, which is configured in a client such as a computer device, and can be implemented specifically by software and / or hardware in the device.
[0068] like Figure 1 As shown, the item classification method specifically includes the following contents:
[0069] S110, obtaining the outbound data of each item in a preset time period, and determining the value of the cumulative proportion of the outbound quantity of each item and the value of the cumulative proportion of the item quantity according to the outbound data.
[0070] Specifically, an item is similar to a classification of objects. An item of an item has specific parameters or attributes. For example, a brand of cola has packaging versions of different volumes, namely 250ml, 500ml and 1.8L. Then these three different volumes of cola belong to three different items of objects.
[0071] The outbound data includes the outbound quantity and number of items of each item within a preset time period. The preset time period is usually at least one month as a time period to conduct outbound quantity statistics of each item, so that there is enough data to reflect the correlation between the number of items and the outbound quantity.
[0072] When performing statistics on the outbound data of each item, first, sort each item in descending order according to the outbound quantity of each item in the outbound data; then, for each item, take the sum of the outbound quantity of the current item and the outbound quantity of the items before the current item, and the ratio of the outbound quantity of all items as the cumulative proportion of the outbound quantity corresponding to the current item; then take the ratio of the ranking value of the current item to the quantity of all items as the cumulative proportion of the number of items of the current item. Exemplarily, the outbound statistics of items are shown in the following table:
[0073] Table 1 Item outbound data statistics
[0074] SKU Outgoing volume Sorting of outbound quantity Cumulative proportion of outbound volume (%) Cumulative proportion of items (%) B001 40901 1 10.2 0.01 B002 5013 2 12.62 0.02 B003 4999 3 13.89 0.03 … … … … …
[0075] In Table 1, SKU (Stock Keeping Unit) is the inventory unit, that is, the basic unit for measuring inventory in and out. In this embodiment, one SKU number represents one item. The outbound quantity is the total outbound quantity of an item within a preset time period. Taking the total data of item B002 as an example, the outbound quantity corresponding to B002 is 5013 units, and the outbound quantity is ranked second. The sum of its outbound quantity 5013 and the outbound quantity 40901 of B001 is divided by the outbound quantity of all items to obtain the corresponding cumulative proportion of outbound quantity. There are a total of 2 items in B002. Dividing 2 by the number of all items will obtain the corresponding cumulative proportion of the number of items.
[0076] S120. Determine a fitting relationship between the cumulative proportion of the number of items and the cumulative proportion of the number of shipments according to the value of the cumulative proportion of the number of shipments and the value of the cumulative proportion of the number of items.
[0077] Specifically, the purpose of classifying items is to plan the placement of items more scientifically. Items with large outbound volume need to be placed in a location that is convenient for picking and outbound, which can improve picking efficiency and save manpower and material costs. Usually, the outbound volume of a small number of items accounts for the majority of the total outbound volume, while the outbound volume of items with a larger number of items only accounts for a small proportion of the total outbound volume.
[0078] Then, according to the characteristics of the relationship between the cumulative proportion of item quantity and the cumulative proportion of outbound quantity, a pre-established two-parameter model can be obtained. The dependent variable in the two-parameter model represents the change in the outbound quantity of items caused by the change in the cumulative proportion of item quantity as the independent variable, that is, the cumulative proportion of item quantity is taken as the independent variable, and the cumulative proportion of outbound quantity is taken as the dependent variable. The two parameters in the two-parameter model are the weight parameters of the independent variable and the dependent variable. In the two-parameter model, the independent variable and the dependent variable are in a power function relationship, or the fitting curve of the two is a branch of the hyperbola in the positive quadrant.
[0079] Furthermore, the statistical data in step S110, i.e., the value of the cumulative proportion of the outbound quantity corresponding to each item and the value of the cumulative proportion of the number of items, are brought into the obtained dual-parameter model as sample data, so as to calculate and determine the value of the weight parameter. In the process of determining the value of the weight parameter, a grid search or Newton's method can be used for solving. After determining the value of the weight parameter, the fitting curve corresponding to the dual-parameter model can be determined, that is, the discretized outbound statistical data is converted into a continuous form through a fitting function.
[0080] S130. Determine item classification segmentation data based on the fitting relationship, and obtain classification results of the individual item items according to the item classification segmentation data, wherein the item classification segmentation data includes a numerical value for distinguishing the cumulative proportion of the outbound quantity of different item classifications and / or a numerical value for the cumulative proportion of the item quantity.
[0081] The fitting relationship (fitting curve) between the cumulative proportion of the outbound volume and the cumulative proportion of the number of items determined by the outbound statistical data can better reflect the characteristics of each item in the ABC classification method. Therefore, based on the degree of influence of the change in the number of items on the outbound volume shown by the fitting curve, that is, the slope of the fitting curve, the corresponding cumulative proportion of the outbound volume and / or the cumulative proportion of the number of items on the fitting curve can be used as the item classification segmentation data according to the classification requirements, and the item classification segmentation data can be used as the segmentation point to divide each item into three or more categories.
[0082] The technical solution of this embodiment determines the fitting relationship by fitting the discrete statistical data of the cumulative proportion of the outbound quantity and the cumulative proportion of the number of items, so that the relationship between the cumulative proportion of the outbound quantity and the cumulative proportion of the number of items is a continuous relationship, and then obtains the item classification and segmentation data based on the determined fitting relationship to classify the items, thereby improving the accuracy of the item classification results and better guiding the classification of items.
[0083] Embodiment 2
[0084] Figure 2 This is a flowchart of an article classification method provided in the second embodiment of the present invention. Based on the above embodiment, this embodiment further illustrates the specific operation process when the articles are classified into three categories (first category articles, second category articles and third category articles). The explanations of the terms that are the same or corresponding to the above embodiment are not repeated here.
[0085] In this embodiment, each item is specifically divided into three categories. The principle of division is that the first category of items (Class A SKU) represents items where a small number of items contribute to the vast majority of the outbound volume, the second category of items (Class B SKU) represents items where a certain proportion (F) of items contribute to an equal proportion (F) of the outbound volume, and the third category of items (Class C SKU) represents items where the vast majority of items contribute to a small portion of the outbound volume. Figure 2 As shown, in this embodiment, the method for classifying items includes the following contents:
[0086] S210: Obtain the outbound data of each item in a preset time period, and determine the value of the cumulative proportion of the outbound quantity of each item and the value of the cumulative proportion of the item quantity according to the outbound data.
[0087] S220. Determine a fitting relationship between the cumulative proportion of the number of items and the cumulative proportion of the number of shipments according to the value of the cumulative proportion of the number of shipments and the value of the cumulative proportion of the number of items.
[0088] Specifically, a pre-established two-parameter model is obtained, and the dependent variable in the two-parameter model represents the change in the quantity of goods shipped out caused by the change in the cumulative proportion of the number of items as the independent variable. In this embodiment, the two-parameter model is exemplarily represented as: Among them, x represents the cumulative proportion of item quantity, y represents the cumulative proportion of outbound quantity, and α and β represent the two weight parameters in the two-parameter function. Correspondingly, the regression function of the two-parameter model is expressed as: Among them, x i ,y i and ε i They respectively represent the cumulative percentage of item quantity and the cumulative percentage of shipment corresponding to the item whose shipment quantity ranks at the i-th position, as well as the difference between the shipment quantity of the item at the i-th position and the corresponding shipment quantity represented by the fitting curve.
[0089] Furthermore, according to the least squares method, the residual equation is expressed as The corresponding canonical equations can be expressed as Therefore, we can use the grid point search or Newton method to bring the values of the cumulative proportion of the outbound quantity and the cumulative proportion of the number of items into the regular equations, and solve the regular equations to solve the α and β in the nonlinear equations. The final fitting curve can be referred to Figure 3 The fitted curve is shown in .
[0090] S230: Establish a group of equations for item classification and segmentation data according to the preset cumulative proportion of the second category item shipment volume and the fitting relationship.
[0091] Among them, the second category of items (Class B SKU) means that a certain proportion of items contribute an equal proportion of the inventory shipment. The preset cumulative proportion of the inventory shipment of the second category of items can be a value pre-set based on experience, or a value determined based on the fitting relationship (fitting curve) determined in the above steps.
[0092] In this embodiment, F is used to represent the cumulative proportion of the preset outbound volume of the second category of items. Assume that the dividing point between the first category of items and the second category of items on the fitting curve is (x1, y1), and the dividing point between the second category of items and the third category of items on the fitting curve is (x2, y2). Under the premise that F is known, it can be determined that x2-x1=y2-y1=F. This formula is combined with the two-parameter model with determined weight parameters to obtain a system of equations.
[0093] S240, solving the group of equations for the item classification and segmentation data to obtain first item classification and segmentation data between the first category of items and the second category of items, and second item classification and segmentation data between the second category of items and the third category of items.
[0094] Specifically, the equation group is solved to obtain the value of the desired segmentation point. The first item classification segmentation data between the first category of items and the second category of items can be specifically expressed as The second item classification segmentation data between the second category items and the third category items can be specifically expressed as: You can refer to Figure 4 Schematic diagram of item classification segmentation data points shown.
[0095] S250. Classify the merchandise items into three categories according to the first item classification segmentation data and the item classification segmentation data.
[0096] like Figure 4 As shown, according to the two calculated item classification segmentation data, each item can be divided into three categories: A, B and C.
[0097] The classification results can refer to the classification result display content shown in Table 2.
[0098] Table 2 Item classification table
[0099] SKU Cumulative proportion of outbound volume (%) Cumulative proportion of items (%) ABC Classification B001 10.2 0.01 A B002 12.62 0.02 A … … … A B215 67.86 10.3 A B101 67.88 10.31 B … … … B B105 87.98 30.3 B B102 87.99 30.31 C … … C
[0100] Furthermore, in this embodiment, the process of determining the cumulative proportion of the preset outbound quantity of the second category of items may include the following contents:
[0101] like Figure 5 As shown, assuming Figure 5The curve ODQ in is a fitting curve based on the statistical results of the outbound data of each item in a preset time period. The point where the slope of the curve is equal to 1 is defined as the point of diminishing returns of the cumulative proportion of outbound volume of each item and the cumulative proportion of the number of items. That is to say, at the data points after the aforementioned diminishing returns point, the growth degree of the cumulative proportion of outbound volume is less than the growth degree of the cumulative proportion of the number of items. It can also be said that before point D, every increase of 1% in the number of outbound items will increase the outbound volume of items by more than 1%; after point D, every increase of 1% in the number of outbound items will increase the outbound volume by less than 1%.
[0102] Then, the first-order derivative of the fitting curve corresponding to the other two-parameter model is equal to one, which can be expressed as Further results x D For the second category of items, just preset the cumulative proportion of the outbound quantity.
[0103] The technical solution of this embodiment determines the fitting relationship by fitting the discrete statistical data of the cumulative proportion of the outbound quantity and the cumulative proportion of the number of items, so that the relationship between the cumulative proportion of the outbound quantity and the cumulative proportion of the number of items is a continuous relationship, and then obtains the item classification and segmentation data based on the determined fitting relationship to classify the items, thereby improving the accuracy of the item classification results and better guiding the classification of items.
[0104] The following is an embodiment of an article classification device provided by an embodiment of the present invention. The article classification device and the article classification methods of the above embodiments belong to the same inventive concept, and the article classification methods of the above embodiments can be executed by the article classification device of this embodiment. For details not described in detail in the embodiment of the article classification device, reference can be made to the embodiment of the article classification method above.
[0105] Embodiment 3
[0106] Figure 6 This is a schematic diagram of the structure of an object classification device provided in Embodiment 3 of the present invention. This embodiment is applicable to classifying objects, and is particularly suitable for classifying objects with a Pareto effect.
[0107] Specifically, the object classification device includes a data statistics module 310 , a data analysis module 320 and an object classification module 330 .
[0108] Among them, the data statistics module 310 is used to obtain the outbound data of each item within a preset time period, and determine the numerical value of the cumulative proportion of the outbound quantity of each item and the numerical value of the cumulative proportion of the item quantity based on the outbound data; the data analysis module 320 is used to determine the fitting relationship between the cumulative proportion of the item quantity and the cumulative proportion of the outbound quantity based on the numerical value of the cumulative proportion of the outbound quantity and the numerical value of the cumulative proportion of the item quantity; the item classification module 330 is used to determine the item classification segmentation data based on the fitting relationship, and obtain the classification results of the each item according to the item classification segmentation data, wherein the item classification segmentation data includes the numerical value of the cumulative proportion of the outbound quantity and / or the numerical value of the cumulative proportion of the item quantity for distinguishing different item classifications.
[0109] The technical solution of this embodiment determines the fitting relationship by fitting the discrete statistical data of the cumulative proportion of the outbound quantity and the cumulative proportion of the number of items, so that the relationship between the cumulative proportion of the outbound quantity and the cumulative proportion of the number of items is a continuous relationship, and then obtains the item classification and segmentation data based on the determined fitting relationship to classify the items, thereby improving the accuracy of the item classification results and better guiding the classification of items.
[0110] Optionally, the data analysis module 320 includes:
[0111] The model acquisition submodule 321 is used to acquire a pre-established two-parameter model, wherein the dependent variable in the two-parameter model represents the change in the quantity of items shipped out caused by the change in the cumulative proportion of the quantity of the items as the independent variable;
[0112] A model parameter determination submodule 322 is used to determine the value of the weight parameter in the dual-parameter model according to the value of the cumulative proportion of the shipment quantity and the value of the cumulative proportion of the item quantity;
[0113] The fitting relationship determination submodule 323 is used to determine the fitting curve corresponding to the dual-parameter model according to the value of the weight parameter.
[0114] Optionally, the model parameter determination submodule 322 is specifically used for:
[0115] Determine a system of canonical equations corresponding to the loss function of the two-parameter model;
[0116] The values of the cumulative proportion of the shipment volume and the cumulative proportion of the number of items are substituted into the regular equation group, and the regular equation group is solved to determine the values of the weight parameters in the two-parameter model.
[0117] Optionally, when the items are classified into three categories, the item classification module 330 includes:
[0118] The equation group establishment submodule 331 is used to establish an equation group for item classification and segmentation data according to the preset cumulative proportion of the second category of items shipped out and the fitting relationship;
[0119] The classification segmentation data determination submodule 332 is used to solve the item classification segmentation data equation group to obtain the first item classification segmentation data between the first category items and the second category items, and the second item classification segmentation data between the second category items and the third category items;
[0120] The classification submodule 333 is used to classify the items of goods into three categories according to the first item classification segmentation data and the item classification segmentation data.
[0121] Optionally, the article classification device further includes: a module for determining the preset outbound quantity of the second category articles, which is specifically used to:
[0122] Based on the fitting relationship, determine the diminishing returns point of the cumulative proportion of the outbound volume of each item and the cumulative proportion of the number of items, wherein, at the data points after the diminishing returns point, the growth degree of the cumulative proportion of the outbound volume is less than the growth degree of the cumulative proportion of the number of items;
[0123] The cumulative percentage of the number of items at the point of diminishing returns is used as the cumulative percentage of the preset outbound quantity of the second category of items.
[0124] Optionally, the data statistics module 310 includes:
[0125] The data arrangement submodule 311 is used to arrange the items in the delivery data in descending order according to the delivery quantity of each item;
[0126] The outbound quantity data statistics submodule 312 is used to calculate, for each item, the ratio of the sum of the outbound quantity of the current item and the outbound quantity of the items before the current item to the outbound quantity of all items as the cumulative proportion of the outbound quantity corresponding to the current item;
[0127] The item quantity cumulative proportion statistics submodule 313 is used to take, for each item of an item, the ratio of the ranking value of the current item to the quantity of all items as the item quantity cumulative proportion of the current item.
[0128] Optionally, the independent variable and the dependent variable in the two-parameter model are in a power function relationship.
[0129] The object classification device provided in the embodiment of the present invention can execute the object classification method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0130] Embodiment 4
[0131] Figure 7 A schematic diagram of the structure of a server provided in Embodiment 4 of the present invention. Figure 7 A block diagram of an exemplary server 12 suitable for use in implementing embodiments of the present invention is shown. Figure 7 The server 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0132] like Figure 7 As shown, the server 12 is in the form of a general purpose computing device. The components of the server 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).
[0133] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0134] The server 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the server 12, including volatile and non-volatile media, removable and non-removable media.
[0135] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The server 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 7 not shown, usually called a "hard drive"). Although Figure 7 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.
[0136] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0137] The server 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), may communicate with one or more devices that enable a user to interact with the server 12, and / or may communicate with any device that enables the server 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 22. In addition, the server 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the server 12 via a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the server 12, including, but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0138] The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing the steps of an article classification method provided in the embodiment of the present invention, the method comprising:
[0139] Obtaining the outbound data of each item within a preset time period, and determining the value of the cumulative proportion of the outbound quantity of each item and the value of the cumulative proportion of the item quantity according to the outbound data;
[0140] Determine the fitting relationship between the cumulative proportion of the number of items and the cumulative proportion of the number of shipments according to the value of the cumulative proportion of the number of shipments and the value of the cumulative proportion of the number of items;
[0141] Based on the fitting relationship, the item classification segmentation data is determined, and the classification results of the individual items are obtained according to the item classification segmentation data, wherein the item classification segmentation data includes a numerical value for distinguishing the cumulative proportion of the outbound quantity of different item classifications and / or a numerical value for the cumulative proportion of the item quantity.
[0142] Of course, those skilled in the art can understand that the processor can also implement the technical solution of the object classification method provided by any embodiment of the present invention.
[0143] Embodiment 5
[0144] The fifth embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the method for classifying objects provided in any embodiment of the present invention are implemented. The method includes:
[0145] Obtaining the outbound data of each item within a preset time period, and determining the value of the cumulative proportion of the outbound quantity of each item and the value of the cumulative proportion of the item quantity according to the outbound data;
[0146] Determine the fitting relationship between the cumulative proportion of the number of items and the cumulative proportion of the number of shipments according to the value of the cumulative proportion of the number of shipments and the value of the cumulative proportion of the number of items;
[0147] Based on the fitting relationship, the item classification segmentation data is determined, and the classification results of the individual items are obtained according to the item classification segmentation data, wherein the item classification segmentation data includes a numerical value for distinguishing the cumulative proportion of the outbound quantity of different item classifications and / or a numerical value for the cumulative proportion of the item quantity.
[0148] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0149] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0150] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0151] Computer program code for performing the operation of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0152] It should be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0153] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for classifying items, characterized in that: include: Obtaining the outbound data of each item within a preset time period, and determining the value of the cumulative proportion of the outbound quantity of each item and the value of the cumulative proportion of the item quantity according to the outbound data; Determine the fitting relationship between the cumulative proportion of the number of items and the cumulative proportion of the number of shipments according to the value of the cumulative proportion of the number of shipments and the value of the cumulative proportion of the number of items; Determine the item classification segmentation data based on the fitting relationship, and obtain the classification results of the items according to the item classification segmentation data, wherein the item classification segmentation data includes a numerical value for distinguishing the cumulative proportion of the outbound quantity of different item classifications and / or a numerical value for the cumulative proportion of the item quantity; Wherein, determining the fitting relationship between the cumulative proportion of the number of items and the cumulative proportion of the number of shipments according to the value of the cumulative proportion of the number of shipments and the value of the cumulative proportion of the number of items includes: Obtaining a pre-established two-parameter model, wherein the dependent variable in the two-parameter model represents the change in the quantity of items shipped out caused by the change in the value of the cumulative proportion of the quantity of the items as the independent variable; Determine a system of canonical equations corresponding to the loss function of the two-parameter model; Substituting the value of the cumulative proportion of the shipment volume and the value of the cumulative proportion of the number of items into the regular equation group, solving the regular equation group to determine the value of the weight parameter in the two-parameter model; Determining a fitting curve corresponding to the dual-parameter model according to the value of the weight parameter; When the items are divided into three categories, determining the item classification segmentation data based on the fitting relationship, and obtaining the classification results of the items according to the item classification segmentation data include: Establishing an item classification segmentation data equation group according to the preset cumulative proportion of the second category of items shipped out and the fitting relationship; wherein the preset cumulative proportion of the second category of items shipped out is a value determined according to the fitting relationship; Solving the group of equations for the item classification and segmentation data to obtain first item classification and segmentation data between the first category of items and the second category of items, and second item classification and segmentation data between the second category of items and the third category of items; The items are divided into three categories according to the first item classification segmentation data and the second item classification segmentation data.
2. The method according to claim 1, characterized in that: The process of determining the cumulative proportion of the preset outbound volume of the second category of items includes: Based on the fitting relationship, determine the diminishing returns point of the cumulative proportion of the outbound volume of each item and the cumulative proportion of the number of items, wherein, at the data points after the diminishing returns point, the growth degree of the cumulative proportion of the outbound volume is less than the growth degree of the cumulative proportion of the number of items; The cumulative percentage of the number of items at the point of diminishing returns is used as the cumulative percentage of the preset outbound quantity of the second category of items.
3. The method according to claim 1, characterized in that Determining the value of the cumulative proportion of the outbound quantity of each item and the value of the cumulative proportion of the item quantity according to the outbound data includes: Arrange the items in the outbound data in descending order according to the outbound quantity of each item; For each item, the ratio of the sum of the outbound quantity of the current item and the outbound quantity of the items before the current item to the outbound quantity of all items is taken as the cumulative proportion of the outbound quantity corresponding to the current item; For each item of an item, the ratio of the ranking value of the current item to the number of all items is taken as the cumulative proportion of the number of items of the current item.
4. The method according to claim 1, characterized in that: In the two-parameter model, the independent variable and the dependent variable are in a power function relationship.
5. An article classification device, characterized in that: include: A data statistics module is used to obtain the outbound data of each item in a preset time period, and determine the value of the cumulative proportion of the outbound quantity of each item and the value of the cumulative proportion of the item quantity according to the outbound data; A data analysis module, for determining a fitting relationship between the cumulative proportion of the number of items and the cumulative proportion of the number of shipments according to the value of the cumulative proportion of the number of shipments and the value of the cumulative proportion of the number of items; An item classification module, used to determine item classification segmentation data based on the fitting relationship, and obtain the classification results of the items according to the item classification segmentation data, wherein the item classification segmentation data includes a numerical value for distinguishing the cumulative proportion of the outbound quantity of different item classifications and / or a numerical value for the cumulative proportion of the item quantity; Wherein, the data analysis module includes: A model acquisition submodule is used to acquire a pre-established two-parameter model, wherein the dependent variable in the two-parameter model represents the change in the quantity of items shipped out caused by the change in the value of the cumulative proportion of the quantity of the items as the independent variable; A model parameter determination submodule is used to determine the regular equation group corresponding to the loss function of the dual-parameter model, bring the value of the cumulative proportion of the shipment quantity and the value of the cumulative proportion of the item quantity into the regular equation group, and solve the regular equation group to determine the value of the weight parameter in the dual-parameter model; A fitting relationship determination submodule, used to determine a fitting curve corresponding to the dual-parameter model according to the value of the weight parameter; When the items are classified into three categories, the item classification module includes: The equation group establishment submodule is used to establish an equation group for item classification and segmentation data according to the preset cumulative proportion of the outbound quantity of the second category of items and the fitting relationship; wherein the preset cumulative proportion of the outbound quantity of the second category of items is a value determined according to the fitting relationship; A classification segmentation data determination submodule is used to solve the item classification segmentation data equation group to obtain first item classification segmentation data between the first category of items and the second category of items, and second item classification segmentation data between the second category of items and the third category of items; A classification submodule is used to classify the items into three categories according to the first item classification segmentation data and the second item classification segmentation data.
6. A server, characterized in that: The server comprises: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the object classification method as described in any one of claims 1-4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the object classification method as described in any one of claims 1 to 4 is implemented.
