Warehouse site selection method and device and storage medium

By clustering the historical data of stores and warehouses in the cosmetics industry to select warehouses, the problem of high operating costs caused by the subjectivity of store and warehouse location selection is solved, and more efficient operating cost optimization is achieved.

CN118628167AInactive Publication Date: 2024-09-10GUANGZHOU MARUMI NETWORK TECH CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410788669.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the cosmetics industry, the location selection of stores and warehouses is highly subjective, resulting in high operating costs and discrepancies between demand and warehouse operations.

Method used

By querying the historical business data and service data of stores and warehouses, a clustering method is used to divide stores into clusters, and select warehouses based on the center points of clusters to optimize the cost of goods storage and transportation services.

Benefits of technology

It reduces overall operating costs, reduces reliance on staff experience, optimizes demand matching between stores and warehouses, and improves operating efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628167A
    Figure CN118628167A
Patent Text Reader

Abstract

The invention discloses a warehouse site selection method and device, and a storage medium. The method comprises the following steps: determining a plurality of stores and a plurality of warehouses for providing storage and transportation services of goods for the plurality of stores; querying historical business data recorded when the plurality of stores sell goods; querying service data recorded when the plurality of warehouses provide storage and transportation services of goods for the plurality of stores; clustering a plurality of stores into a plurality of clusters according to historical business data under the condition of considering the storage and transportation service cost of the goods; and selecting a warehouse for providing storage and transportation services of goods for the stores in each cluster according to the service data. According to the method, multi-dimensional reference is provided for site selection of the warehouse, the dependence on workers is reduced, the subjective influence on the workers is reduced, the deviation between the requirements of stores and the operation condition of the warehouse is reduced, and the overall operation cost is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of warehousing logistics, and in particular to a warehouse site selection method, equipment and storage medium. Background Art

[0002] In industries such as cosmetics, companies will set up numerous warehouses and stores offline, and the stores serve as distribution outlets and are widely distributed.

[0003] Some stores are opened by the company's agents and changes occur frequently. When changes occur in these stores, the staff usually choose warehouses based on experience.

[0004] The experience of the staff is mostly subjective, and there is a certain deviation between the store’s needs and the warehouse’s operations, which increases the overall operating costs. Summary of the invention

[0005] In view of this, the present invention provides a warehouse site selection method, device and storage medium, which are used to select suitable warehouses for stores and reduce overall operating costs.

[0006] A first aspect of the present invention provides a warehouse site selection method, comprising:

[0007] Determine a plurality of stores and a plurality of warehouses that provide storage and transportation services for the plurality of stores;

[0008] Query the historical business data recorded by multiple stores when selling goods;

[0009] Querying the service data recorded when the multiple warehouses provide storage and transportation services for the multiple stores;

[0010] Under the condition of taking into account the storage and transportation service costs of goods, clustering the plurality of stores into a plurality of clusters according to the historical business data;

[0011] A warehouse providing storage and transportation services of goods for the stores in each of the clusters is selected based on the service data.

[0012] Optionally, clustering the plurality of stores into a plurality of clusters according to the historical business data while taking into account the storage and transportation service costs of goods includes:

[0013] Initializing a plurality of clusters; the clusters have a center point;

[0014] For each of the stores, extracting business characteristics from the historical business data of the store; the business characteristics include at least one of the first location, sales data, and inventory data;

[0015] For each of the stores, calculating a first distance between the business characteristic and each of the center points;

[0016] For each of the stores, group the store into the cluster with the smallest first distance;

[0017] If all the stores are divided, for each cluster, the average value of all the business characteristics in the cluster is assigned to the center point;

[0018] Under the condition of taking into account the storage and transportation service costs of the goods, calculating the total loss value of the plurality of clusters as a whole;

[0019] Determine whether the total loss value meets the preset clustering condition; if so, output a plurality of the clusters; if not, return to execute the calculation of the first distance between the business characteristics and each of the center points for each of the stores.

[0020] Optionally, the calculating of the total loss value of the plurality of clusters as a whole while taking into account the storage and transportation service costs of the goods comprises:

[0021] For each of the stores, assuming that a warehouse is set up in the area where the store is located, calculate the cost of providing storage and transportation services for goods from the warehouse to the store;

[0022] For each of the stores, converting the first distance between the business feature and each of the center points into a deviation value between the business feature and each of the center points; the deviation value is positively correlated with the first distance;

[0023] For each of the stores, the cost and the deviation value are merged into a weight between the business characteristics and each of the center points;

[0024] For each of the clusters, all the weights in the cluster are added together to obtain a sub-loss value;

[0025] The sub-loss values ​​of the multiple clusters are added together to obtain the total loss value of the multiple clusters as a whole.

[0026] Optionally, for each of the stores, assuming that a warehouse is set up in the area where the store is located, calculating the cost of providing storage and transportation services for goods from the warehouse to the store includes:

[0027] For each of the stores, query the shipment volume of the store;

[0028] Assuming that a warehouse is set up in the area where the store is located, query the cost of renting a warehouse in the area where the store is located;

[0029] The cost of providing storage and transportation services for goods from the warehouse to the store is calculated in combination with the shipment volume and the cost; the cost is positively correlated with the shipment volume and negatively correlated with the cost.

[0030] Optionally, the calculating of the cost of providing storage and transportation services of goods from the warehouse to the store by combining the shipment volume with the price includes:

[0031] Taking the inverse of the cost, obtaining the inverse cost of providing storage and transportation services of goods from the warehouse to the store;

[0032] The product of the shipment volume and the inverse cost is calculated as the cost of providing storage and transportation services of goods from the warehouse to the store.

[0033] Optionally, for each of the stores, converting the first distance between the business feature and each of the center points into a deviation value between the business feature and each of the center points includes:

[0034] For each of the stores, square the first distance between the business feature and each of the center points to obtain a deviation value between the business feature and each of the center points;

[0035] For each of the stores, the cost and the deviation value are merged into a weight between the business characteristics and each of the center points, including:

[0036] For each of the stores, the product of the cost and the deviation value is calculated as the weight between the business characteristics and each of the center points.

[0037] Optionally, the service data includes a service range and a second location;

[0038] The step of selecting a warehouse that provides storage and transportation services for goods for the stores in each of the clusters according to the service data includes:

[0039] If the center point of the cluster is located in the service range of a certain warehouse, calculating a second distance between the center point of the cluster and the second position of the warehouse;

[0040] Determine that the store in the cluster provides storage and transportation services for goods from the warehouse corresponding to the store with the shortest second distance.

[0041] A second aspect of the present invention provides a warehouse site selection device, comprising:

[0042] A business information determination module, used to determine a plurality of stores and a plurality of warehouses that provide storage and transportation services for the plurality of stores;

[0043] A historical business data query module, used to query the historical business data recorded by the multiple stores when selling goods;

[0044] A service data query module, used to query the service data recorded when the multiple warehouses provide storage and transportation services for the multiple stores;

[0045] A store clustering module, used for clustering the plurality of stores into a plurality of clusters according to the historical business data while taking into account the storage and transportation service costs of the goods;

[0046] The warehouse selection module is used to select a warehouse that provides storage and transportation services for goods for the stores in each of the clusters based on the service data.

[0047] Optionally, the store clustering module includes:

[0048] A cluster initialization module, used for initializing a plurality of clusters; the clusters have a center point;

[0049] A business feature extraction module, configured to extract business features from the historical business data of each store; the business features include at least one of the first location, sales data, and inventory data;

[0050] A first distance calculation module, used for calculating, for each of the stores, a first distance between the business feature and each of the center points;

[0051] a store division module, used for dividing each of the stores into the cluster with the smallest first distance;

[0052] A center point updating module, for assigning the average value of all the business characteristics in the cluster to the center point for each cluster after all the stores are divided;

[0053] A total loss value calculation module, used to calculate the total loss value of the plurality of clusters as a whole while taking into account the storage and transportation service costs of the goods;

[0054] A clustering condition judgment module is used to judge whether the total loss value meets the preset clustering condition; if so, the cluster output module is executed; if not, the distance calculation module is returned to execute;

[0055] The cluster output module is used to output a plurality of the clusters.

[0056] Optionally, the total loss value calculation module includes:

[0057] A cost calculation module, for each of the stores, assuming that a warehouse is set up in the area where the store is located, to calculate the cost of providing storage and transportation services for goods from the warehouse to the store;

[0058] a deviation value conversion module, used for converting the first distance between the business characteristic and each of the center points into a deviation value between the business characteristic and each of the center points for each of the stores; the deviation value is positively correlated with the first distance;

[0059] A weight fusion module, used for fusing the cost and the deviation value into a weight between the business characteristics and each of the center points for each of the stores;

[0060] A sub-loss value calculation module, used for adding all the weights in the cluster for each cluster to obtain a sub-loss value;

[0061] The sub-loss value adding module is used to add the sub-loss values ​​of the multiple clusters to obtain the total loss value of the multiple clusters as a whole.

[0062] Optionally, the cost calculation module includes:

[0063] A shipment volume query module, used to query the shipment volume of each store;

[0064] A cost query module, used to query the cost of renting a warehouse in the area where the store is located, assuming that a warehouse is set up in the area where the store is located;

[0065] The cost combination module is used to combine the shipment volume and the cost to calculate the cost of providing storage and transportation services for goods from the warehouse to the store; the cost is positively correlated with the shipment volume and negatively correlated with the cost.

[0066] Optionally, the cost combination module is further used for:

[0067] Taking the inverse of the cost, obtaining the inverse cost of providing storage and transportation services of goods from the warehouse to the store;

[0068] The product of the shipment volume and the inverse cost is calculated as the cost of providing storage and transportation services of goods from the warehouse to the store.

[0069] Optionally, the deviation value conversion module is further used for:

[0070] For each of the stores, square the first distance between the business feature and each of the center points to obtain a deviation value between the business feature and each of the center points;

[0071] The weight fusion module is also used for:

[0072] For each of the stores, the product of the cost and the deviation value is calculated as the weight between the business characteristics and each of the center points.

[0073] In one embodiment of the present invention, the service data includes a service range and a second location;

[0074] The warehouse selection module includes:

[0075] a second distance calculation module, configured to calculate a second distance between the center point of the cluster and the second position of the warehouse if the center point of the cluster is located within the service range of a certain warehouse;

[0076] The warehouse determination module is used to determine that the store in the cluster has the smallest second distance corresponding to the warehouse that provides storage and transportation services for goods.

[0077] A third aspect of the present invention provides an electronic device, the electronic device comprising:

[0078] at least one processor; and

[0079] a memory communicatively connected to the at least one processor; wherein,

[0080] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the warehouse site selection method described in the first aspect above.

[0081] A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the warehouse site selection method as described in the first aspect above.

[0082] A fifth aspect of the present invention provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the warehouse site selection method as described in the first aspect above.

[0083] In this embodiment, multiple stores and multiple warehouses that provide storage and transportation services for multiple stores are determined; the historical business data recorded by multiple stores when selling goods are queried; the service data recorded by multiple warehouses when providing storage and transportation services for multiple stores are queried; the multiple stores are clustered into multiple clusters based on the historical business data while taking into account the storage and transportation service costs of goods; and the warehouses that provide storage and transportation services for stores in each cluster are selected based on the service data. This embodiment converts the storage and transportation service costs of goods into clustering factors, so that the storage and transportation service costs of goods are affected in the process of clustering stores. The clustering results can optimize the storage and transportation service costs of goods, provide a multi-dimensional reference for the location selection of warehouses, reduce dependence on staff, reduce the influence of staff subjectivity, reduce the deviation between store demand and warehouse operation conditions, and effectively reduce overall operating costs.

[0084] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0085] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0086] Figure 1 It is a flow chart of a warehouse site selection method provided in Example 1 of the present invention.

[0087] Figure 2 This is a relationship diagram between the storage and transportation services of goods provided by various warehouses to various stores, as provided in the first embodiment of the present invention.

[0088] Figure 3 It is a structural schematic diagram of a warehouse site selection device provided in Example 2 of the present invention.

[0089] Figure 4 It is a structural schematic diagram of an electronic device provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0090] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0091] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can cover sequential implementations other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0092] Embodiment 1

[0093] See also Figure 1 , showing a flow chart of a warehouse site selection method provided in Example 1 of the present invention. The method can be executed by a warehouse site selection device. The warehouse site selection device can be implemented in the form of hardware and / or software, and the warehouse site selection device can be configured in an electronic device.

[0094] like Figure 1 As shown, the method includes:

[0095] Step 101: determine a plurality of stores and a plurality of warehouses that provide storage and transportation services for the plurality of stores.

[0096] In this embodiment, multiple stores and multiple warehouses under the enterprise can be recorded in the enterprise's ERP (Enterprise Resource Planning) and other business systems, where the warehouse can provide storage and transportation services for the stores, that is, the warehouse stores goods that can be sold in some or all stores, such as cosmetics, etc. When the store needs the goods, the goods are transported to the store through various logistics methods.

[0097] In different business areas, the meaning of a store may be different. A store can be a full-time outlet (that is, the same store is an independent outlet of only one enterprise) or a part-time outlet (that is, the same store is a common outlet of different enterprises), for example, a specialty store, a counter, a post station, a convenience store, and so on.

[0098] Summarize at time points such as the end of the quarter, the middle of the year, and the end of the year. When the number of store changes exceeds a preset threshold, the relationship between the store and the warehouse that provides storage and transportation services for the store can be updated. At this time, multiple stores that are currently in operation and / or planned to be in operation in the future, as well as multiple warehouses that are currently in operation and / or planned to be in operation in the future can be screened from business systems such as ERP.

[0099] Step 102: Query the historical business data recorded by multiple stores when selling goods.

[0100] In this embodiment, for the multiple selected stores, historical business data recorded when the multiple stores sell goods can be further queried from business systems such as ERP.

[0101] Exemplarily, the historical business data includes a first location (such as longitude and latitude), sales data (such as sales volume, sales amount, etc.), and inventory data (such as inventory quantity, inventory cycle, etc.).

[0102] Step 103: query the service data recorded when multiple warehouses provide storage and transportation services for multiple stores.

[0103] In this embodiment, for the multiple warehouses that have been screened, service data recorded when the multiple warehouses provide storage and transportation services for goods for multiple stores can be further queried from business systems such as ERP.

[0104] Exemplarily, the service data includes the second location (such as longitude and latitude), range, area, rental price, logistics transportation price, and the like.

[0105] Step 104: cluster multiple stores into multiple clusters based on historical business data while taking into account the storage and transportation service costs of goods.

[0106] In practical applications, multiple stores can be clustered according to historical business data and can be clustered into multiple clusters.

[0107] In the clustering process, the storage and transportation service cost of goods is taken as one of the clustering conditions to reduce the storage and transportation service cost of goods as much as possible.

[0108] In one embodiment of the present invention, step 104 may include the following steps:

[0109] Step 1041: Initialize multiple clusters.

[0110] In this embodiment, the stores may be clustered using an unsupervised clustering method, where the stores are clustered mainly based on similarities in historical business data.

[0111] In unsupervised clustering, multiple clusters can be set, and the center points can be set randomly or in other ways so that each cluster has a center point.

[0112] Step 1042: For each store, extract business characteristics from the store's historical business data.

[0113] In this embodiment, each store can be traversed, and business features can be extracted from the historical business data of each store. The store can be characterized by the business features, thereby converting the store into a point in a multi-dimensional space.

[0114] Exemplarily, the business characteristics include at least one of the first location, sales data, and inventory data.

[0115] Step 1043: For each store, calculate the first distance between the business characteristics and each center point.

[0116] In this embodiment, each store can be traversed, each store can be paired with each cluster, and the first distance (such as Euclidean distance, etc.) between the business characteristics corresponding to each store and the center point in each cluster can be calculated to represent the first distance between each store and each cluster.

[0117] Step 1044: For each store, divide the store into the cluster with the smallest first distance.

[0118] In this embodiment, each store can be traversed, the first distance between each store and each cluster can be compared, and the smallest first distance can be screened out for each store, so that each store can be divided into a cluster with the smallest first distance.

[0119] Step 1045: If all stores are divided, for each cluster, the average value of all business characteristics in the cluster is assigned to the center point.

[0120] If all stores are divided into clusters, then in each cluster, the average value of the business characteristics of all stores in each cluster is calculated, and the average value is assigned to the center point to update the center point.

[0121] Step 1046: Calculate the total loss value of multiple clusters as a whole while taking into account the storage and transportation service costs of the goods.

[0122] In practical applications, the overall losses of multiple clusters during clustering can be calculated while taking into account the storage and transportation service costs of the goods, and recorded as the total loss value.

[0123] In one embodiment of the present invention, step 1046 may further include the following steps:

[0124] Step 10461: For each store, assuming that a warehouse is set up in the area where the store is located, calculate the cost of providing storage and transportation services for goods from the warehouse to the store.

[0125] In this embodiment, each store can be traversed, and the cost of providing storage and transportation services for goods from the warehouse to the store can be calculated, assuming that a warehouse is set up in the area where the store is located to provide storage and transportation services for goods to the store.

[0126] In the specific implementation, for each store, the shipment volume of the store can be queried from business systems such as ERP.

[0127] Assuming that a warehouse is set up in the area where the store is located (such as a city, district, etc.), the cost of renting a warehouse in the area where the store is located is queried. The cost of renting a warehouse can be simplified to the average price of renting a warehouse, or it can be a value that integrates factors such as the average price of renting a warehouse, the cost of renovating the warehouse when renting the warehouse, and the traffic data around the warehouse.

[0128] The cost of providing storage and transportation services for goods from the warehouse to the store is calculated by combining the shipment volume and the price; wherein, the cost is positively correlated with the shipment volume, that is, the higher the shipment volume of the store, the higher the cost of providing storage and transportation services for goods from the warehouse to the store, and conversely, the lower the shipment volume of the store, the lower the cost of providing storage and transportation services for goods from the warehouse to the store; in addition, the cost is negatively correlated with the price, that is, the higher the cost of renting a warehouse in the area where the store is located, the lower the cost of providing storage and transportation services for goods from the warehouse to the store, and conversely, the lower the cost of renting a warehouse in the area where the store is located, the higher the cost of providing storage and transportation services for goods from the warehouse to the store.

[0129] For example, the inverse of the cost can be taken to obtain the inverse cost of providing storage and transportation services for goods from the warehouse to the store; the product of the shipment volume and the inverse cost is calculated as the cost of providing storage and transportation services for goods from the warehouse to the store.

[0130] In this example, the cost of providing storage and transportation services for goods from the warehouse to the stores can be expressed as:

[0131] u i =w i *(1 / u cost )

[0132] Among them, u i is the cost of providing storage and transportation services for goods from the warehouse to store i, w i is the shipment volume of store i, u cost is the cost of renting a warehouse in the area where store i is located (especially the average price).

[0133] Step 10462: For each store, convert the first distance between the business characteristics and each center point into a deviation value between the business characteristics and each center point.

[0134] In this embodiment, each store can be traversed, and the first distance between the business characteristics of each store and the center point of each cluster can be converted into a deviation value between the business characteristics of each store and the center point of each cluster.

[0135] Among them, the deviation value is positively correlated with the first distance, that is, the larger the first distance between the business characteristics of each store and the center point of each cluster, the larger the deviation value between the business characteristics of each store and the center point of each cluster; conversely, the smaller the first distance between the business characteristics of each store and the center point of each cluster, the smaller the deviation value between the business characteristics of each store and the center point of each cluster.

[0136] Exemplarily, for each store, the first distance between the business characteristics of each store and the center point of each cluster is squared to obtain the deviation value between the business characteristics of each store and the center point of each cluster.

[0137] Step 10463: For each store, the cost and deviation value are integrated into the weight between the business characteristics and each center point.

[0138] In this embodiment, each store can be traversed, and the cost of providing storage and transportation services for goods from the local warehouse to each store, as well as the deviation value between the business characteristics of each store and the center point of each cluster can be integrated into the weight between the business characteristics of each store and the center point of each cluster in a linear or nonlinear manner.

[0139] Exemplarily, for each store, the product of cost and deviation is calculated as the weight between the business characteristics and each center point.

[0140] Step 10464: For each cluster, add up all weights in the cluster to obtain a sub-loss value.

[0141] In this embodiment, each cluster can be traversed, and the weights between the business characteristics of all stores in each cluster and the center point of each cluster can be added to obtain the sub-loss value of each cluster.

[0142] Step 10465: Add the sub-loss values ​​of multiple clusters to obtain the total loss value of multiple clusters as a whole.

[0143] In this embodiment, the sub-loss values ​​of each cluster are added together to obtain the total loss value of multiple clusters as a whole.

[0144] For example, the total loss value of multiple clusters as a whole can be expressed as follows:

[0145]

[0146] Among them, J(C) is the total loss value of multiple clusters C as a whole, x i is the business characteristics of store i, C k is the center point of cluster k, K is the number of clusters, u i is the weight corresponding to store i.

[0147] During the clustering process, we tend to look for areas with large store shipments and low warehouse rental costs (especially average prices) as the center of the cluster. Stores with large shipments and low warehouse rental costs can help reduce storage costs and transportation costs, thereby reducing overall operating costs.

[0148] Step 1047, determine whether the total loss value meets the preset clustering condition; if so, execute step 1048; if not, return to execute step 1043.

[0149] Step 1048: Output multiple clusters.

[0150] Each time the center point is updated, it can be determined whether the total loss value of multiple clusters as a whole meets the preset clustering conditions, for example, the total loss value is less than the preset threshold, the total loss value no longer changes (that is, the difference between the new and old total loss values ​​is less than the preset threshold), and so on.

[0151] If the preset clustering conditions are met, clustering is considered complete, and multiple clusters and the stores they contain are output.

[0152] If the preset clustering condition is not met, the process may return to step 1043 to step 1047 and enter the next iteration until clustering is completed.

[0153] Step 105: Select a warehouse that provides storage and transportation services for goods for stores in each cluster based on the service data.

[0154] In this embodiment, the service data of each warehouse may be analyzed to select a warehouse that provides storage and transportation services for goods to stores in each cluster.

[0155] In a specific implementation, the service data includes a service range and a second location; then, the service range of each warehouse can be compared with the center point (location) of each cluster.

[0156] If the center point (location) of the cluster is located in the service range of a warehouse, a second distance (such as Euclidean distance, etc.) between the center point (location) of the cluster and the second location of the warehouse is calculated.

[0157] The second distances corresponding to the cluster are compared, the smallest second distance is screened out, and it is determined that the stores in the cluster are provided with storage and transportation services for goods by the warehouse corresponding to the smallest second distance.

[0158] like Figure 2 As shown, in business systems such as BI (Business Intelligence), the relationship between the storage and transportation services of goods provided by various warehouses to various stores can be displayed on the user interface, providing a reference for management users to select warehouses.

[0159] Based on some actual data from 2022, the cost of renting a warehouse was reduced by 8.9% and the transportation cost was reduced by 54.81% by applying this embodiment to select warehouses.

[0160] In this embodiment, multiple stores and multiple warehouses that provide storage and transportation services for multiple stores are determined; the historical business data recorded by multiple stores when selling goods are queried; the service data recorded by multiple warehouses when providing storage and transportation services for multiple stores are queried; the multiple stores are clustered into multiple clusters based on the historical business data while taking into account the storage and transportation service costs of goods; and the warehouses that provide storage and transportation services for stores in each cluster are selected based on the service data. This embodiment converts the storage and transportation service costs of goods into clustering factors, so that the storage and transportation service costs of goods are affected in the process of clustering stores. The clustering results can optimize the storage and transportation service costs of goods, provide a multi-dimensional reference for the location selection of warehouses, reduce dependence on staff, reduce the influence of staff subjectivity, reduce the deviation between store demand and warehouse operation conditions, and effectively reduce overall operating costs.

[0161] Embodiment 2

[0162] See also Figure 3 , shows a schematic diagram of the structure of a warehouse location selection device provided by Embodiment 2 of the present invention. Figure 3 As shown, the device comprises:

[0163] A business information determination module 301 is used to determine a plurality of stores and a plurality of warehouses that provide storage and transportation services for the plurality of stores;

[0164] A historical business data query module 302 is used to query the historical business data recorded by the plurality of stores when selling goods;

[0165] A service data query module 303 is used to query the service data recorded when the multiple warehouses provide storage and transportation services for the multiple stores;

[0166] A store clustering module 304 is used to cluster the plurality of stores into a plurality of clusters according to the historical business data while taking into account the storage and transportation service costs of goods;

[0167] The warehouse selection module 305 is used to select a warehouse that provides storage and transportation services for goods for the stores in each of the clusters according to the service data.

[0168] In one embodiment of the present invention, the store clustering module 304 includes:

[0169] A cluster initialization module, used for initializing a plurality of clusters; the clusters have a center point;

[0170] A business feature extraction module, configured to extract business features from the historical business data of each store; the business features include at least one of the first location, sales data, and inventory data;

[0171] A first distance calculation module, used for calculating, for each of the stores, a first distance between the business feature and each of the center points;

[0172] a store division module, used for dividing each of the stores into the cluster with the smallest first distance;

[0173] A center point updating module, for assigning the average value of all the business characteristics in the cluster to the center point for each cluster after all the stores are divided;

[0174] A total loss value calculation module, used to calculate the total loss value of the plurality of clusters as a whole while taking into account the storage and transportation service costs of the goods;

[0175] A clustering condition judgment module is used to judge whether the total loss value meets the preset clustering condition; if so, the cluster output module is executed; if not, the distance calculation module is returned to execute;

[0176] The cluster output module is used to output a plurality of the clusters.

[0177] In one embodiment of the present invention, the total loss value calculation module includes:

[0178] A cost calculation module, for each of the stores, assuming that a warehouse is set up in the area where the store is located, to calculate the cost of providing storage and transportation services for goods from the warehouse to the store;

[0179] a deviation value conversion module, used for converting the first distance between the business characteristic and each of the center points into a deviation value between the business characteristic and each of the center points for each of the stores; the deviation value is positively correlated with the first distance;

[0180] A weight fusion module, used for fusing the cost and the deviation value into a weight between the business characteristics and each of the center points for each of the stores;

[0181] A sub-loss value calculation module, used for adding all the weights in the cluster for each cluster to obtain a sub-loss value;

[0182] The sub-loss value adding module is used to add the sub-loss values ​​of the multiple clusters to obtain the total loss value of the multiple clusters as a whole.

[0183] In one embodiment of the present invention, the cost calculation module includes:

[0184] A shipment volume query module, used to query the shipment volume of each store;

[0185] A cost query module, used to query the cost of renting a warehouse in the area where the store is located, assuming that a warehouse is set up in the area where the store is located;

[0186] The cost combination module is used to combine the shipment volume and the cost to calculate the cost of providing storage and transportation services for goods from the warehouse to the store; the cost is positively correlated with the shipment volume and negatively correlated with the cost.

[0187] In an example of implementation of the present invention, the cost combination module is further used for:

[0188] Taking the inverse of the cost, obtaining the inverse cost of providing storage and transportation services of goods from the warehouse to the store;

[0189] The product of the shipment volume and the inverse cost is calculated as the cost of providing storage and transportation services of goods from the warehouse to the store.

[0190] In an example of the implementation of the present invention, the deviation value conversion module is further used for:

[0191] For each of the stores, square the first distance between the business feature and each of the center points to obtain a deviation value between the business feature and each of the center points;

[0192] The weight fusion module is also used for:

[0193] For each of the stores, the product of the cost and the deviation value is calculated as the weight between the business characteristics and each of the center points.

[0194] In one embodiment of the present invention, the service data includes a service range and a second location;

[0195] The warehouse selection module 305 includes:

[0196] a second distance calculation module, configured to calculate a second distance between the center point of the cluster and the second position of the warehouse if the center point of the cluster is located within the service range of a certain warehouse;

[0197] The warehouse determination module is used to determine that the store in the cluster has the smallest second distance corresponding to the warehouse that provides storage and transportation services for goods.

[0198] The warehouse site selection device provided in the embodiment of the present invention can execute the warehouse site selection method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the warehouse site selection method.

[0199] Embodiment 3

[0200] See also Figure 4 , shows a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, blade servers, mainframe computers, and other suitable computers. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0201] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0202] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0203] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the warehouse site selection method.

[0204] In some embodiments, the warehouse site selection method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the warehouse site selection method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the warehouse site selection method in any other appropriate manner (e.g., by means of firmware).

[0205] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0206] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0207] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 foregoing.

[0208] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0209] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0210] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0211] Embodiment 4

[0212] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the warehouse site selection method provided in any embodiment of the present invention.

[0213] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can 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 can 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 can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0214] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0215] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A warehouse site selection method, characterized in that: include: Determine a plurality of stores and a plurality of warehouses that provide storage and transportation services for the plurality of stores; Query the historical business data recorded by multiple stores when selling goods; Querying the service data recorded when the multiple warehouses provide storage and transportation services for the multiple stores; Under the condition of taking into account the storage and transportation service costs of goods, clustering the plurality of stores into a plurality of clusters according to the historical business data; A warehouse providing storage and transportation services of goods for the stores in each of the clusters is selected according to the service data.

2. The method according to claim 1, characterized in that: The clustering of the plurality of stores into a plurality of clusters according to the historical business data while taking into account the storage and transportation service costs of the goods includes: Initializing a plurality of clusters; the clusters have a center point; For each of the stores, extracting business characteristics from the historical business data of the store; the business characteristics include at least one of the first location, sales data, and inventory data; For each of the stores, calculating a first distance between the business characteristic and each of the center points; For each of the stores, group the store into the cluster with the smallest first distance; If all the stores are divided, for each cluster, the average value of all the business characteristics in the cluster is assigned to the center point; Under the condition of taking into account the storage and transportation service costs of the goods, calculating the total loss value of the plurality of clusters as a whole; Determine whether the total loss value meets the preset clustering condition; if so, output a plurality of the clusters; if not, return to execute the calculation of the first distance between the business characteristics and each of the center points for each of the stores.

3. The method according to claim 2, characterized in that The calculating of the total loss value of the plurality of clusters as a whole under the condition of taking into account the storage and transportation service costs of the goods comprises: For each of the stores, assuming that a warehouse is set up in the area where the store is located, calculate the cost of providing storage and transportation services for goods from the warehouse to the store; For each of the stores, converting the first distance between the business feature and each of the center points into a deviation value between the business feature and each of the center points; the deviation value is positively correlated with the first distance; For each of the stores, the cost and the deviation value are merged into a weight between the business characteristics and each of the center points; For each of the clusters, all the weights in the cluster are added together to obtain a sub-loss value; The sub-loss values ​​of the multiple clusters are added together to obtain the total loss value of the multiple clusters as a whole.

4. The method according to claim 3, characterized in that For each of the stores, assuming that a warehouse is set up in the area where the store is located, the cost of providing storage and transportation services for goods from the warehouse to the store is calculated, including: For each of the stores, query the shipment volume of the store; Assuming that a warehouse is set up in the area where the store is located, query the cost of renting a warehouse in the area where the store is located; The cost of providing storage and transportation services for goods from the warehouse to the store is calculated in combination with the shipment volume and the cost; the cost is positively correlated with the shipment volume and negatively correlated with the cost.

5. The method according to claim 4, characterized in that The calculation of the cost of providing storage and transportation services for goods from the warehouse to the store in combination with the shipment volume and the cost includes: Taking the inverse of the cost, obtaining the inverse cost of providing storage and transportation services of goods from the warehouse to the store; The product of the shipment volume and the inverse cost is calculated as the cost of providing storage and transportation services of goods from the warehouse to the store.

6. The method according to claim 3, characterized in that: The converting, for each of the stores, the first distance between the business feature and each of the center points into a deviation value between the business feature and each of the center points comprises: For each of the stores, square the first distance between the business feature and each of the center points to obtain a deviation value between the business feature and each of the center points; For each of the stores, the cost and the deviation value are merged into a weight between the business characteristics and each of the center points, including: For each of the stores, the product of the cost and the deviation value is calculated as the weight between the business characteristics and each of the center points.

7. The method according to any one of claims 1 to 6, characterized in that The service data includes a service range and a second location; The step of selecting a warehouse that provides storage and transportation services for goods for the stores in each of the clusters according to the service data includes: If the center point of the cluster is located in the service range of a certain warehouse, calculating a second distance between the center point of the cluster and the second position of the warehouse; Determine that the store in the cluster provides storage and transportation services for goods from the warehouse corresponding to the store with the shortest second distance.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so as to enable the at least one processor to execute the warehouse site selection method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the warehouse site selection method according to any one of claims 1 to 7 is implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the warehouse site selection method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Warehouse site selection method and device, equipment and storage medium

    CN114091993A

  • Warehouse site selection method

    CN114926109A

  • Method and device for determining service site, electronic equipment and storage medium

    CN115689454A

  • Vehicle routing and optimization system and a method thereof

    WO2022245311A1