Commodity packing recommendation method, device, equipment and medium based on big data calculation

Through the product boxing recommendation method based on big data calculation, the target product and target box are determined, and the available space of the box is updated in real time, the problems of low efficiency and inaccurate results in the existing technology are solved, and better results are achieved packing method and more efficient recommendation results.

CN114358865BActive Publication Date: 2024-12-03SHENZHEN YIDA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111436814.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-29
Publication Date
2024-12-03
Estimated Expiration
2041-11-29

AI Technical Summary

Technical Problem

In the prior art, the product packing recommendation efficiency is low and the results are not accurate enough. The method based on the product size superposition calculation has single factors, resulting in a large deviation in the result. The method based on the genetic algorithm increases the calculation complexity when the number of goods increases. The calculation time is long.

Method used

Using the product packing recommendation method based on big data calculation, the target product and target box are determined by obtaining the information of the goods to be packed, the remaining space in the box is calculated based on the size of the target product, and the available space in the box is updated in a cycle. Until you get recommendations for packing for all items.

Benefits of technology

It improves the efficiency and accuracy of product packing recommendations, ensures that all products are properly packed, reduces the computational complexity, and is suitable for real-time packing needs of large quantities of goods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114358865B_ABST
    Figure CN114358865B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and medium for recommending packing of goods based on big data calculation, and belongs to the technical field of packing of goods. The method includes: obtaining information on goods to be packed and information on boxes; determining the goods with the largest size as the target goods; determining the target box, and obtaining packing recommendation information for the target goods; calculating the remaining space size of the target box based on the size of the target goods, and updating the size of the available space inside it; determining the goods to be selected with the largest size from the remaining goods, updating the target goods, and returning to execute the determination of the target box, obtaining packing recommendation information for the target goods, until packing recommendation information for all goods is obtained. The present invention is based on big data calculation, and can recommend a more optimal way of packing goods according to the size of each to-be-packed good and the available space of each box. On the premise of ensuring the accuracy of the recommendation results, the efficiency of the recommendation of packing goods is also improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of commodity packing, and in particular to a commodity packing recommendation method, device, equipment and medium based on big data calculation. Background Art

[0002] In the related art, when packing goods, a packing method based on the superposition calculation of the goods sizes or a packing method based on a genetic algorithm is often adopted.

[0003] However, the packing method based on the superposition calculation of commodity sizes considers a single factor and the obtained results have large deviations; when the number of commodities exceeds a certain level, the calculation complexity of the packing method based on genetic algorithms increases sharply and the calculation time is long. Summary of the invention

[0004] The main purpose of the present invention is to provide a commodity packing recommendation method, device, equipment and medium based on big data calculation, aiming to solve the technical problems in the prior art that the packing recommendation efficiency is low and the recommendation results are not accurate enough.

[0005] According to a first aspect of the present invention, a method for recommending commodity packing based on big data calculation is provided, the method comprising:

[0006] Obtain information about multiple items to be packed and multiple boxes;

[0007] According to the information of the multiple commodities to be packed, determining the commodity with the largest size among the multiple commodities to be packed as the target commodity;

[0008] Determine a target box from the multiple boxes, and obtain recommended packing information of the target product based on the target box; wherein the target box is a box whose internal available space size matches the size of the target product and whose internal available space is the smallest among the multiple boxes;

[0009] Calculating the remaining space size of the target box based on the size of the target product, and updating the internal available space size of the target box;

[0010] A to-be-selected product with the largest product size is determined from the remaining products of the multiple to-be-packed products, the target product is updated based on the to-be-selected product, and the process returns to determine a target box from the multiple boxes, and obtains packing recommendation information of the target product based on the target box, until packing recommendation information of all to-be-packed products is obtained.

[0011] Optionally, before obtaining the information of the plurality of commodities to be packed and the information of the plurality of boxes, the method further includes:

[0012] Obtain the box size information of all available boxes, the product size information of all products to be packed, and the preset full box rate threshold;

[0013] Calculate the internal available space size of all available boxes according to the box size information and the preset full box rate threshold;

[0014] The information of the plurality of commodities to be boxed and the information of the plurality of boxes are obtained according to the internal available space size and the commodity size information.

[0015] Optionally, the determining a target box from the plurality of boxes comprises:

[0016] Determine a target placement method from at least one preset placement method, and select a box with the smallest internal available space as a first box to be selected;

[0017] Based on the target placement mode, determining whether the internal available space size of the first to-be-selected box matches the size of the target product;

[0018] If the size of the internal available space of the first box to be selected does not match the size of the target product, determining a second box to be selected with the smallest internal available space from the remaining boxes of the plurality of boxes, and updating the first box to be selected based on the second box to be selected;

[0019] Return to executing the method based on the target placement method, determine whether the internal available space size of the first box to be selected matches the size of the target product, until the internal available space size of the first box to be selected matches the size of the target product, and determine the first box to be selected as the target box.

[0020] Optionally, the method further includes: returning to execute the step of determining whether the internal available space size of the first box to be selected matches the size of the target commodity based on the target placement mode, until the internal available space size of the first box to be selected matches the size of the target commodity and the first box to be selected is determined as the target box.

[0021] If the internal available space dimensions of the multiple boxes do not match the size of the target product, a target placement method is determined from the remaining placement methods in at least one preset placement method, and the box with the smallest internal available space is determined as the first box to be selected, and the process is returned to execute the target placement method to determine whether the internal available space dimension of the first box to be selected matches the size of the target product.

[0022] Optionally, after returning to execute the step of determining whether the internal available space size of the first to-be-selected box matches the size of the target commodity based on the target placement mode, the method further includes:

[0023] If the internal available space size of the first box to be selected does not match the size of the target product according to all the preset placement modes, then determining the second box to be selected with the smallest internal available space from the remaining boxes of the plurality of boxes, and updating the first box to be selected based on the second box to be selected;

[0024] Return to executing the method based on the target placement method, determine whether the internal available space size of the first box to be selected matches the size of the target product, until the internal available space size of the first box to be selected matches the size of the target product, and determine the first box to be selected as the target box.

[0025] Optionally, obtaining the packing recommendation information of the target commodity based on the target box includes:

[0026] Obtain any target product information, target box information corresponding to the target product, and target placement information corresponding to the target product;

[0027] The packing recommendation information is obtained according to the target product information, the target box information and the target placement information.

[0028] Optionally, the method further comprises: determining a to-be-selected commodity with the largest commodity size from the remaining commodities of the plurality of to-be-packed commodities, updating the target commodity based on the to-be-selected commodity, returning to execute determining a target box from the plurality of boxes, and obtaining recommended packing information of the target commodity, until the recommended packing information of all the to-be-packed commodities is obtained.

[0029] According to the packing recommendation information of all the commodities to be packed, a packing recommendation result is generated and output; the packing recommendation result includes the number and size of required boxes, the preset full box rate threshold value and the packing recommendation information.

[0030] According to a second aspect of the present invention, there is provided a commodity packing recommendation device based on big data calculation, comprising:

[0031] An information acquisition module is used to acquire information of multiple commodities to be packed and information of multiple boxes;

[0032] A target commodity determination module, configured to determine the commodity with the largest size among the plurality of commodities to be packed as the target commodity according to the information of the plurality of commodities to be packed;

[0033] A target box determination module, used to determine a target box from the multiple boxes, and obtain packing recommendation information of the target commodity based on the target box;

[0034] A data updating module, used to calculate the remaining space size of the target box based on the size of the target commodity, and update the internal available space size of the target box;

[0035] A loop execution module is used to determine the to-be-selected product with the largest product size from the remaining products of the multiple to-be-packed products, update the target product based on the to-be-selected products, and return to execute to determine the target box from the multiple boxes, and obtain the packing recommendation information of the target product based on the target box, until the packing recommendation information of all the to-be-packed products is obtained.

[0036] According to a third aspect of the present invention, there is provided a device for commodity packing recommendation based on big data calculation, comprising: a memory, a processor, and a commodity packing recommendation program based on big data calculation stored in the memory and executable on the processor, wherein the commodity packing recommendation program based on big data calculation, when executed by the processor, implements the various steps described in any possible implementation manner of the implementation manner of the first aspect.

[0037] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium on which is stored a commodity packing recommendation program based on big data calculation, which, when executed by a processor, implements the various steps described in any possible implementation manner of the implementation manner of the first aspect.

[0038] The embodiment of the present invention proposes a commodity packing recommendation method, device, equipment and medium based on big data calculation, wherein a plurality of information on commodities to be packed and a plurality of box information are obtained through a commodity packing recommendation device based on big data calculation; according to the plurality of information on commodities to be packed, the commodity with the largest size among the plurality of commodities to be packed is determined as a target commodity; a target box is determined from the plurality of boxes, and packing recommendation information of the target commodity is obtained based on the target box; the remaining space size of the target box is calculated based on the size of the target commodity, and the internal available space size of the target box is updated; the candidate commodity with the largest size is determined from the remaining commodities of the plurality of commodities to be packed, the target commodity is updated based on the candidate commodity, and the process of returning to determine the target box from the plurality of boxes, and obtaining packing recommendation information of the target commodity based on the target box, until packing recommendation information of all commodities to be packed is obtained.

[0039] The present invention determines the target goods to be packed and the corresponding target boxes based on the size information of multiple goods to be packed and multiple available boxes, obtains packing recommendation information based on the target goods and the corresponding target boxes, and can also update the available space information of the corresponding boxes in real time according to the size of the goods and the boxes recommended to be packed, and finally loops the above operations to obtain the packing recommendation information of all goods, ensuring that all goods can be packed reasonably. Different from the prior art, the packing recommendation efficiency is low and the recommendation results are not accurate enough. Based on big data calculation, a more optimal commodity packing method can be recommended according to the size of each commodity to be packed and the available space of each box, which improves the efficiency of commodity packing recommendation while ensuring the accuracy of the recommendation results. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0041] Figure 1 A schematic diagram of the structure of a commodity packing recommendation device based on big data computing in a hardware operating environment involved in an embodiment of the present invention;

[0042] Figure 2 This is a flow chart of a first embodiment of a method for recommending commodity packing based on big data calculation according to the present invention;

[0043] Figure 3 For the present invention Figure 2 Schematic diagram of the process before step S201;

[0044] Figure 4 For the present invention Figure 2 A flowchart of a specific implementation method of step S203;

[0045] Figure 5 For the present invention Figure 2 A flowchart of a specific implementation method of step S203;

[0046] Figure 6 For the present invention Figure 2 A flowchart of a specific implementation method of step S203;

[0047] Figure 7 The figure is a schematic diagram of the functional modules of the device for recommending commodity packing based on big data calculation according to an embodiment of the present invention.

[0048] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0049] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0050] The main solution of the embodiment of the present invention is: obtaining information on goods to be packed and box information; determining the largest commodity among them as the target commodity; determining the target box and obtaining recommended packing information for the target commodity; calculating the remaining space size of the target box based on the size of the target commodity, and updating the size of its internal available space; determining the largest commodity to be selected from the remaining commodities, updating the target commodity, and returning to execute determination of the target box, obtaining recommended packing information for the target commodity, until recommended packing information for all commodities is obtained.

[0051] In the prior art, the packing method based on the superposition calculation of commodity sizes considers a single factor and the obtained results have large deviations; the packing method based on genetic algorithms has a sharp increase in calculation complexity and a long calculation time when the number of commodities exceeds a certain level.

[0052] The present invention provides a solution, which is used for a commodity packing recommendation device based on big data calculation. According to the size information of multiple commodities to be packed and multiple available boxes, the target commodities to be packed and the corresponding target boxes are determined, and packing recommendation information is obtained based on the target commodities and the corresponding target boxes. The available space information of the corresponding boxes can also be updated in real time according to the size of the commodities and the boxes recommended to be packed. Finally, the above operation is repeated to obtain the packing recommendation information of all commodities, ensuring that all commodities can be packed reasonably. The present invention is different from the prior art in that the packing recommendation efficiency is low and the recommendation results are not accurate enough. Based on big data calculation, a more optimal commodity packing method can be recommended according to the size of each commodity to be packed and the available space of each box. On the premise of ensuring the accuracy of the recommendation results, the efficiency of commodity packing recommendation is also improved.

[0053] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 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 are within the scope of protection of the present invention.

[0054] The terms "first" and "second" in the description and claims of the embodiments of the present invention are used to distinguish similar objects, but not necessarily to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein.

[0055] Reference Figure 1 , Figure 1 It is a structural diagram of a commodity packing recommendation device based on big data computing in the hardware operating environment involved in the embodiment of the present invention.

[0056] like Figure 1 As shown, the commodity packing recommendation device based on big data calculation may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0057] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the commodity packing recommendation device based on big data calculation, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0058] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, an information acquisition module, an information processing module, a loop execution module, and a commodity packing recommendation program based on big data calculation, wherein the information processing module may be further divided into a target commodity determination module, a target box determination module, and a data update module.

[0059] exist Figure 1In the commodity packing recommendation device based on big data calculation shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the commodity packing recommendation device based on big data calculation of the present invention can be set in the commodity packing recommendation device based on big data calculation, and the commodity packing recommendation device based on big data calculation calls the commodity packing recommendation program based on big data calculation stored in the memory 1005 through the processor 1001, and executes the commodity packing recommendation method based on big data calculation provided by the embodiment of the present invention.

[0060] Based on the above hardware structure but not limited to the above hardware structure, the present invention provides a first embodiment of a commodity packing recommendation method based on big data calculation. Figure 2 , Figure 2 This is a flow chart of the first embodiment of the commodity packing recommendation method based on big data calculation according to the present invention.

[0061] In this embodiment, the method includes:

[0062] Step S201, obtaining information of multiple commodities to be packed and information of multiple boxes;

[0063] In this embodiment, the execution subject is a commodity packing recommendation device based on big data calculation. When there are commodities to be packed, if the traditional packing recommendation method is used, the recommendation result is prone to deviation or the recommendation speed is slow. For example, for the packing method based on the superposition calculation of commodity sizes, in this method, the packing recommendation is simply based on whether the sum of the sizes of each commodity reaches the volume of the box. Specifically, for a box with a volume of A and a group of commodities to be packed with volumes of a, b, c, etc., first determine the size relationship between a and A. If a is less than A, put the commodity into the box, and then determine the size relationship between a+b and A. If a+b is less than A, put b into the box, otherwise calculate the size relationship between a+c and A, and so on. However, if we simply calculate the relationship between size and volume, the recommendation results will inevitably be biased, because the irregular shapes of some products and the different ways of placing products will affect the subsequent loading of products. In addition, if many small products are loaded into a large box at the beginning, even if there are many small boxes left, some large products may not be able to be loaded. In addition, for the packing method based on genetic algorithms, when the number of products exceeds a certain limit, the calculation complexity of this method increases sharply, and the calculation time is long, which cannot meet the application scenario of real-time millisecond-level response of online orders.

[0064] Therefore, in order to obtain a more optimal packing method more quickly and accurately, the commodity packing recommendation device based on big data calculation will comprehensively consider factors such as commodity size, box size, full box rate, placement method and placement order, and recommend a more optimal packing method. First, the device obtains multiple information about commodities to be packed and multiple box information, wherein the information about commodities to be packed includes the name, quantity and size of the commodities to be packed, and the box information includes the specifications of the available boxes and the size of the internal available space.

[0065] Step S202, according to the information of the multiple commodities to be packed, determining the commodity with the largest size among the multiple commodities to be packed as the target commodity;

[0066] As mentioned above, if many small items are packed into a large box at the beginning, even if there are many small boxes left, some large items may not be able to fit in. In order to avoid this situation, it is necessary to first determine the packing method for large items. Therefore, after obtaining the aforementioned information on the items to be packed, first determine the item with the largest size as the target item, and then obtain the packing recommendation information about it through subsequent steps.

[0067] Step S203, determining a target box from the plurality of boxes, and obtaining packing recommendation information of the target commodity based on the target box;

[0068] After determining the target goods to be packed, the corresponding target box recommended for packing is determined according to the size of the target goods. Specifically, in order to avoid the situation where the large goods cannot be packed into the small box, the internal available space size is matched with the size of the target goods, and the box with the smallest internal available space is used as the target box, so that the space resources of each box can be fully utilized.

[0069] After the target box corresponding to the target commodity is determined, packing recommendation information of the target commodity can be generated and recorded accordingly, that is, it is recommended which box the target commodity should be packed into.

[0070] In a specific embodiment, referring to Figure 4 , Figure 4 For the present invention Figure 2 The flowchart of the specific implementation of step S203 in the embodiment of the present invention is as follows: determining a target box from the plurality of boxes includes:

[0071] Step A10, determining a target placement method from at least one preset placement method, and selecting a box with the smallest internal available space as a first box to be selected;

[0072] As mentioned above, in order to avoid the situation where the aforementioned large goods cannot be put into the small box, after determining the target goods, the boxes should be judged in order from small to large, and the target boxes with the smallest internal available space and the size of the internal available space that matches the size of the target goods should be selected. Therefore, the box with the smallest internal available space should be selected as the first box to be selected, and then the subsequent steps should be carried out. In addition, there are many ways to place a product, such as vertical placement, flat placement, etc. In particular, for some larger products, they can also be placed diagonally along the diagonal of the box; therefore, in order to facilitate subsequent comparisons, a target placement method should be determined from a variety of preset placement methods.

[0073] Step A20, based on the target placement mode, determining whether the internal available space size of the first box to be selected matches the size of the target product;

[0074] After obtaining the size of the target product, the internal available space size of the first box to be selected, and the target placement method, it is possible to determine whether the target product can be placed in the first box to be selected based on the size information and the placement method. Specifically, for a product with a narrow width and a long length, such as a selfie stick, if it is packed vertically, it is very likely that it will not fit in the box, but if it is laid flat, it is easy to put in. Therefore, based on the size information, different placement methods must also be taken into consideration to obtain more accurate packing recommendation information and packing recommendation results.

[0075] Step A30: if the internal available space size of the first box to be selected does not match the size of the target product, a second box to be selected with the smallest internal available space is determined from the remaining boxes of the plurality of boxes, and the first box to be selected is updated based on the second box to be selected;

[0076] A40, returning to the step of determining whether the internal available space size of the first box to be selected matches the size of the target product based on the target placement method, until the internal available space size of the first box to be selected matches the size of the target product, and determining the first box to be selected as the target box.

[0077] If the target product cannot be placed in the first box to be selected according to the arrangement method, similarly, in order to avoid the situation in which large products cannot be placed in small boxes in the future, the second box to be selected with the smallest internal available space is determined from the remaining boxes, and then the second box to be selected is re-determined as the first box to be selected, and then the above-mentioned steps A20 and A30 are returned to execute, and the cycle is executed until the internal available space size of the first box to be selected matches the size of the target product, and the first box to be selected at this time is used as the target box. The specific method is the same as the above, and will not be repeated here.

[0078] In a specific embodiment, referring to Figure 5 , Figure 5 For the present invention Figure 2 The flowchart of the specific implementation of step S203 in the embodiment of the present invention is as follows: determining a target box from the plurality of boxes includes:

[0079] Step A50, if the internal available space dimensions of the plurality of boxes do not match the dimensions of the target product, a target placement method is determined from the remaining placement methods in at least one preset placement method, the box with the smallest internal available space is determined as the first box to be selected, and the process of returning to the step of determining whether the internal available space dimension of the first box to be selected matches the dimensions of the target product based on the target placement method;

[0080] If all boxes cannot fit the target product according to the currently determined target placement method, in order to pack the target product smoothly, the placement method of the product must be adjusted. As mentioned above, for a product with a narrow width and a long length, such as a selfie stick, it is very likely that it will not fit if it is packed vertically, but it is easy to put it in if it lies flat. Then, after re-determining the target placement method, return to execute the above steps A10 and A20. The specific method is the same as the above, and will not be repeated here.

[0081] Step A60, if the internal available space size of the first box to be selected does not match the size of the target product according to all the preset placement modes, then determining the second box to be selected with the smallest internal available space from the remaining boxes of the plurality of boxes, and updating the first box to be selected based on the second box to be selected;

[0082] Step A70, returning to execute the process based on the target placement method, determining whether the internal available space size of the first box to be selected matches the size of the target product, until the internal available space size of the first box to be selected matches the size of the target product, and determining the first box to be selected as the target box.

[0083] If the target product cannot be placed in the first box to be selected according to all the preset placement methods, a larger available box needs to be replaced to continue the subsequent judgment. Therefore, the above steps A30 and A40 are performed here, and the specific method is the same as the above, which will not be repeated here.

[0084] In a specific embodiment, referring to Figure 6 , Figure 6 For the present invention Figure 2The flowchart of the specific implementation of step S203 in the embodiment of the present invention is as follows: the step of obtaining the packing recommendation information of the target commodity based on the target box includes:

[0085] Step B10, obtaining any target commodity information, target box information corresponding to the target commodity, and target placement information corresponding to the target commodity;

[0086] The recommended box information and the corresponding placement method for each product are obtained. These information together constitute the recommended packing information for any product.

[0087] Step B20, obtaining the packing recommendation information according to the target product information, the target box information and the target placement information.

[0088] The packing recommendation information can be obtained based on the aforementioned basic elements of any target product information and its corresponding target box information and target placement information. Of course, in addition to this, in order to obtain more accurate packing recommendation information, since the aforementioned also explains that the overall packing order is from large to small for the products and from small to large for the boxes, the packing order of the products can also be added to the packing recommendation information. Furthermore, since the products loaded first will occupy a part of the space, the products loaded later can only be placed in the remaining space of the box, and each time the packing recommendation information of a product is obtained, the available space size information of the box will also be updated (the specific method can be seen in step S204 below, which will not be repeated here), so the specific packing position of the product can also be added to the packing recommendation information.

[0089] Step S204, calculating the remaining space size of the target box based on the size of the target product, and updating the internal available space size of the target box;

[0090] After determining the target box corresponding to the target product and recording the relevant packing recommendation information, since the corresponding space of the target box has been occupied by the target product, subsequent recommendations can no longer be made according to the original data. It is necessary to recalculate the remaining space size of the target box and update the internal available space size of the target box. The subsequent packed products can be packed according to the updated box size. This facilitates packing recommendations for subsequent products according to the updated box data, thereby improving the accuracy of the recommendation results.

[0091] Step S205, determining the largest product size from the remaining products of the plurality of products to be packed, updating the target product based on the product to be packed, and returning to execute determining a target box from the plurality of boxes, and obtaining packing recommendation information of the target product based on the target box, until packing recommendation information of all products to be packed is obtained;

[0092] After obtaining the packing recommendation information of the aforementioned target product and updating the corresponding box size data, the packing recommendation for the next product can be started. Specifically, first determine the selected product with the largest product size from all the remaining products to be packed, then determine the selected product as the target product, and then return to execute the aforementioned steps S203 and S204, and repeat the execution until the packing recommendation information of all the products to be packed is obtained. The specific method is the same as the above, and will not be repeated here.

[0093] Step S206: generating and outputting a packing recommendation result based on the packing recommendation information of all the commodities to be packed.

[0094] After obtaining the packing recommendation information of all the goods to be packed, the packing recommendation results can be generated and output based on all this information, and the relevant staff can perform manual packing or control the machine to complete the packing according to the packing recommendation results. Among them, the packing recommendation results include the number and size of the required boxes, the full box rate threshold, and the packing recommendation information and other related information.

[0095] In this embodiment, various factors are comprehensively considered based on information such as product size, box size, full box rate, placement method and placement order. Compared with the traditional method, a better packing method can be recommended. In addition, information processing based on big data calculation can also quickly obtain packing recommendation results when the number of ordered products is large. While ensuring the accuracy of the recommendation results, the efficiency of product packing recommendations is greatly improved.

[0096] Further, as an example, refer to Figure 3 , Figure 3 For the present invention Figure 2 In the flowchart before step S201, before obtaining the information of multiple commodities to be packed and the information of multiple boxes, the method further includes:

[0097] Step S301, obtaining box size information of all available boxes, product size information of all products to be packed, and a preset full box rate threshold;

[0098] In order to facilitate the subsequent acquisition of relevant information on each commodity to be packed and the box, it is necessary to first obtain the original data and parameters such as the size of each commodity, the size of each box, and the full box rate, so as to facilitate subsequent related processing. Therefore, the box size information of all available boxes, the product size information of all commodities to be packed, and the preset full box rate threshold are first obtained. Specifically, the box size information of all available boxes can be retrieved from the background to retrieve the box data and status, filter out the vacant available boxes and obtain their size and specification information; the product size information of all commodities to be packed can be retrieved from the background to retrieve the corresponding order information, and obtain the size information of each commodity; in addition, a preset full box rate threshold can also be set, because for safety and to avoid collision damage between commodities, there is often a certain gap between the commodities, and each box will not be completely filled, so a preset full box rate threshold can also be set according to actual requirements.

[0099] Step S302, calculating the internal available space size of all available boxes according to the box size information and the preset full box rate threshold;

[0100] As mentioned above, in actual applications, for reasons such as safety, a box will not be completely filled, but a full box rate threshold needs to be set. Therefore, when subsequently judging whether a product can be loaded into a box, it cannot be judged according to the original size of the box. Therefore, in order to facilitate subsequent processing, what is needed is not the original space and size of the box, but the available space and size of the box. Therefore, before subsequent processing, the internal available space size of each available box is calculated based on the available box size information obtained above and the preset full box rate threshold.

[0101] Step S303: obtaining information on the plurality of commodities to be boxed and information on the plurality of boxes according to the size of the internal available space and the commodity size information.

[0102] After obtaining the internal available space dimensions of each available box and the dimension information of each commodity to be packed, the commodity information to be packed and the box information can be obtained based on this information. Specifically, the commodities to be packed can be sorted from large to small according to their dimensions to generate a list of commodities to be packed, and the internal available spaces of the available boxes can be sorted from small to large to generate a list of boxes. In this way, a list containing information of multiple commodities to be packed and multiple box information can be obtained, which is also convenient for determining the target commodities from large to small and the target boxes from small to large in the subsequent process.

[0103] In this embodiment, before formal processing, the goods to be packed are first sorted according to size specifications and the available boxes are sorted according to available space, so as to facilitate the subsequent determination of target goods from large to small and target boxes from small to large, without having to compare the sizes of each product and box one by one when making packing recommendations, thereby greatly improving the efficiency of subsequent processing.

[0104] Based on the same inventive concept, the embodiment of the present invention also provides a commodity packing recommendation device based on big data calculation, referring to Figure 7 As shown, including:

[0105] An information acquisition module is used to acquire information of multiple commodities to be packed and information of multiple boxes;

[0106] A target commodity determination module, configured to determine the commodity with the largest size among the plurality of commodities to be packed as the target commodity according to the information of the plurality of commodities to be packed;

[0107] A target box determination module, used to determine a target box from the multiple boxes, and obtain packing recommendation information of the target commodity based on the target box;

[0108] A data updating module, used to calculate the remaining space size of the target box based on the size of the target commodity, and update the internal available space size of the target box;

[0109] A loop execution module is used to determine the to-be-selected product with the largest product size from the remaining products of the multiple to-be-packed products, update the target product based on the to-be-selected products, and return to execute to determine the target box from the multiple boxes, and obtain the packing recommendation information of the target product based on the target box, until the packing recommendation information of all the to-be-packed products is obtained.

[0110] As an optional embodiment, the commodity packing recommendation device based on big data calculation may also include:

[0111] The result output module generates and outputs a packing recommendation result according to the packing recommendation information of all the commodities to be packed.

[0112] It should be noted that, since the steps executed by the device of this embodiment are the same as the steps of the aforementioned method embodiment, its specific implementation method and the technical effects that can be achieved can refer to the aforementioned embodiment and will not be repeated here.

[0113] In addition, in one embodiment, the present application further provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method in the aforementioned method embodiment are implemented.

[0114] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.

[0115] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0116] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0117] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0118] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A commodity packing recommendation method based on big data calculation, characterized in that: The method comprises: Obtain information about multiple items to be packed and multiple boxes; According to the information of the multiple commodities to be packed, determining the commodity with the largest size among the multiple commodities to be packed as the target commodity; Determine a target box from the multiple boxes, and obtain recommended packing information of the target product based on the target box; wherein the target box is a box whose internal available space size matches the size of the target product and whose internal available space is the smallest among the multiple boxes; Calculating the remaining space size of the target box based on the size of the target product, and updating the internal available space size of the target box; Determine the selected product with the largest product size from the remaining products of the multiple products to be packed, update the target product based on the selected product, and return to execute determining the target box from the multiple boxes, and obtain the packing recommendation information of the target product based on the target box, until the packing recommendation information of all the products to be packed is obtained; Before obtaining the information of the plurality of commodities to be packed and the information of the plurality of boxes, the method further includes: Obtain the box size information of all available boxes, the product size information of all products to be packed, and the preset full box rate threshold; Calculate the internal available space size of all available boxes according to the box size information and the preset full box rate threshold; According to the internal available space size and the commodity size information, obtaining the plurality of commodity information to be boxed and the plurality of box body information; The step of determining a target box from the plurality of boxes comprises: Determine a target placement method from at least one preset placement method, and select a box with the smallest internal available space as a first box to be selected; Based on the target placement mode, determining whether the internal available space size of the first to-be-selected box matches the size of the target product; If the size of the internal available space of the first box to be selected does not match the size of the target product, determining a second box to be selected with the smallest internal available space from the remaining boxes of the plurality of boxes, and updating the first box to be selected based on the second box to be selected; Returning to executing the step of determining whether the internal available space size of the first box to be selected matches the size of the target commodity based on the target placement mode, until the internal available space size of the first box to be selected matches the size of the target commodity, and determining the first box to be selected as the target box; The method further includes: returning to the step of determining whether the internal available space size of the first box to be selected matches the size of the target commodity based on the target placement mode, until the internal available space size of the first box to be selected matches the size of the target commodity and the first box to be selected is determined as the target box. If the internal available space sizes of the multiple boxes do not match the size of the target product, a target placement method is determined from the remaining placement methods in at least one preset placement method, the box with the smallest internal available space is determined as the first box to be selected, and the step of returning to execute the step of determining whether the internal available space size of the first box to be selected matches the size of the target product based on the target placement method; After returning to executing the step of determining whether the internal available space size of the first to-be-selected box matches the size of the target commodity based on the target placement mode, the method further includes: If the internal available space size of the first box to be selected does not match the size of the target product according to all the preset placement modes, then determining the second box to be selected with the smallest internal available space from the remaining boxes of the plurality of boxes, and updating the first box to be selected based on the second box to be selected; Return to executing the method based on the target placement method, determine whether the internal available space size of the first box to be selected matches the size of the target product, until the internal available space size of the first box to be selected matches the size of the target product, and determine the first box to be selected as the target box.

2. The method according to claim 1, characterized in that The obtaining the packing recommendation information of the target commodity based on the target box includes: Obtain any target product information, target box information corresponding to the target product, and target placement information corresponding to the target product; The packing recommendation information is obtained according to the target product information, the target box information and the target placement information.

3. The method according to claim 1, characterized in that The method further comprises: determining the selected commodity with the largest commodity size from the remaining commodities to be boxed, updating the target commodity based on the selected commodity, returning to execute determining the target box from the multiple boxes, and obtaining the recommended boxing information of the target commodity, until the recommended boxing information of all the commodities to be boxed is obtained. According to the packing recommendation information of all the commodities to be packed, a packing recommendation result is generated and output; the packing recommendation result includes the number and size of required boxes, the preset full box rate threshold value and the packing recommendation information.

4. A commodity packing recommendation device based on big data calculation, characterized in that: The device comprises: An information acquisition module is used to acquire information of multiple commodities to be packed and information of multiple boxes; A target commodity determination module, configured to determine the commodity with the largest size among the plurality of commodities to be packed as the target commodity according to the information of the plurality of commodities to be packed; A target box determination module, used to determine a target box from the multiple boxes, and obtain packing recommendation information of the target commodity based on the target box; A data updating module, used to calculate the remaining space size of the target box based on the size of the target commodity, and update the internal available space size of the target box; a loop execution module, configured to determine a candidate commodity with the largest commodity size from the remaining commodities to be packed, update the target commodity based on the candidate commodity, and return to execute to determine a target box from the multiple boxes, and obtain packing recommendation information of the target commodity based on the target box, until packing recommendation information of all the commodities to be packed is obtained; The information acquisition module is further used to acquire box size information of all available boxes, product size information of all products to be packed, and a preset full box rate threshold; calculate the internal available space size of all available boxes according to the box size information and the preset full box rate threshold; obtain the multiple products to be packed information and the multiple box information according to the internal available space size and the product size information; The target box determination module is further used to determine a target placement method from at least one preset placement method, and select the box with the smallest internal available space as the first box to be selected; based on the target placement method, determine whether the internal available space size of the first box to be selected matches the size of the target product; if the internal available space size of the first box to be selected does not match the size of the target product, determine a second box to be selected with the smallest internal available space from the remaining boxes of the multiple boxes, and update the first box to be selected based on the second box to be selected; return to execute the method based on the target placement method to determine whether the internal available space size of the first box to be selected matches the size of the target product, until the internal available space size of the first box to be selected matches the size of the target product, determine the first box to be selected as the target box; if the internal available space sizes of the multiple boxes all match the size of the target product If the sizes of the first to-be-selected boxes do not match, then a target placement method is determined from the remaining placement methods in at least one of the preset placement methods, and the box with the smallest internal available space is determined as the first to-be-selected box, and the process returns to execute the method of judging whether the size of the internal available space of the first to-be-selected box matches the size of the target product based on the target placement method; if the size of the internal available space of the first to-be-selected box does not match the size of the target product according to all the preset placement methods, then the process of determining the second to-be-selected box with the smallest internal available space from the remaining boxes of the multiple boxes is executed, and the first to-be-selected box is updated based on the second to-be-selected box; the process returns to execute the method of judging whether the size of the internal available space of the first to-be-selected box matches the size of the target product based on the target placement method, until the size of the internal available space of the first to-be-selected box matches the size of the target product, and the first to-be-selected box is determined as the target box.

5. A commodity packing recommendation device based on big data calculation, characterized in that: The method comprises a memory, a processor, and a commodity packing recommendation program based on big data calculation stored in the memory and executable on the processor, wherein the commodity packing recommendation program based on big data calculation, when executed by the processor, implements the steps of the commodity packing recommendation method based on big data calculation as described in any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a commodity packing recommendation program based on big data calculation, and when the commodity packing recommendation program based on big data calculation is executed by the processor, the steps of the commodity packing recommendation method based on big data calculation as described in any one of claims 1 to 3 are implemented.