Order parcel number determination method and device, electronic equipment and storage medium

By optimizing the order packaging order based on the difference in the package coefficient and picking channel number, the problem of low order packaging efficiency in the existing technology is solved, and more efficient delivery and resource utilization is achieved.

CN119067554APending Publication Date: 2024-12-03BEIJING JINGDONG QIANSHITECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310621931.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-30
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The existing order packaging method is inefficient, resulting in long shipping times and serious waste of resources.

Method used

By determining the sequence of goods in the pending order, packaging is carried out from large to small according to the parcel coefficient, and determining the order of goods placed according to the picking channel number difference, parcel calculation is optimized to improve shipment efficiency and reduce resource waste.

Benefits of technology

It shortens order time and material loss, improves delivery efficiency and resource utilization in the package packaging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119067554A_ABST
    Figure CN119067554A_ABST
Patent Text Reader

Abstract

The invention provides an order parcel number determination method and device, electronic equipment and a storage medium, and the method comprises the steps: firstly, determining and traversing a first commodity sequence of a to-be-processed order, so as to determine a first residual parcel coefficient of a first parcel and a first commodity number; and when the first residual parcel coefficient is greater than any residual commodity parcel coefficient, determining a second commodity of the first parcel according to a first difference value between the residual commodity and the picking channel number of the first commodity and the parcel coefficient of the residual commodity. And updating the first commodity sequence based on the number of the first commodities and the number of the second commodities in the first package and the number of each commodity in the first commodity sequence to generate a second commodity sequence. And when the second commodity sequence is not empty, returning to execute the package calculation operation until the updated commodity sequence is empty. Therefore, the commodities in the order are packaged according to the package coefficients of the commodities from large to small, and the commodities with short picking distance are packaged together, so that the delivery efficiency is ensured, and the time consumption of the order is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for determining the quantity of order packages. Background Art

[0002] In the existing order packaging process, it is necessary to calculate the number of packages to be packaged, and then process the package data in the warehouse. When the package data is reviewed, it is packaged according to the generated package data. Currently, the commonly used package packaging methods are order production and package production. Order production requires that all the goods of an order are produced and collected before packaging and delivery.

[0003] However, this packaging method has low delivery efficiency and takes a long time to complete orders. Summary of the invention

[0004] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.

[0005] To this end, the purpose of the present disclosure is to propose a method, device, electronic device, non-transitory computer-readable storage medium storing computer instructions, and computer program product for determining the number of order packages, which optimizes package calculation, improves delivery efficiency, saves resources, and reduces the cost of package packaging by using package production in the warehouse.

[0006] To achieve the above-mentioned purpose, the method for determining the number of order packages proposed in the first aspect of the present disclosure includes:

[0007] Determine a first commodity sequence corresponding to the pending order, wherein the first commodity sequence includes the quantity of each commodity, the corresponding package coefficient and the picking channel number, wherein the package coefficient is used to represent the maximum quantity of the commodity that can be placed in each package;

[0008] Traversing the first commodity sequence in descending order based on the package coefficients to determine the quantity of the first commodity contained in the first package and the first remaining package coefficient of the first package, wherein the package coefficient corresponding to the first commodity is the largest;

[0009] When the first remaining package coefficient is non-zero and greater than the package coefficient corresponding to at least one remaining commodity, a second commodity to be placed in the first package is determined from the at least one remaining commodity according to a first difference between a first picking channel number corresponding to the first commodity and a second picking channel number corresponding to the at least one remaining commodity, and the package coefficient corresponding to the at least one remaining commodity;

[0010] Based on the quantity of the first product contained in the first package, the quantity of the second product, and the quantity of each product contained in the first product sequence, the first product sequence is updated to obtain a second product sequence;

[0011] When the second product sequence is not empty, the operation of traversing the product sequence is returned to determine the second package corresponding to the pending order, until the updated product sequence is empty.

[0012] To achieve the above-mentioned purpose, the device for determining the number of order packages proposed in the second aspect of the present disclosure includes:

[0013] A first determination module is used to determine a first commodity sequence corresponding to the pending order, wherein the first commodity sequence includes the quantity of each commodity, the corresponding package coefficient and the picking channel number, wherein the package coefficient is used to represent the maximum quantity of the commodity that can be placed in each package;

[0014] A second determination module is configured to traverse the first commodity sequence based on the package coefficients in descending order to determine the quantity of the first commodity contained in the first package and the first remaining package coefficient of the first package, wherein the package coefficient corresponding to the first commodity is the largest;

[0015] A third determining module is configured to determine, when the first remaining package coefficient is non-zero and greater than the package coefficient corresponding to at least one remaining commodity, a second commodity to be placed in the first package from the at least one remaining commodity according to a first difference between a first picking channel number corresponding to the first commodity and a second picking channel number corresponding to the at least one remaining commodity, and the package coefficient corresponding to the at least one remaining commodity;

[0016] an acquisition module, configured to update the first commodity sequence based on the quantity of the first commodity contained in the first package, the quantity of the second commodity, and the quantity of each commodity contained in the first commodity sequence, so as to acquire a second commodity sequence;

[0017] The fourth determining module is used to return to executing the operation of traversing the product sequence when the second product sequence is not empty, so as to determine the second package corresponding to the to-be-processed order, until the updated product sequence is empty.

[0018] The electronic device proposed in the third aspect embodiment of the present disclosure includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method for determining the number of order packages proposed in the first aspect embodiment of the present disclosure is implemented.

[0019] The fourth aspect embodiment of the present disclosure proposes a non-temporary computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the method for determining the number of order packages as proposed in the first aspect embodiment of the present disclosure.

[0020] The fifth aspect embodiment of the present disclosure proposes a computer program product. When the instructions in the computer program product are executed by a processor, the method for determining the number of order packages proposed in the first aspect embodiment of the present disclosure is executed.

[0021] The present disclosure provides a method, device, electronic device, non-transitory computer-readable storage medium storing computer instructions, and computer program product for determining the number of order packages. First, determine the first commodity sequence corresponding to the pending order, and traverse the first commodity sequence in descending order based on the package coefficient to determine the number of the first commodity contained in the first package and the first remaining package coefficient of the first package. When the first remaining package coefficient is non-zero and greater than the package coefficient corresponding to at least one remaining commodity, determine the second commodity to be placed in the first package from the at least one remaining commodity according to the first difference between the first picking channel number corresponding to the first commodity and the second picking channel number corresponding to the at least one remaining commodity, and the package coefficient corresponding to the at least one remaining commodity. Then, based on the number of the first commodity contained in the first package, the number of the second commodity, and the number of each commodity contained in the first commodity sequence, update the first commodity sequence to obtain the second commodity sequence. When the second commodity sequence is not empty, return to perform the operation of traversing the commodity sequence to determine the second package corresponding to the pending order until the updated commodity sequence is empty. Therefore, by packaging the goods in the order from large to small according to the packaging coefficient of the goods, and at the same time allocating the goods with a short picking distance into one package as much as possible, it not only ensures the delivery efficiency and shortens the order time, but also greatly reduces the material loss in the order packaging process.

[0022] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0024] Figure 1 is a flowchart of a method for determining the number of order packages proposed in an embodiment of the present disclosure;

[0025] Figure 2 is a flowchart of a method for determining the number of order packages proposed in an embodiment of the present disclosure;

[0026] Figure 3 It is a structural schematic diagram of a device for determining the number of order packages proposed in an embodiment of the present disclosure;

[0027] Figure 4 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0028] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present disclosure, and are not to be construed as limitations of the present disclosure. On the contrary, the embodiments of the present disclosure include all changes, modifications, and equivalents that fall within the spirit and connotation of the appended claims.

[0029] For ease of explanation, the following embodiments of the present disclosure are explained with the total space volume of each package being 1000.

[0030] Figure 1 It is a flowchart of a method for determining the number of order packages proposed in an embodiment of the present disclosure.

[0031] like Figure 1 As shown, the method for determining the number of packages in the order includes:

[0032] S101: Determine a first commodity sequence corresponding to a pending order, wherein the first commodity sequence includes the quantity of each commodity, a corresponding package coefficient, and a picking channel number, wherein the package coefficient is used to characterize the amount of package space required for each commodity.

[0033] Among them, pending orders are orders that need to be packaged.

[0034] The first product sequence is a sequence of products included in the order to be processed, which is determined by the business platform after the order to be processed is located.

[0035] The commodity quantity is used to represent the quantity of commodities included in the pending order.

[0036] The package coefficient may be an integer or a decimal. For example, if a product A needs to occupy 20% of the package space, the package coefficient of product A is 0.2, or it may also be 20%, etc. For another example, if a product B needs to occupy 1 / 3 of the package space, the package coefficient of product B may be 0.333, or it can also be expressed as 33.3%, or it can also be expressed as 333, etc. The form of the package coefficient can be set by the business platform as needed, and its size is related to the product size (the size of the package space occupied). For example, the package coefficient can be determined by the ratio of the product to the package space occupied.

[0037] For example, a 30*60 package can pack 3 items of item A, that is, item A needs to occupy 1 / 3 of the package space, and the packing factor of the 30*60 package corresponding to item A is 0.333, which can also be expressed as 33.3%. A 40*60 package can pack 5 items of item A, that is, item A needs to occupy 1 / 5 of the package space, and the packing factor of the 40*60 package corresponding to item A is 0.2, which can also be expressed as 20%.

[0038] The picking channel number may be the shelf number where the goods to be packaged are located, or each channel in the warehouse may be numbered and then the channel number from which the goods can be picked up may be used.

[0039] For example, suppose there is a pending order, including 2 items of item a, 3 items of item b, and 10 items of item c, where the package factor of item a is 333.3, the package factor of item b is 250, and the package factor of item c is 50 (the total amount of a package is 1000). Then the first item sequence is: item a: quantity is 2, package factor is 333.3, and the picking channel number is 5; item b: quantity is 3, package factor is 250, and the picking channel number is 4; item c: quantity is 10, package factor is 50, and the picking channel number is 3.

[0040] In some possible implementations, since different warehouses have different requirements for package splitting, the business platform can first determine the target warehouse corresponding to the pending order after determining the pending order. Then, based on the current order configuration parameters of the target warehouse, if the pending order is determined to be a package splittable order, the package splitting calculation is performed.

[0041] The parameters may be configured by the warehouse manager, or may be automatically generated by the business platform according to information such as the current order delivery speed of the warehouse, etc. This disclosure does not limit this.

[0042] The business platform determines whether the package can be split according to the order configuration parameters of the target warehouse. If it can be split, it is package production, otherwise, it is order production. If it is order production, only one package is generated for one order. If it is package production, it can first determine whether there are fragile or odor-prone goods. If there are fragile or odor-prone goods, they will be packaged separately, and the remaining goods will continue to execute the package splitting process.

[0043] S102: Traverse the first product sequence in descending order based on the package coefficients to determine the quantity of the first product contained in the first package and the first remaining package coefficient of the first package, wherein the package coefficient corresponding to the first product is the largest.

[0044] The first remaining package coefficient is the amount of package space remaining after the first package is loaded with the first commodity.

[0045] Taking the above example as an example, the first product sequence is scanned in descending order of package coefficients, and it can be seen that the package coefficients of each product are: a>b>c. It can be seen that the first product in the first package is product a. According to the package coefficient of product a, the first package can contain up to 3 a's, but since the number of a's in the first product sequence is 2, the number of a's contained in the first package is 2. At this time, the first remaining package coefficient is 1000-333.3-333.3=333.4.

[0046] S103: When the first remaining package coefficient is non-zero and greater than the package coefficient corresponding to at least one remaining commodity, determine the second commodity to be placed in the first package from the at least one remaining commodity according to a first difference between a first picking channel number corresponding to the first commodity and a second picking channel number corresponding to the at least one remaining commodity, and the package coefficient corresponding to the at least one remaining commodity.

[0047] The first difference is the distance between the first picking channel corresponding to the first commodity and the second picking channel corresponding to each of the at least one remaining commodity.

[0048] Taking the above example, the first remaining package coefficient is 333.4, which is greater than the package coefficients of goods b and c. Therefore, the difference between the first picking channel number corresponding to product a and the second picking channel numbers corresponding to products b and c can be calculated as: 5-4 = 1, and 5-3 = 2. In other words, the distance between the second picking channel where product b is located and the first picking channel where product a is located is smaller.

[0049] At this time, the business system can determine the second product to be placed in the first package by comprehensively considering the picking distance, the first remaining package coefficient and the package coefficient corresponding to at least one remaining product.

[0050] In some possible implementation forms, the commodity with the shortest picking distance may be determined as the second commodity to be placed in the first package, so that the picking distance of the package can be reduced as much as possible, thereby increasing the speed of completing the picking of the package.

[0051] Alternatively, if the corresponding first differences of the remaining commodities are all equal, the commodity with the smallest difference between the corresponding package coefficient and the first remaining package coefficient can be determined as the second commodity, thereby ensuring that the space of the first package can be utilized to the maximum extent and reducing the waste of resources.

[0052] Taking the above example, the distance between the second picking channel where product b is located and the first picking channel where product a is located is smaller, that is, the first difference corresponding to product b is the smallest. Therefore, product b can be determined as the second product placed in the first package.

[0053] In the present disclosure, by calculating the first difference between the picking channel number of the first commodity and the picking channel numbers corresponding to the remaining commodities, the commodity with the smallest first difference is selected (if there are multiple identical smallest first differences, the commodity with the largest packaging coefficient is selected), that is, the commodity closest to the shelf or picking channel of the first commodity, thereby reducing the picking distance and time in the packaging process, increasing the packaging speed of commodities, improving the order delivery efficiency, and shortening the order time.

[0054] S104: Based on the quantity of the first product contained in the first package, the quantity of the second product, and the quantity of each product contained in the first product sequence, the first product sequence is updated to obtain a second product sequence.

[0055] The second product sequence is a product sequence remaining after removing the products in the first product sequence that have been packaged into the first package.

[0056] Taking the above example, after the first package is completed, the second product sequence is: Product b: quantity is 2, package coefficient is 250, picking channel number is 4; Product c: quantity is 9, package coefficient is 50, picking channel number is 3.

[0057] S105: Determine whether the second product sequence is empty. If not, return to step S102. Otherwise, end.

[0058] In the present disclosure, if the second product sequence is not empty, there are products that have not been packaged in the pending order. At this time, the first package can no longer package the products, so the packaging process of the first package is terminated. At this time, a package master file data and corresponding product details can be generated for the order to facilitate the packaging system to package. At the same time, the business system can regenerate the second package based on the above process, first scan the second product sequence from large to small according to the package coefficient to determine the first product of the second package, and repeat the previous package splitting process until the nth product sequence is empty.

[0059] The second package is a new package generated when the first package cannot continue to pack goods and the second product sequence is not empty.

[0060] The package master file is a data record related to the package generated by the business platform after the package is packed, which contains the package details. If an order requires several packages, there will be several package master file data.

[0061] The package details are the product ID and quantity in the package. If there are several products in a package, there will be several package details. The same product can be stored as one piece of data. For example, the first package has three package details: product a: quantity 2; product b: quantity 1; product c: quantity 1.

[0062] Taking the above example, after the first package is completed, the second product sequence is: Product b: quantity is 2, package coefficient is 250, picking channel number is 4; Product c: quantity is 9, package coefficient is 50, picking channel number is 3. If the second product sequence is not empty, the process returns to step S102, that is, the remaining products continue to perform package splitting calculation.

[0063] In the embodiment of the present disclosure, after determining the first commodity sequence corresponding to the pending order, the first commodity sequence is first traversed in descending order based on the package coefficient to determine the number of the first commodity contained in the first package and the first remaining package coefficient of the first package. When the first remaining package coefficient is non-zero and greater than the package coefficient corresponding to at least one remaining commodity, the second commodity to be placed in the first package is determined from the at least one remaining commodity according to the first difference between the first picking channel number corresponding to the first commodity and the second picking channel number corresponding to the at least one remaining commodity, and the package coefficient corresponding to the at least one remaining commodity. Then, based on the number of the first commodity contained in the first package, the number of the second commodity, and the number of each commodity contained in the first commodity sequence, the first commodity sequence is updated to obtain the second commodity sequence. When the second commodity sequence is not empty, the operation of traversing the commodity sequence is returned to determine the second package corresponding to the pending order until the updated commodity sequence is empty. Thus, by packaging the commodities in the order according to the package coefficients of the commodities from large to small, and at the same time allocating the commodities with close picking distances into one package as much as possible, not only the delivery efficiency is guaranteed, the order time is shortened, but also the material loss in the order packaging process is greatly reduced.

[0064] Figure 2 It is a flowchart of a method for determining the number of order packages proposed in an embodiment of the present disclosure.

[0065] like Figure 2 As shown, the method for determining the number of packages in the order includes:

[0066] S201: Determine the target warehouse corresponding to the order to be processed.

[0067] The target warehouse is the business-related backend management system that assigns pending orders to a certain warehouse or warehouses based on the delivery address of the pending orders or the warehouse address where the goods in the order are located. When the order is generated, the target warehouse has been determined.

[0068] S202: According to the current order configuration parameters of the target warehouse, it is determined that the order to be processed is a package splittable order.

[0069] The order configuration parameters may be configured by the warehouse manager, or may be automatically generated by the business platform according to information such as the current order delivery speed of the warehouse, etc. This disclosure does not limit this.

[0070] In the present disclosure, the business system determines whether the package can be split according to the order configuration parameters of the target warehouse. If it can be split, it is package production, otherwise, it is order production. When order production, only one package is generated for one order. When the package is produced, it is necessary to first determine whether there are fragile or odor-prone goods in the order. If there are fragile or odor-prone goods, these goods will be packaged separately, and the remaining goods will continue to execute the package splitting process.

[0071] S203: Determine a first commodity sequence corresponding to the order to be processed, wherein the first commodity sequence includes the quantity of each commodity, the corresponding package coefficient and the picking channel number, wherein the package coefficient is used to characterize the amount of package space required for each commodity.

[0072] S204: Traverse the first product sequence in descending order based on the package coefficients to determine the quantity of the first product contained in the first package and the first remaining package coefficient of the first package, wherein the package coefficient corresponding to the first product is the largest.

[0073] The specific implementation forms of the above S203 and S204 can refer to the detailed description of other embodiments of the present disclosure, which will not be repeated here.

[0074] S205: When the first remaining package coefficient is zero or the first remaining package coefficient is less than the package coefficient corresponding to each remaining product, the first product sequence is updated based on the quantity of the first product included in the first package and the quantity of the first product included in the first product sequence to obtain a third product sequence.

[0075] For example, suppose there is an order to be processed, and the first product sequence is: product a: quantity is 4, package coefficient is 333.3, and picking channel number is 5; product b: quantity is 2, package coefficient is 250, and picking channel number is 4. According to the package coefficient, the first product sequence is traversed from large to small, and product a is the first product. Package product a one by one, 1000-333.3-333.3-333.3=0.1. After the first package packs 3 pieces of product a, since the first remaining package coefficient is 0.1<333.3, 0.1<250, it means that the first package can no longer pack products. At this time, the first product sequence can be directly updated based on the quantity of the first product packed in the first package. After removing the packaged products in the first package, the third product sequence is obtained: product a: quantity is 1, package coefficient is 333.3, and picking channel number is 5; product b: quantity is 2, package coefficient is 250, and picking channel number is 4.

[0076] S206: If the updated product sequence is not empty, return to S204 to determine the third package corresponding to the pending order, otherwise end.

[0077] In the present disclosure, the updated product needs, that is, the third product sequence. If the third product sequence is not empty, it means that there are still products that have not been packaged in the pending order. At this time, the business system will generate a third package based on the remaining products and re-execute the package splitting calculation.

[0078] Taking the above example, the third product sequence is: product a: quantity 1, package coefficient 333.3, picking channel number 5; product b: quantity 2, package coefficient 250, picking channel number 4. If the third product sequence is not empty, the system needs to continue to generate the second package.

[0079] S207: When the first remaining package coefficient is non-zero and greater than the package coefficient corresponding to at least one remaining commodity, traverse at least one remaining commodity in order of the first difference from small to large, and determine the second remaining package coefficient after the first package is placed in the remaining commodity corresponding to the smallest first difference, wherein the first difference is the difference between the first picking channel number corresponding to the first commodity and the second picking channel number corresponding to the at least one remaining commodity.

[0080] The second remaining package coefficient is the amount of package space left after the second product is loaded into the first package.

[0081] In some possible implementations, if the corresponding first differences among the remaining commodities are all equal, the commodities with the smallest difference between the corresponding packaging coefficient and the first remaining packaging coefficient can be placed in the first package, and then the second remaining packaging coefficient of the first package is determined.

[0082] In the present disclosure, the business system calculates the first difference between the picking channel number of the first commodity and the picking channel numbers corresponding to the remaining commodities, traverses the remaining commodities in order of the differences from large to small, selects the commodity with the smallest first difference (or when there are multiple identical minimum first differences, selects the commodity with the smallest difference between the corresponding package coefficient and the first remaining package coefficient) and puts it into the first package, thereby determining the second remaining package coefficient.

[0083] For example, suppose there is an order to be processed, and the first product sequence is: product a: quantity is 2, package coefficient is 333.3, and picking channel number is 5; product b: quantity is 3, package coefficient is 250, and picking channel number is 4; product c: quantity is 10, package coefficient is 50, and picking channel number is 3. According to the package coefficient, after product a is loaded as the first product of the first package, the first remaining package coefficient is 333.4. 333.4 is greater than the package coefficient of product b or product c, and then the products are sorted in order from small to large according to the first difference between the picking channel numbers. The first difference between the picking channel number corresponding to product b and the picking channel number corresponding to product a is 1, and the first difference between the picking channel number corresponding to product c and the picking channel number of product a is 2. Then the product with the smallest first difference is product b. Product b is put into the first package one by one, and the second remaining package coefficient is 333.4-250=83.4.

[0084] S208: When the second remaining package coefficient is zero or the second remaining package coefficient is less than the package coefficient corresponding to each remaining product, determine the remaining product with the smallest corresponding first difference as the second product.

[0085] In the present disclosure, when the business system determines that the second remaining package coefficient is zero, or the second remaining package coefficient is less than the package coefficient corresponding to each remaining product, it means that the first package can no longer continue to pack products. At this time, the remaining product corresponding to the smallest first difference can be determined as the second product.

[0086] Optionally, when the second remaining package coefficient is non-zero and greater than the package coefficient corresponding to at least one remaining product, return to step S207 until the remaining package coefficient of the first package is zero or less than the package coefficient corresponding to each remaining product.

[0087] Taking the above example, the second remaining package coefficient is 333.4-250=83.4. 83.4<250, product b cannot be packed any more, and only product c is left. 83.4>50, product c is packed one by one, and the remaining coefficient after one product c is packed in the first package is 83.4-50=33.4, which is less than the package coefficient of product c. That is to say, after 2 pieces of product a, 1 piece of product b and 1 piece of product c are packed in the first package, no more products can be packed. At this time, it can be determined that the second product is product c.

[0088] In some possible implementation forms, when the first differences corresponding to at least two categories of remaining commodities are both the smallest, the category of commodities having a larger corresponding package coefficient among the at least two categories of remaining commodities is determined as the second commodity to be placed in the first package.

[0089] In the present disclosure, if there are multiple identical minimum first difference values ​​at the same time, the business system will select a type of goods with a larger corresponding package coefficient from the remaining goods, and determine it as the second product to be placed in the first package.

[0090] S209: Based on the quantity of the first product contained in the first package, the quantity of the second product, and the quantity of each product contained in the first product sequence, the first product sequence is updated to obtain a second product sequence.

[0091] Return to step S206 to determine whether the updated product sequence, that is, the second product sequence, is empty. If it is not empty, return to step S204. Otherwise, end.

[0092] The specific implementation form of step S209 can refer to the detailed description in other embodiments of the present disclosure, and will not be described in detail here.

[0093] In the disclosed embodiment, first, the business system determines the target warehouse corresponding to the pending order through positioning, and determines that the pending order is a package-divisible order based on the current order configuration parameters of the target warehouse. When determining that the pending order is a package-divisible order, the first commodity sequence is first traversed in descending order based on the package coefficient to determine the number of the first commodity contained in the first package and the first remaining package coefficient of the first package. After that, based on the picking distance between the remaining commodities and the first commodity and / or the package coefficient of the remaining commodities, the packages corresponding to the remaining commodities are determined until all packages corresponding to the order are determined. Thus, by packaging the commodities in the order from large to small according to the package coefficient of the commodities, and at the same time allocating commodities with a close picking distance into one package as much as possible, not only the delivery efficiency is guaranteed and the order time is shortened, but also the material loss in the order packaging process is greatly reduced.

[0094] Figure 3 It is a structural schematic diagram of a device for determining the number of order packages proposed in an embodiment of the present disclosure.

[0095] like Figure 3 As shown, the device 300 for determining the number of order packages includes:

[0096] The first determination module 301 is used to determine a first commodity sequence corresponding to the pending order, wherein the first commodity sequence includes the quantity of each commodity, the corresponding package coefficient and the picking channel number, wherein the package coefficient is used to represent the maximum quantity of the commodity that can be placed in each package;

[0097] The second determination module 302 is used to traverse the first commodity sequence based on the package coefficient from large to small to determine the quantity of the first commodity contained in the first package and the first remaining package coefficient of the first package, wherein the package coefficient corresponding to the first commodity is the largest;

[0098] The third determining module 303 is configured to determine the second commodity to be placed in the first package from the at least one remaining commodity according to a first difference between the first picking channel number corresponding to the first commodity and the second picking channel number corresponding to the at least one remaining commodity, and the package coefficient corresponding to the at least one remaining commodity, when the first remaining package coefficient is non-zero and greater than the package coefficient corresponding to the at least one remaining commodity;

[0099] An acquisition module 304 is configured to update the first commodity sequence based on the quantity of the first commodity contained in the first package, the quantity of the second commodity, and the quantity of each commodity contained in the first commodity sequence to acquire a second commodity sequence;

[0100] The fourth determining module 305 is used to return to perform the operation of traversing the product sequence when the second product sequence is not empty, so as to determine the second package corresponding to the order to be processed, until the updated product sequence is empty.

[0101] Optionally, the device 300 for determining the number of order packages further includes:

[0102] A return module (not shown in the figure) is used to return to the operation of determining the second product to be placed in the first package from the at least one remaining product when the second remaining package coefficient is non-zero and greater than the package coefficient corresponding to at least one remaining product, until the remaining package coefficient of the first package is zero or less than the package coefficient corresponding to each remaining product.

[0103] Optionally, the first determining module 301 is further configured to:

[0104] Determine the target warehouse for pending orders;

[0105] According to the current order configuration parameters of the target warehouse, the pending order is determined to be a package-separable order.

[0106] Optionally, the third determining module 303 is further configured to:

[0107] Traverse at least one remaining product in the order of the first difference from small to large, and determine the coefficient of the second remaining package after the first package is filled with the remaining product with the smallest first difference;

[0108] When the second remaining package coefficient is zero or the second remaining package coefficient is less than the package coefficient corresponding to each remaining product, the remaining product corresponding to the smallest first difference is determined as the second product;

[0109] When the first differences corresponding to at least two categories of remaining commodities are both the smallest, the commodity of the at least two categories of remaining commodities having a larger corresponding package coefficient is determined as the second commodity to be put into the first package.

[0110] Optionally, the acquisition module 304 is further used to:

[0111] When the first remaining package coefficient is zero, or the first remaining package coefficient is less than the package coefficient corresponding to each remaining product, the first product sequence is updated based on the quantity of the first product included in the first package and the quantity of the first product included in the first product sequence to obtain a third product sequence.

[0112] Optionally, the fourth determining module 305 is further configured to:

[0113] When the third product sequence is not empty, the operation of traversing the product sequence is returned to determine the third package corresponding to the pending order until the updated product sequence is empty.

[0114] The functions and specific implementation principles of the above modules in the embodiments of the present disclosure can be referred to the above method embodiments, and will not be repeated here.

[0115] The device for determining the number of order packages of the embodiment of the present disclosure, first, the business system determines the target warehouse corresponding to the pending order by positioning, and determines that the pending order is a package-separable order according to the current order configuration parameters of the target warehouse. After determining the first commodity sequence corresponding to the pending order, firstly traverse the first commodity sequence based on the package coefficient in descending order to determine the number of the first commodity contained in the first package and the first remaining package coefficient of the first package. When the first remaining package coefficient is non-zero and greater than the package coefficient corresponding to at least one remaining commodity, the second commodity to be placed in the first package is determined from the at least one remaining commodity according to the first difference between the first picking channel number corresponding to the first commodity and the second picking channel number corresponding to the at least one remaining commodity, and the package coefficient corresponding to the at least one remaining commodity. Then, based on the number of the first commodity contained in the first package, the number of the second commodity and the number of each commodity contained in the first commodity sequence, the first commodity sequence is updated to obtain the second commodity sequence. When the second commodity sequence is not empty, return to perform the operation of traversing the commodity sequence to determine the second package corresponding to the pending order until the updated commodity sequence is empty. Therefore, by packaging the goods in the order from large to small according to the packaging coefficient of the goods, and at the same time allocating the goods with a short picking distance into one package as much as possible, it not only ensures the delivery efficiency and shortens the order time, but also greatly reduces the material loss in the order packaging process.

[0116] Figure 4 A block diagram of an exemplary computer device suitable for implementing embodiments of the present disclosure is shown. Figure 4The computer device 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 disclosure.

[0117] like Figure 4 As shown, the computer device 12 is in the form of a general-purpose computing device. The components of the computer device 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).

[0118] The bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnection (PCI) bus.

[0119] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.

[0120] The 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 computer device 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 4 not shown, usually called a "hard drive"). Although Figure 4Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (CD-ROM), a digital versatile disc read only memory (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 memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the various embodiments of the present disclosure.

[0121] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the 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. The program modules 42 generally perform the functions and / or methods of the embodiments described in the present disclosure.

[0122] The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed via an input / output (I / O) interface 22. In addition, the computer device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the computer device 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 computer device 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.

[0123] The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, such as implementing the method mentioned in the above embodiment. In order to implement the above embodiment, the present disclosure also proposes a non-transitory computer-readable storage medium, on which a computer program is stored, and when the program is executed by the processor, the method for determining the number of order packages proposed in the above embodiment of the present disclosure is implemented.

[0124] In order to implement the above embodiments, the present disclosure further proposes a computer program product. When the instructions in the computer program product are executed by a processor, the method for determining the number of order packages proposed in the above embodiments of the present disclosure is executed.

[0125] It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present disclosure, unless otherwise specified, the meaning of "plurality" is two or more.

[0126] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.

[0127] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0128] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0129] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0130] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0131] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0132] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.

Claims

1. A method for determining the number of order packages, characterized in that: The method comprises: Determine a first commodity sequence corresponding to the pending order, wherein the first commodity sequence includes the quantity of each commodity, the corresponding package coefficient, and the picking channel number, wherein the package coefficient is used to characterize the amount of package space required for each commodity; Traversing the first commodity sequence in descending order based on the package coefficients to determine the quantity of the first commodity contained in the first package and the first remaining package coefficient of the first package, wherein the package coefficient corresponding to the first commodity is the largest; When the first remaining package coefficient is non-zero and greater than the package coefficient corresponding to at least one remaining commodity, a second commodity to be placed in the first package is determined from the at least one remaining commodity according to a first difference between a first picking channel number corresponding to the first commodity and a second picking channel number corresponding to the at least one remaining commodity, and the package coefficient corresponding to the at least one remaining commodity; Based on the quantity of the first product contained in the first package, the quantity of the second product, and the quantity of each product contained in the first product sequence, the first product sequence is updated to obtain a second product sequence; When the second product sequence is not empty, the operation of traversing the product sequence is returned to determine the second package corresponding to the pending order, until the updated product sequence is empty.

2. The method according to claim 1, characterized in that Before determining the first product sequence corresponding to the pending order, the method further includes: Determine the target warehouse corresponding to the pending order; According to the current order configuration parameters of the target warehouse, it is determined that the order to be processed is a parcel separable order.

3. The method according to claim 1, characterized in that After determining the quantity of the first commodity contained in the first package and the first remaining package coefficient of the first package, the method further includes: When the first remaining package coefficient is zero or the first remaining package coefficient is less than the package coefficient corresponding to each remaining product, based on the quantity of the first product included in the first package and the quantity of the first product included in the first product sequence, the first product sequence is updated to obtain a third product sequence; When the third product sequence is not empty, the operation of traversing the product sequence is returned to determine the third package corresponding to the pending order, until the updated product sequence is empty.

4. The method according to any one of claims 1 to 3, characterized in that: The determining, according to a first difference between a first picking channel number corresponding to the first commodity and a second picking channel number corresponding to the at least one remaining commodity, and a package coefficient corresponding to the at least one remaining commodity, a second commodity to be placed in the first package from the at least one remaining commodity comprises: Traversing the at least one remaining product in order of the first difference from small to large, and determining a coefficient of a second remaining package after the first package is filled with the remaining product with the smallest first difference; When the second remaining package coefficient is zero, or the second remaining package coefficient is less than the package coefficient corresponding to each remaining commodity, the remaining commodity with the smallest corresponding first difference is determined to be the second commodity.

5. The method according to claim 4, characterized in that After determining the coefficient of the second remaining package after the first package is filled with the remaining goods corresponding to the smallest first difference, the method further includes: When the second remaining package coefficient is non-zero and greater than the package coefficient corresponding to at least one remaining product, the operation of determining the second product to be placed in the first package from the at least one remaining product is returned to until the remaining package coefficient of the first package is zero or less than the package coefficient corresponding to each remaining product.

6. The method according to claim 4, characterized in that After traversing the at least one remaining commodity in the order of the first difference from small to large, the method further includes: When the first differences corresponding to at least two categories of remaining commodities are both the smallest, the category of commodities having a larger corresponding package coefficient among the at least two categories of remaining commodities is determined as the second commodity to be placed in the first package.

7. A device for determining the number of packages in an order, characterized in that: The device comprises: A first determination module is used to determine a first commodity sequence corresponding to the pending order, wherein the first commodity sequence includes the quantity of each commodity, the corresponding package coefficient and the picking channel number, wherein the package coefficient is used to represent the maximum quantity of the commodity that can be placed in each package; A second determination module is configured to traverse the first commodity sequence based on the package coefficients in descending order to determine the quantity of the first commodity contained in the first package and the first remaining package coefficient of the first package, wherein the package coefficient corresponding to the first commodity is the largest; A third determining module is configured to determine, when the first remaining package coefficient is non-zero and greater than the package coefficient corresponding to at least one remaining commodity, a second commodity to be placed in the first package from the at least one remaining commodity according to a first difference between a first picking channel number corresponding to the first commodity and a second picking channel number corresponding to the at least one remaining commodity, and the package coefficient corresponding to the at least one remaining commodity; an acquisition module, configured to update the first commodity sequence based on the quantity of the first commodity contained in the first package, the quantity of the second commodity, and the quantity of each commodity contained in the first commodity sequence, so as to acquire a second commodity sequence; The fourth determining module is used to return to executing the operation of traversing the product sequence when the second product sequence is not empty, so as to determine the second package corresponding to the to-be-processed order, until the updated product sequence is empty.

8. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 6.

Citation Information

Cited By

  • Packaging device for medicine taking cabinet and medicine taking cabinet

    CN121033984A