Methods, apparatus, electronic devices and storage media for determining packaging methods

CN112693690BActive Publication Date: 2026-08-14BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-22
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0004]实际场景中,很多商品都具有柔性的特点,可以在一定程度上折叠,所以这些物品作为刚性物品确定出的封装方式时,通常会导致封装容器过大,从而导致容器资源的浪费

Benefits of technology

[0024]上述发明中的一个实施例具有如下优点或有益效果:本发明实施例中,对于具有柔性特点的待封装物品,可以根据其可折叠的次数确定出多种折叠组合方式,然后结合预设封装容器的大小,可以确定出所有的封装方式,进而可以确定出目标封装方式。由于本发明实施例中充分考虑了各待封装物品的柔性特点,各待封装物品按照各目标封装方式封装时使用封装容器的容积最小,所以可以避免了将具有柔性特点的物品作为刚性物品进行封装,导致封装容器过大,容器资源的浪费的问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112693690B_ABST
    Figure CN112693690B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, electronic device, and storage medium for determining a packaging method, relating to the field of Internet technology. One specific embodiment of the method includes: determining multiple folding combinations of the items in a set of items to be packaged based on the number of folds each item can be folded; determining a packaging container matching each folding combination based on the volume of the packaging container and the multiple folding combinations, thereby obtaining multiple sets of packaging methods; and selecting a target packaging method from the multiple sets of packaging methods so that the volume of the target packaging container is minimized when the items in the set of items to be packaged are folded according to the target folding combination. This embodiment avoids treating flexible items as rigid items to determine the packaging method, resulting in excessively large packaging containers and wasted container resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and more particularly to a method, apparatus, electronic device, and storage medium for determining a packaging method. Background Technology

[0002] The issue of item packaging is involved in many stages of storage and transportation. Determining the packaging method falls under the category of combinatorial optimization, and is typically approached using heuristics. Currently, to facilitate problem-solving, items are often treated as rigid objects when addressing how to package them.

[0003] In the process of realizing this invention, the inventors discovered at least the following problems in the prior art:

[0004] In real-world scenarios, many products are flexible and can be folded to some extent. Therefore, when these items are packaged as rigid items, the resulting packaging containers are often too large, leading to a waste of container resources. Summary of the Invention

[0005] In view of this, embodiments of the present invention provide a method, apparatus, system and storage medium for determining a packaging method, which can avoid the problem of treating flexible items as rigid items to determine the packaging method, resulting in excessively large packaging containers and wasted container resources.

[0006] To achieve the above objectives, according to one aspect of the present invention, a method for determining the packaging method is provided.

[0007] An embodiment of the present invention provides a method for determining a packaging method, comprising: determining multiple folding combinations of items in a set of items to be packaged based on the number of times each item can be folded; determining a packaging container matching each folding combination based on the volume of the packaging container and the multiple folding combinations, thereby obtaining multiple sets of packaging methods; and selecting a target packaging method from the multiple sets of packaging methods so that the volume of the target packaging container used is minimized when the items in the set of items to be packaged are folded according to the target folding combination.

[0008] In one embodiment, determining the packaging container that matches each of the multiple folding combinations based on the volume of the packaging container and the multiple folding combinations includes: selecting the packaging container with the smallest volume from the packaging containers used when packaging the item to be packaged according to each of the folding combinations, based on the volume of the packaging container; and determining the packaging container with the smallest volume as the packaging container that matches each of the folding combinations.

[0009] In another embodiment, if each item to be packaged is packaged individually, then determining multiple folding combinations of the items to be packaged in the set of items to be packaged based on the number of times each item to be packaged can be folded includes: determining the folding method of each item to be packaged based on the number of times each item to be packaged can be folded; and determining multiple folding combinations of the items to be packaged in the set of items to be packaged based on the folding method of each item to be packaged.

[0010] In another embodiment, if the items to be packaged are partially or entirely combined, then determining the multiple folding combinations of the items to be packaged in the set of items to be packaged based on the number of times each item can be folded includes: determining the folding method of each item to be packaged based on the number of times each item can be folded; determining the item combination method of the items to be packaged in the set of items to be packaged, each combination method including at least one tuple, the tuple including at least two items to be packaged; for each item combination method, combining the folding methods of the items to be packaged according to the item combination method to determine the folding combination method corresponding to each item combination method, thereby obtaining the multiple folding combinations of the items to be packaged in the set of items to be packaged.

[0011] In another embodiment, the screening unit is specifically used to: calculate the fill rate of each group of packaging methods based on the volume of the item to be packaged and the volume of the packaging container in each group of packaging methods; and take the packaging method with the highest fill rate as the target packaging method.

[0012] To achieve the above objectives, according to another aspect of the present invention, an apparatus for determining the packaging method is provided.

[0013] An apparatus for determining a packaging method according to the present invention includes: a determining unit, configured to determine multiple folding combinations of items in a set of items to be packaged based on the number of times each item can be folded; the determining unit is further configured to determine a packaging container matching each folding combination based on the volume of the packaging container and the multiple folding combinations, thereby obtaining multiple sets of packaging methods; and a filtering unit, configured to filter out a target packaging method from the multiple sets of packaging methods so that when the items in the set of items to be packaged are folded according to the target folding combination, the volume of the target packaging container used is minimized.

[0014] In one embodiment, the determining unit is specifically used to: select the packaging container with the smallest volume from the packaging containers used when packaging the item to be packaged according to each of the folding combinations, based on the volume size of the packaging container; and determine the packaging container with the smallest volume as the packaging container that matches each of the folding combinations.

[0015] In another embodiment, if each item to be packaged is packaged individually, the determining unit is specifically used to: determine the folding method of each item to be packaged based on the number of times each item to be packaged can be folded; and determine multiple folding combinations of items to be packaged in the set of items to be packaged based on the folding method of each item to be packaged.

[0016] In another embodiment, if the items to be packaged are partially or entirely packaged together, the determining unit is specifically used to: determine the folding method of each item to be packaged based on the number of times each item to be packaged can be folded; determine the item combination method of the items to be packaged in the set of items to be packaged, each combination method including at least one tuple, the tuple including at least two items to be packaged; for each item combination method, combine the folding methods of the items to be packaged according to the item combination method, determine the folding combination method corresponding to each item combination method, thereby obtaining multiple folding combination methods of the items to be packaged in the set of items to be packaged.

[0017] In another embodiment, the screening unit is specifically used to: calculate the fill rate of each group of packaging methods based on the volume of the item to be packaged and the volume of the packaging container in each group of packaging methods; and take the packaging method with the highest fill rate as the target packaging method.

[0018] To achieve the above objectives, according to another aspect of the present invention, an electronic device is provided.

[0019] In another embodiment, if the volume of the packaging container is proportional to the size of the packaging container, then the determining unit is specifically used to determine the packaging container that matches each of the folding combinations according to the size of the packaging container and the multiple folding combinations, thereby obtaining multiple packaging methods.

[0020] The filtering unit is specifically used to filter out the target packaging method from the multiple packaging methods so that when the items to be packaged in the set of items to be packaged are folded according to the target folding combination method, the volume of the target packaging container used is minimized.

[0021] An electronic device according to an embodiment of the present invention includes: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the article packaging method provided in the embodiment of the present invention.

[0022] To achieve the above objectives, according to another aspect of the present invention, a computer-readable medium is provided.

[0023] An embodiment of the present invention provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the article packaging method provided in the embodiment of the present invention.

[0024] One embodiment of the above invention has the following advantages or beneficial effects: In this embodiment, for a flexible item to be packaged, multiple folding combinations can be determined based on the number of times it can be folded. Then, combined with the size of a preset packaging container, all packaging methods can be determined, and thus the target packaging method can be determined. Because this embodiment fully considers the flexibility of each item to be packaged, the volume of the packaging container used when packaging each item according to each target packaging method is minimized. Therefore, it avoids the problem of packaging flexible items as rigid items, resulting in excessively large packaging containers and wasting container resources.

[0025] The further effects of the aforementioned unconventional alternative methods will be explained below in conjunction with specific implementation methods. Attached Figure Description

[0026] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the scope of the invention. Wherein:

[0027] Figure 1 This is a schematic diagram of the main process of a method for determining the packaging method according to an embodiment of the present invention;

[0028] Figure 2 This is a schematic diagram of another main process of the method for determining the packaging method according to an embodiment of the present invention;

[0029] Figure 3 This is a schematic diagram of a folding method for an item A to be packaged according to an embodiment of the present invention;

[0030] Figure 4 This is a schematic diagram of a packaging method for an item A to be packaged according to an embodiment of the present invention;

[0031] Figure 5 This is a schematic diagram of another main process of the method for determining the packaging method according to an embodiment of the present invention;

[0032] Figure 6 This is a schematic diagram of a folding method for an article B to be packaged according to an embodiment of the present invention;

[0033] Figure 7 This is a schematic diagram of a folding combination method of items A and B to be packaged according to an embodiment of the present invention;

[0034] Figure 8 This is a schematic diagram of a packaging method for a combination of items A and B to be packaged according to an embodiment of the present invention;

[0035] Figure 9 This is a schematic diagram of the main units of the device for determining the packaging method according to an embodiment of the present invention;

[0036] Figure 10 This is yet another exemplary system architecture diagram to which embodiments of the present invention can be applied;

[0037] Figure 11 This is a schematic diagram of the structure of a computer system suitable for implementing embodiments of the present invention. Detailed Implementation

[0038] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0039] It should be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other.

[0040] This invention provides a method for determining the packaging method, which can be executed by a computer or other devices, such as... Figure 1 As shown, the method includes the following steps.

[0041] S101: Based on the number of times each item in the set of items to be packaged can be folded, determine the various folding combinations of the items in the set of items to be packaged.

[0042] The number of folds allowed for each item in the set of items to be packaged can be obtained in advance. The set of items to be packaged can include one or more items. The information for each item can include the number of folds allowed, indicating the number of times the item is allowed to be folded during packaging. For example, if an item has a fold count of 2, it means that it can be packaged without being folded, folded once, or folded twice. Since some items have a high number of folds, they can have multiple folding methods, and each folding method can be used for packaging. Therefore, each item in the set of items to be packaged can correspond to at least one folding method.

[0043] If the set of items to be packaged contains only one type of item, and packaging will not involve combining multiple items, then the folding method corresponding to this item is the same as the folding combination method of the items in the set. If the set of items to be packaged contains multiple types of items, then it is also necessary to consider whether the multiple items can be packaged together. That is, it is necessary to consider whether each item in the set is packaged individually or in combination.

[0044] If the items to be packaged are individually packaged, meaning that two or more items cannot be packaged in the same container, then the folding method of each item is the packaging method for that item, and the combined folding method is the final packaging method for the items.

[0045] If the items to be packaged are grouped together, meaning that two or more items can be packaged in one container, then the combination methods of the items to be packaged and the corresponding folding methods for each combination method can be determined. Then, based on the combination methods and the folding methods of each item, multiple folding combinations of the items to be packaged in the set can be determined.

[0046] It should be noted that the item to be packaged in this embodiment of the invention can be either rigid or flexible. The number of folds for a rigid item to be packaged is 0, and the number of folds for a flexible item to be packaged when folding is not allowed is also 0. The number of folds for a flexible item to be packaged when folding is allowed can be marked in the item information.

[0047] S102: Based on the volume of the packaging container and the various folding combinations, determine the packaging container that matches each folding combination, thereby obtaining multiple packaging methods.

[0048] When determining the packaging method for an item to be packaged, the volume of the packaging container is usually determined so that the chosen packaging method can be packaged using the container. Packaging containers can be of various types, and their volume can vary depending on the specific packaging method used.

[0049] It should be noted that the volume of the packaging container is usually fixed. Therefore, when determining the packaging container to match each folding combination, if there is no packaging container that can accommodate the item to be packaged according to the folding combination, then this folding combination will be discarded. That is, folding combination that cannot determine a matching packaging container will be discarded.

[0050] In this step, based on the volume of the encapsulation container, a matching encapsulation container can be determined for each folding combination, thus identifying the encapsulation container that matches each folding combination. Once the matching encapsulation container for each folding combination is determined, each folding combination and its matching encapsulation container constitutes a packaging method. Therefore, after determining the encapsulation container that matches each folding combination, multiple packaging methods can be obtained.

[0051] In one embodiment of the present invention, this step may be specifically performed as follows: based on the volume of the packaging container, select the packaging container with the smallest volume from the packaging containers used when packaging the item to be packaged according to each folding combination method; determine the packaging container with the smallest volume as the packaging container that matches each folding combination method.

[0052] After determining multiple folding combinations, the packaging container used for each folding combination can be determined based on its volume. Since packaging containers can have various volumes, there can also be multiple packaging containers used for each folding combination; that is, there can be multiple packaging containers capable of packaging items according to each folding combination. In this embodiment, to improve the utilization rate of the packaging containers, the packaging container with the smallest volume is selected from those capable of packaging items according to each folding combination. This allows for the selection of a packaging container with the smallest volume for each folding combination. The selected packaging container with the smallest volume is then determined as the matching packaging container for that folding combination. Each folding combination and its matching packaging container form a packaging method, resulting in multiple packaging methods.

[0053] It should be noted that in some scenarios, the size and volume of the packaging container are directly proportional. The capacity of the packaging container can be determined based on its volume. Therefore, if the capacity of the packaging container is directly proportional to its size, this step can be further performed as follows: based on the size of the packaging container and various folding combinations, determine the packaging container that matches each folding combination, thereby obtaining multiple packaging methods.

[0054] Since the volume of the packaging container is directly proportional to its capacity, the capacity of the packaging container can be determined based on the proportional relationship between the volume and capacity of the packaging container and the volume of the packaging container. Therefore, this step can also determine the packaging container that matches each folding combination method according to the size of the packaging container and various folding combination methods.

[0055] S103: Select a target packaging method from the multiple packaging methods so that when the items to be packaged in the set of items to be packaged are folded according to the target folding combination method, the volume of the target packaging container used is minimized.

[0056] The target packaging method is the packaging method that uses the smallest volume of the packaging container when packaging the items in the set of items to be packaged according to various packaging methods. The target packaging method includes the target folding combination method and the target packaging container that matches it. After determining the target packaging method, the items in the set of items to be packaged can be packaged according to the target packaging method.

[0057] After determining the packaging method in step S102, the state of each item to be packaged after being placed in the packaging container is determined. This allows us to determine the packaging containers included in each packaging method, and then, based on the volume of the packaging containers, determine the total volume of the packaging containers included in each packaging method. This step selects the packaging method with the smallest total volume of packaging containers used as the target packaging method, thereby minimizing the use of packaging containers and improving the utilization rate of packaging resources.

[0058] In another embodiment of the present invention, selecting a target packaging method from the multiple packaging methods can be specifically done based on the fill rate. The fill rate is typically calculated by dividing the volume of the item to be packaged within the packaging container by the volume of the packaging container. Therefore, the higher the fill rate of the packaging container, the smaller the volume of the packaging container used when packaging the item, and the higher the utilization rate of the packaging container. Thus, in this embodiment of the present invention, a target packaging method can be selected from multiple packaging methods based on the fill rate.

[0059] This step can be specifically performed as follows: based on the volume of the item to be packaged and the volume of each packaging method including the packaging container, calculate the fill rate of each packaging method; and take the packaging method with the highest fill rate as the target packaging method.

[0060] Given a defined packaging method, we can derive various folding combinations and their corresponding packaging containers. Therefore, based on the volume of the packaging container, we can determine the volume of the container corresponding to each folding combination. Simultaneously, based on the size of the item to be packaged, we can determine the volume of the item after each folding combination. Thus, based on the volume of the packaging container corresponding to each folding combination and the volume of the item after each folding combination, we can calculate the fill rate of each packaging method—that is, the fill rate when the item is packaged according to each method. Then, from the fill rates of each packaging method, we can determine the packaging method corresponding to the highest fill rate. The packaging method corresponding to the highest fill rate represents the packaging method with the smallest total volume of the packaging containers used after packaging the item, and is therefore directly used as the target packaging method.

[0061] It should be noted that since there may be multiple packaging containers that match each folding combination, the fill rate of each packaging container that matches each folding combination can be calculated separately, and then the average value can be calculated as the fill rate of the multiple packaging containers that match that folding combination.

[0062] If the volume of the packaging container is proportional to the volume of the packaging container, then this step can be specifically performed as follows: select the target packaging method from multiple packaging methods so that when the items to be packaged in the set of items to be packaged are folded according to the target folding combination method, the volume of the target packaging container used is minimized.

[0063] In this step, when the items to be packaged in the set of items to be packaged are folded according to the target folding combination method, the volume of the target packaging container used is the smallest. Since the volume of the packaging container is proportional to the volume of the packaging container, it can be concluded that when the items to be packaged in the set of items to be packaged are folded according to the target folding combination method, the volume of the target packaging container used is the smallest.

[0064] In this embodiment of the invention, for items to be packaged that have flexible characteristics, the folding combination method can be determined based on the number of times they can be folded. Then, combined with the size of the preset packaging container, all packaging methods can be determined, and thus the target packaging method can be determined. Because this embodiment of the invention fully considers the flexible characteristics of each item to be packaged, the volume of the packaging container used when each item to be packaged according to each target packaging method is minimized. Therefore, it avoids the problem of packaging flexible items as rigid items, resulting in excessively large packaging containers and wasting container resources.

[0065] The following is combined with Figure 1The illustrated embodiment specifically describes the method for determining multiple folding combinations in step S101 when each item to be packaged is packaged individually, as described in this embodiment of the invention. Figure 2 As shown, the method includes the following steps.

[0066] S201: Determine the folding method for each item to be packaged based on the number of times each item can be folded.

[0067] In this invention, after determining the number of times an item can be folded, the folding method can be determined based on the number of folds. The item is typically folded along its long side. This embodiment of the invention uses folding along the long side as an example. For example, as... Figure 3 As shown, the set of items to be packaged includes item A, which has a folding capacity of 2. Therefore, item A can be folded in three ways: 0 times, 1 time, and 2 times. Figure 3 Three ways to fold item A to be packaged are shown.

[0068] S202: Based on the folding method of each item to be packaged, determine multiple folding combinations of the items to be packaged in the set of items to be packaged.

[0069] If the set to be packaged contains only one item, then the folding method of that item is called the folding combination method. For example, if the set to be packaged contains only one item, then... Figure 3 The folding method of item A to be packaged is the folding combination method of items to be packaged in the packaged set. If the packaged set includes multiple items to be packaged, and each item is packaged separately, then step S201 determines the folding method of each item to be packaged. Then, one folding method of each item to be packaged can be combined to obtain one folding combination method, thereby determining multiple folding combination methods of items to be packaged in the packaged set.

[0070] It should be noted that in this embodiment, each item to be packaged in the packaged set is packaged separately. Therefore, after the folding combination method is determined, when the packaging method is determined in step S102, the corresponding packaging method will be determined for each item to be packaged in the packaged set. That is to say, for each folding method of each item to be packaged, the matching packaging container will be determined, and thus the packaging container matching each folding packaging combination will be determined.

[0071] This invention uses an example where the set to be packaged includes item A to be packaged. It is assumed that the packaging container includes... Figure 4The three types are container 1, container 2, and container 3. For each folding method of the item A to be packaged, the appropriate packaging container can be determined based on its volume, thus yielding the following... Figure 4 The four packaging methods are shown. This allows us to determine the packaging container that matches the folding method of each item in the packaging set, and further, to determine the packaging container that matches each combination of folding methods.

[0072] The following is combined with Figure 1 The illustrated embodiment specifically describes the method for determining multiple folding combination methods in step S101 when partially or completely combining and packaging the items to be packaged, as described in this embodiment of the invention. Figure 5 As shown, the method includes the following steps.

[0073] S501: Determine the folding method for each item to be packaged based on the number of times each item can be folded.

[0074] In this embodiment, some or all of the items to be packaged are combined and packaged, so the set of items to be packaged includes two or more items to be packaged.

[0075] It should be noted that the data processing principle in this step is the same as that in step S201, and will not be repeated here.

[0076] S502: Determine the item combination method of the items to be packaged in the set of items to be packaged.

[0077] Each item combination method includes at least one tuple, and each tuple contains at least two items to be packaged. Item combination means that two or more items to be packaged are packaged together in the same packaging container. Item combination methods can be that all items in the set to be packaged are packaged together in one packaging container, or that some items in the set are packaged together while others are packaged separately, and the packaged items can be packaged in one packaging container or packaged separately in multiple packaging containers.

[0078] Therefore, each combination method includes at least one tuple, which means it includes at least one combination of two or more items to be packaged.

[0079] When the set of items to be packaged includes two items, there is only one possible combination: the two items are combined as one combination. However, if the set includes items A, B, and C, there can be four possible combinations: First, items A and B are packaged together in one container, while item C is packaged separately; second, items A and C are packaged together in one container, while item B is packaged separately; third, items B and C are packaged together in one container, while item A is packaged separately; and fourth, items A, B, and C are packaged together in one container.

[0080] The above methods can be used to determine the combination of items to be packaged in the set of items to be packaged.

[0081] S503: For each item combination method, the folding methods of the items to be packaged are combined according to the item combination method to determine the folding combination method corresponding to each item combination method, thereby obtaining multiple folding combination methods of the items to be packaged in the set of items to be packaged.

[0082] As described in the steps above, each item combination method contains items to be packaged within the same packaging container. Each item corresponds to one or more folding methods. By selecting one folding method from each item and combining them according to one item combination method, the corresponding folding combination method can be obtained. Therefore, by sequentially selecting all folding methods for each packaged item and combining them according to one item combination method, all folding combination methods corresponding to that item combination method can be obtained. This leads to the folding combination methods corresponding to all item combination methods, and further, to all folding combination methods for the items to be packaged in the set of items to be packaged.

[0083] This embodiment of the invention uses an example of a set of items to be packaged comprising two items to be packaged. The two items to be packaged are... Figure 3 The items to be packaged are A and B, where item B is identical to item A. In step S501, the folding method of item A is determined as follows: Figure 3 As shown, the folding method of item B to be packaged is determined as follows: Figure 6As shown, the folding method is the same as that of item A to be packaged. In step S502, it is determined that the item combination method is to combine item A and item B to be packaged in a single packaging container. Based on the above, the results obtained in this step show that packaged item A and packaged item B each have three folding methods. Therefore, after combining the items according to the item combination method, the folding combination methods can be obtained as follows: Figure 7 The nine types shown.

[0084] It should be noted that in this embodiment, after determining the folding combination method, when determining the packaging method in step S102, it is necessary to determine the packaging method for each folding combination method. That is, for each folding combination method, a matching packaging container is determined, and then a packaging container matching each folding packaging combination is determined.

[0085] This invention uses an example where the packaged collection includes items A and B. It is assumed that the packaging container includes... Figure 8 The three types mentioned are container 4, container 5, and container 6. Figure 7 The nine folding combinations shown can be matched with suitable packaging containers based on their volume, such as... Figure 8 As shown, this allows us to determine the packaging container that matches each folding combination, that is, to determine the... Figure 8 The nine packaging methods shown are as follows.

[0086] To address the problems existing in the prior art, embodiments of the present invention provide a device 900 for determining the packaging method, such as... Figure 9 As shown, the device 900 includes:

[0087] The determining unit 901 is used to determine multiple folding combinations of the items to be packaged in the set of items to be packaged based on the number of times each item can be folded in the set of items to be packaged.

[0088] The determining unit 901 is further configured to determine, based on the volume of the packaging container and the multiple folding combinations, a packaging container matching each of the folding combinations, thereby obtaining multiple packaging methods.

[0089] The screening unit 902 is used to select a target packaging method from the multiple packaging methods so that when the items to be packaged in the set of items to be packaged are folded according to the target folding combination method, the volume of the target packaging container used is minimized.

[0090] It should be understood that the manner in which embodiments of the present invention are implemented is different from the implementation method. Figure 1 The embodiments shown are the same and will not be described again here.

[0091] In one implementation of this invention, the determining unit 901 is specifically used for:

[0092] Based on the volume of the packaging container, select the packaging container with the smallest volume from the packaging containers used when packaging the item to be packaged according to each of the folding combinations.

[0093] The packaging container with the smallest volume used is determined as the packaging container that matches each of the folding combinations.

[0094] In another implementation of this invention, if each item to be packaged is individually packaged, then the determining unit 901 is specifically used for:

[0095] The folding method of each item to be packaged is determined based on the number of times each item can be folded.

[0096] Based on the folding method of each item to be packaged, determine multiple folding combinations of the items to be packaged in the set of items to be packaged.

[0097] In another implementation of this invention, if the item to be packaged is a combination of some or all of the items to be packaged, then the determining unit 901 is specifically used for:

[0098] The folding method of each item to be packaged is determined based on the number of times each item can be folded.

[0099] Determine the item combination method of the items to be packaged in the set of items to be packaged, wherein each combination method includes at least one tuple, and the tuple includes at least two items to be packaged;

[0100] For each of the item combination methods, the folding methods of the items to be packaged are combined according to the item combination method to determine the folding combination method corresponding to each item combination method, thereby obtaining multiple folding combination methods of the items to be packaged in the set of items to be packaged.

[0101] In another implementation of this invention, the screening unit 902 is specifically used to: calculate the fill rate of each group of packaging methods based on the volume of the item to be packaged and the volume of the packaging container in each group of packaging methods; and take the packaging method with the highest fill rate as the target packaging method.

[0102] In another implementation of the present invention, if the volume of the packaging container is proportional to the volume of the packaging container, then the determining unit 901 is specifically used to determine the packaging container matching each of the folding combination methods according to the size of the packaging container and the multiple folding combination methods, thereby obtaining multiple packaging methods.

[0103] The filtering unit 902 is specifically used to filter out the target packaging method from the multiple packaging methods so that when the items to be packaged in the set of items to be packaged are folded according to the target folding combination method, the volume of the target packaging container used is minimized.

[0104] It should be understood that the manner in which embodiments of the present invention are implemented is different from the implementation method. Figure 1 , Figure 2 and Figure 5 The embodiments shown are the same and will not be described again here.

[0105] In this embodiment of the invention, for items to be packaged that have flexible characteristics, multiple folding combinations can be determined based on the number of times they can be folded. Then, combined with the size of a preset packaging container, all packaging methods can be determined, and thus the target packaging method can be determined. Because this embodiment of the invention fully considers the flexible characteristics of each item to be packaged, the volume of the packaging container used when packaging each item according to each target packaging method is minimized. Therefore, it avoids the problem of packaging flexible items as rigid items, resulting in excessively large packaging containers and wasting container resources.

[0106] According to embodiments of the present invention, the present invention also provides an electronic device and a readable storage medium.

[0107] The electronic device of the present invention includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method for determining a packaging method provided in the embodiments of the present invention.

[0108] Figure 10 An exemplary system architecture 1000 is shown, in which the method or apparatus for determining the packaging method of embodiments of the present invention can be applied.

[0109] like Figure 10 As shown, system architecture 1000 may include terminal devices 1001, 1002, and 1003, network 1004, and server 1005. Network 1004 is used as a medium to provide communication links between terminal devices 1001, 1002, and 1003 and server 1005. Network 1004 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.

[0110] Users can use terminal devices 1001, 1002, and 1003 to interact with server 1005 via network 1004 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 1001, 1002, and 1003, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).

[0111] Terminal devices 1001, 1002, and 1003 can be various electronic devices with displays and web browsing capabilities, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0112] Server 1005 can be a server that provides various services, such as a backend management server that supports shopping websites browsed by users using terminal devices 1001, 1002, and 1003 (for example only). The backend management server can analyze and process data such as received product information query requests, and feed back the processing results (such as product information - for example only) to the terminal devices.

[0113] It should be noted that the method for determining the packaging method provided in the embodiments of the present invention is generally executed by server 1005, and correspondingly, the device for determining the packaging method is generally located in server 1005. The method for determining the packaging method provided in the embodiments of the present invention is generally executed by terminal devices 1001, 1002, and 1003, and correspondingly, the device for determining the packaging method is generally located in terminal devices 1001, 1002, and 1003.

[0114] It should be understood that Figure 10 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0115] The following is for reference. Figure 11 It shows a schematic diagram of the structure of a computer system 1100 suitable for implementing embodiments of the present invention. Figure 11 The computer system shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.

[0116] like Figure 11As shown, the computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 1102 or programs loaded from storage section 1108 into random access memory (RAM) 1103. The RAM 1103 also stores various programs and data required for the operation of the system 1100. The CPU 1101, ROM 1102, and RAM 1103 are interconnected via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0117] The following components are connected to I / O interface 1105: an input section 1106 including a keyboard, mouse, etc.; an output section 1107 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN card, modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to I / O interface 1105 as needed. Removable media 1111, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 1110 as needed so that computer programs read from them can be installed into storage section 1108 as needed.

[0118] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1109, and / or installed from removable medium 1111. When the computer program is executed by central processing unit (CPU) 1101, it performs the functions defined above in the system of this invention.

[0119] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0120] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a unit, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0121] The units described in the embodiments of the present invention can be implemented in software or hardware. The described units can also be housed in a processor; for example, a processor can be described as including a determining unit and a filtering unit. The names of these units do not necessarily limit the specific unit; for example, a determining unit can also be described as "a unit that determines the function of the determining unit."

[0122] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs that, when executed by the device, cause the device to perform the method for determining the encapsulation method provided by the present invention.

[0123] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for determining the packaging method, characterized in that, include: Based on the number of times each item in the set of items to be packaged can be folded, multiple folding combinations of the items in the set of items to be packaged are determined, wherein the number of times the item can be folded represents the number of times the item is allowed to be folded during packaging, and the item is folded along its long side. Based on the volume of the packaging container and the various folding combinations, a packaging container matching each of the folding combinations is determined, thereby obtaining multiple sets of packaging methods; The target packaging method is selected from the multiple packaging methods so that when the items to be packaged in the set of items to be packaged are folded according to the target folding combination method, the volume of the target packaging container used is minimized.

2. The method according to claim 1, characterized in that, The step of determining a packaging container matching each of the various folding combinations based on the volume of the packaging container and the multiple folding combinations includes: For each of the folding combinations, based on the volume of the packaging container, the packaging container with the smallest volume is selected from the packaging containers used when packaging the item to be packaged according to each of the folding combinations. The packaging container with the smallest volume used is determined as the packaging container that matches each of the folding combinations.

3. The method according to claim 1, characterized in that, If each item to be packaged is packaged individually, then determining the multiple folding combinations of the items in the set of items to be packaged based on the number of times each item can be folded includes: The folding method of each item to be packaged is determined based on the number of times each item can be folded. Based on the folding method of each item to be packaged, determine multiple folding combinations of the items to be packaged in the set of items to be packaged.

4. The method according to claim 1, characterized in that, If the items to be packaged are partially or fully packaged, then determining the multiple folding combinations of the items in the set of items to be packaged based on the number of times each item can be folded includes: The folding method of each item to be packaged is determined based on the number of times each item can be folded. Determine the item combination method of the items to be packaged in the set of items to be packaged, wherein each combination method includes at least one tuple, and the tuple includes at least two items to be packaged; For each of the item combination methods, the folding methods of the items to be packaged are combined according to the item combination method to determine the folding combination method corresponding to each item combination method, thereby obtaining multiple folding combination methods of the items to be packaged in the set of items to be packaged.

5. The method according to claim 1, characterized in that, The step of selecting the target packaging method from the multiple groups of packaging methods includes: Based on the volume of the item to be packaged and the volume of the packaging container in each group of packaging methods, calculate the fill rate of each group of packaging methods; The packaging method corresponding to the highest fill rate is taken as the target packaging method.

6. The method according to claim 1, characterized in that, If the volume of the encapsulation container is proportional to the size of the encapsulation container, then based on the volume of the encapsulation container and the various folding combinations, a corresponding encapsulation container is determined for each folding combination, thereby obtaining multiple sets of encapsulation methods, including: Based on the size of the packaging container and the various folding combinations, a packaging container matching each of the folding combinations is determined, thereby obtaining multiple sets of packaging methods; The step of selecting a target packaging method from the multiple packaging methods to minimize the volume of the target packaging container used when the items to be packaged in the set of items to be packaged are folded according to the target folding combination method includes: The target packaging method is selected from the multiple packaging methods so that when the items to be packaged in the set of items to be packaged are folded according to the target folding combination method, the volume of the target packaging container used is minimized.

7. An apparatus for determining a packaging method, characterized in that, include: The determining unit is used to determine multiple folding combinations of items to be packaged in the set of items to be packaged based on the number of times each item to be packaged can be folded, wherein the number of times the item to be packaged is allowed to be folded during packaging, and the item to be packaged is folded along its long side. The determining unit is further configured to determine, based on the volume of the packaging container and the multiple folding combinations, a packaging container matching each of the folding combinations, thereby obtaining multiple sets of packaging methods; The filtering unit is used to filter out the target packaging method from the multiple packaging methods so that when the items to be packaged in the set of items to be packaged are folded according to the target folding combination method, the volume of the target packaging container used is minimized.

8. The apparatus according to claim 7, characterized in that, The determining unit is specifically used for: Based on the volume of the packaging container, select the packaging container with the smallest volume from the packaging containers used when packaging the item to be packaged according to each of the folding combinations. The packaging container with the smallest volume used is determined as the packaging container that matches each of the folding combinations.

9. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-6.

10. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Item packaging mode selecting method

    CN107679795A